Improve focus management #70

Open
opened 1 year ago by tslocum · 0 comments
tslocum commented 1 year ago
Owner

Based on feedback sent via email and issue tracker, focus management is one of the largest issues facing developers when using cview.

Most primitives offer no built-in focus management, and some offer only internal focus management. Developers must handle external (i.e. global) focus management themselves.

FocusManager was created to address this, but there are many other ways that cview could improve in this area:

  • Improve focus-related code
    • Make it easy to chain FocusManagers together to achieve global focus management
    • Provide an empty application-level FocusManager by default and add SetFocusManager?
  • Improve focus management docs
    • Improve FocusManager docs
    • Add a detailed explanation of focus management to doc.go
Based on feedback sent via email and issue tracker, focus management is one of the largest issues facing developers when using cview. Most primitives offer no built-in focus management, and some offer only internal focus management. Developers must handle external (i.e. global) focus management themselves. [FocusManager](https://docs.rocketnine.space/code.rocketnine.space/tslocum/cview#FocusManager) was created to address this, but there are many other ways that cview could improve in this area: - [ ] Improve focus-related code - [ ] Make it easy to chain FocusManagers together to achieve global focus management - [ ] Provide an empty application-level `FocusManager` by default and add `SetFocusManager`? - [ ] Improve focus management docs - [ ] Improve FocusManager docs - [ ] Add a detailed explanation of focus management to doc.go
tslocum added the
enhancement
label 1 year ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.