-
Notifications
You must be signed in to change notification settings - Fork 971
Add new "empty new tab" option in preferences (for what new tab does) #5690
Conversation
@bsclifton I'll pull this in and edit the strings and commit those. |
Working with @bradleyrichter on this one... not ready to be accepted yet |
No it should still react like a new tab page and put the focus in the URL bar. I think this option should modify how about:newtab works to not render anything (return null) and not use about:blank. I'm going to move it to 0.12.11. |
Awesome- I think it makes sense pushing this back a release to make sure it's solid. We hashed out some ideas on Slack and it would be good not to rush it 😄 |
@bradleyrichter what is "My dashboard" there? |
Dashboard is the new proposed name for the thing otherwise know as the new tab page.
|
@bbondy ready for re-review 😄 Here's what the choice dropdown looks like: Things to note:
|
Rebased, resolved conflicts with tests, and made sure tests pass great 😄 Ready for re-review, @bbondy |
looks like app/extensions/brave/locales/en-US/preferences.properties has a conflict, could you rebase? |
Pls also run through automated if you don't mind, review of code looks good. |
*includes tests* :) Fixes #5682 Please note: choosing this option does NOT put focus in the URL bar. Is this OK? cc: @diracdeltas Auditors: @bradleyrichter, @bbondy Test Plan: 1. Launch Brave and go to preferences 2. Change "A new tab shows" to "empty new tab" 3. Open a new tab; notice it's about:blank
- if empty tab, about:newtab returns an empty div - regardless of choice, page is about:newtab (not about:blank) - tests added to reinforce this behavior Auditors: @bbondy, @cezaraugusto
++ thanks! |
@bbondy thanks for checking this out and merging 😊 |
git rebase -i
to squash commits (if needed).includes tests 😄
Fixes #5682
Please note: choosing this option does NOT put focus in the URL bar. Is this OK?
cc: @diracdeltas
Auditors: @bradleyrichter, @bbondy
Test Plan: