[FEATURE] Buttons should accept e.g. a StyledSpan for formatting the lables
Open
enhancement
good first issue
views
- Dominant language
- Rust
- Stars
- 4.8k
- Forks
- 270
- Avg merge
- 5d 19h
- Merged PRs (30d)
- 2
Description
When adding keyboard shortcuts to the actions buttons have, it seems difficult to express the user that the binding exists.
One easy way would be to have a styled button (with e.g. one highlighted character, easily expressed with markdown), but unfortunately that's not supported at the moment. Buttons themselves could also have a way to add bindings to them, and then a way to show those bindings in the UI, but it would be a more complex solution.
There doesn't seem to be an alternative, other than making a custom implementation of a button.
Contributor guide
Assessment
This issue has not been assessed yet.