Repository navigation
Commit 0871a48
committed
refactor(app-shell): move ObjectView's header toolbar and list URL state into sibling hooks
Slice 8 of the move-only ObjectView split.
- The header's list_toolbar actions (less the record-scoped ones the
selection bar carries), the nav runAction deep link and the
action:bar node move verbatim into useObjectViewHeaderToolbar in
views/objectViewHeaderToolbar.ts.
- The list's uf_ URL state (seed, write-back, Reset view) moves into
useObjectViewListUrlState, and the filter[...] equality filters with
the restored user-filter selections into useObjectViewUrlFilters,
both in views/objectViewListUrlState.ts.
Hook parameters are typed from their sources. One test edit, path
only: ObjectView.urlFilterSuffix-9196 reads objectViewListUrlState.ts,
where the scanned block now lives.
Claude-Session: https://claude.ai/code/session_01QciHBvFJXnhZqXmdqpDtpz
Co-authored-by: Claude <noreply@anthropic.com>1 parent a8de478 commit 0871a48
5 files changed
Lines changed: 413 additions & 281 deletions
File tree
- .changeset
- ui/packages/app-shell/src/views
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments