Repository navigation
fix(app): keep sidebar rows anchored during Show more and restore title overflow state - #4737
Conversation
Motion projects rows at their previous position for at least one frame before a layout animation starts, even with a zero duration, so rows below an expanding workspace or group overlapped the revealed ones on slower renderers. Block the sidebar list's projection tree while no reorder gesture is active instead of shortening the transition.
…ation in reorder readiness A missing title now reports every rendered title instead of null. The wait for reorder targets accepts the same 1px slack as the spec's other geometry checks: hovering the last row scrolls to the list's end, where Chrome's integer scroll offset can leave the row a fraction past the fractional edge.
Desktop now boots with its default first-launch workspace, so selecting an existing one no longer puts the fixture at /tmp/Yonder; the title under test is that folder's name.
Reordering a group by its title releases on the same header, which the browser reports as a click; only a press that stayed within Motion's drag threshold toggles the group. The anchor diagnostic also reports row bottoms.
…for groups Session rows are native HTML drag sources for group drop zones, and a native drag cancels the pointer gesture Motion's Reorder needs, so a trusted drag on a row has always started the native drag rather than reordering. Observe dragstart and claim that gesture (payload type, unchanged selection, route, and persisted order) for the workspace and ungrouped fixtures; groups are not native drag sources and keep the reorder claim, now also asserting the release does not toggle the group.
… list overflows The heading is a flex item of the scrolling list; once Show more makes the list overflow it collapsed from its 24px height to its 20px button, shifting every row up by 4px.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
Warden review summary — ClearNative findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (51649 ms), confidentiality-review (75387 ms), spec-provenance-review (67707 ms), desktop-den-sync-review (21520 ms). Blockers
Advisories
Needs recheck
Observed review-thread metrics
Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority. |
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (74e7da2118b13bd463acf39870bd0ab42b917e68). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
|
Passed · 3/3 tests · 4/4 assertions · 2 images Commit |
Cluster 8 / brief M of the 2026-09-09 E2E triage (
reports/e2e-red-2026-09-09/triage.md, "Cluster 8 — Sidebar expansion geometry"):sidebar-title-overflow-fadered on Daytona, 4/4 tests.Bisect
pnpm evals:e2e sidebar-title-overflow-fade --daytonawith the current spec against:OPENWORK_EVAL_REFfd2868d03(=cb89fd78e^)c744e2d7b(dev)title state nullSo
cb89fd78e(#4628) did not introduce the geometry defects: it wrote a spec claiming stationarity that Motion never delivered on the Daytona renderer, and its own proof never ran there. The title-overflow regression is unrelated to the sidebar code (see 2 below).Root causes and what changed
setAnimationOrigin → mixTargetDelta(0), projects each row at its previous position until then — even withtransition.layout.duration: 0. On the Daytona renderer that frame is observable: siblings below an expanding group sit at their old position under the newly laid-out rows (the 65 px overlap), and the workspace item carries a compensating 4 px translate. Fix:SidebarLayoutAnimationGateblocks the list's projection tree (isAnimationBlocked, the same flag Motion sets on a dragged node) while no reorder gesture is active, replacing theduration: 0toggle. Reorder gestures still animate siblings.flex-collist; once Show more makes the list overflow,flex-shrink: 1+min-height: autocollapse it fromh-6(24 px) to its 20 pxsize-5button, shifting every row up 4 px. Motion had been masking this with the translate above. Only workspace mode hit it because group/ungrouped lists already overflowed before the click. Fix:shrink-0. Reproduced locally by constraining the list height (24 → 20 → 24 withflex-shrink: 0).onToggle. Only a press within Motion's 3 px drag threshold toggles now.Unexpected title state: null(fixture). Since Streamline first launch and complete onboarding before desktop return #4608 the desktop boots with its default~/OpenWork Chatworkspace, soseed.workspace(app, "/tmp/Yonder")selected that existing workspace instead of creating/tmp/Yonder; the rendered titles were["OpenWork Chat", …]. The fixture now passes{ create: true }likesidebarWorkspaceTitlesalready does.draggablefor group drop zones, since feat(app): drag-and-drop between groups + session management UI controls #2039); a nativedragstartfirespointercancel, which cancels the pointer gesture Motion's Reorder needs. So a trusted drag on a session row has never reordered — reproduced on macOS too (dragstart→pointercancel, no reorder, no click). Not a regression; the spec claimed a behavior the product does not have. Workspace/ungrouped modes now claim the product's gesture: the drag starts the native session drag carryingapplication/x-openwork-session-id, and does not change selection, route, row order, or persisted order. Group mode keeps the Motion reorder claim (groups are not native drag sources) and additionally asserts the release does not toggle the group.Proof
OPENWORK_EVAL_REF=74e7da2118b13bd463acf39870bd0ab42b917e68 pnpm evals:e2e sidebar-title-overflow-fade --daytonaAll four sandboxes logged
source verified 74e7da2118b13bd463acf39870bd0ab42b917e68; sandboxes deleted.pnpm --filter @openwork/app typecheckclean.Noticed, not touched
createAndSelectWorkspaceonly creates a workspace when none is active orcreate: true. Since Streamline first launch and complete onboarding before desktop return #4608 every desktop has the default workspace, soseed.workspace(app, path)withoutcreatesilently returns "OpenWork Chat" for all ~70 call sites while specs keep usingpath. This is almost certainly the real cause of Cluster 3'sartifact-code-browserchmod: cannot access '/tmp/openwork-workspace-spec-…'(not pooled-lane path reuse). Owner: evals harness — either create when the active workspace's path differs frominput.path, or make callers explicit.Reorder.Itemon session rows is unreachable while the rows are nativedraggable; session reorder-by-drag has never worked in Chromium. Decide between Motion reorder (drop-to-group via Motion) or native DnD only, then restore the reorder claim in this spec.WorkspaceHeaderhas the same click-after-drag exposure as group headers (dragging a workspace title also selects it on release).first expansion frame captured promptly < 100 msis a renderer-latency claim; it passed in the proof but failed once at thefd2868d03control (155 ms) — a flake risk on slow sandboxes.source verification gate) left a sandbox behind that I deleted by hand.