-
Notifications
You must be signed in to change notification settings - Fork 973
Follow-up of #7547 (Update the top panel) #7740
Conversation
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.
Looking better. Think the bottom spacing on the bookmarks seems off if the page indicators are hidden, would suggest:
- Update to have equal spacing between address bar and tabs change
margin-bottom: 5px
tomargin-top: 5px
on.bookmarksToolbar
. - Set
.tabPages
padding topadding: 5px 0 5px
to give space between page indicator and bookmarks bar. - Finally, correct spacing on address bar by setting
margin-top: 7px
instead of1px
and remove theheight: 36px
on.navigatorWrapper
properties.
Updated with some other tweaks, focusing on draggability. Also I updated the test plan in the 1st post. |
Closes #7739 Auditors: Test Plan: Test case 1 1. Clear your profile 2. Start the browser 3. Make sure that the area between the URL bar and the tabs bar is draggable Test case 2 4. Open https://github.com/ 5. Open https://github.com/features 6. Open https://github.com/explore 7. Open https://github.com/pricing 8. Bookmark them 9. Make sure that the area between the bookmarked items and the URL bar is draggable 10. Make sure that the area between the bookmarked items and the tabs bar is draggable Test case 3 11. Open about:preferences#tabs 12. Set the number of tabs per tab set to 6 13. Open several new tabs to create another tab page 14. Change window size to place the tab page indicators under the bookmarked items 15. Make sure that the area between the tab page indicators and the bookmark bar is draggable (the tiny area between the indicators is NOT draggable) 16. Make sure that the area between the tab page indicators and the tabs bar is draggable Test case 4 17. Open about:preferences 18. Change "Text only" to "Text and Favicons" 19. Repeat the step 15 and 16 Test case 5 20. Hide the bookmark toolbar 21. Make sure that the area around the tab page indicators is draggable Test case 6 22. Bookmark several other GitHub pages 23. Open about:preferences 24. Change "Text and Favicons" to "Favicon only" 25. Change window size to place the tab page indicators under the bookmark favicons 26. Repeat the step 15 and 16
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.
I just saw this (image attached)
You can enable the bookmarks toolbar, but it doesn't take up the full space. After dragging an item to it (which is a little trickier, since you have to guess where)... it resizes itself
(edit: because it's a GIF and palette is limited to 256 colors, please ignore the dithering taking place in the image)
Thanks, I'll take a look. |
It is because of the margin-bottom of URL bar, specifically |
See: #7740 (review) Auditors: @bsclifton Test Plan: See the 1st post of the PR (updated)
Updated. It looks hacky a bit and also it is not compatible with Aphrodite for now, still it works better. The modification based on the feedback by @bsclifton is covered with the Test case 2 in the 1st post of this PR, which is also 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.
@NejcZdovc I see the same thing on master as well. |
@luixxiul Can you fix it in this PR as well? |
Sorry, I don't know how to. |
@luixxiul You can try something like this: less/navigationBar.less | 2 --
1 file changed, 2 deletions(-)
diff --git a/less/navigationBar.less b/less/navigationBar.less
index fc6e272..25e1217 100644
--- a/less/navigationBar.less
+++ b/less/navigationBar.less
@@ -725,8 +725,6 @@
&:not(.titleMode) {
> * {
animation: fadeIn .6s;
- opacity: 0;
- animation-fill-mode: forwards;
} |
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.
Changes look good to me! I tried on macOS and Windows. The only feedback I have: on Windows, that area (specified in the test steps) is not draggable. This is because it needs to be right clickable (for the context menu). Windows can't have both. Can you please update the test steps to instead maybe say "try right click on Windows" or similar?
Otherwise, looks great! 😄
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
Closes #7739
Auditors:
Test Plan:
Test case 1 - default status
Test case 2 - text only
4. Open https://github.com/ in a new tab
5. Open https://github.com/features in a new tab
6. Open https://github.com/explore in a new tab
7. Open https://github.com/pricing in a new tab
8. Display the bookmark toolbar
9. Bookmark them by dragging the lock icon on the URL bar to the bookmark toolbar
10. (Not on Windows) Make sure that the area between the bookmarked items and the URL bar is draggable
11. (Not on Windows) Make sure that the area between the bookmarked items and the tabs bar is draggable
Test case 3 - text only with tab sets
12. Open about:preferences#tabs
13. Set the number of tabs per tab set to 6
14. Open several new tabs to create another tab page
15. Narrow the window size to place the tab page indicators under the bookmarked items
16. (Not on Windows) Make sure that the area between the tab page indicators and the bookmark bar is draggable (the tiny area between the indicators is NOT draggable)
17. Make sure that the area between the tab page indicators and the tabs bar is draggable
Test case 4 - text and favicons with tab sets
18. Open about:preferences
19. Change "Text only" to "Text and Favicons"
20. Repeat the step 16 and 17
21. Close several tabs to clear the 2nd tab set
22. (Not on Windows) Make sure that the area around the bookmarks is draggable
Test case 5 - only tab sets
23. Hide the bookmark toolbar
24. Make sure that the area around the tab page indicators is draggable
Test case 6 - favicon only with and without tab sets
25. Bookmark several other GitHub pages
26. Open about:preferences
27. Change "Text and Favicons" to "Favicon only"
28. Change window size to place the tab page indicators under the bookmark favicons
29. Repeat the step 16 and 17
29. Close tabs to clear the 2nd tab set
30. (Not on Windows) Make sure that the area around favicons is draggable
git rebase -i
to squash commits (if needed).Test Plan: