-
Notifications
You must be signed in to change notification settings - Fork 867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navigation history dropdowns #5227
Navigation history dropdowns #5227
Conversation
It doesn't feel like web browser UX:
|
I'm not sure what browser you use, but the implementation is the same behavior as Firefox: I wouldn't say it's the only way to do it, but it's a major browser |
…xt show even when disabled
a81cadf
to
22a1365
Compare
This is more of a pre-existing problem with certain themes like Dark not having a visually distinctive
I think you're on an older version. I fixed this in an earlier commit. That also added the |
With checkmark it seems better |
Ah, it's not happening to me with hot pink, but I can see it with red as main color. Looking into it now, thank you |
All issues resolved, pending idea from others especially on mobile |
I had no idea there was a With all that said, I would advise that any reviewers prioritize the higher-salience PRs first if possible. We're a lot closer than we think, and we're reaching a critical mass of feature requests for features we've already merged. |
Here's where I'm at after looking into it some more. I can see what was being gotten at with using a context menu as an easy way to grab the current The
Note that the above implementation would be easier & improved if these properties were to be exposed to developers:
Because of that, it may be reasonable to wait on the |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
When going to a community posts its says It also says |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
Hmm the change in #5227 (comment) made me think about cases like the ones listed below.
VirtualBoxVM_xWI1v3DeS9.mp4
VirtualBoxVM_vcutRF2YBV.mp4 |
The same type of issue exists with many of the pages. My plan is merge this, then #5003, then open a separate PR for adding the route icons added in the second to the nav history dropdown entries. Don't want to make these two larger than they currently are, though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Icons are definitely needed...
Navigation history dropdowns
Pull Request Type
Related issue
closes #2740
Description
@contextmenu.prevent=''
is set on the navigation arrows to prevent the context menu appearing on right-click in dev mode.Click to go forward, hold to see history
] & FF). These titles are also now visible on hover even when the icons are disabled.top-nav-is-colored
mixin intop-nav.scss
unfortunately is not compatible with the use of:deep
, a selector which is required forft-icon-button
s to actually work styling-wise in the top nav with the legacy non-icon-button-but-almostnavIcon
font-awesome-icon
pattern we're using there (theme
doesn't go far enough). So that's why we're doing.topNavBarColor ${selector}
for the new SCSS code instead of using the mixin (which thankfully is very fine given that it's a very simple mixin).Minor cleanup:
appTitle
datum in the store for when you need to set or checkdocument.title
. This is needed because we update it asynchronously in a few different places and need to display the current title properly when the navigation dropdown is shown.ft-icon-button
, replaces themouseDownOnIcon
focusout
logic inft-icon-button
in favor of more straightforward logic (adopted from List sorting & display settings #4231)Work for a future PR
pointerup
after on the corresponding history entry to navigate to it.pointerup
after on the corresponding history entry to navigate to it (Note: seems to be FF-specific; this behavior is not in Chrome)Screenshots
Testing
I wouldn't recommend testing these ones for the sake of your time, but just to demonstrate that I have tested these:
focusout
/ Esc / keyboard navigation withft-icon-button
dropdowns still work as intendedMatch Top Bar with Main Color
setting activeDesktop