Update icons used for "Extensions", "Available Updates" and "Recent Updates" about:addons categories sidebar buttons
Categories
(Toolkit :: Add-ons Manager, defect, P2)
Tracking
()
People
(Reporter: rpl, Assigned: rpl)
References
Details
(Whiteboard: [proton-icons] [priority:2b] [proton-uplift])
Attachments
(12 files, 4 obsolete files)
18.25 KB,
image/png
|
Details | |
28.53 KB,
image/png
|
Details | |
102.52 KB,
image/png
|
Details | |
Bug 1709655 - Update about:addons "Update Available" and "Recent Updates" category icons. r?sfoster!
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
34.85 KB,
image/png
|
Details | |
52.50 KB,
image/png
|
Details | |
32.90 KB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
68.52 KB,
image/png
|
Details | |
693.61 KB,
image/png
|
Details |
As an additional follow up to Bug 1708788, we should also update the icon used in the about:addons sidebar for the "Available Updates" category button to match the shape of the new generic extension icon (which is also used for the "Extensions" category button available in the same sidebar).
Comment hidden (obsolete) |
Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
Link to the "Available Updates" icon path from searchfox:
Assignee | ||
Comment 4•3 years ago
|
||
Needinfo katie (to update this issue with UX recommendations).
UX recommendation*
As MR1 is working to simplify complex icons, minimize badging when possible, UX recommends removing the Update puzzle icon from the navigation and using text only (also makes sense because the update is not Extension only). Attached mock is for visual purpose only, not fonts/type or spacing
*about:pages were out of scope for MR1 / Updates might benefit from a ux review in the future
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
Hey Katie,
I was starting to look into the changes needed to follow the UX recommendation for these sidebar category buttons and I did notice that the current recommendation may not play well on how the sidebar does adapt itself to a smaller width.
As you can see in the screenshot I'm attaching to this comment, in that case all the sidebar entries with an icon are reduced to only show the icon and at that point the category with no icon does not look great.
I'd like to get UX perspective on this small width scenario before proceeding with planning the necessary changes.
Let me know what do you think.
Good catch! We can use the generic update icon instead. Sam is optimizing it now, filename: "update-circle-20.svg" - can be used for "Available Updates" and "Recent Updates"
Comment 8•3 years ago
|
||
I've added the optimized update-circle-20.svg to the google drive folder we're using to keep all the finalized icons in one place. Details of where to find that and some of the steps you should take when adding/updating this icon are all outlined in this procedure doc
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 9•3 years ago
|
||
This patch updates the following icons:
- category-available.svg: replaced with the content of the optimized icon update-circle-20.svg
- category-recent.svg: currently replaced with the content of the same icon used for category-available-svg,
but with the addition of the attributetransform="rotate(180)"
on the svg element, mainly because:- this two categories may be visible at the same time if there are pending updates available AND
the user selects "View Recent Updates" from the about:addons page gear menu popup - when both the categories are visible and the about:addons page width is less then 830px, only the
category icons are still visible (similarly to other about pages) and having the exact same icon
for both the categories may look confusing for the user - The opposite arrow directions does also match the two icons previously used by this two categories buttons
- the recommendation was to use the same icon for both these categories, and so I assumed that one was
meant to be rotate the category-recent.svg one by 180 deg. - the icon is applied to the category button as a background image, and so rotating it from the CSS rule
would also rotate the category button text as well
- this two categories may be visible at the same time if there are pending updates available AND
As per Step 7 from the "Proton Icons Procedure" google doc, I did run RUN_FIND_DUPES=1 ./mach package
to
detect if these two icons needed to be added to the allow-dupes file but no duplicate was detected,
I guess it is because:
- update-circle-20.svg may not be yet used anywhere else (and so not part of the icons already used in mozilla-central)
- category-recent.svg is being rotated with an attribute applied in the svg element itself and so it is
technically a different icon from that "duplicate" icons check perspective.
Assignee | ||
Comment 10•3 years ago
|
||
This patch does change the color of the "Available Updates" category button badged count and the badge dot
added to the addon card options button when the addon has a pending update in the list of addons to
var(--in-content-accent-color)
to make sure it does match the accent color used elsewhere in the same page.
It is particularly easy to notice the colors mismatch when the active theme is dark and there are pending
updates, e.g. see the screenshot attached in the bug comments here:
Depends on D114780
Assignee | ||
Comment 11•3 years ago
|
||
Depends on D114781
Assignee | ||
Comment 12•3 years ago
|
||
This is a screenshot of how the about:addons sidebar looks right now (when the width is <= 830px and only the sidebar icons are visible without any text).
Assignee | ||
Comment 13•3 years ago
|
||
This screenshot shows the new icons under conditions similar to the screenshot in comment 12.
In this screenshot the position of the "badged dot" is the same as it is at the moment on mozilla-central (without the change in D114781).
Assignee | ||
Comment 14•3 years ago
|
||
This screenshot is how the "badge dot" is positioned on the "Available Updates" category icon with the additional changes from D114781.
The screenshot does also include a similar "badge dot" applied to the addon card "more options" button (on the right of the screenshot) for comparison.
Assignee | ||
Comment 15•3 years ago
|
||
Apparently the icon we use for the category-extensions.svg and for extensionGeneric.svg is using a custom mapping
configured in mozapps.inc.mn
This was a bit confusing because I was initially changing the content svg but without having the result that
I was expecting.
I'm adding Dale as an additional optional reviewer on this phabricator revision because from the mercurial logs
I see he did work on Bug 1380043 and he may have some more context to double-check what would be the right way
to deal with this.
With the mapping before this change, the sidebar icon for the extension category and the addon cards for
extension without an icon were both mapped to the same icon (which was the filled one before this patch,
and we would have changed both to the outline icon if we do change the icon content without changing the
mapping as well).
It does seem also worth a mention that extension.svg is the outlined extension but its viewbox and width/height
are set to 16px (but to be fair the same is also currently the case for category-dictionaries.svg,
category-themes.svg etc).
Depends on D114782
Assignee | ||
Comment 16•3 years ago
|
||
This screenshot shows how the "sidebar extensions category icon" and the "addon card icon for an extension without its own icon" looks like with the additional changes from D114884.
Updated•3 years ago
|
Assignee | ||
Comment 17•3 years ago
|
||
Depends on D114884
Comment hidden (offtopic) |
Comment hidden (offtopic) |
Comment 20•3 years ago
|
||
Since this bug is about the "Available Updates" and "Recent Updates" icons about:addons should the patch for the alignment issue on about:preferences be moved to bug 1708883? Or should bug 1708883 be closed as duplicate of this one if you want to fix it here?
Assignee | ||
Comment 21•3 years ago
|
||
(In reply to Sören Hentzschel from comment #20)
Since this bug is about the "Available Updates" and "Recent Updates" icons about:addons should the patch for the alignment issue on about:preferences be moved to bug 1708883? Or should bug 1708883 be closed as duplicate of this one if you want to fix it here?
eh, I missed to notice we had bug 1708883 already filed for the same alignment issue.
I'm fine either way:
- I can move that patch from this bug to bug 1708883
- or keep the patch in this bug and close bug 1708883 as a duplicate
D114978 doesn't really depend from the other patches in this stack, and so moving it bug 1708883 isn't going to require anything more than renaming the patch summary and move it to bug 1708883.
Comment 22•3 years ago
|
||
Comment on attachment 9221597 [details]
Bug 1709655 - Fix extension icon alignment in the about:preferences categories sidebar. r?sfoster!
Revision D114978 was moved to bug 1708883. Setting attachment 9221597 [details] to obsolete.
Assignee | ||
Comment 23•3 years ago
|
||
I moved D114978 to bug 1708883, in the end that contains some more context and it is tracking specifically that alignment issue.
I'm going to mark the comment 18 and 19 as off-topic in this bug (and mark the related attachment as obsolete) and move the two screenshots in bug 1708883 where they belong.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Comment 24•3 years ago
|
||
Comment 25•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5220c9563acd
https://hg.mozilla.org/mozilla-central/rev/00c713a03154
https://hg.mozilla.org/mozilla-central/rev/6064c1bfd8d2
https://hg.mozilla.org/mozilla-central/rev/a3251e1a9f26
Comment 27•3 years ago
|
||
Can we please uplift to Beta 89?
Comment 29•3 years ago
|
||
These commits grafted onto beta just fine, try build running here https://treeherder.mozilla.org/jobs?repo=try&revision=abe5e9bd4d0533bb60c738bc9b40a186422138f4
I checked the icons and they appear to be correct
Comment 30•3 years ago
|
||
Comment on attachment 9221406 [details]
Bug 1709655 - Update other about:addons category icons and remove extensionGeneric.svg chrome url overrides. r?sfoster!
Beta/Release Uplift Approval Request
- User impact if declined: Add-on manager icons will be inconsistent with the proton spec, with a mix of old and new and filled and unfilled
- 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:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Icon swaps, minor CSS and manifest changes
- String changes made/needed: None
Updated•3 years ago
|
Updated•3 years ago
|
Comment 31•3 years ago
|
||
Comment on attachment 9221406 [details]
Bug 1709655 - Update other about:addons category icons and remove extensionGeneric.svg chrome url overrides. r?sfoster!
Approved for our last beta before 89 RC, thanks.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 32•3 years ago
|
||
bugherder uplift |
Updated•3 years ago
|
Updated•3 years ago
|
Comment 33•3 years ago
|
||
The issue is verified fixed on Windows 10, Ubuntu 18.04 and macOS 11 using Fx89.0b14 and Fx90.0a1. The new design is correctly applied for the 'view recent updates' and 'available updates' icons.
Description
•