gitoria

calendar

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitedb7c947edb7c947calendar: the sign-in callback keeps the session it finds and signs it in (same cookie, nothing signed out; ident#28); security gate 56+4 failing → 60 passedmreedb7c947/reports/010-settings390.md

2.4 KB

  1. # Report 010 — Reminder Settings dialog at 390 px (calendar#11)
  2. **Cause:** the month view's own Style had `month-view ol { display: grid; grid-template-columns: repeat(7, …) }` (the weekday row and the days). The settings dialog and the event editor sit INSIDE `month-view`, so their reminder lists (`ol`) became 7-column grids: each `reminder-row` was ~44 px wide, its fields stacked in it. The event editor's "Own" rows had the same fault, at 1280 too (settings at 1280 was also off: rows 56 px wide).
  3. **Fix** (`components/month-view/month-view.hl`, own Style only, theme tokens/components unchanged, no colours, no borders):
  4. - the 7-column grid is now `#month-weekdays, #month-days` only;
  5. - `#rem-rows, #set-rows`: one column, gap .5rem, no list padding;
  6. - `reminder-row` is a grid: phone `[number 5rem] [select, rest] [× 2.75rem]` and the time under number+select for "days before, at"; from 60rem `[number] [select] [time 7.5rem] [×]` in one line (rows without time: select spans over it). Fields and × are 44 px.
  7. **Other dialogs:** the app has two editors, the event editor and the settings; the event editor's own-reminder rows were broken the same way (fixed by the same rules; its other fields — date/time pairs, place, notes, buttons — were fine at 390 and 1280). The ident dropdown panel and menus were not touched/affected.
  8. **Gate (tests/browser.mjs):** 3 new checks after the settings steps at 390: two rows one under the other spanning the panel; every select ≥ 150 px, time ≥ 100 px, all fields/× ≥ 44×44, no overlap, nothing clipped by its row; same for the event editor's own rows. Old code (61b2140 + new gate): 81 passed, 3 failed (the three new). New: 84 passed, 0 failed.
  9. **Clock fix:** the 00:00–02:00 CEST failure was "signed in: the first pointer event runs no calLoad of its own" (server draws its UTC day as today; the browser's first pointer repaints the month for ITS day → one more calLoad). The check now reads whether the page's `li.today` differs from the browser's day before the pointer event and then expects 2 calLoad frames instead of 1. NOT proven in the window (it was 02:20+ during the work); logic only.
  10. **Other gates (new code):** check-theme 0 problems (31 files), notify 7/0 + 3 gaps, push 16/16 (needs > 590 s: run with timeout ≥ 1000), dst 13/0.
  11. **Shots** (lisbeth's Chrome, real clicks, ONE tab) in atlas-evidence/A10: old-/new- × 390/1280 × settings/editor (`tests/settings-shots.mjs`).

Branches

Latest commits

  • edb7c947calendar: the sign-in callback keeps the session it finds and signs it in (same cookie, nothing signed out; ident#28); security gate 56+4 failing → 60 passedmre
  • bf8cc0fcStyles move into their components: the shell's styles into main.hl, the events and the editors into the month view's Style block; styles.hl keeps only the theme inherit, the accent and the message line; .gitignore ignores a bin symlink too; tests/styles-shots.mjs for the before/after pixel comparemre
  • 5d8579d7README: login.js stays by caramboleyo's explicit rulemre
  • cc759328Merge sb3-standby: calendar deploys through its standbymre
  • f2fcdc6dcalendar: a standby container (port 45015, profile standby, reminder clock off) and a /health page; deploy hands over through standby-swap.sh without a gapmre
  • 229643f7Merge branch 'cal-14'mre
  • 1110b26fcalendar#14: the month name no longer breaks into two lines on a phone (Reminder settings drops to its own row when the header is too narrow), gate checks for one-line title and all header controls on screenmre
  • 490c658aident#31: the selector's sign-in returns to the page the user started on (return attribute = the login callback with next), gate checkmre
  • 18095868calendar: Reminder settings button opens its dialog again (the dialog's open handler still closed the removed user menu and stopped); old e2e and gate scripts use the new headermre
  • 6eee4b5acalendar header: the selector alone top right plus Log out as before the theme missions; Reminder settings back on the month page (WIP: the settings test still fails)mre
  • 0b909decident selector back in the header (creator 2026-10-24): selector top right signed in and out on phone and desktop, no second Log in button, new gate checks (WIP: gates not re-run after the last edits)mre
  • 0c8f9364Merge branch 'sy-sync'mre
  • 9fab1c8fsync components.hybriel 4922f9c into the month view: prev / next 44 px targets, names formatted in UTC (a UTC+12 zone showed the wrong first weekday); the calendar keeps its own language handling (Accept-Language / browser) and the P1/C13 reminder code; gate: 44 px check (SY)mre
  • 27d3e294theme: sync from layouts 4994037 (list rows stack, td word-keep, heading code, edited tap target)mre
  • 2ac9c1bbdeploy: security gate (tests/security.mjs)mre
  • 6b0a2571merge sc-sec (calendar security) with 99-year sessionsmre
  • 92001e52sessions last 99 years (creator 2026-10-23: logins never expire; only sign out ends them)mre
  • 0f76c99dSecurity audit SC: push endpoint SSRF guard, uploadMax 0, Secure cookie, login session rotation + rate limit, event cap, nosniff, security gatemre
  • 2dd53dccP1: one reminder shows once: arm() one at a time, the page skips reminders the server already pushed; push-twice gatemre
  • 3a29760aC13 report (handoff)mre