logaritmisk
00a7ce772e
feat(web): useLang + segmentClass/rowStateClass helpers; delete dead Card ( #66 )
2026-06-08 23:41:08 +02:00
logaritmisk
d8d8035850
refactor(web): split queries.ts into api/queries/ domain modules behind a barrel ( #65 )
2026-06-08 21:35:02 +02:00
logaritmisk
704b159d48
refactor(web): central query-key factory + invalidate search on object writes ( #65 )
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-08 21:30:57 +02:00
logaritmisk
c1bddb47c4
refactor(web): extract API error classes to api/errors.ts ( #65 )
2026-06-08 21:27:21 +02:00
logaritmisk
50d2512123
refactor(web): term/authority rows + pages adopt shared CRUD components ( #64 )
2026-06-08 20:16:17 +02:00
logaritmisk
c689b8c0e9
feat(web): shared FilteredRecordList component ( #64 )
2026-06-08 20:11:29 +02:00
logaritmisk
acdaf8d07f
feat(web): shared LabelledRecordCreateForm component ( #64 )
2026-06-08 20:08:10 +02:00
logaritmisk
77c56f7a9d
feat(web): shared LabelledRecordRow component ( #64 )
2026-06-08 20:05:05 +02:00
logaritmisk
da3e078fbc
fix(web): objects-table a11y — real-link rows, pill focus ring, announced load/error ( #62 )
2026-06-08 19:07:00 +02:00
logaritmisk
0def81ab42
fix(web): a11y labelling — useId, named drawer/breadcrumb, translated combobox ( #62 )
2026-06-08 19:00:28 +02:00
logaritmisk
aeb1b084d9
feat(web): adopt MutationError across create/object forms; distinguish edit-form fetch error ( #63 )
2026-06-08 17:32:36 +02:00
logaritmisk
6e02ac874f
feat(web): inline status-aware errors on term/authority edit rows + delete dialog ( #63 )
2026-06-08 17:27:02 +02:00
logaritmisk
dd131ee740
feat(web): mutations throw HttpError(status) so failures are status-aware ( #63 )
2026-06-08 17:21:50 +02:00
logaritmisk
cad5a980c5
feat(web): shared status-aware error-message helper + MutationError component ( #63 )
2026-06-08 17:17:14 +02:00
logaritmisk
af3f1a5367
feat(web): return-to-destination on auth redirect; logout pending state ( #48 )
2026-06-08 15:06:50 +02:00
logaritmisk
ec6e90ef5b
feat(web): login reason banner + return-to + empty-field guard ( #48 )
2026-06-08 15:02:55 +02:00
logaritmisk
3c59f47f81
feat(web): soft-redirect to login on 401 via a navigate bridge ( #48 )
2026-06-08 14:58:25 +02:00
logaritmisk
d447e2d8a8
feat(web): group object-form flexible fields by definition group ( #45 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-08 14:03:33 +02:00
logaritmisk
a9a0c4d477
refactor(web): extract groupDefinitions helper; object-detail uses it ( #45 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-08 13:58:12 +02:00
logaritmisk
30da072d96
feat(web): show recording_date on search rows; flag estimated count as approximate ( #61 )
2026-06-08 13:45:35 +02:00
logaritmisk
1cdfa21259
feat(search): index + return recording_date on search hits ( #61 )
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-08 13:41:17 +02:00
logaritmisk
69d3d2be15
feat(web): skip link + route focus management + html lang sync ( #52 )
2026-06-08 09:46:17 +02:00
logaritmisk
57504c941d
feat(web): focus-visible rings on custom controls; honest authority links + lang group ( #52 )
2026-06-08 09:42:33 +02:00
logaritmisk
4c24f0387c
merge: enforce en/sv i18n key parity test ( #60 )
CI / web (push) Has been cancelled
2026-06-08 09:31:14 +02:00
logaritmisk
0209638552
docs: consolidate frontend guardrails + test-harness gotchas
...
CI / web (push) Has been cancelled
Adds web/GUARDRAILS.md capturing the recurring CI-guardrail and
test-harness lessons in one place: the check:size (250 KB-gz largest
chunk) and check:colors (design-token) guards, the jsdom/storybook
vitest split, MSW onUnhandledRequest:"error" overrides, RTL
accessible-name collisions, Storybook nested-router/portal handling,
and the components/ui code-style split. Wires a pointer from CLAUDE.md.
All claims verified against the live scripts, ci.yaml, and src/test/.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-08 09:21:16 +02:00
logaritmisk
2b6ea1b4a4
test(web): enforce en/sv i18n key parity + non-empty values ( #60 )
2026-06-08 09:15:35 +02:00
logaritmisk
882d0c828f
feat(web): field-list filter, within-group label sort, group order, count badges ( #50 )
2026-06-08 09:06:17 +02:00
logaritmisk
75e7cf9047
feat(web): authorities sort+filter, create external_uri, external_uri in rows, url input ( #50 )
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-08 09:02:13 +02:00
logaritmisk
76b2cbde1d
feat(web): vocab list/terms sort+filter, external_uri in rows, rename guard, url input ( #50 )
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-08 08:57:52 +02:00
logaritmisk
6c2fa63cac
feat(web): collator sort helpers + ExternalUriLink + filter/uri i18n ( #50 )
2026-06-08 08:54:04 +02:00
logaritmisk
0d4026a968
feat(web): standardize loading on shared skeleton recipes; retire '…' + empty status divs ( #53 )
2026-06-08 06:50:57 +02:00
logaritmisk
d0da77a004
feat(web): shared loading skeleton recipes (List/Form/AppShell) + common.loading ( #53 )
2026-06-08 06:46:24 +02:00
logaritmisk
ede32551be
feat(web): field-form selects use ui/Select; rewrite select tests ( #51 )
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-08 06:03:54 +02:00
logaritmisk
71d899cbdc
feat(web): object-form visibility uses ui/Select ( #51 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-08 06:00:21 +02:00
logaritmisk
09e9b3f4d4
feat(web): ui/select Base UI Select wrapper matching Input + story ( #51 )
2026-06-08 05:54:46 +02:00
logaritmisk
d3ee4365e0
feat(web): unify create/edit partial-failure recovery with 'created' banner ( #46 )
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-07 23:31:15 +02:00
logaritmisk
e18cad9c6a
feat(web): unsaved-changes guard (useBlocker + beforeunload) on the object form ( #46 )
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-07 23:26:15 +02:00
logaritmisk
537b847acb
feat(web): code-aware field errors + min count validation ( #46 )
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-07 23:20:30 +02:00
logaritmisk
3900bc362c
feat(web): disable submit while saving + Save & create another + Cmd/Ctrl+Enter ( #46 )
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-07 23:15:21 +02:00
logaritmisk
ed0c13907c
refactor(web): migrate to data router (createBrowserRouter) to enable useBlocker ( #46 )
...
Convert app.tsx route tree verbatim to a module-level data router via
createRoutesFromElements + RouterProvider, and the test harness to
createMemoryRouter + RouterProvider. The search NavLink-click test now mounts
its routes as real data-router routes so RouterProvider intercepts the link
(descendant <Routes> under a catch-all let it fall through to a jsdom navigation).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-07 23:07:03 +02:00
logaritmisk
f3881e8c7c
build(web): upgrade Vitest 3→4 (browser-playwright provider) ( #46 )
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-07 23:03:21 +02:00
logaritmisk
6efe09d40c
feat(web): assemble header — breadcrumb, search, user menu; remove standalone sign out ( #54 )
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-07 19:27:43 +02:00
logaritmisk
5c8fe3cd81
feat(web): UserMenu (email/role + sign out) + HeaderSearch components ( #54 )
2026-06-07 19:23:43 +02:00
logaritmisk
4b55218c69
feat(web): set breadcrumb trails on all AppShell routes ( #54 )
2026-06-07 19:18:43 +02:00
logaritmisk
af6004f731
refactor(web): remove eslint-disable from useBreadcrumb via ref ( #54 )
2026-06-07 19:15:03 +02:00
logaritmisk
18cb35beff
feat(web): page-driven breadcrumb context + header render + objects wiring ( #54 )
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-07 19:11:31 +02:00
logaritmisk
dbaf22500e
feat(web): ui/menu Base UI dropdown wrapper + story ( #54 )
2026-06-07 19:05:25 +02:00
logaritmisk
4fad3c43f0
feat(web): render configured app_name for brand + login; drop hardcoded app.name ( #54 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-07 19:01:15 +02:00
logaritmisk
8511aebb53
feat(web): object-detail tab title, caption element fix, login title ( #57 )
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-07 17:22:18 +02:00
logaritmisk
6e1f5ea50f
feat(web): page <h1> + document.title on list/form routes ( #57 )
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-07 17:17:01 +02:00