You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
/data page: search, sort, grouping and filters are lost after opening a record (not kept in the address) #36408
Found by the f7-shell area's dev while measuring #36299 (os-dev-report 7077650228 on #36299, which closes as premise refuted: /data has no page number to lose). Filed by the seat.
What happens
The /data page keeps none of its list state in the address. A search is lost after opening and closing a record (measured). Sort, grouping and the Filter panel are lost the same way (read from code). ObjectView keeps them in uf__search / uf__sort / uf__group / uf__filter / uf__page.
Design point to settle first
/data's address conditions are filter[...], while ObjectView's panel is uf__filter. Decide how the two coexist (one spelling, or both, with which one winning) before code. If it is a product call, the seat brings it to the maintainer.
To do
Keep search, sort, grouping and the Filter panel of /data in the address with the same keys ObjectView uses, reconciled with filter[...] per the design point.
Pin it: search, open a record, close it, and the search is still applied.
Acceptance
On /data, a search, sort, grouping or filter survives opening and closing a record and a page reload.
Grade
p2 · area:ux · domain:ui. Every /data user loses their search on each record open; the workaround is to retype it.
Triage: area, pm:queue and p2 stand as filed; rationale: area:ux · Bug · on the /data page, search, sort, grouping and filters are lost after opening a record, because they are not kept in the address (sibling of #36299, closed) · size S.
Claim: PM loop round 2
Session: session_01ADHkmRGDrq6JSytBsNFabU
Account: os-steve
Area: s2-D
Branch: claude/issue-36408-data-page-list-state
Worktree: objectstack-issue-36408
Domain: domain:ui
Seat: repo:objectstack#2
File surface: ui/packages/app-shell/src/views/ObjectDataPage.tsx + new tests beside it; objectViewListUrlState.ts / userFilterUrlState.ts are REUSED read-only (an edit there waits for PR #36411, which touches objectViewListUrlState.ts); root .changeset/
Container & model: S/M, mode:subagent, model: default (dispatch-gates --tier at 87c7bbaf: "no path-derived mandate"), effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: platform code — ui/packages/app-shell ObjectDataPage wires none of ListView's list-state callbacks to the address (objectstack) | ObjectView already keeps uf__search / uf__sort / uf__group / uf__filter through useObjectViewListUrlState; /data does not use it | every /data reader who searches, sorts, groups or filters and opens a record (measured for search in #36299's report 7077650228)
Thread-read: 7078042821
Premise: holds — measured by #36299's dev at 7b9e229 (report 7077650228: search 'Row 7', open, close ⇒ the refetch has no $search); at origin/main 87c7bbaObjectDataPage.tsx:567 still says "Deliberately NO onSortChange/onFilterChange persistence hooks" and the file never calls useObjectViewListUrlState.
Design point (card's "settle first"), settled here as execution, not a product call — it follows ObjectView's existing two-layer address, no new spelling: filter[...] stays what it is today, the page's own address conditions (visible removable chips, the source-trail reset, what "Save as view" persists); the Filter panel's conditions go to uf__filter, exactly as ObjectView keeps them on top of its view filter. The two are separate layers, AND-ed as ListView already ANDs a view filter and the panel, so neither "wins"; editing one never rewrites the other. Search, sort and grouping use uf__search / uf__sort / uf__group. resetToSource already clears every uf_-prefixed key. "Save as view" keeps persisting only filter[...] (unchanged here). If the dev measures a case where the two layers conflict, it stops and reports rather than picks.
Pre-claim lane: ui/packages/app-shell/** is domain:ui, this seat's repo:objectstack intake; dispatched by seat order 22:30Z (Steve 「派」 22:29Z, area:ux p2 without a topic parent).
Pre-claim deps: no Blocked-by: / "after #N"; #36299 closed (premise refuted, this card carries its live intent); no open PR (42 read at 2026-11-22T22:33Z) touches ObjectDataPage.tsx; PR #36411 touches objectViewListUrlState.ts (reused read-only here).
Prior rulings read: data,page,search,sort,grouping,filters,lost,opening,record,address → 252 hits; ADR-0061 D2, ADR-0081 Decision §2, ADR-0089 Decision §1, ADR-0104 D1, ADR-0111 D5, ADR-0014 Decision §1, ADR-0035 Decision §4, ADR-0036 Decision §1, ADR-0044 D1, ADR-0061 D5 — none rules on the /data address keys; surface grep on the path 0 hits; thread: none; repo: objectstack-ai/objectstack
Serial constraints cleared: PR #36411 (seat 7) on objectViewListUrlState.ts — read-only here; sibling #36452 (same area, in flight) on fields/src/widgets/**, disjoint
{
"issue": 36408,
"status": "done",
"branch": "claude/issue-36408-data-page-list-state",
"pr": "https://github.com/objectstack-ai/objectstack/pull/36571",
"session": "session_01ADHkmRGDrq6JSytBsNFabU",
"premise_still_valid": true,
"summary": "ObjectDataPage (/data) now keeps its list's search, sort, grouping and Filter panel in the address under ObjectView's keys (uf__search / uf__sort / uf__group / uf__filter), through userFilterUrlState's parseListStateParams / applyListStateParams reused unchanged (objectViewListUrlState.ts untouched). Design point as the claim settled it: filter[...] stays the page's own conditions (tags, Reset, Save as view), uf__filter is the panel on top, ListView ANDs the two, neither rewrites the other; no conflict case was measured. Seed read once per object and list generation through ObjectView's field gate, a uf__filter losing any condition refused whole with ObjectView's notice, then written back with replace; unlike ObjectView a reload is not a reset (the card's acceptance asks for reload survival). PM assumption measured: resetToSource / conditionsAreSourced do match uf__*, but clearing the address alone left the one-shot ListView still searching, so Reset now also remounts the list on an empty seed (key = generation) and that seed writes nothing back, because the router commits the reset in a transition and a write-back from the stale render restored the removed filter[status] (caught by the Reset pin). The L567 comment's intent (#2251: no write-back to a saved view) holds and the comment now says the list's changes go to the address only.",
"tests": "At head 1a95ac7a (after merging origin/main): `cd ui && pnpm exec vitest run --maxWorkers=2 packages/app-shell/src/views/ObjectDataPage` under os-verify-lock: VERDICT command-exit 0, Test Files 9 passed (9), Tests 96 passed (96) (89 before, 7 new in one new top-level describe in the existing open/close harness ObjectDataPage.openRule-35875.test.tsx: the card's search-open-close pin, reload of search+sort+panel over filter[...] with open/close, reload of grouping, CONTROL, refused-whole panel, Reset to source, sort removal). No existing test changed. `pnpm run type-check` in ui/packages/app-shell (tsc --noEmit + tsconfig.test.json, include src/**/*.test.ts(x)) after building the @object-ui/app-shell^... closure (68/68): VERDICT command-exit 0. Ablation: scripts/ablation-replace.mjs replaced `onSearchChange={(search: string) => writeListUrlState({ search })}` with `onSearchChange={() => undefined}` (anchor x1->x0, blob b524303191dd->d168962bdeb0): `x a search, then a record opened and closed: the search is still applied`, Tests 1 failed | 6 passed | 8 skipped; restored blob == HEAD, git diff HEAD empty (test imports the page from source, no dist in the path).",
"gates": "Local, after the last commit at 1a95ac7a: `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` derived 38 families; all 38 run, every one exit 0 (37 check/node families without the lock; `pnpm --dir ui exec vitest run scripts/` under the lock: VERDICT command-exit 0, Test Files 172 passed | 2 skipped, Tests 5127 passed | 2 skipped). Record /mnt/project-files/objectstack-seat2/36408-gates-ran.txt; `--ran` reconciliation: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN. overlap-check --branch=claude/issue-36408-data-page-list-state: VERDICT clean exit 0 (before the push of the merge). CI on PR #36571 at the report: Check Changeset, Lint (ESLint, repo & tooling, docs & code guards, CI release & engine, PM dispatch-gates, scoped), Type Check (workspace, source, consumer, debt), Governed Surface Queue Guard, PR-body guards all in_progress; query-options erasure queued; UI jobs not yet listed. Not waited on.",
"dogfood_battery": "n/a — no `!` in the PR title and Clause-②: no without a (narrowing) arm",
"mcp_calls": "0",
"api_writes": "2 — POST /repos/objectstack-ai/objectstack/dispatches (fleet-write pr_create, draft PR #36571 + assignee os-steve); POST /repos/objectstack-ai/objectstack/issues/36408/comments (this os-dev-report, via post-stamped.mjs). Plus git pushes of the branch (not REST).",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed — the refused-panel notice on /data reuses ObjectView's console.objectView.linkFilterRefused, whose text says the list shows 'the view' without the filter; /data has no saved view (wording, in the PR's Acceptance notes)",
"carrier: none · noted, not filed — read from code: moving between two objects' /data routes keeps ObjectDataPage and its ListView mounted (no object key, pre-existing), so the one-shot search/panel and the uf_FIELD chip selections are not re-read from the new address (in the PR's Acceptance notes)"
]
}
Landed: PR #36571 merged (2026-11-23T00:35Z), closing this card via Fixes #36408. pm:dispatched removed on close. The object-switch observation from the build is filed as #36577.
Activity
objectstack-fleet commentedon Nov 22, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: area,
pm:queueand p2 stand as filed; rationale: area:ux · Bug · on the/datapage, search, sort, grouping and filters are lost after opening a record, because they are not kept in the address (sibling of #36299, closed) · size S.objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRGDrq6JSytBsNFabU
Claim: PM loop round 2
Session:
session_01ADHkmRGDrq6JSytBsNFabUAccount:
os-steveArea: s2-D
Branch:
claude/issue-36408-data-page-list-stateWorktree:
objectstack-issue-36408Domain:
domain:uiSeat:
repo:objectstack#2File surface:
ui/packages/app-shell/src/views/ObjectDataPage.tsx+ new tests beside it;objectViewListUrlState.ts/userFilterUrlState.tsare REUSED read-only (an edit there waits for PR #36411, which touchesobjectViewListUrlState.ts); root.changeset/Container & model:
S/M,mode:subagent,model: default (dispatch-gates --tier at 87c7bbaf: "no path-derived mandate"),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
platform code — ui/packages/app-shell ObjectDataPage wires none of ListView's list-state callbacks to the address (objectstack) | ObjectView already keeps uf__search / uf__sort / uf__group / uf__filter through useObjectViewListUrlState; /data does not use it | every /data reader who searches, sorts, groups or filters and opens a record (measured for search in #36299's report 7077650228)Thread-read: 7078042821
Premise: holds — measured by #36299's dev at 7b9e229 (report 7077650228: search 'Row 7', open, close ⇒ the refetch has no
$search); at origin/main 87c7bbaObjectDataPage.tsx:567still says "Deliberately NO onSortChange/onFilterChange persistence hooks" and the file never callsuseObjectViewListUrlState.Design point (card's "settle first"), settled here as execution, not a product call — it follows ObjectView's existing two-layer address, no new spelling:
filter[...]stays what it is today, the page's own address conditions (visible removable chips, the source-trail reset, what "Save as view" persists); the Filter panel's conditions go touf__filter, exactly as ObjectView keeps them on top of its view filter. The two are separate layers, AND-ed as ListView already ANDs a view filter and the panel, so neither "wins"; editing one never rewrites the other. Search, sort and grouping useuf__search/uf__sort/uf__group.resetToSourcealready clears everyuf_-prefixed key. "Save as view" keeps persisting onlyfilter[...](unchanged here). If the dev measures a case where the two layers conflict, it stops and reports rather than picks.Pre-claim lane:
ui/packages/app-shell/**isdomain:ui, this seat'srepo:objectstackintake; dispatched by seat order 22:30Z (Steve 「派」 22:29Z, area:ux p2 without a topic parent).Pre-claim deps: no
Blocked-by:/ "after #N"; #36299 closed (premise refuted, this card carries its live intent); no open PR (42 read at 2026-11-22T22:33Z) touchesObjectDataPage.tsx; PR #36411 touchesobjectViewListUrlState.ts(reused read-only here).Prior rulings read: data,page,search,sort,grouping,filters,lost,opening,record,address → 252 hits; ADR-0061 D2, ADR-0081 Decision §2, ADR-0089 Decision §1, ADR-0104 D1, ADR-0111 D5, ADR-0014 Decision §1, ADR-0035 Decision §4, ADR-0036 Decision §1, ADR-0044 D1, ADR-0061 D5 — none rules on the /data address keys; surface grep on the path 0 hits; thread: none; repo: objectstack-ai/objectstack
Serial constraints cleared: PR #36411 (seat 7) on
objectViewListUrlState.ts— read-only here; sibling #36452 (same area, in flight) onfields/src/widgets/**, disjointobjectstack-fleet commentedon Nov 22, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRGDrq6JSytBsNFabU
os-dev-report
{ "issue": 36408, "status": "done", "branch": "claude/issue-36408-data-page-list-state", "pr": "https://github.com/objectstack-ai/objectstack/pull/36571", "session": "session_01ADHkmRGDrq6JSytBsNFabU", "premise_still_valid": true, "summary": "ObjectDataPage (/data) now keeps its list's search, sort, grouping and Filter panel in the address under ObjectView's keys (uf__search / uf__sort / uf__group / uf__filter), through userFilterUrlState's parseListStateParams / applyListStateParams reused unchanged (objectViewListUrlState.ts untouched). Design point as the claim settled it: filter[...] stays the page's own conditions (tags, Reset, Save as view), uf__filter is the panel on top, ListView ANDs the two, neither rewrites the other; no conflict case was measured. Seed read once per object and list generation through ObjectView's field gate, a uf__filter losing any condition refused whole with ObjectView's notice, then written back with replace; unlike ObjectView a reload is not a reset (the card's acceptance asks for reload survival). PM assumption measured: resetToSource / conditionsAreSourced do match uf__*, but clearing the address alone left the one-shot ListView still searching, so Reset now also remounts the list on an empty seed (key = generation) and that seed writes nothing back, because the router commits the reset in a transition and a write-back from the stale render restored the removed filter[status] (caught by the Reset pin). The L567 comment's intent (#2251: no write-back to a saved view) holds and the comment now says the list's changes go to the address only.", "tests": "At head 1a95ac7a (after merging origin/main): `cd ui && pnpm exec vitest run --maxWorkers=2 packages/app-shell/src/views/ObjectDataPage` under os-verify-lock: VERDICT command-exit 0, Test Files 9 passed (9), Tests 96 passed (96) (89 before, 7 new in one new top-level describe in the existing open/close harness ObjectDataPage.openRule-35875.test.tsx: the card's search-open-close pin, reload of search+sort+panel over filter[...] with open/close, reload of grouping, CONTROL, refused-whole panel, Reset to source, sort removal). No existing test changed. `pnpm run type-check` in ui/packages/app-shell (tsc --noEmit + tsconfig.test.json, include src/**/*.test.ts(x)) after building the @object-ui/app-shell^... closure (68/68): VERDICT command-exit 0. Ablation: scripts/ablation-replace.mjs replaced `onSearchChange={(search: string) => writeListUrlState({ search })}` with `onSearchChange={() => undefined}` (anchor x1->x0, blob b524303191dd->d168962bdeb0): `x a search, then a record opened and closed: the search is still applied`, Tests 1 failed | 6 passed | 8 skipped; restored blob == HEAD, git diff HEAD empty (test imports the page from source, no dist in the path).", "gates": "Local, after the last commit at 1a95ac7a: `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` derived 38 families; all 38 run, every one exit 0 (37 check/node families without the lock; `pnpm --dir ui exec vitest run scripts/` under the lock: VERDICT command-exit 0, Test Files 172 passed | 2 skipped, Tests 5127 passed | 2 skipped). Record /mnt/project-files/objectstack-seat2/36408-gates-ran.txt; `--ran` reconciliation: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN. overlap-check --branch=claude/issue-36408-data-page-list-state: VERDICT clean exit 0 (before the push of the merge). CI on PR #36571 at the report: Check Changeset, Lint (ESLint, repo & tooling, docs & code guards, CI release & engine, PM dispatch-gates, scoped), Type Check (workspace, source, consumer, debt), Governed Surface Queue Guard, PR-body guards all in_progress; query-options erasure queued; UI jobs not yet listed. Not waited on.", "dogfood_battery": "n/a — no `!` in the PR title and Clause-②: no without a (narrowing) arm", "mcp_calls": "0", "api_writes": "2 — POST /repos/objectstack-ai/objectstack/dispatches (fleet-write pr_create, draft PR #36571 + assignee os-steve); POST /repos/objectstack-ai/objectstack/issues/36408/comments (this os-dev-report, via post-stamped.mjs). Plus git pushes of the branch (not REST).", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — the refused-panel notice on /data reuses ObjectView's console.objectView.linkFilterRefused, whose text says the list shows 'the view' without the filter; /data has no saved view (wording, in the PR's Acceptance notes)", "carrier: none · noted, not filed — read from code: moving between two objects' /data routes keeps ObjectDataPage and its ListView mounted (no object key, pre-existing), so the one-shot search/panel and the uf_FIELD chip selections are not re-read from the new address (in the PR's Acceptance notes)" ] }objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRGDrq6JSytBsNFabU
Landed: PR #36571 merged (2026-11-23T00:35Z), closing this card via
Fixes #36408.pm:dispatchedremoved on close. The object-switch observation from the build is filed as #36577.fix(console): the /data page keeps its list's search, sort, grouping …