-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As per email feedback from Mozilla's https://github.com/brampitoyo This is yet another incremental step toward redesigning the UI, much more is left to do. The idea is to align uBO's UI to that of Firefox Preview. Additionally, code has been added to reset the new popup panel to vertical layout should the viewport be not wide enough to accomodate the horizontal layout. Related feedback: - https://www.reddit.com/r/uBlockOrigin/comments/g4ufvi/
- Loading branch information
Showing
29 changed files
with
397 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
5bee332
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.
Backup to File, Restore from File... and reset to default settings all are placed in the extreme right corner of the Settings page ???
5bee332
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.
i
looks likel
in all the panes now where the titles are bold(also in Privacy/Default Behavior) and also in buttons as above ^^^ --5bee332
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.
More visible now. But looks like they are somehow related to text labels on the left. Maybe these should be grouped together by some frame?
Not for me, but overall contrast is worse.
Cloud storage buttons looks better now.
5bee332
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.
I was told "Your buttons are on the left, and Fenix buttons are on the right", but I couldn't understand very well this part since the picture which followed showed buttons still on the left. I don't mind putting them back under but I will keep them each on their line instead of having them side by side.
It looks fine on my side:
Is it just a color issue or a font issue? The font I am using are used in Firefox Preview. I am not sure the instructions I am given take into account that the changes will also affect the desktop version. I suppose I could pick the font according to the media DPI.
5bee332
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.
@uBlock-user
The font is natively semi-bold, it looks as if the rendering on your side was further bolded by the font rendering engine of the browser. If you inspect the tab button, can you find out its
font-weight
? It should be 600, which is the native weight of the font.5bee332
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.
Tested both on Firefox 75 and 77, same issue,
i
looks likel
Yes it is 600. So how can this be fixed on my side ?
Yes, but also visually disruptive.
5bee332
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.
I am going to use the new fonts only on mobile devices, I don't know why it renders this way on your side but for now I prefer to be safe.
5bee332
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.
Fenix related suggestions and feedback from the Mozilla team should be kept to fenix only, I don't think they're testing these changes on desktops before suggesting.
5bee332
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.
I disagree, I will keep applying them to all versions of uBO and adjust as needed. I am getting free advices from people who know better about design than I do so I will use these. Also, I do not have the time to maintain two sets of HTML/CSS/JS for uBO's pages.
Now, I would like to know how it looks on your side if you un-check the Metropolis font:
5bee332
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.
Also something to try: keep Metropolis selected but uncheck
font-weight: 600
, see if that improves the rendering.5bee332
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.
Yes, that works.
5bee332
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.
Which one works? Un-checking the
font-weight
or thefont-family
?5bee332
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.
font-family
5bee332
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.
I am not declaring a
@font-face
for Metropolis with a normalfont-weight
-- so I am wondering if this is the issue. In the next release I will include the default Metropolis as a last attempt to make it work on your side.5bee332
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.
So the current one is not the default version of this font ?
and will that work ?
5bee332
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.
Can you share a screenshot of the whole pane like I did above? I would like to look more in details at the differences from what I get on my side.
5bee332
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.
5bee332
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.
I also wanted to look at the buttons -- they are also using Metropolis fonts.
5bee332
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.
The
a
letter is quite different from what I get on my side. I would like to understand why that is.5bee332
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.
5bee332
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.
I'm on Windows 10 build 1909 x64, that's the only difference we have.
5bee332
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.
@gwarser What is your OS?
Also my checkboxes are pretty ugly, I didn't realize other people were getting checkboxes which actually look like checkboxes.
5bee332
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.
@gorhill How about changing
Metropolis
toInter
, which is what you're using forCopyright (c) Raymond Hill 2014-present
inAbout
?5bee332
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.
On my side, using Inter 600 instead of Metropolis 600 results in a bolder font, I don't like the result -- I can see why they chose Metropolis, it's semi-bold version is a better intermediate between normal and bold. Top is Metropolis 600, bottom is Inter 600:
In general I want to stick as much as possible to the advices I am given without second-guessing them, but I will fine tune when the case is made for such need.
So for now in the next release, these are the changes:
For the buttons I am not yet decided. As @gwarser pointed out, I liked that they are easier to notice and thus to use -- this helps remind people of backing up their settings. However I do think the buttons are related the text on the left, this is where the information about last backup/restore operations appear.
5bee332
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.
On my side, it's lightens up and appears very sharp and precise without the added bolding I see on Metropolis. I suppose these are differences on Windows and Linux.
5bee332
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.
Could this be related to the font format? I imported only the woff2 format -- maybe Windows prefers ttf or otf?
5bee332
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.
3b3 contains the changes above, but meanwhile after playing more with the CSS values I think I will remove usage of Metropolis and semi-bold for buttons and navigation bar buttons for non-high dpi displays. Probably these semi-bold fonts render optimally on high-dpi devices because of the amount of pixels available. This way I still respect the advices for Firefox Preview while being safer for Firefox desktop.
5bee332
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.
No changes on my side with 3b3.
5bee332
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.
I think it's because of background color.
5bee332
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.
Manjaro KDE
5bee332
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.
Well uBO's dashboard is using a lighter white than Firefox's Preferences page. In any case, for non-high dpi I have selected a darker default font color.
5bee332
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.
My system default "Noto Sans"
5bee332
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.
Previously it was completely black font on white background, so it's understandable it looks less contrast now.
And now in b4:
5bee332
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.
Color of the "Out of date" warning has now too low contrast. Maybe should be changed to "active button" color?
I'm not sure it's good or bad. If people stop noticing they may stop worrying so much about out of date filters.
5bee332
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.
It's currently blended with an alpha of 0.5, this does not help. I will revise to use non-blended colors from https://protocol.mozilla.org/fundamentals/color.html. I think Yellow-50 would be ok, no opacity.
5bee332
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.
I think this quote was about screenshot:
uBlockOrigin/uBlock-issues#1027 (comment)
5bee332
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.
That makes sense, I misunderstood. So I should just put them back under, but having all buttons with same width would probably look better.
5bee332
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.
Yes, that's what I reported too in 5bee33253f45#commitcomment-38664118