-
Notifications
You must be signed in to change notification settings - Fork 887
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
Add Keep in dock option to first run dialog and settings #14714
Conversation
c0c7654
to
4e9631b
Compare
4e9631b
to
890c574
Compare
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 with a suggestion
9fc8731
to
fb49a9e
Compare
Rebased and set as draft as we'll add asking to users to pin(dock). |
fb49a9e
to
836dfc7
Compare
@sangwoo108 It's ready to review. PTAL again. Issue and descriptions are updated. |
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.
Sorry for delayed response. LGTM
836dfc7
to
a26ba83
Compare
@rmcfadden3 @rebron Can you check above setting option's sentence? |
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!
With this, we can support pin shortcut feature on other platforms.
603910c
to
67f4be0
Compare
fix brave/brave-browser#24055 User can add to dock via first run or settings.
67f4be0
to
3acb0aa
Compare
Verification
|
Brave | 1.47.42 Chromium: 107.0.5304.91 (Official Build) nightly (x86_64) |
---|---|
Revision | 3d5948960d62418160796d5831a4d2d7d6c90fa8-refs/branch-heads/5304@{#1097} |
OS | macOS Version 11.7.1 (Build 20G918) |
Prerequisite: make a non-Brave browser the system default via Apple menu
-> System Preferences...
-> General
-> Default web browser
Case 1: Pin Brave to dock via the Pin to Dock
checkbox in the first-run dialog - PASSED
- installed
1.47.42
- launched Brave
- checked the
Keep in Dock
checkbox - clicked on the
Set Brave as default
button - confirmed I got the
Do you want to change your default web browser to "Brave" or keep using "Firefox"?
dialog - clicked on
Use "Brave"
- confirmed Brave is kept in the dock
- closed Brave
- relaunched by clicking on the Brave icon in the dock
- opened
brave://settings/getStarted
- confirmed
Brave is your default browser
text - confirmed
Brave is already in Dock
text
Confirmed Brave is successfully kept in the dock
step 3 | step 5 | step 7 | steps 11-12 |
---|---|---|---|
Case 2: Unpin Brave from the dock and Pin to Dock
it from brave://settings/getStarted
- PASSED
- continued from
Case 1
, with Brave kept in the dock - context-clicked on Brave and chose
Options
->Keep in Dock
- reloaded
brave://settings/getStarted
- confirmed the
Dock
button besideKeep in Dock
is clickable - clicked
Dock
- confirmed I now saw
Brave is already in Dock
- context-click on Brave
Confirmed Brave is docked and shows Options
-> Keep in Dock
enabled
step 4 | step 6 | step 7 |
---|---|---|
Case 3: With Pin to Dock
unchecked (default), click Set Brave as default
on the first-run dialog - PASSED
- installed
1.47.42
- launched Brave
- left
Keep in Dock
unchecked (default) - click
Set Brave as default
button - clicked
Use "Brave"
on the next dialog - clicked
Skip welcome tour
- opened
brave://settings/getStarted
- confirmed Brave is your default browser text is shown
- confirmed
Dock
button is shown in next toKeep in Dock
- clicked on the
Dock
button - confirmed the
Dock
button onbrave://settings/getStarted
disappears - context-click on Brave
Confirmed Brave is docked and shows Options
-> Keep in Dock
enabled
step 4 | step 5 | step 8-9 | step 11 | step 12 |
---|---|---|---|---|
Case 4: Pin to Dock
Brave via brave://settings/getStarted
when a non-Brave browser is set as default via Apple menu
' -> System Preferences
-> General
Default web browser
- PASSED
- installed
1.47.42
- launched Brave
- clicked
Maybe later
- clicked
Skip welcome tour
- closed Brave
- relaunched Brave
- clicked on
Set as default
in the infobar - clicked on
Use "Brave"
- opened
brave://settings/getStarted
- confirmed it read
Brave is your default browser
- confirmed the
Dock
button is enabled - clicked on the
Dock
button - confirmed the
Dock
button disappeared - confirmed it read
Brave is already in Dock
- context-clicked Brave
Confirmed Brave is docked and shows Options
-> Keep in Dock
enabled
step 3 | step 7 | step 8 | steps 10-11 | steps 13-14 | step 15 |
---|---|---|---|---|---|
Case 5: Upgrade from 1.46.x (nightly)
-> 1.47.x (nightly)
- PASSED
- installed
1.46.46
- launched Brave
- clicked
Set Brave as default
on the first-run dialog - clicked
Use "Brave"
- opened
brave://settings/getStarted
and confirmed it showsBrave is your default browser text
- upgraded to
1.47.42
- opened
brave://settings/getStarted
- clicked the
Dock
button - confirmed the
Dock
button disappeared, and the text now reads "Brave is already in Dock` - context-clicked Brave
Confirmed Brave is docked and shows Options
-> Keep in Dock
enabled
step 3 | step 4 | step 5 | step 8 | step 9 | step 10 |
---|---|---|---|---|---|
fix brave/brave-browser#24055
First run dialog:
Settings: not added to dock
After added to dock
Resolves
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:
See the linked issue