Add current tab permissions alert in options menu
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: lguychard
Rel #2799 (closed)
Removes the generic "Extension not working on your private code host?" warning in favour of a red alert displayed if:
The user can grant permissions for the current tab's URL directly from the options menu.
Also:
<OptionsMenu/>
OptionsContainerProps.fetchCurrentUser()
hasPermissions()
in OptionsContainerProps
onChange
instead of onClick
for feature flag toggles to fix the following React warning: Warning: Failed prop type: You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.
Push commits to the source branch or add previously merged commits to review them.