Skip to content

fix(app): keep sidebar expansion stationary - #4628

Merged
reachjalil merged 1 commit into
devfrom
fix/sidebar-expansion-stability
Sep 8, 2026
Merged

reachjalil merged 1 commit into
devfrom
fix/sidebar-expansion-stability

Conversation

@reachjalil

@reachjalil reachjalil commented Sep 8, 2026 •

Copy link
Copy Markdown
Member

Summary

Keep the left sidebar stationary when revealing more conversations, without removing animated title reveal or drag-and-drop ordering.

  • Disable native scroll anchoring only in the sidebar's scrolling list.
  • Keep Motion's position measurement and drag behavior, but animate positional layout changes only during an active reorder gesture. Idle expansion no longer slides existing rows, groups, or workspaces from their previous positions.
  • Preserve the inline title marquee, hover actions, keyboard-focus reveal, and reduced-motion behavior unchanged.
  • Extend the existing sidebar journey with repeated and final-batch expansion across ordinary, grouped, and ungrouped lists, frame-level position/overlap assertions, unchanged selection/order, and post-expansion reordering.

Scope and tradeoffs

The product change is confined to app-sidebar.tsx. Idle insertions, collapse, and programmatic reordering now settle immediately; drag reordering retains its motion. Native anchoring is disabled throughout the sidebar, so background insertions should also be checked before merging. There are no scroll-reset timers, forced remounts, data-fetch changes, or new dependencies.

Verification — Failed

This PR was merged while its app journey was still running. The completed result does not establish that sidebar expansion is fixed in every path.

  • Passed: app TypeScript check; 14 focused sidebar/title tests, 0 failures; browser callback checker; diff whitespace check.
  • Exact-head command: OPENWORK_EVAL_REF=3516c4aac81a9fb356637ae2f6df4357280b5f7b pnpm evals:e2e sidebar-title-overflow-fade.
  • Placement: daytona (daytona CLI authenticated). Desktop checkout confirmed the same SHA.
  • Exit 1: 1 passed, 3 failed, 0 skipped; approximately 12 minutes.
  • Passed: existing title hover/fade, sidebar width and action-lane journey.
  • Failed: workspace expansion's absolute-transform assertion reported 4px. That assertion conflates a static transform with movement; a geometry-based correction is retained locally, not part of the merged PR.
  • Failed: grouped expansion reported a session/group overlap (548 > 415). Root cause remains unresolved.
  • Failed: ungrouped expansion timed out locating the final Show 2 more control. Root cause remains unresolved.
  • Deferred: corrected exact-head rerun and remaining drag/workspace/background-insertion coverage. Do not treat the unit or title-journey pass as expansion proof.

The interrupted earlier diagnostic run is not evidence for this PR. The final run's owned sandboxes were deleted by teardown.

Manual acceptance

  1. In a long sidebar, scroll to Show more and reveal successive batches, including the last partial batch. The visible old rows and scroll position must not jump or float.
  2. Repeat in named groups and ungrouped sections; selection and ordering must not change from expansion.
  3. Hover an overflowing title and focus it with the keyboard; the existing reveal should still work.
  4. Drag sessions and groups after expansion; ordering should remain functional. Check workspace dragging and background session arrivals as additional regression coverage.

@vercel

vercel Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openwork-app Ready Ready Preview Sep 8, 2026 7:15pm UTC
openwork-den Ready Ready Preview Sep 8, 2026 7:15pm UTC
openwork-diagnostics Ready Ready Preview Sep 8, 2026 7:15pm UTC
openwork-landing Ready Ready Preview, v0 Sep 8, 2026 7:15pm UTC

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (3516c4aac81a9fb356637ae2f6df4357280b5f7b). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

@reachjalil
reachjalil merged commit cb89fd7 into dev Sep 8, 2026
27 checks passed
@reachjalil

reachjalil commented Sep 8, 2026 •

Copy link
Copy Markdown
Member Author

Test evidence — sidebar expansion — Failed

Tested head: 3516c4aac81a9fb356637ae2f6df4357280b5f7b · engine v1 · cold Daytona desktops, exact checkout confirmed.

Command: OPENWORK_EVAL_REF=3516c4aac81a9fb356637ae2f6df4357280b5f7b pnpm evals:e2e sidebar-title-overflow-fade

Placement: daytona (daytona CLI authenticated) · exit 1 · 1 passed, 3 failed, 0 skipped.

Title overflow — Passed

All seven steps passed: sidebar collapse/reopen geometry, horizontal containment, fitting workspace-title hover, clipped title reveal, widening/fade removal, widened containment, and action/title separation at the narrow breakpoint.

Source: evals/results/test-runs/2026-09-08T19-14-09-864Z-the-sidebar-title-fade-follows-only-the-edges-with-hidden-text/test-run.json

Four screenshots were recorded but not attached by the publisher because the installed GitHub CLI is older than 2.99. Assertions—not screenshots—establish this test's result.

Workspace expansion — Failed

The first reveal failed its absolute-transform assertion: expected 4 to be less than or equal to 1. The assertion measures a sum of ancestor transforms rather than movement since the click, so the actual source of this offset remains unproven. A correction comparing rendered frame geometry with the pre-click and settled positions is retained locally; it was not tested in this run.

Source: evals/results/test-runs/2026-09-08T19-16-53-700Z-workspace-show-more-keeps-old-rows-anchored-through-every-frame-and-still-permit/test-run.json

Group expansion — Failed

The first reveal failed the session/group non-overlap assertion: expected 548 to be less than or equal to 415. Root cause remains unresolved; no passing grouped-expansion or post-expansion drag claim is made.

Source: evals/results/test-runs/2026-09-08T19-19-53-435Z-group-show-more-keeps-old-rows-anchored-through-every-frame-and-still-permits-re/test-run.json

Ungrouped expansion — Failed

The final reveal timed out after 30 seconds locating Show 2 more. Root cause remains unresolved; final-batch and subsequent reorder behavior are not proven.

Source: evals/results/test-runs/2026-09-08T19-22-54-461Z-ungrouped-show-more-keeps-old-rows-anchored-through-every-frame-and-still-permit/test-run.json


The PR was merged before this run completed. Merge state does not change this failed verification result. All four source receipts were processed by the standard evidence publisher; this combined section preserves the complete result rather than leaving only its last single-test replacement visible.

This branch was successfully deployed

4 active deployments
Preview – openwork-landing — 3516c4aa Deployed Sep 8, 2026 by vercel[bot]
Preview – openwork-den — 3516c4aa Deployed Sep 8, 2026 by vercel[bot]
Preview – openwork-app — 3516c4aa Deployed Sep 8, 2026 by vercel[bot]
Preview – openwork-diagnostics — 3516c4aa Deployed Sep 8, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant