vienalatina/apps/board
Claude 3e610ac5d2
A title nobody has to write, a fold, a switch and a button
Four changes to the forms people write in.

**The title is optional**, and says nothing about it: a field labelled
«(opcional)» is a field asking to be filled in. An untitled post is
«Sin Título» and the next is «Sin Título 2», so a list of them can still
be told apart and linked to. apps/board/titles.py holds the rule.

The numbering is done per place, against what is already there. The wall
and the queue count every title in the table, deleted rows included — a
number that comes back is a thread that looks like one somebody
remembers reading. A public post counts the *filenames* in its folder
instead, because that is what collides in a repository: two untitled
posts on one day would both be `<fecha>-sin-titulo.es.md`, and the
second would have failed as "somebody else saved this file while you
were editing it", which is a message about a conflict that never
happened. Clearing the title on an edit excludes the file being edited
from its own check, so saving three times does not rename it three
times.

**The event box folds away.** Most posts are not events, and three date
pickers between the title and the text are three fields most people
scroll past. A <details>, like the account menu, so no script is
involved; it opens by itself when the post already has a date.

**The AI disclosure is a switch** rather than a checkbox — what it says
is a statement about the text, not a detail of the form, and it should
look like something that is on or off. Drawn entirely from the
checkbox's own :checked state: under a policy with no 'unsafe-inline' a
control that needs a script is a control that silently does nothing. The
input stays in the tab order and keeps its label, so it works from a
keyboard, and it is anchored inside its own label rather than left
adrift over the page.

**Cancelar is a button**, and Vista previa beside it is shaped the same:
leaving is the other half of a decision and should be the same size as
the half next to it. Quiet rather than filled, so the eye still knows
which one publishes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NizVpJ2dwzCbjCrTLCjeHn
2026-10-06 20:58:33 +00:00
..
static A title nobody has to write, a fold, a switch and a button 2026-10-06 20:58:33 +00:00
templates A title nobody has to write, a fold, a switch and a button 2026-10-06 20:58:33 +00:00
tests A title nobody has to write, a fold, a switch and a button 2026-10-06 20:58:33 +00:00
__init__.py Add a members area: roles and an internal board 2026-09-22 10:57:18 +00:00
activity.py Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +00:00
app.py The writing box shows the formatting, and raw HTML stops reaching the site 2026-10-06 20:07:18 +00:00
auth.py The bar, the share card, the writing box and subpages 2026-10-02 15:21:35 +00:00
board.py A title nobody has to write, a fold, a switch and a button 2026-10-06 20:58:33 +00:00
brand.py Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +00:00
content.py A title nobody has to write, a fold, a switch and a button 2026-10-06 20:58:33 +00:00
db.py A superadministrator above the responsable 2026-10-06 11:55:41 +00:00
events.py A superadministrator above the responsable 2026-10-06 11:55:41 +00:00
gitea.py Two calendars: one for everybody, one for the members 2026-10-03 09:53:54 +00:00
home.py Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +00:00
identity.py Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +00:00
invites.py Let members get a password of their own 2026-09-25 17:49:39 +00:00
mail.py Let members get a password of their own 2026-09-25 17:49:39 +00:00
media.py Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +00:00
members.py Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +00:00
messages.py Private messages live on the person, not in a tab 2026-10-03 20:12:16 +00:00
migrations.py A post can say that a machine wrote it 2026-10-06 20:19:06 +00:00
passwords.py One front door: the members area owns its own logins 2026-09-29 08:25:25 +00:00
profiles.py A phone can use this site, and the way in is a button 2026-10-03 21:04:13 +00:00
render.py The writing box shows the formatting, and raw HTML stops reaching the site 2026-10-06 20:07:18 +00:00
requirements.txt Write the site from the members area instead of Decap 2026-09-25 15:07:31 +00:00
schema.sql A post can say that a machine wrote it 2026-10-06 20:19:06 +00:00
security.py A superadministrator above the responsable 2026-10-06 11:55:41 +00:00
status.py Estado del sistema was lying about the backups 2026-10-06 14:03:30 +00:00
submissions.py A title nobody has to write, a fold, a switch and a button 2026-10-06 20:58:33 +00:00
titles.py A title nobody has to write, a fold, a switch and a button 2026-10-06 20:58:33 +00:00
uploads.py Phase C: private messages, with blocking and photos 2026-09-28 16:10:52 +00:00
wsgi.py Add a members area: roles and an internal board 2026-09-22 10:57:18 +00:00