Skip to content

fix: hide search input when switch confirmation is shown#27

Merged
quiet-node merged 1 commit intomainfrom
worktree-fix-switch-search-input
Apr 5, 2026
Merged

fix: hide search input when switch confirmation is shown#27
quiet-node merged 1 commit intomainfrom
worktree-fix-switch-search-input

Conversation

@quiet-node
Copy link
Copy Markdown
Owner

Summary

  • Hide the search input in the history panel when the switch confirmation prompt is displayed (clicking an existing conversation with unsaved messages)
  • Previously the search input was only hidden for the new-conversation confirmation, not the switch-conversation confirmation
  • Added test assertion verifying the search input is removed when the switch confirmation appears

Test plan

  • bun run test — all 267 tests pass
  • bun run validate-build — zero errors

🤖 Generated with Claude Code

The search input in the history panel was still visible when the switch
confirmation prompt ("Save & Switch" / "Just Switch") appeared after
clicking an existing conversation. It was already hidden for the
new-conversation confirmation but not for the switch-conversation case.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
@quiet-node quiet-node force-pushed the worktree-fix-switch-search-input branch from 266c0ea to 59221ba Compare April 5, 2026 05:01
@quiet-node quiet-node merged commit 716d504 into main Apr 5, 2026
0 of 3 checks passed
@quiet-node quiet-node deleted the worktree-fix-switch-search-input branch April 5, 2026 05:40
quiet-node added a commit that referenced this pull request Apr 10, 2026
The search input in the history panel was still visible when the switch
confirmation prompt ("Save & Switch" / "Just Switch") appeared after
clicking an existing conversation. It was already hidden for the
new-conversation confirmation but not for the switch-conversation case.

Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
quiet-node added a commit that referenced this pull request Apr 10, 2026
The search input in the history panel was still visible when the switch
confirmation prompt ("Save & Switch" / "Just Switch") appeared after
clicking an existing conversation. It was already hidden for the
new-conversation confirmation but not for the switch-conversation case.

Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
quiet-node added a commit that referenced this pull request Apr 11, 2026
The search input in the history panel was still visible when the switch
confirmation prompt ("Save & Switch" / "Just Switch") appeared after
clicking an existing conversation. It was already hidden for the
new-conversation confirmation but not for the switch-conversation case.

Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
This was referenced Apr 11, 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.

1 participant