Skip to content
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

Merged
merged 1 commit into from
Jan 17, 2023
Merged

Update show bookmarks setting #15577

merged 1 commit into from
Jan 17, 2023

Conversation

spylogsster
Copy link
Contributor

@spylogsster spylogsster commented Oct 20, 2022

Resolves brave/brave-browser#26072

image

image

image

Submitter Checklist:

  • I confirm that no security/privacy review is needed, or that I have requested one
  • There is a ticket for my issue
  • Used Github auto-closing keywords in the PR description above
  • Wrote a good PR/commit description
  • Squashed any review feedback or "fixup" commits before merge, so that history is a record of what happened in the repo, not your PR
  • Added appropriate labels (QA/Yes or QA/No; release-notes/include or release-notes/exclude; OS/...) to the associated issue
  • Checked the PR locally: npm run test -- brave_browser_tests, npm run test -- brave_unit_tests, npm run lint, npm run gn_check, npm run tslint
  • Ran git rebase master (if needed)

Reviewer Checklist:

  • A security review is not needed, or a link to one is included in the PR description
  • New files have MPL-2.0 license header
  • Adequate test coverage exists to prevent regressions
  • Major classes, functions and non-trivial code blocks are well-commented
  • Changes in component dependencies are properly reflected in gn
  • Code follows the style guide
  • Test plan is specified in PR before merging

After-merge Checklist:

Test Plan:

  • Check bookmark option in settings brave://settings/appearance, it should have menu with 3 items
  • Check bookmark option in the app menu on mac, View submenu, it should have menu with 3 items
  • Check bookmark option in the main browser menu, Bookmarks submenu, it should have menu with 3 items
  • Check context menu for bookmark bar, it should have menu with 3 items

@spylogsster spylogsster self-assigned this Oct 20, 2022
@github-actions github-actions bot added the CI/storybook-url Deploy storybook and provide a unique URL for each build label Oct 20, 2022
@spylogsster spylogsster added this to the 1.47.x - Nightly milestone Oct 20, 2022
@brave-builds
Copy link
Collaborator

A Storybook has been deployed to preview UI for the latest push

@brave-builds
Copy link
Collaborator

A Storybook has been deployed to preview UI for the latest push

@brave-builds
Copy link
Collaborator

A Storybook has been deployed to preview UI for the latest push

@rebron
Copy link
Collaborator

rebron commented Oct 26, 2022

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.

@rebron
Copy link
Collaborator

rebron commented Oct 26, 2022

I updated the issue. My fault on the typo. Should be "Only on the new tab page"

@spylogsster
Copy link
Contributor Author

Marked as draft to add selectors to some context menus as well

@brave-builds
Copy link
Collaborator

A Storybook has been deployed to preview UI for the latest push

Copy link
Member

@petemill petemill left a 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

@spylogsster spylogsster force-pushed the brave-26072 branch 7 times, most recently from 43910f2 to 07333ca Compare October 27, 2022 15:55
@spylogsster spylogsster marked this pull request as ready for review October 27, 2022 19:22
@spylogsster spylogsster requested a review from a team as a code owner October 27, 2022 19:22
@brave-builds
Copy link
Collaborator

A Storybook has been deployed to preview UI for the latest push

@brave-builds
Copy link
Collaborator

A Storybook has been deployed to preview UI for the latest push

Copy link
Member

@goodov goodov left a 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.

@brave-builds
Copy link
Collaborator

A Storybook has been deployed to preview UI for the latest push

@github-actions
Copy link
Contributor

⚠️ PR head is an unsigned commit
commit: 62230d152d447639570e356a736773268f1aff94
reason: unsigned
Please follow the handbook to configure commit signing
cc: @spylogsster

@brave-builds
Copy link
Collaborator

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") {
Copy link
Contributor

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 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

something wrong here?

@github-actions
Copy link
Contributor

⚠️ PR head is an unsigned commit
commit: 62230d152d447639570e356a736773268f1aff94
reason: unsigned
Please follow the handbook to configure commit signing
cc: @spylogsster

#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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not used?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

@github-actions
Copy link
Contributor

⚠️ PR head is an unsigned commit
commit: 62230d152d447639570e356a736773268f1aff94
reason: unsigned
Please follow the handbook to configure commit signing
cc: @spylogsster

#include <memory>
#include <vector>

#include "base/callback_forward.h"
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

@github-actions
Copy link
Contributor

⚠️ PR head is an unsigned commit
commit: 62230d152d447639570e356a736773268f1aff94
reason: unsigned
Please follow the handbook to configure commit signing
cc: @spylogsster

@kjozwiak
Copy link
Member

Removing from 1.47.x as this hasn't landed on master. However, 1.47.x is already on the release channel. Please set the appropriate milestone once the above lands.

@brave-builds
Copy link
Collaborator

A Storybook has been deployed to preview UI for the latest push

@github-actions
Copy link
Contributor

⚠️ PR head is an unsigned commit
commit: 06f5ddd36a17d73af1b02501855e5f5ad32045bb
reason: unsigned
Please follow the handbook to configure commit signing
cc: @spylogsster

@brave-builds
Copy link
Collaborator

A Storybook has been deployed to preview UI for the latest push

@github-actions
Copy link
Contributor

⚠️ PR head is an unsigned commit
commit: 06f5ddd36a17d73af1b02501855e5f5ad32045bb
reason: unsigned
Please follow the handbook to configure commit signing
cc: @spylogsster

@brave-builds
Copy link
Collaborator

A Storybook has been deployed to preview UI for the latest push

Copy link
Contributor

⚠️ PR head is an unsigned commit
commit: d630f45
reason: unknown_key
Please follow the handbook to configure commit signing
cc: @spylogsster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/storybook-url Deploy storybook and provide a unique URL for each build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update show bookmarks setting
9 participants