Open Bug 1778684 Opened 3 years ago Updated 7 months ago

Adjust extension button's behavior when there is no active extension

Categories

(WebExtensions :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: willdurand, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [addons-jira])

The new extension button introduced in Bug 1777481 should be hidden when there is no visible extension. In order to fully fix this bug, we should listen to some events to know when an extension is added/disabled/removed to make sure the button is only visible when there are visible extensions AND hide this button when there is no visible extension anymore (e.g., the user had only 1 extension enabled and removed it).

Severity: -- → N/A
Priority: -- → P2

According to the last UX meeting notes:

DECISION: Should behave like the download button.

  • You can right-click the download button and it has a “hide when empty” option
  • It stays in the toolbar (keeps its place), but is not visible
  • To get it back, you go into customize mode and right click again
  • Clicking the Extension button when there are no extensions doesn’t show the panel but instead opens a about:addons tab with recommended extensions
Summary: Hide extension button when there is no visible extension → Adjust extension button's behavior when there is no active extension
Depends on: 1777481
No longer depends on: 1777483
Type: task → enhancement

while discussing about this bug a few days ago, William and I were wondering if we should also take into account that (if we plan to anchor on the unified extensions button the install flows doorhangers) the unified extension button may also have to become visible when no extension is currently active but there are some in the process of being installed.

Depends on: 1780782

I filed Bug 1781773 for allowing the widget to be customizable, which is kinda related to this bug.

Duplicate of this bug: 1811727
Depends on: 1814871
Depends on: 1808459
Priority: P2 → P3

Small update, we are considering hiding the extension button if user has not installed any extensions.

Duplicate of this bug: 1892619

This is important in enterprise uses cases as well. For kiosks, locked down machines, etc. with no addons, the button is superfluous.

You need to log in before you can comment on or make changes to this bug.