-
Notifications
You must be signed in to change notification settings - Fork 970
Conversation
0afe77d
to
bc15bcf
Compare
bc15bcf
to
b0ff105
Compare
Codecov Report
@@ Coverage Diff @@
## master #12565 +/- ##
==========================================
+ Coverage 56.53% 56.58% +0.04%
==========================================
Files 284 284
Lines 28710 28658 -52
Branches 4748 4740 -8
==========================================
- Hits 16232 16215 -17
+ Misses 12478 12443 -35
|
90af2ba
to
98a792a
Compare
8d53d54
to
c825159
Compare
This is ready for review again @cezaraugusto @bsclifton! I've updated the description with some additional optimizations. I'm ready to draw a line under this set of enhancements and get it in to a release (targeted for 0.22). Thanks! |
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.
THIS LOOKS AND FEELS FANTASTIC I'D REVIEW IT 100000x
merged with confidence ® |
cc @petemill I'm having some conflicts while cherry-picking against 0.23.x/0.22.x mind doing it? |
@cezaraugusto thanks! I may have to do the merge 0.22 because the aphrodite stuff is in 0.23 probably! |
@cezaraugusto same thoughts! |
Tab style updates x 8
@petemill A user asked if we could reduce the blend fade timing when returning from the preview to the current tab? I agree it could be shorter. |
@bradleyrichter the content area fade is timed to be the same timing as the Tab element returning to normal (non-preview), which itself is timed to be the same as the hover color returning when preview has not been activated. I took these timings from hovering over the Tabs of ...another browser... which felt good, and I did already decrease them quite a bit because of our more exaggerated preview movement. But perhaps we can have a quicker content-area fade back to current tab's content, and not synchronize with the tab animation timings, especially since we don't cross-fade the tab content anyway (yet). |
@petemill Yes. Perfect. Please try reducing only the page fade-out to current tab by 50% of current. The rest feels good as is. |
@bradleyrichter sounds good, I'll have to do it in another PR since this is merged. Will create one for the combined tweaks. |
1. Tab / Top Nav updated colors 🎨
A small iteration towards new styles including:
painstakinglyperfectly alignedWas (0.20)
Now
Note: exact style has been tweaked via design team since this screenshot.
2. Tab title text gets sub-pixel antialiasing 🔍
The tab title text was being forced to be rendered on a GPU layer. This is useful when performing transformations, but this was occuring even when the tab is static. Using the GPU has a slight hit to text rendering quality since it cannot use sub-pixel antialiasing, whereas CPU rendering can.
These are not great representations. I recommend using the zoom function of Mac / Windows, or taking a screenshot and magnifying in order to validate:
Was
Now
3. Preview mode tab style 📑
Fix #12454
Closes #2869
Makes it more apparent that the tab is doing something out of context - being previewed and not being made active - by providing a transition as if the tab were 'pulled out' for special inspection.
Also adds more of a style to the frame itself, to reduce user-confusion that the frame is active, and not simply a preview.
Cross-fade of frame content was implemented (and awesome), but removed due to performance / low animation framerate.
This can be fixed and re-implemented with single-webview, which will require a
different css architecture for this potential feature anyway.
The tab animation itself is sometimes not as smooth as I'd like. That is also caused by multiple webviews hiding and showing, and could be revisited after single-webview.
Note: exact style has been tweaked via design team since this screenshot.
4. Tighten up transitions 🔧
Including:
luxuriouslyslowly 🐌5. Adjust filter for favicons on dark themed tabs 🌫
This was causing big issues for some favicons which. We experimented with a bunch of different blends at https://codepen.io/petemill/pen/XVovva
Fix #12722
Was
Now
6. Tab gradient background transition fix (overflow text) 💨
Fix #12721 (Tab background gradient visible when switching tabs)
Fix #11249 (Tab color has weird fade in paint effect when switching)
A regression introduced with 0.20.x
Was (slowed down to 10% speed)
Now
Note that the background transition has mostly been removed as part of this PR anyway, since active tab style change should be instant, just like the content
7. Tab Close Button style ✖️
8. Remove transparency from theme color 🔵
Fix #12803
Was:
Now:
Submitter Checklist:
git rebase -i
to squash commits (if needed).Test Plan:
Confirm visuals as above. Note that some minor tweaks have been made since the above screenshots were taken, through iterations with design/product team members.
Reviewer Checklist:
Tests