-
Notifications
You must be signed in to change notification settings - Fork 973
Multiple home page URL #6922
Multiple home page URL #6922
Conversation
There is still one open issue with multiple home pages. If you have multiple URL's with a setting Settings example (you can also set two websites): @bsclifton @bradleyrichter @bbondy What do you think? |
and if we would like to support this officially, then I will add some test's for this features as well |
I think it is reasonable to limit the "new tab" button to the first URL in the series in this case. |
Ok will do it like you suggested, thank you |
@bradleyrichter I would also like to add link to the wiki, where user can see how to set up multiple home pages. I created something like this (it's the same as other pages): but I think it would be better if it would be something like this (icon is a link): Which one do you prefer? |
46f0b12
to
3bbedfb
Compare
Works perfect as per test plan |
3bbedfb
to
790c7bc
Compare
@NejcZdovc The "i" button looks like a great solution. Eventually I want to implement a hover balloon for these info buttons that can bring useful quick info vs opening a new wiki tab. |
Awesome work, @NejcZdovc! 😻
+1 on what Brad suggested 😄 Just the first one @bradleyrichter if we wanted to get real fancy, we could create another issue which could introduce a more user-friendly modal. Something like the Windows 10 environment variables editor (only took them 20+ years to add this sucker in) |
@bsclifton PR is not ready for a review, I still need to add test's, so this can be checked in the future automatically |
@bradleyrichter let me know what you think about the implementation 😄 Once it looks good to you, I'll check out the code @NejcZdovc if you haven't already started, would you mind adding some tests? Thanks! |
@NejcZdovc you beat me to it!! 😛 |
First. I win 🎉 😄 |
790c7bc
to
a3da077
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.
looks good to me!
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.
Tested it out, works great 😄 Good job with the tests too!
Since this is fixing a regression and because it has such greats tests, I think this is a good candidate to pull into 0.13.2 😄 Squashing and merging! |
Resolves brave#6913 Auditors: @bsclifton, @bradleyrichter Test Plan: - set home page url with multiple url's value - home pages should be opened correctly Includes automated tests Also see wiki entry at https://github.com/brave/browser-laptop/wiki/End-User-FAQ#how-to-set-up-multiple-home-pages
0c00964
to
e40840c
Compare
git rebase -i
to squash commits (if needed).Description
Resolves #6913
This problem was introduced with c44b0eb, because
{}
was added as default value toframeOpts
.Auditors
@bsclifton, @bradleyrichter
Test Plan
1 plan:
file:///index.htmlhttps://start.duckduckgo.com/|https://google.com/
2 plan:
https://start.duckduckgo.com/|file:///index.htm|https://google.com/
https://start.duckduckgo.com
)Automated tests
npm run watch-test
npm run unittest -- --grep="multiple homepages"
npm run unittest -- --grep="homepage multiple"