Adjust "Switch to tab" chiclet colors
Categories
(Firefox :: Address Bar, defect, P2)
Tracking
()
People
(Reporter: mak, Assigned: mak)
References
(Blocks 1 open bug)
Details
(Whiteboard: [proton-address-bar] [priority:2c] [a11y][proton-uplift])
Attachments
(3 files)
|
39.33 KB,
image/png
|
Details | |
|
52.04 KB,
image/png
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
+++ This bug was initially created as a clone of Bug #1702772 +++
Amy reported that Switch to tab chiclet in tab results changes color to hover on selected rows, and looks a bit confusing/distracting.
The reason for which we do that is that switch to tab has been styled as a chiclet, and if we didn't change its background it would disappear since the selected row has the same (or very close) background color.
We don't have a solution at hand yet, so I'm filing this as a placeholder to remember about this issue.
Maybe we could have the chiclet invert color (so take the panel background color) on selection, rather than use the hover color?
My favorite solution would be to go back to simple action text, as it was before, since this is not a button.
| Assignee | ||
Comment 1•5 years ago
•
|
||
Amy, we discussed this during the review, we're still not sure how to proceed here, you said it needed a bit more brainstorming, thus I wonder if you had any new ideas for it.
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Hi,
I spoke to Harry about leaving the chicklet as is since if we change it, it ends up creating more complexity.
| Assignee | ||
Comment 3•5 years ago
|
||
This one below in the sshot is my proposal, instead of using the confusing "active" color, we can just "invert" the chiclet, basically show the background panel color. it may be less confusing than making the chiclet react with tje active color, making it look like a button you can interact with, when it's not.
| Assignee | ||
Comment 4•5 years ago
|
||
Romain, do you think it's worth making my proposed change to reduce confusion where users may thing that entry is a button by seeing the usual hover state? It just makes it a little bit more subtle, I'm happy to prepare a Try build for testing it if necessary.
Comment 5•5 years ago
|
||
Thanks Marco, I agree that your proposal feels right. A try build would be perfect to that Amy and I can review and validate this could ship.
| Assignee | ||
Comment 6•5 years ago
•
|
||
I created a Spike in Jira to evaluate this and bug 1705562: https://jira.mozilla.com/browse/FIDEFE-1304
Linux: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Ug9J4q-dQBO6P6_13WeEhw/runs/0/artifacts/public/build/target.tar.bz2
macOS: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/LnooLMnHTOOx0e0bfpnqQQ/runs/0/artifacts/public/build/target.dmg
Windows: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Ev_nPM_LRRqKn8ElBJAm_A/runs/0/artifacts/public/build/target.zip
| Assignee | ||
Comment 7•5 years ago
•
|
||
taking to ensure others dont spend time on this, we're just waiting answers
Comment 8•5 years ago
|
||
(In reply to Marco Bonardo [:mak] from comment #6)
I created a Spike in Jira to evaluate this and bug 1705562: https://jira.mozilla.com/browse/FIDEFE-1304
Linux: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Ug9J4q-dQBO6P6_13WeEhw/runs/0/artifacts/public/build/target.tar.bz2
macOS: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/LnooLMnHTOOx0e0bfpnqQQ/runs/0/artifacts/public/build/target.dmg
Windows: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Ev_nPM_LRRqKn8ElBJAm_A/runs/0/artifacts/public/build/target.zip
This looks good to me, I agree that your proposal feels righter when using the background color. Amy, do you have concerns with this?
Comment 9•5 years ago
|
||
Hi,
There is inconsistency between Light/Dark theme with the new proposed change.
Please see the edits below so Dark theme follows the same "rules" as light theme
Hover state colour of Switch to tab chicklet for dark theme (Mouse/Keyboard) - Dark Grey 30 / #42424D
Default state colour of Switch to tab chicklet for dark theme - #2B2A33
Text - Dark theme text should be #FBFBFE in all states (I noticed 2 different font colours)
Screenshot for reference
| Assignee | ||
Comment 10•5 years ago
|
||
It's possible my mosaic of sshots ended up mixing a focused and an unfocused window, that would explain the different colors. I'll double check that anyway.
| Assignee | ||
Comment 11•5 years ago
•
|
||
(In reply to Amy Lee [:amylee] UX from comment #9)
Hover state colour of Switch to tab chicklet for dark theme (Mouse/Keyboard) - Dark Grey 30 / #42424D
Ah, we are using 42414D because figma uses that, but then the color palette text says 42424D. I asked on you Slack to confirm a color because I'm not sure what we're supposed to use at this point.
The color we are using is correct, we are using #42414D. The Colors palette had a typo.
Default state colour of Switch to tab chicklet for dark theme - #2B2A33
This looks correct from my measurement.
Text - Dark theme text should be #FBFBFE in all states (I noticed 2 different font colours)
The color is correct on hover and selected, but it's wrong in normal mode.
| Assignee | ||
Comment 12•5 years ago
|
||
Currently we use hover and active colors, that may be confusing for the user
because these are styles as chiclets but are not real buttons.
Using the panel background is a bit more discrete.
| Assignee | ||
Updated•5 years ago
|
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 15•5 years ago
|
||
Comment on attachment 9218926 [details]
Bug 1705323 - Change hover and active bgcolor for Switch to tab chiclets. r=harry
Beta/Release Uplift Approval Request
- User impact if declined: Part of MR1 design, fixes design of the Switch to Tab chiclets in the urlbar
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce: This is just visual polish, probably not worth it
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Minor css changes, visual polish
- String changes made/needed:
| Assignee | ||
Updated•5 years ago
|
Comment 16•5 years ago
|
||
Comment on attachment 9218926 [details]
Bug 1705323 - Change hover and active bgcolor for Switch to tab chiclets. r=harry
Approved for 89 beta 6, thanks.
Comment 17•5 years ago
|
||
| bugherder uplift | ||
Comment 18•4 years ago
|
||
This issue was verified during the pre-release testing of the Proton: Address bar feature.
Description
•