abdulazizali77/sloooop

UI : Extension icon does not indicate whether it is activated, inactivated or unavailable

Closed this issue · 1 comments

For urls which the extension does not support, the icon should display an 'UNAVAILABLE_ICON'
For urls which the extension does support, and the extension is not activated or disabled the icon should display an 'INACTIVATED_ICON'
For urls which the extension does support, and the extension is activated or enabled the icon should display an 'ACTIVATED_ICON'

In an unavailable state, clicking the extension icon does nothing, it will display the default chrome settings context menu.
In an inactivated state, clicking the extension icon activates the extension, optionally goes through auth flow, and displays slider.
In an activated state, clicking the extension icon inactivates the extension. The fetched bearer is retained.