Skip to content

Add inline session find and session-to-search handoff#43

Closed
chumyin wants to merge 1 commit intospool-lab:mainfrom
chumyin:fix/session-search-in-session-view
Closed

Add inline session find and session-to-search handoff#43
chumyin wants to merge 1 commit intospool-lab:mainfrom
chumyin:fix/session-search-in-session-view

Conversation

@chumyin
Copy link
Copy Markdown
Contributor

@chumyin chumyin commented Apr 8, 2026

Summary

  • allow the top search bar to run a fresh search while a session detail is open
  • add an inline session find bar with Cmd/Ctrl+F plus Cmd/Ctrl+ArrowLeft/ArrowRight navigation
  • render inline session matches with the existing accent text treatment and remove the temporary session-open fade highlight

Testing

  • node node_modules/electron-vite/bin/electron-vite.js build
  • node node_modules/@playwright/test/cli.js test --config e2e/playwright.config.ts e2e/fast-search.spec.ts

Closes #42

Session detail now supports running a new top-bar search, opening an
inline find bar with desktop shortcuts, and navigating matches inside
message content with the same accent styling used elsewhere in search.
The target-message jump remains, but the temporary orange fade was
removed to keep the transition visually calm.

Constraint: Session-local match styling needed to be fully controllable in the renderer
Rejected: Electron webContents.findInPage | could not deliver the desired inline styling and interaction polish
Confidence: high
Scope-risk: moderate
Directive: Keep session find shortcuts scoped to the session detail view so they do not collide with global search interactions
Tested: electron-vite build; Playwright fast-search spec (9 tests)
Not-tested: Full app TypeScript check remains blocked by unrelated existing repository errors
Related: spool-lab#42
@doodlewind
Copy link
Copy Markdown
Contributor

Closing in favor of #48, which has this PR's changes rebased onto current main. Only one conflict (e2e test file) — resolved by keeping both the existing codex test and the new session find tests.

@chumyin Thanks! Please review #48.

@doodlewind doodlewind closed this Apr 8, 2026
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.

Improve searching and inline find within session detail

2 participants