-
Notifications
You must be signed in to change notification settings - Fork 900
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
Settings menu & UX improvements #5029
Settings menu & UX improvements #5029
Conversation
…at/add-settings-menu
Solving the problem of preventing 'jumping around' when changing locales with alphabetical sorting is hard. This problem is easily solved by stickying general settings to the top of the list unconditionally. This is in line with ChunkyProgrammer's initial assessment of how to improve the settings order in FreeTubeApp#1739, albeit not also moving Theme Settings to the top for the time being. The rationale from a functional level is that General Settings is a hub. Even when you change languages, change sort order, or what have you, General Settings is right at the top. I don't imagine we need to update the label of the setting, as I think this relationship is quite intuitive.
…ink underline removal experiment
…at/add-settings-menu
ef6da25
to
938b40d
Compare
This comment was marked as resolved.
This comment was marked as resolved.
…at/add-settings-menu
This comment was marked as outdated.
This comment was marked as outdated.
Short explanation: This was admittedly a subjective design choice that I think makes for a sleeker look here. Longer explanation: In design, you want to maximize the alignment of elements, such that if you were to draw a straight horizontal or vertical line from the start of each page element, you would have page elements line up as much as possible such that there are the fewest amount of lines present. This makes visual scanning easier. And so if we have straight edges, we would be inclined to align each settings section title along the edge exactly. But having the headings non-indented also makes their importance in the visual hierarchy less clear. So rounded edges here hit a sweet spot where there's an indentation for the titles still, and also alignment with the top edge.
Are you referring to the removal of the "Settings expanded by default" setting? That's a fair note. If Emma and/or other mobile-savvy folks think mobile navigation will be harder without that setting and without having some form of accessing the new menu, I can try to get a mobile version of the Settings menu included in this PR rather than in a later one. |
I am fine with rounded edges due to your explanation General better for desktop (me) but ya mobile side might be well... |
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.
Looks very nice IMO.
When i click on a header, it kind of centers the settings section but because of this i see a part of the settings section before this one (see video 1-4 sec). What i expected it too look like when i click on a header, see video 5-7 sec
VirtualBoxVM_UhXwZnOEqJ.mp4
@efb4f5ff-1298-471a-8973-3d47447115dc This was something that took a lot of work to hit a sweet spot for. The main problems we want to solve are 1) that the active Menu section appears to be the current section you're on, 2) that clicking on a section makes it actually show as the active section, and 3) that clicking on a section actually takes you to that section. The problem with choosing the top of the viewport below the top nav is that it it doesn't work for 1, as the last section that's just peaking through the top of the screen often appears as the active one, seeming pretty odd / not useful. I tried with other solutions like the exact midpoint of the viewport being the "current section line", which has the problem of either 2 or 3. I decided on using the top 1/4th of the viewport height as the "section line", which ends up being a decent compromise for all 3. Let me know if you have any better solution in mind, but this is the best I could find. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
This PR is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
…at/add-settings-menu
e8a5b70
to
f264ecf
Compare
Forgot to test tabbing and found something that is undesired
i tabbed to the page i wanted and selected it. Tabbing further through the list will make me eventually go up to the first element in the General Settings which is undesired as I wanted to be in the Player settings VirtualBoxVM_Bt5De3w5jW.mp4 |
Settings menu
Pull Request Type
Related issue
closes #4387
Description
<details>
/<summary>
tags (now inapplicable to current design)<hr>
tags (for a sleeker aesthetic)data
tocomputed
because it's needed for short title to long title fallback logicScreenshots
Testing
EN-US
locale)Desktop
Additional context
Remaining action items
shield
icon forSponsorBlock Settings
(this icon is not supported byfont-awesome-icon
)Aspects open for discussion
When a top banner is present on desktop view, the General Settings menu item is too low to be active, so no tab is shown as currently active if you scroll to the top. This is a very minor visual nitpick, but I just figured I would get it out of the way and say that having no active items until you scroll down a bit more in this exceptional case is fine and makes sense.