feat(ui): add Pi support, configurable hotkeys, and preview notes#285
Merged
asheshgoplani merged 2 commits intoasheshgoplani:mainfrom Mar 6, 2026
Conversation
Add config-driven hotkey remapping (including unbind support) and wire dynamic key labels across help, hints, dialogs, and preview actions. Introduce non-destructive close-session action separate from delete, add preview notes editing with persistence, and support optional follow-CWD-on-attach path updates with targeted tests.
Make active-session selection deterministic by setting explicit file mtimes in TestFindActiveSessionIDExcluding. Skip OpenCode integration and E2E assertions when local CLI state is unavailable (no sessions or unauthenticated JSON output), so test runs stay deterministic across developer environments.
Contributor
|
nice idea @Microck! As a suggestion though, I would split this PR into multiples instead of conflating ~5 features in one. Your chances of getting a code review is also higher the smaller the PR. Features I detected:
|
Owner
|
Merged and included in |
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
pitool support across session creation, detection, styling, defaults, and config parsingDby default) separate from delete (d)instances.follow_cwd_on_attachto updateProjectPath/tmux workdir after attach returnspreview.notes_output_splitTesting
go test ./internal/uigo test ./internal/sessionCGO_ENABLED=1 make testNotes
TestFindActiveSessionIDExcludingand graceful skips for OpenCode integration/E2E cases when local CLI state is unavailable (no sessions or unauthenticated JSON output)