feat(tui): add help overlay panel and simplify footer hints#1
Open
TSchonleber wants to merge 1 commit into
Open
feat(tui): add help overlay panel and simplify footer hints#1TSchonleber wants to merge 1 commit into
TSchonleber wants to merge 1 commit into
Conversation
Co-Authored-By: Terrence Schonleber <TVschonleber@gmail.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
Adds an in-app help overlay toggled by
?and simplifies the footer to show only primary keys.Changes:
components.tsx: NewHelpPanelcomponent listing all keyboard shortcuts (?,q,r,p,tab,up/down,enter,w). ExportedHELP_ENTRIESarray for testability. Footer condensed to[q] quit · [r] refresh · [p] pause · [?] help.dashboard.tsx: AddedshowHelpstate toggled by?key. When active, the help panel replaces the main panes; header and footer remain visible. Works in non-raw terminals (plain text, no raw-mode-only features).tui.test.ts: New test verifyingHelpPanelrenders all entries. Existing footer test updated for new format.Review & Testing Checklist for Human
pnpm strand tuiin a real terminal and press?— help panel should appear with all 8 shortcuts listed, press?again to dismiss[q] quit · [r] refresh · [p] pause · [?] helpplus the refresh timestampq,r,p,tab, arrows,enter,w) still work as before when help is closedNotes
dashboard.tsx,components.tsx, andtui.test.tsonly — no other files touched.src/auth/env-store.tsis unrelated.Link to Devin session: https://app.devin.ai/sessions/17b0f31d8cd94b84b8ae405ff0c89fac
Requested by: @TSchonleber