Closed Bug 1709655 Opened 3 years ago Closed 3 years ago

Update icons used for "Extensions", "Available Updates" and "Recent Updates" about:addons categories sidebar buttons

Categories

(Toolkit :: Add-ons Manager, defect, P2)

defect

Tracking

()

VERIFIED FIXED
90 Branch
Tracking Status
firefox89 --- verified
firefox90 --- verified

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
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
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
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).

See Also: → 1708788
Whiteboard: [proton-icons]

Needinfo katie (to update this issue with UX recommendations).

Flags: needinfo?(kcaldwell)

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

Flags: needinfo?(kcaldwell)
Priority: -- → P2
Whiteboard: [proton-icons] → [proton-icons] [priority:2b]
Summary: Update the puzzle icon used for the Available Updates about:addons sidebar button to match the shape of the icon used for the extensions category button → Remove icon from "Available Updates" sidebar button

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.

Flags: needinfo?(kcaldwell)

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"

Flags: needinfo?(kcaldwell) → needinfo?(sfoster)

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

Flags: needinfo?(sfoster)
Summary: Remove icon from "Available Updates" sidebar button → Update icons used for "Available Updates" and "Recent Updates" about:addons sidebar buttons
Severity: -- → S4
Assignee: nobody → lgreco
Status: NEW → ASSIGNED

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 attribute transform="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

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.

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

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).

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).

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.

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

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.

Attachment #9221406 - Attachment description: Bug 1709655 - Map extensionGeneric.svg to the filled extension icon and category-extensions to the outlined one. r?sfoster!,daleharvey → Bug 1709655 - Update other about:addons category icons and remove extensionGeneric.svg chrome url overrides. r?sfoster!

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?

(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 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.

Attachment #9221597 - Attachment is obsolete: true

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.

Attachment #9221598 - Attachment is obsolete: true
Attachment #9221602 - Attachment is obsolete: true
Blocks: 1703406
See Also: → 1708008
Summary: Update icons used for "Available Updates" and "Recent Updates" about:addons sidebar buttons → Update icons used for "Extensions", "Available Updates" and "Recent Updates" about:addons categories sidebar buttons
Pushed by luca.greco@alcacoop.it: https://hg.mozilla.org/integration/autoland/rev/5220c9563acd Update about:addons "Update Available" and "Recent Updates" category icons. r=sfoster https://hg.mozilla.org/integration/autoland/rev/00c713a03154 Replaced --blue-50 with --in-content-accent-color to ensure about:addons badge color matches the expected Proton colors. r=sfoster https://hg.mozilla.org/integration/autoland/rev/6064c1bfd8d2 Tweak 'Available Updates' badged dot position to be places on the top-end corner of the icon. r=sfoster https://hg.mozilla.org/integration/autoland/rev/a3251e1a9f26 Update other about:addons category icons and remove extensionGeneric.svg chrome url overrides. r=sfoster

Can we please uplift to Beta 89?

ni'ing rpl for comment 27.

Flags: needinfo?(lgreco)
Attached image beta-applied.png

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 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
Attachment #9221406 - Flags: approval-mozilla-beta?
Attachment #9221202 - Flags: approval-mozilla-beta?
Attachment #9221203 - Flags: approval-mozilla-beta?
Attachment #9221204 - Flags: approval-mozilla-beta?
Flags: needinfo?(lgreco)

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.

Attachment #9221406 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9221202 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9221203 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9221204 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Whiteboard: [proton-icons] [priority:2b] → [proton-icons] [priority:2b] [proton-uplift]
QA Whiteboard: [qa-triaged]

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.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
See Also: → 1787621
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: