Commit Graph
181 Commits
Author SHA1 Message Date
bchanot 8bb2486a34 fix(app): Administration home cards laid out as board 29 B
- the grid aligns its cards at the start; Espèces and Accès et
  habilitations stack in one right-hand column at their own height
- when the sheets card is refused, that column spans the grid and lays
  its cards side by side, so no half of the page stays empty
- the card's sheet name links are 44 px tall on the phone, unchanged
  from sm up
- the card item keeps the list row's rhythm (space-y-1), a larger gap
  only above the working copy action

No test changed.
2026-11-16 17:59:47 +01:00
bchanot 1758276087 refactor(app): sheet list hooks split, rows memoised, phone clear button
- useSearch holds the query, its field and clearSearch; useListView keeps
  the filters and the sort (8 bindings down to 5)
- the search term is folded once per search (sheetNameMatcher beside
  matchesSheetName, whose signature and behaviour stay), each date read
  once before the sort, the shown rows memoised on list, filters, search,
  sort and language
- long className strings hoisted into module constants, no class changed
- the no-result block's clear button takes the page's 44 px phone height
- labels.ts: the SheetSummary alias removed; ResultsProps declared first

No test changed: the existing unit suites are the oracle.
2026-11-16 17:57:18 +01:00
bchanot de2424f519 feat(app): Administration home lists the latest modified sheets
Board 29 B: five latest sheets with badges, detail line and date; footer
link shows the total from two sheets. R-24: no existing assertion removed
or rewritten; seven cases added.
2026-11-16 17:17:27 +01:00
bchanot 423125c18f feat(app): search, sort, count and date on the official sheet list
Boards 28 and 29 A: name search with clear button and Escape, « Trier
par » (last modification by default, or name), a polite count line,
« Modifiée le … » on each row in a <time>, and the search no-result
block. The detail line moves to labels.ts as sheetDetails.

