-
Notifications
You must be signed in to change notification settings - Fork 848
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
base: development
Are you sure you want to change the base?
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. |
e159369
to
c87a807
Compare
c87a807
to
71c09d7
Compare
Updated to use the |
TIL checking |
@kommunarr Your problem wasn't |
ad1f11c
to
78d2803
Compare
@absidue Thanks for sharing that. While that explanation makes sense, I'm certainly not too proud to admit that I wouldn't have figured that explanation out on my own just by looking at the code. |
78d2803
to
1e9d706
Compare
Oop, it looks like the optional chaining got removed before I committed it. Fixed and revalidated now |
d64f4ef
to
c4ae192
Compare
Same as before |
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