logaritmisk
cde7be9f2a
refactor(web): migrate feature screens to design tokens + radius token ( #49 )
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-07 14:15:54 +02:00
logaritmisk
03d5b59b48
feat(web): readable, grouped object detail (labels, placeholders, actions toolbar) ( #45 )
...
Refactor object-detail.tsx to resolve term/authority ids to labels via
FlexibleFieldValue, group flexible fields by def.group in definition order
(ungrouped → trailing "Other"), always show core fields with "—" placeholders,
and move Edit (button-styled Link) + Delete into a right-aligned toolbar.
Move formatDate into lib/format-date.ts so the component module no longer
co-exports a non-component (clears the react-refresh/only-export-components
warning); both flexible-field-value.tsx and object-detail.tsx import it.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-07 11:44:35 +02:00
logaritmisk
0ee3b970cb
refactor(web): drop redundant fields/visibility casts now the client is typed ( #24 #29 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-04 20:20:13 +02:00
logaritmisk
7a8e7ff2d7
feat(web): show the publish control on the object detail
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-04 08:41:32 +02:00
logaritmisk
5087e34280
feat(web): delete object with confirm dialog
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-04 01:00:57 +02:00
logaritmisk
9880f24dd2
feat(web): nested object routes + in-pane edit form + edit flow
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-04 00:54:02 +02:00
logaritmisk
0a2398f507
fix(web): localize flexible-field labels to the active locale (sv/en)
...
CI / web (push) Has been cancelled
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-03 23:37:26 +02:00
logaritmisk
1d1be5fbe9
fix(web): hide null flexible-field values instead of rendering 'null'
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-03 23:17:14 +02:00
logaritmisk
859f41dcb9
feat(web): object detail + two-pane page + app routing
...
Implements the navigable SPA shell: object detail pane showing
inventory-minimum fields, flexible fields (via Record<string,unknown>
cast) and visibility badge; ObjectsPage two-pane layout; BrowserRouter
wired through RequireAuth+AppShell; QueryClient provided in main.tsx.
Consolidates ObjectList NavLink to use isActive function form, removing
manual useParams highlight.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-03 23:13:52 +02:00