R-24: no existing assertion removed or rewritten; six tests added.
2026-11-16 17:03:08 +01:00
bchanot f3b58abe70 feat(app): search, sort and date format of the admin sheet list 2026-11-16 16:45:23 +01:00
bchanot 3e94f732c7 fix(editor): citation notices, literal citation text, local limits 2026-11-15 20:50:48 +01:00
bchanot ee7912768c fix(editor): draft notice after the reference dialog, locale list 2026-11-15 20:08:55 +01:00
bchanot 1d119c3684 fix(editor): stale cite choice reset, pending line under the add row 2026-11-15 20:00:28 +01:00
bchanot 70eb2fcbb4 feat(editor): a reference made in the citations draft saves with it 2026-11-15 19:55:41 +01:00
bchanot 8c3fcca0b9 feat(editor): « Citer » button and family labels in references 2026-11-15 19:40:47 +01:00
bchanot 240c2ba0e7 feat(editor): dialog close button is a 44 px touch box 2026-11-15 19:40:46 +01:00
bchanot 5059641c04 fix(editor): edit mode focuses the draft, tile edit call 2026-11-15 17:43:43 +01:00
bchanot 6c0f913104 fix(editor): forget the citing form on Back, refuse sparse paths 2026-11-15 17:42:26 +01:00
bchanot 7a5684aace fix(editor): an explicit discard of the citations draft says nothing 2026-11-15 17:04:28 +01:00
bchanot 11c2b0c5ee fix(editor): Task 12 review minors, delete hint and cite label 2026-11-15 16:58:50 +01:00
bchanot 3dc5820e3a feat(editor): edit mode of the references dialog
« Modifier » turns the references dialog into a draft of adds and removes,
saved as one update on the current citations. A new layer, citations,
guards it between the finding and the reference dialogs: close, Back,
POP refusal and the leave cascade ask it. « Modifier la référence » and
« Nouvelle référence » stack the reference dialog over it; a creation it
started joins its draft.
2026-11-15 16:39:43 +01:00
bchanot d9dbcf1609 fix(editor): dialog trigger for references, Task 11 review minors 2026-11-15 16:25:32 +01:00
bchanot da755f9768 fix(editor): Plus rows hover tint, axe on an active row, line limits 2026-11-15 16:21:01 +01:00
bchanot abc781df52 feat(editor): references dialog over the finding, view mode
A modal Dialog replaces the citations side sheet; families open it too
(isCitable). The finding dialog shows only « Références citées » and
« X références », also at zero; its edit form no longer carries
reference_ids. A dirty form refusing « Aller à » or « Tout afficher »
closes the clean references dialog first.
2026-11-15 16:13:57 +01:00
bchanot ff21b0315e feat(editor): one tab order, vertical Plus list with the error count 2026-11-15 15:52:28 +01:00
bchanot ee86a3a659 fix(editor): ask only the top refusing layer, safe retry notes 2026-11-14 23:17:54 +01:00
bchanot bb35e86dbb fix(editor): five locals in stepHistory and MoreTabs, sync tag in tests 2026-11-14 18:52:41 +01:00
bchanot 08fab77d0e fix(editor): the delete hint names « Modifier » before « Retirer » 2026-11-14 18:51:38 +01:00
bchanot 28e298ac56 fix(editor): a sign-out with a dirty dialog is said at the next sign-in 2026-11-14 18:50:42 +01:00
bchanot 7ecaf1998e fix(editor): salt the session record's fingerprint with its tag 2026-11-14 18:49:09 +01:00
bchanot 2ad720b34e fix(editor): ask only the layers a Back removes, clear the sheet first 2026-11-14 18:47:24 +01:00
bchanot 791fc03a0d fix(editor): Task 8 round 2, cascade closes the sheet 2026-11-14 15:13:38 +01:00
bchanot 579d8afff4 fix(editor): Task 8 round 1, sync tag, cascaded leave ask 2026-11-14 15:01:23 +01:00
bchanot 07bebbc855 feat(editor): session tag in history, confirm before leaving 2026-11-14 14:47:43 +01:00
bchanot 4018344ffc fix(editor): Task 7 round 1, reveal reset, forced-colors ring 2026-11-14 14:28:20 +01:00
bchanot 085c56877c fix(editor): deletion undo and Back, Plus focus to the panel 2026-11-14 14:24:06 +01:00
bchanot 270444e2ec fix(editor): Task 6 round 1, draft store tests, dead rescue 2026-11-14 14:15:11 +01:00
bchanot f0e49fd447 feat(editor): cite references from the finding edit form only 2026-11-14 14:11:13 +01:00
bchanot 3a7ffa2f8b fix(editor): Plus Escape focus return, sheet width rounding 2026-11-13 23:58:59 +01:00
bchanot 021685f6b3 fix(editor): category creation dialog title key 2026-11-13 23:45:59 +01:00
bchanot d6e501ef04 fix(editor): final review round, prettier on shell chrome files 2026-11-13 23:42:32 +01:00
bchanot 6bf9290da7 fix(editor): final review round, history, dialogs, Plus and limits
I1 scroll restored at once on a Back into layers; I2 Aller a opens the target dialog in one push; M1-M9, criteria 8 and 17 (left-draft notice), entry caps, no exhaustive-deps disables, locals within 5.
2026-11-13 23:42:32 +01:00
bchanot dfc8965844 fix(editor): Task 4 round 1, swallow release, menu tests 2026-11-13 22:36:23 +01:00
bchanot ca5804a8b7 feat(editor): Plus dropdown overlay with back request, sticky sidebar 2026-11-13 22:32:51 +01:00
bchanot 8a60128311 fix(editor): Task 3 round 2, usePin split, comment wrap 2026-11-13 20:40:52 +01:00
bchanot 3bb3603115 fix(editor): Task 3 round 1, literal journey, pin, limits, notice 2026-11-13 20:38:04 +01:00
bchanot 7a64daf251 feat(i18n): reference dialog and filter labels, label rows 2026-11-13 20:27:00 +01:00
bchanot 8031e0078f feat(editor): reference dialog, reading tiles and finding filter in the history
R2F-5 and R2F-6: the reference dialog is a view layer above the References tab or the citations sheet (local draft, one command per changed save, creation entry becomes the reference's own). Tiles only read. « Tout afficher » filters the library by the finding, « Revenir au constat » pops or pushes. Inline tile edit, draft tile and their guards removed.
2026-11-13 20:27:00 +01:00
bchanot af300de04c fix(editor): Task 2 round 3, lint, locals, stale comment 2026-11-13 19:51:03 +01:00
bchanot 20905adf72 refactor(editor): Task 2 round 2, locals and line limits 2026-11-13 19:45:50 +01:00
bchanot b703333b20 fix(editor): Task 2 review round 1, trace calls, form hooks, keyboard proof 2026-11-13 19:39:29 +01:00
bchanot c893dec60b feat(editor): « Aller à » opens the finding dialog, spec races fixed
« Aller à » a finding shows its row and opens its dialog in view mode.
E2e helpers wait for the history to settle after a layer or section
pop; the layout walk waits out the write budget. Label rows for the
nine new keys.
2026-11-13 19:23:48 +01:00
bchanot 4731a3376a feat(editor): sheet landings, history and e2e for the finding layers
« Tout afficher » clears the search and keeps the sort. A landing waits
for the dialogs a move closed and for their focus restore. Helpers and
shell specs move to the dialog and sheet flow; new finding dialog spec
(entries, guards, flip, gone rule, Back and Forward over the layers).
2026-11-13 19:03:21 +01:00
bchanot 18085cecf8 feat(editor): finding dialog and citations side sheet in the history
Constats opens each element in one modal dialog (view, edit with a
local draft, creation) driven by the editor view layer of the browser
history. The citations panel becomes a modal side sheet stacked over
it; its geometry, exit machinery and page inertness are removed.
Back and Forward restore the layers, a dirty form asks first.
2026-11-13 18:51:35 +01:00
bchanot 8e4f02620a fix(editor): Task 1 review round 1, section back pops, scroll proof 2026-11-13 18:12:19 +01:00