vienalatina/apps/board
Claude 59b595170f
A calendar a phone can read, and tap targets a thumb can hit
The private calendar rendered as six hundred pixels of nothing on a phone.
The cause was two adjacent rules in board.css with opposite outcomes:

    .cal, .cal tbody, .cal tr, .cal td { display: block }   /* (0,1,1) */
    .cal__pad { display: none }                             /* (0,1,0) */
    .cal__day:not(:has(.cal__event)) { display: none }      /* (0,2,0) */

`.cal td` outranks `.cal__pad`, so every cell belonging to a neighbouring
month stayed on screen as a 92px empty box; `.cal__day:not(:has(…))`
outranks `.cal td`, so every real day disappeared. A month with no events
drew four blank boxes and nothing else, with correct HTML throughout —
which is why reading the file looked right and no test could see it.

Both calendars are now a column of every day of the month below 640px,
with the weekday beside the number (the column header is hidden there),
the days carrying something standing out, and a line saying so when the
month is empty. The public agenda gets the same shape deliberately: the
private calendar lists the public events, and a member moves between the
two. Every rule that decides `display` now names its cell's own class.

Measured rather than reasoned about, in headless Chromium at 320 and 390
across all 22 members-area screens and the public site in three languages:

  - padding cells 0px tall, 31 of 31 days drawn, no horizontal overflow
  - the ☰ ran off the right edge of a 320px Portuguese home page, because
    «Comunidade» is three letters longer than «Comunidad»; the bar now
    gives way at 360px
  - the navigation links were 37x17, the calendar's + was 7x15, the footer
    links 16px tall. A `pointer: coarse` block in each stylesheet raises
    them to 44, padding only, so the desktop is untouched. Links inside a
    sentence are left alone, as WCAG exempts them.

Registro de actividad and Contenido stop being a sideways-scrolling table
on a phone and stack one card per row, the two columns that do not
describe themselves labelled from `data-label`.

Guards: three stylesheet tests that compute specificity and run the
cascade for a padding cell, a day cell and the weekday label, in both
stylesheets — each verified by putting the shipped rules back. Plus three
request-level tests: an empty month says so and still draws its 31 days,
a month with events does not claim to be empty, and every day carries the
right weekday.

Members area only to deploy — no migration, no schema change — except the
agenda and the stylesheet, which reach the site through the pipeline.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NizVpJ2dwzCbjCrTLCjeHn
2026-10-06 18:41:56 +00:00
..
static A calendar a phone can read, and tap targets a thumb can hit 2026-10-06 18:41:56 +00:00
templates A calendar a phone can read, and tap targets a thumb can hit 2026-10-06 18:41:56 +00:00
tests A calendar a phone can read, and tap targets a thumb can hit 2026-10-06 18:41:56 +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 Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +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 superadministrator above the responsable 2026-10-06 11:55:41 +00:00
brand.py Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +00:00
content.py Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +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 Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +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 Add a members area: roles and an internal board 2026-09-22 10:57: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 Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +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 Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +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