mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:12:38 +00:00
NavigationBar2 control #358
No reviewers
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml!358
Loading…
Reference in a new issue
No description provided.
Delete branch "navbar2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is an alternative to the existing
NavigationBarcomponent. The layout is such that the center section is horizontally centered when possible, and the right section is right aligned. Also,Loaders are avoided with this new approach.Since the approach is quite different from the other navigation bar, a full refactor would be substantial, harder to test and subject to breaking changes. For that reason, both implementations will be available for a short period of time. More pull requests will follow to replace the old implementation once this is accepted.
Finally, the new navigation bar is used on the
Peers,NodeRunner, andThemeSettingspages.tested ACK, desktop ver built on Ubuntu 22.04.
I've build #343 on top of this and used NavBar2 for the popup and the title was centered more accurately.
Concept ACK
In that case, number the PR's and add a title for the series: (1/n) Reimplement NavigationBar Control
This loses it's right padding
While also exposing the previous padding was not perfect
Should add to keep proper padding
nice, we should do this more often. Having helper components.
+1 for navbar2, this can be defined when defining the page, instead of defining the navbar components where the Peers page is to be used.
Set padding to 4 instead.
Not sure what is the suggestion.
There is no suggestion, just a comment on what I like about this :)
tACK
b5b73b010bThis is an improvement over using loaders in the original NavigationBar, and sets a foundation for where the navbar needs to go. Last place that still uses the original navbar is InformationPage, but this requires more reworking and the work needed can change depending on when we move to a UI flow of stack views.