Closed
Bug 1163695
Opened 9 years ago
Closed 9 years ago
Improve tab tray animations to match UX mocks
Categories
(Firefox for iOS :: Theme & Visual Design, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
fennec | + | --- |
People
(Reporter: dhenein, Assigned: sleroux)
References
Details
(Whiteboard: noteworthy)
Attachments
(1 file, 1 obsolete file)
This transition is still choppy and with deltas from the designed animation. It is central to the experience so want to track remaining refinements here. I have a WIP branch that can be used here: https://github.com/darrinhenein/firefox-ios/tree/TabTrayUIPolish
Comment 1•9 years ago
|
||
Steven is going to grab this branch and get it landed for you.
Assignee: nobody → sleroux
tracking-fennec: ? → +
Assignee | ||
Comment 2•9 years ago
|
||
Pushed up some of the work I've been doing to port in Darrin's animation changes and TabTrayController refactor. I've refactored a lot of it and wouldn't mind some feedback what I'm doing so far.
Attachment #8607885 -
Flags: feedback?(wjohnston)
Attachment #8607885 -
Flags: feedback?(sarentz)
Comment 3•9 years ago
|
||
Comment on attachment 8607885 [details] [review]
PR https://github.com/mozilla/firefox-ios/pull/475
Put a couple questions in the PR. I like the lazy vars a lot (and this code needed a good cleanup, so thanks. I will no longer have to be embarrassed when I see CustomCell).
I'm curious about the why we need to snapshot the collectionview and hopeful we can actually make the urlBar/BrowserToolbar animation a little less heavy (but any fix should help the animation a lot).
Attachment #8607885 -
Flags: feedback?(wjohnston) → feedback+
Assignee | ||
Comment 4•9 years ago
|
||
Hey Wes, thanks a lot for checking that PR out. I really liked the lazy pattern. Glad you found it nice as well. I've been doing some work on this branch today and made the following realizations:
1. Having the URLBarView/Toolbar as part of the TabContentView is causing the animation to be really sluggish. I ended up removing them and currently trying to get the transforms working from the BVC.
2. Moved the frame layout code in the TabContentView back to autolayout since that wasn't where the performance issues were.
3. Trying to tackle getting the CALayer transforms working with the BVC :( I might put a pause on this branch and visit the URLBarView. I'm seeing issues transforming this during the animation because it has the status bar built into it (related to https://bugzilla.mozilla.org/show_bug.cgi?id=1164897)
Comment 5•9 years ago
|
||
Comment on attachment 8607885 [details] [review]
PR https://github.com/mozilla/firefox-ios/pull/475
Looks good to me!
Attachment #8607885 -
Flags: feedback?(sarentz) → feedback+
Assignee | ||
Updated•9 years ago
|
Attachment #8607885 -
Flags: review?(wjohnston)
Attachment #8607885 -
Flags: review?(dhenein)
Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8607885 [details] [review]
PR https://github.com/mozilla/firefox-ios/pull/475
Going to mark this patch as obsolete and break apart the refactoring from the animation changes.
Attachment #8607885 -
Attachment is obsolete: true
Attachment #8607885 -
Flags: review?(wjohnston)
Attachment #8607885 -
Flags: review?(dhenein)
Assignee | ||
Comment 7•9 years ago
|
||
Ported over the animation code from darrin's branch
Attachment #8612354 -
Flags: review?(sarentz)
Attachment #8612354 -
Flags: review?(dhenein)
Comment 8•9 years ago
|
||
Comment on attachment 8612354 [details] [review]
PR https://github.com/mozilla/firefox-ios/pull/516
Code LGTM. I played with this on an iPad Mini and iPhone 6. Did not notice anything odd. Will leave visual check to Darrin.
Attachment #8612354 -
Flags: review?(sarentz) → review+
Reporter | ||
Comment 9•9 years ago
|
||
Comment on attachment 8612354 [details] [review]
PR https://github.com/mozilla/firefox-ios/pull/516
This feels GREAT. Much improved over what we have currently. Ship it!
Attachment #8612354 -
Flags: review?(dhenein) → review+
Assignee | ||
Comment 10•9 years ago
|
||
Merged.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•9 years ago
|
Whiteboard: noteworthy
You need to log in
before you can comment on or make changes to this bug.
Description
•