Repository navigation
Step history with side buttons on every view that shows the arrows - #2
Merged
AlexThunder1989 merged 1 commit intoNov 24, 2026
Conversation
The bridge gated on activeView === 'terminal', but the title-bar arrows also show on Tasks, Automations, Artifacts and Skills, whose pages are history entries. Side buttons (and main-process history shortcuts) did nothing there while the arrows worked. Gate on shouldShowWorktreeHistoryControls instead, the rule the arrows and the renderer keybinding path already use. Co-Authored-By: Claude Opus 5.5 <[email protected]>
8 of 9 tasks
AlexThunder1989
merged commit Nov 24, 2026
64f89ea
into
AlexThunder1989:mouse-side-buttons-workspace-history
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi @AlexThunder1989! This is a small follow-up for stablyai#34463, opened against your branch so it lands in your PR if you want it.
What it fixes
The title-bar ← → arrows show on Tasks, Automations, Artifacts and Skills too, and those pages are entries in the same history. But
navigateWorktreeHistoryonly allowedactiveView === 'terminal'. So on those pages the arrows work while the side buttons do nothing. The same happens for history shortcuts that come in throughonWorktreeHistoryNavigatefrom the main process.I reproduced this on Windows 11 with a real mouse: on the Tasks page, the title-bar ← works and mouse Back does nothing.
Change
The check now uses
shouldShowWorktreeHistoryControls(store.activeView), the same rule that decides when the arrows are shown. The renderer keybinding path inapp-command-handlers.tsalready uses it. Views without the arrows, such as Settings, still do nothing.Testing
workspace-shortcut-ipc-bridge.side-buttons.test.ts: side button on the Tasks view steps history. It fails without the change and passes with it. The other 3 cases still pass.🤖 Generated with Claude Code