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
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
04ed0c50e2
feat(web): indigo brand token + status tokens + Badge success/warning variants ( #49 )
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-07 14:08:08 +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
2e38af565a
feat(web): FlexibleFieldValue — resolve term/authority/localized field values ( #45 )
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-07 11:32:17 +02:00
logaritmisk
c052ddc5af
test(web): widen findBy timeout for the lazy/portaled narrow-drawer detail test ( #44 )
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-07 00:03:46 +02:00
logaritmisk
b8f70212a1
feat(web): responsive object detail (pane/drawer) at canonical /objects/:id ( #44 , #58 )
...
Wide (>=1024px): right-hand pane beside the table with a close control.
Narrow: Base UI Drawer sliding from the right (lazy-loaded so its code splits
out of the main chunk). Both preserve the table's query string on close.
Remove the index SelectPrompt route (the table is the landing view) and delete
the now-unused SelectPrompt. Make table rows keyboard-activatable
(role=link, tabIndex, Enter).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-06 23:53:10 +02:00
logaritmisk
49f694d1fb
feat(web): full-width sortable/filterable objects table with URL state ( #44 )
...
Replace the narrow ObjectList with a full-width ObjectsTable whose state
(sort/order/q/visibility/limit/offset) lives entirely in the URL via
useSearchParams. Sortable headers toggle sort+dir with aria-sort, a
debounced quick-filter and visibility chips mirror the search-panel
pattern, and a pagination footer offers prev/next + page-size select.
Rows deep-link to /objects/:id preserving the query string.
useObjectsPage now takes an ObjectListParams object (sort/order/
visibility/q) with keepPreviousData. ObjectsPage renders the table as
the full-width landing view, surfacing the nested <Outlet/> detail as a
simple right-side panel only when a :id child route is active (Phase 3
makes this responsive). object-list.tsx and its test are removed.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-06 23:34:13 +02:00
logaritmisk
c84b84b153
feat(web): use searchable combobox for term/authority fields on the object form ( #27 )
2026-06-06 10:41:28 +02:00
logaritmisk
0188e730e8
feat(web): searchable combobox (Base UI) for term/authority options ( #27 )
2026-06-06 10:37:01 +02:00
logaritmisk
b2d026f217
feat(web): set up Storybook (preview + MSW + stories for real components)
2026-06-05 16:55:40 +02:00
logaritmisk
b4d71b0f80
fix(web): VisibilityBadge typed to the union ( #38 ); normalize localized_text to default language on save ( #41 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-05 15:46:48 +02:00
logaritmisk
0a29127f7e
fix(web): name the field in the edit banner on create->fields-error redirect ( #28 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-05 15:43:35 +02:00
logaritmisk
0c9db7bcdb
feat(web): highlight the offending field on a set_fields 422 ( #28 )
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-05 15:39:49 +02:00
logaritmisk
9d0475e8ec
feat(web): single-language content authoring (LabelEditor + localized_text at default lang)
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-05 15:05:20 +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
34d4ed2fd6
fix(web): disable publish-confirm while pending; aria-current on stepper
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-04 08:39:20 +02:00
logaritmisk
39b7fc51e9
feat(web): PublishControl stepper (legal one-step moves, confirm-on-public, gate/illegal errors)
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-04 08:35:02 +02:00
logaritmisk
01f757a239
feat(web): useSetVisibility hook + adjacentTransitions helper + MSW handler
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-04 08:30:15 +02:00
logaritmisk
eedeb179e3
fix(web): handle delete failure in confirm dialog (no unhandled rejection)
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-04 01:04:58 +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
22b37c138b
test(web): assert partial-create passes fieldsError state to the edit route
2026-06-04 00:50:43 +02:00
logaritmisk
30d851182e
feat(web): new-object full-width page + create flow + /objects/new
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-04 00:46:49 +02:00
logaritmisk
616c232a22
feat(web): ObjectForm (core + dynamic flexible fields, RHF, validation)
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-04 00:40:19 +02:00
logaritmisk
cf0b34b254
refactor(web): FieldInput form type unknown (drop any); wire localized_text required; a11y/comment nits
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-04 00:36:04 +02:00
logaritmisk
cb191225cc
feat(web): dynamic FieldInput (text/integer/date/boolean/localized_text/term/authority)
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-04 00:31:05 +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
logaritmisk
d6fe0b0597
feat(web): paginated object list with visibility badges and states
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-03 23:06:42 +02:00