Repository navigation
Recent sessions at the bottom of the sidebar, items from any repository, notifications, and three fixes - #111
Merged
Conversation
…tems from any repository, and notify when a session finishes The sidebar keeps the running sessions in its main list and puts the rest in a RECENT list above the account. The list opens to at most 40% of the window and scrolls. It replaces the OLDER group. attach_github and detach_github take an optional repo (owner/name). Claudiu reads the title and state of such an item from that repository, and a click opens it in a GitHub pane for that repository. That pane hides Ask Claude and Check out locally. A session that finishes or asks a question while the window is in the background sends a system notification (notify-rust) instead of flashing the taskbar button or bouncing the dock icon. Fixes: - An attached pull request opened in a pane that didn't know its repository yet never loaded. The pane now loads it once the repository is known. - Text deleted on the loading screen came back once Claude Code started: the backspaces went through the path that drops input while loading. - A session with no conversation closed itself when Claudiu restarted, because claude --resume found nothing. It now starts over under its own id.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Recent sessions shared one long scrolling list with the running ones, Claude could only attach items of the session's own project, and Claudiu flashed the taskbar instead of sending a notification. Three bugs also lost work or a session: an attached pull request that never loaded, deleted text that came back after the loading screen, and an empty session that closed itself on restart.
What changed
attach_githubanddetach_githubtake an optionalrepo(owner/name), checked against GitHub's naming rules. The row showsowner/name#N. A click opens it in a GitHub pane for that repository, with Ask Claude and Check out locally hidden because the folder isn't a clone. When Claude names the project's own repository, the project's pane opens.notify-rust(new dependency). The taskbar flash and dock bounce are gone, and so israw-window-handle, which only the flash used.load_shown).send(), which drops input while the loading screen is up. They now go straight to the process.claude --resume, which exits at once when there is no conversation. Such a session now starts over under its own id, as a worktree switch already does.Proof
cargo test --lockedon macOS: 458 passed, 0 failed, 7 ignored. The new tests for the three bugs fail without their fixes:text_deleted_while_handing_the_draft_over_is_erased_in_claude_code_too: the backspaces were missing from what reached the process.an_item_opened_before_the_repository_is_known_still_loads(fakegh): timed out after 30 s, and passes in 0.2 s with the fix.a_new_session_without_a_conversation_comes_back_after_a_restart(fakeclaudethat exits on--resume): failed with "New session ended (exit code 1)".Other new tests:
the_recent_list_stays_short_and_draws_rows_where_scrolling_brings_them(the list's height, its place above the account, scrolling and closing),an_item_of_another_repository_opens_in_its_own_pane,a_notification_says_a_background_session_finished_or_asks, and the repo checks in the MCP and attach tests. Clippy reports nothing new in the changed files.Risk
Closes #101
Closes #102
Closes #103
Closes #104
Closes #105
Closes #106