Skip to content

perf: a smooth Explorer from the code review (scroll, search, sidebar drag), 0.117.4 - #417

Merged
Maxaubert merged 3 commits into
mainfrom
fix/review-smooth-explorer
Oct 16, 2026
Merged

Maxaubert merged 3 commits into
mainfrom
fix/review-smooth-explorer

Conversation

@Maxaubert

Copy link
Copy Markdown
Owner

Smoothness fixes from the 2026-10-16 code review (research/prism/2026-10-16-code-review.md, findings #3, 7, 22). Built by an Opus agent and reviewed by a second.

Fixes

Tests

  • New unit tests: scroll settle, search key, the sidebar drag.
  • 261 unit test files pass; typecheck clean, lint 0 errors.
  • Full e2e: 127 of 128 passed. extractWindow failed once on a disk check (whether the extracted folder existed) and passed twice alone. It joins the flaky list; this branch does not touch extraction.

0.117.3.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DzqPzR6LuAvhiDabNwqzpx

Maxaubert and others added 3 commits October 16, 2026 09:21
…on release

Every pointer move set the width state (re-rendering the whole Sidebar) and
wrote the pref. A move now paints the clamped width onto the panel, its body
and the separator's aria value; the release keeps it once, the Explorer
grips' rule (useExplorerWidths). createPanelDrag is pure and tested.

Review finding 22, 2026-10-16.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DzqPzR6LuAvhiDabNwqzpx
… focus

Finding 3: every native scroll event patched the tab, re-rendering the whole
App, re-sorting the folder (useFolderSizes handed back a fresh object every
render) and the viewer's files (the view memo was keyed on the tab), and
sending every tab's history to main. BrowseList now keeps its live scroll
and hands it up when it settles (lib/scrollSettle.ts) or at once for a
key's move, to the history entry it was made in (setBrowseScroll), so Back
still finds it. useFolderSizes memoizes its answer; App's view memo is keyed
on active.files.

Finding 7: the search key carried `revision`, which the window's focus and
the folder's watcher bump, so coming back to Prism blanked the results,
reset the window and restarted the walk. Only refreshKey (F5, a file
operation) re-runs a search now.

Review findings 3 and 7, 2026-10-16.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DzqPzR6LuAvhiDabNwqzpx
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DzqPzR6LuAvhiDabNwqzpx
@Maxaubert
Maxaubert force-pushed the fix/review-smooth-explorer branch from 7de2a27 to 779036a Compare October 16, 2026 07:22
@Maxaubert Maxaubert changed the title perf: a smooth Explorer from the code review (scroll, search, sidebar drag), 0.117.3 perf: a smooth Explorer from the code review (scroll, search, sidebar drag), 0.117.4 Oct 16, 2026
@Maxaubert
Maxaubert merged commit fbbcebf into main Oct 16, 2026
3 checks passed
@Maxaubert
Maxaubert deleted the fix/review-smooth-explorer branch October 16, 2026 07:56
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