Skip to content

fix: TUI type filter visibility and private vault PAT prompt - #32

Merged
dsiddharth2 merged 2 commits into
mainfrom
fix/tui-type-filter-visibility
Apr 18, 2026
Merged

dsiddharth2 merged 2 commits into
mainfrom
fix/tui-type-filter-visibility

Conversation

@dsiddharth2

Copy link
Copy Markdown
Owner

Summary

  • Add t keybind to hotkey bar so users know type filtering exists in Discover
  • Always show current type filter state in status line (highlighted cyan when active)
  • Fix arrow key navigation flicker after pressing t by memoizing filteredPackages
  • Prompt for GitHub PAT inline when adding a private vault (new token step in Add Vault flow)
  • Prompt for PAT when sync fails on a private vault instead of just showing the error
  • Mask token input with asterisks

Test plan

  • Open TUI → Discover tab → verify t filter type shows in hotkey bar
  • Press t to cycle filters → verify status line shows current filter (e.g. type: skills)
  • Press t then arrow down → verify list scrolls without flickering
  • Vaults tab → a to add vault → answer y to private → verify PAT prompt appears
  • Vaults tab → s to sync with a private vault missing token → verify PAT prompt appears

Add 't' keybind to hotkey bar so users know the filter exists.
Always display current type filter in status line, highlighted when active.
- Memoize filteredPackages in Discover to prevent cursor reset on every render
- Add token step in Add Vault flow when vault is marked private
- Prompt for PAT inline when sync fails on a private vault (auth/404)
- Mask token input with asterisks
@dsiddharth2
dsiddharth2 merged commit 42b96ab into main Apr 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant