-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add filter to context switcher #52
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
When there are many contexts in the context switcher (C key), it becomes difficult to find the desired one. Add / key filter support using the same keyword matching pattern as EC2/RDS/Route53 list screens.
Scope
Filter Logic
- Add
ctxFilterInput,ctxFilterActive,filteredCtxListstate fields - Add
FilterText()method toContextInfo(match against name, profile, region) - Add
applyCtxFilter()function following existing filter pattern - Toggle filter mode with
/key in context picker
UI
- Show filter bar when active (same style as EC2 instance filter)
- Render filtered list instead of full list
- Show
/ : filterin bottom key binding hint
Docs
- Update README key bindings table
Reference
- Existing pattern: EC2
updateInstanceList()filter inscreen_ec2.go - Files:
internal/app/screen_context.go,internal/app/app.go,internal/config/config.go
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request