Vector35 / Vector35/binaryninja-api
Need a simpler way to switch `ui.newtab.compactMode` options
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 298
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 19
Description
What is the feature you'd like to have?
We have a few different ways you can style the New Tab while in Compact Mode (ui.newtab.compactMode). Unfortunately, those don't appear to be exposed (as far as I can tell) in the UI outside of the Settings menu, which is unfortunate for both discoverability and if/when you want to switch between them.
Is your feature request related to a problem?
I wanted to switch one of the modes and it took me a pretty long time to figure out how to switch between them.
Are any alternative solutions acceptable?
As far as I can tell, changing this setting requires a restart. If that's the case, it's possible this ticket can't be solved the way I want. I'm not actually sure what to do in that case, but we should at least mark that setting as restartRequired before closing this.
Additional Information:
If we are continuing our trend of putting toggles for "options that change the content of the current view" in hamburger menus on the top-right of the view, we should maybe consider having this there (and moving the toggle for Compact Mode there as well). Otherwise, putting this in the right-click context is probably fine?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the ui.newtab.compactMode setting and the New Tab and Settings UI entry points. Determine whether switching modes can work without a restart; expose the options in an appropriate menu or context menu, or mark the setting restartRequired if runtime switching is not possible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100