-
Notifications
You must be signed in to change notification settings - Fork 871
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
Update show bookmarks setting #15577
Conversation
A Storybook has been deployed to preview UI for the latest push |
61519bf
to
fc439b0
Compare
A Storybook has been deployed to preview UI for the latest push |
fc439b0
to
4cb3922
Compare
A Storybook has been deployed to preview UI for the latest push |
I'm going to update the issue. I think we should keep the existing default for new users which should be "only on the new tab page". Also, we need to carry these options to the context menu when right clicking the bookmarks bar. |
I updated the issue. My fault on the typo. Should be "Only on the new tab page" |
4cb3922
to
babd88f
Compare
Marked as draft to add selectors to some context menus as well |
A Storybook has been deployed to preview UI for the latest push |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some minor syntax changes required
browser/resources/settings/brave_appearance_page/bookmark_bar.ts
Outdated
Show resolved
Hide resolved
browser/resources/settings/brave_appearance_page/bookmark_bar.ts
Outdated
Show resolved
Hide resolved
browser/resources/settings/brave_appearance_page/bookmark_bar.ts
Outdated
Show resolved
Hide resolved
browser/resources/settings/brave_appearance_page/bookmark_bar.ts
Outdated
Show resolved
Hide resolved
43910f2
to
07333ca
Compare
e3ef28e
to
64ac8cc
Compare
A Storybook has been deployed to preview UI for the latest push |
64ac8cc
to
e7f5b46
Compare
A Storybook has been deployed to preview UI for the latest push |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. please rebase before merging.
9910010
to
be8cae0
Compare
A Storybook has been deployed to preview UI for the latest push |
be8cae0
to
62230d1
Compare
|
A Storybook has been deployed to preview UI for the latest push |
@@ -32,3 +40,16 @@ source_set("bookmark") { | |||
"//ui/webui/resources/js/browser_command:mojo_bindings", | |||
] | |||
} | |||
|
|||
source_set("unittest") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm a bit outdated, so don't really know what is the current convention - put tests into smaller BUILD.gn`s or continue stockpiling them in brave/test/BUILD.gn ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
something wrong here?
|
#include "brave/browser/ui/bookmark/bookmark_helper.h" | ||
#include "chrome/app/chrome_command_ids.h" | ||
#include "chrome/browser/profiles/profile.h" | ||
#include "chrome/browser/ui/browser.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
|
#include <memory> | ||
#include <vector> | ||
|
||
#include "base/callback_forward.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls check for unused includes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
|
Removing from |
0cf8ba6
to
1f902b2
Compare
A Storybook has been deployed to preview UI for the latest push |
1f902b2
to
06f5ddd
Compare
|
A Storybook has been deployed to preview UI for the latest push |
|
06f5ddd
to
80ab9d3
Compare
80ab9d3
to
d630f45
Compare
A Storybook has been deployed to preview UI for the latest push |
|
Resolves brave/brave-browser#26072
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan:
brave://settings/appearance
, it should have menu with 3 items