-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move Shields extension button to URL bar #668
Labels
design
A design change, especially one which needs input from the design team
QA Pass-Linux
QA Pass-macOS
QA Pass-Win64
QA/Yes
Milestone
Comments
petemill
added
the
design
A design change, especially one which needs input from the design team
label
Jul 31, 2018
Closed
9 tasks
petemill
added a commit
to petemill/brave-extension
that referenced
this issue
Aug 27, 2018
- Badge color - Higher resolution (vector) icon (Fix brave/brave-browser#844) - Badge displays '99+' when block count is > 99 - Shields are disabled for non-http(s) sites (Fix brave/brave-browser#503) - Default icon before a tab loads is the shields-on icon - Set shields badge count for active tab only (Fix brave/brave-browser#743) Address some features of brave/brave-browser#668
petemill
added a commit
to petemill/brave-core
that referenced
this issue
Aug 30, 2018
Fix brave/brave-browser#668 Intention is for Shields 'extension' to feel built-in. BraveActionsContainer hooks in to extension system in order to display and update the button icon when necessary. Displays a custom badge which is sized and positioned specifically for the Shields count. Uses dynamic font sizing to maintain a target height and maximum width. Removes the Shields extension button from main extensions area (ToolbarActionsBar / BrowserActionsContainer). Disable context menu for shields extension button in brave actions area since there are no valid actions. Patches the content of a method at LocationBarView::Layout since it could be more harmful to copy that functionality to our subclass because it is complex and somewhat functional logic. Attempts to minimize the patching necessary by passing in a new argument to the method.
11 tasks
Verification Passed on
Verification PASSED on
Verified passed with
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
design
A design change, especially one which needs input from the design team
QA Pass-Linux
QA Pass-macOS
QA Pass-Win64
QA/Yes
Description
Move from
BrowserActions
area toPageActions
area.Clicking should still invoke the extension popup.
Button should have the following states:
The text was updated successfully, but these errors were encountered: