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

Select default browser on welcome page import page #17270

Merged
merged 2 commits into from
Feb 24, 2023
Merged

Conversation

spylogsster
Copy link
Contributor

@spylogsster spylogsster commented Feb 17, 2023

Resolves brave/brave-browser#28573

Google Chrome Dev/Google Chrome Beta on other then EN locales have translated name, so we need to read Google Chrome translations, moved it to separate issue brave/brave-browser#28717

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 wiki
    • npm run lint, npm run presubmit wiki, 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:

  • step from issue

@github-actions github-actions bot added the CI/storybook-url Deploy storybook and provide a unique URL for each build label Feb 17, 2023
@brave-builds
Copy link
Collaborator

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

Copy link
Contributor

@nullhook nullhook left a comment

Choose a reason for hiding this comment

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

Can you please paste a screenshot?

@spylogsster
Copy link
Contributor Author

spylogsster commented Feb 17, 2023

Can you please paste a screenshot?

image

@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
Contributor

@nullhook nullhook left a comment

Choose a reason for hiding this comment

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

Please make sure if you've tested the code with the React.useEffect change

@spylogsster
Copy link
Contributor Author

Please make sure if you've tested the code with the React.useEffect change

it works

Copy link
Contributor

@nullhook nullhook left a comment

Choose a reason for hiding this comment

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

lgtm

@brave-builds
Copy link
Collaborator

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

Copy link
Member

@simonhong simonhong left a comment

Choose a reason for hiding this comment

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

++ with some suggestion! 👍🏼

browser/ui/webui/brave_welcome_ui.cc Outdated Show resolved Hide resolved
browser/ui/webui/brave_welcome_ui.cc Outdated Show resolved Hide resolved
browser/ui/webui/brave_welcome_ui.cc Outdated Show resolved Hide resolved
@simonhong
Copy link
Member

I tested with Chrome, Edge and Whale browser and only works when Edge was default. Can you check with other browsers?

@spylogsster spylogsster marked this pull request as draft February 23, 2023 04:59
@spylogsster spylogsster force-pushed the brave-28573 branch 4 times, most recently from d0ddf2f to 78d49e9 Compare February 23, 2023 06:42
@brave-builds
Copy link
Collaborator

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

@spylogsster spylogsster marked this pull request as ready for review February 23, 2023 14:47
@spylogsster spylogsster requested a review from a team as a code owner February 23, 2023 14:47
@spylogsster
Copy link
Contributor Author

Google Chrome Dev/Google Chrome Beta on other then EN locales have translated name, so we need to read Google Chrome translations, after discussion with @mkarolin decided to move it to separate issue brave/brave-browser#28717

Copy link
Collaborator

@mkarolin mkarolin left a comment

Choose a reason for hiding this comment

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

chromium_src changes LGTM

@bsclifton
Copy link
Member

bsclifton commented Feb 23, 2023

Changes LGTM (I pulled down code, built, and ran). There was some behavior I noticed which was interesting:

Copy link
Member

@bsclifton bsclifton left a comment

Choose a reason for hiding this comment

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

Found a few things not related to this PR - we may want to make separate issues for them (cc: @rebron)

But changes here LGTM

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
6 participants