feat: tab management — pin, rename, keyboard shortcuts#7
Open
okjpg wants to merge 2 commits intolcoutodemos:mainfrom
Open
feat: tab management — pin, rename, keyboard shortcuts#7okjpg wants to merge 2 commits intolcoutodemos:mainfrom
okjpg wants to merge 2 commits intolcoutodemos:mainfrom
Conversation
Without the `files` config, electron-builder fails because it can't find the entry file inside the asar. This adds the build config and a `npm run dist` script so users can generate a standalone Clui CC.app that runs without a terminal. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Cmd+1..9 to switch tabs, Cmd+T for new tab, Cmd+W to close tab - Right-click tab to pin/unpin — pinned tabs stay left, can't be closed, and persist across app restarts via localStorage - Double-click tab title to rename inline - Override default Electron menu to prevent Cmd+W from hiding the window Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
Cmd+1..9switch tabs,Cmd+Tnew tab,Cmd+Wclose tab (not the app)Cmd+W→ Close Window behavior so it closes the active tab insteadBuilds on top of #6 (macOS app build support).
Files changed
src/shared/types.tspinnedfield toTabStatesrc/renderer/stores/sessionStore.tstogglePin,renameTabactions + localStorage persistence for pinned tabssrc/renderer/components/TabStrip.tsxsrc/renderer/App.tsxkeydownlistener for Cmd+T/W/1..9src/main/index.tsTest plan
Cmd+Topens new tabCmd+Wcloses active tab (app stays open)Cmd+Won pinned tab does nothingCmd+1..9switches to correct tab🤖 Generated with Claude Code