Skip to content

Conversation

@RandyMcMillan
Copy link
Contributor

The debugwindow - network graph hides ui elements
btnClearTrafficGraph, lblGraphRange, sldGraphRange
when at minimumHeight, it also hides the groupBox
at minimumWidth - this maximizes the dimensions of
the traffic graph in these small dimensions.

@RandyMcMillan
Copy link
Contributor Author

20220131135552215.mp4

@RandyMcMillan RandyMcMillan force-pushed the 1643654791-show-hide-gui-elements-based-on-size branch 2 times, most recently from 5e4385e to a1bd27f Compare February 2, 2022 09:14
@RandyMcMillan
Copy link
Contributor Author

RandyMcMillan commented Feb 2, 2022

commit a1bd27f rebase and set side panel to hide at 2x the minimum width of app window. Same functionality as #539 commit 874b2d8 screen cast - without other changes.

Copy link
Contributor

@jarolrod jarolrod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From a UX perspective, why would we ever want to hide access to the durations slider and the current in/out values? Perhaps we could make more efficient use of the space in displaying the slider and in/out values as was attempted in #90.

@RandyMcMillan
Copy link
Contributor Author

RandyMcMillan commented Feb 4, 2022

@jarolrod

Part of what I have added to my thought process is how this will translate to the mobile U/I (android/etc) - I have implemented a hybrid version of both of these approaches - but haven't posted a PR to it.

Some of my conclusions to these approaches (and the gui repo in general) - is that it may be beneficial to have a hybrid of both implementations - it would lend itself to a mobile portrait/landscape design idiom.

I may be wrong - but there doesn't seem to be enough reviewing members/contributors that have experience in the nuances of cross platform design including mobile U/I support. I don't see the Android developers reviewing this stuff to ensure up/down stream compatibility - that seems weird/negligent to me, having done mobile UI design for web, macOS/(OSX) and iOS and (Apache/Cordova) work.

@RandyMcMillan
Copy link
Contributor Author

I find it strange that this web interface collapses in a "responsive U/I" design - but you ask why would "we" want to do this. Who is "we"? Because most of modern UI/UX interface design has adopted this a long time ago at this point.

Screen Shot 2022-02-05 at 2 09 05 PM

@luke-jr
Copy link
Member

luke-jr commented Feb 5, 2022

How about moving the current values on top of the graph (top-left?) instead?

@RandyMcMillan
Copy link
Contributor Author

@luke-jr - I agree - thanks for your suggestion - I will revisit this PR shortly

@hebasto hebasto changed the title gui: network graph - show/hide panels based on window width/height network graph - show/hide panels based on window width/height Feb 9, 2022
@RandyMcMillan RandyMcMillan force-pushed the 1643654791-show-hide-gui-elements-based-on-size branch from a1bd27f to 6169d95 Compare February 14, 2022 08:38
@RandyMcMillan
Copy link
Contributor Author

RandyMcMillan commented Feb 14, 2022

@luke-jr - how about a simple overlay?
Note: the transparency can (obviously) be adjusted.

Screen Shot 2022-02-14 at 1 22 45 PM
Screen Shot 2022-02-14 at 1 22 51 PM

note: this approach removed 39 lines of code.

@luke-jr
Copy link
Member

luke-jr commented Feb 14, 2022

That looks kind of hard to read IMO. Maybe just make it the default widget background behind the text? (QFrame for borders?)

@RandyMcMillan RandyMcMillan force-pushed the 1643654791-show-hide-gui-elements-based-on-size branch from 0b7d6ac to 3853930 Compare February 14, 2022 22:14
@RandyMcMillan
Copy link
Contributor Author

RandyMcMillan commented Feb 14, 2022

@luke-jr - This is pretty close to the original colors...
I will tighten all this up - I just want to make sure the colors are good before anything else...

Screen Shot 2022-02-14 at 5 16 03 PM
Screen Shot 2022-02-14 at 5 15 55 PM

@luke-jr
Copy link
Member

luke-jr commented Feb 14, 2022

The correct colours to match "original" are going to vary based on the user's colour theme.

But maybe as long as we make sure the text and background have good contrast, the theme doesn't need to apply within the overlay since the graph itself is unthemed.

I do think the current screenshots are still a bit hard to read. Maybe bolding the text will do the trick?

@RandyMcMillan
Copy link
Contributor Author

I will look into toggling the graph (light/dark) themes based on system preferences - it may be a good "feature".

The debugwindow - network graph hides ui elements
btnClearTrafficGraph, lblGraphRange, sldGraphRange
when at minimumHeight, it also hides the groupBox
at minimumWidth - this maximizes the dimensions of
the traffic graph in these small dimensions.
@RandyMcMillan RandyMcMillan force-pushed the 1643654791-show-hide-gui-elements-based-on-size branch from 3853930 to bb78ade Compare February 15, 2022 23:30
@RandyMcMillan
Copy link
Contributor Author

RandyMcMillan commented Feb 15, 2022

@luke-jr

I have adjusted the colors based on the global template and an accessibility audit. If we are going to be this nuanced - please actually compile/run the PR changes. [deleted]

Screen Shot 2022-02-15 at 6 23 37 PM

Screen Shot 2022-02-15 at 6 23 29 PM

@RandyMcMillan
Copy link
Contributor Author

traffic_graph_a11y_audit_2.mov

@RandyMcMillan RandyMcMillan force-pushed the 1643654791-show-hide-gui-elements-based-on-size branch from bb78ade to ea33a9b Compare February 16, 2022 02:07
@RandyMcMillan RandyMcMillan force-pushed the 1643654791-show-hide-gui-elements-based-on-size branch from ea33a9b to 1afde28 Compare February 16, 2022 05:31
@RandyMcMillan RandyMcMillan marked this pull request as draft February 17, 2022 15:09
@DrahtBot
Copy link
Contributor

DrahtBot commented Feb 25, 2022

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.
A summary of reviews will appear here.

Conflicts

No conflicts as of last run.

@hebasto
Copy link
Member

hebasto commented Mar 27, 2023

Closing this due to lack of activity. Feel free to reopen.

@hebasto hebasto closed this Mar 27, 2023
@bitcoin-core bitcoin-core locked and limited conversation to collaborators Mar 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Feature UI All about "look and feel"

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants