Closed Bug 859259 Opened 13 years ago Closed 13 years ago

[Transitions. UX] Implement task switching transitions as specified.

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

x86
macOS
defect
Not set
normal

Tracking

(blocking-b2g:leo+, b2g18 fixed)

RESOLVED FIXED
blocking-b2g leo+
Tracking Status
b2g18 --- fixed

People

(Reporter: vicky, Assigned: crdlc)

References

Details

(Whiteboard: interaction, UX-P1, [TEF_REQ])

Attachments

(2 files)

When triggering and overlay, this should come from the bottom to top. Please refer to specs: https://www.dropbox.com/sh/ekzrrz7um4uj6y0/NVzqB1D4hx/03%20Transitions TransitionsVXX.pdf (latest version) Please refer to CSS transition here: http://buildingfirefoxos.com/transitions/task-switching/ Lack of Transitions affect the experience. Required for TEF build. Transitions a key feature to give the user a clue of the architecture of the OS and how to navigate it.
Blocks: 834649
Whiteboard: interaction, UX-P1, [TEF_REQ]
Assignee: nobody → crdlc
Status: NEW → ASSIGNED
Attached file Patch v1
Main goals: * Implementation of the specification (after uploading this patch I gonna to upload a demo video) * We just fetch background images when the cards are on the viewport. It means that when we enter in the task switcher, only two cards are loaded. So the start up time is less * All cards out the screen define their display to 'none'. This idea has been taken from homescreen grid implementation so the memory is released instead of having all cards loaded on memory
Attachment #736289 - Flags: review?(21)
Attachment #736289 - Flags: feedback?(arnau)
Attached video Demo
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Hi, I don't understand anything :) Did you take my branch, opened other pr from your repository with my code and merged? The pr is this [1] and it is different to yours finally merged. Could you explain me it? It is very weird. Thanks [1] https://github.com/mozilla-b2g/gaia/pull/9117
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Hi again Vivien, I reverted your commit because while you were checking out my branch, I did some suggestions provided by UX so finally I reverted your merge and I merged my pr. I guess that you don't have problems with it. If I am wrong, please tell me. Thanks https://github.com/mozilla-b2g/gaia/commit/fa79f2f1101dd904dbda67478ce4e0c336bcd73d
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
I understood the issue :) Vivien tried to help me resolving a conflict, but while he was resolving the conflict and merging, I was updating my branch with some suggestions from UX jejej. Thanks for you work Vivien!! Sorry because we didn't have synchronization
Blocks: 863647
should this go to v1-train ?
Blocks: 861846
Flags: needinfo?(crdlc)
Maria, do you have more info? AFAIK it is being discussed right now Julien
Flags: needinfo?(crdlc) → needinfo?(oteo)
It sounds like this blocks https://bugzilla.mozilla.org/show_bug.cgi?id=861846 on v1-train?
blocking-b2g: --- → leo?
Agreed with Jsmes. Let's go for it, besides this improvement in task switcher transitions is great to have in v1-train (confirmed with Jaime Cheng and Josh Carpenter that we should uplift it)
Flags: needinfo?(oteo)
Triage agrees to leo+ as the improvement is great and bug 861846 also depends on this.
blocking-b2g: leo? → leo+
note that we'll probably have follow-ups about that (I've seen some strange behaviour myself) so we need to have QA test this thoroughly once it's uplifted so that we address the strange behaviours as early as possible. I don't want that we fix this 10 days before the release :)
I was not able to uplift this bug to v1-train. If this bug has dependencies which are not marked in this bug, please comment on this bug. If this bug depends on patches that aren't approved for v1-train, we need to re-evaluate the approval. Otherwise, if this is just a merge conflict, you might be able to resolve it with: git checkout v1-train git cherry-pick -x -m1 fa79f2f1101dd904dbda67478ce4e0c336bcd73d <RESOLVE MERGE CONFLICTS> git commit
There is some thing wrong in the patch. + function onMoveEventForDeleting(evt, deltaY) { + var dy = deltaY | initialTouchPosition[1] - + (evt.touches ? evt.touches[0].pageY : evt.pageY); + evt.target.style.MozTransform = 'scale(' + CC_SCALE + + ') translateY(-' + dy + 'px)'; //here + } when dy = -xxx, translateY would get an invalid value such as translateY(--xxx). Here are the log we got: E/GeckoConsole( 105): [JavaScript Warning: "Error in parsing value for '-moz-transform'. Declaration dropped." {file: "app://system.gaiamobile.org/index.html" line: 0 column: 29 source: "scale(0.8) translateY(--163px)"}] E/GeckoConsole( 105): [JavaScript Warning: "Error in parsing value for '-moz-transform'. Declaration dropped." {file: "app://system.gaiamobile.org/index.html" line: 0 column: 29 source: "scale(0.8) translateY(--163px)"}] E/GeckoConsole( 105): [JavaScript Warning: "Error in parsing value for '-moz-transform'. Declaration dropped." {file: "app://system.gaiamobile.org/index.html" line: 0 column: 29 source: "scale(0.8) translateY(--163px)"}] E/GeckoConsole( 105): [JavaScript Warning: "Error in parsing value for '-moz-transform'. Declaration dropped." {file: "app://system.gaiamobile.org/index.html" line: 0 column: 29 source: "scale(0.8) translateY(--164px)"}] E/GeckoConsole( 105): [JavaScript Warning: "Error in parsing value for '-moz-transform'. Declaration dropped." {file: "app://system.gaiamobile.org/index.html" line: 0 column: 29 source: "scale(0.8) translateY(--166px)"}] E/GeckoConsole( 105): [JavaScript Warning: "Error in parsing value for '-moz-transform'. Declaration dropped." {file: "app://system.gaiamobile.org/index.html" line: 0 column: 29 source: "scale(0.8) translateY(--166px)"}] E/GeckoConsole( 105): [JavaScript Warning: "Error in parsing value for '-moz-transform'. Declaration dropped." {file: "app://system.gaiamobile.org/index.html" line: 0 column: 29 source: "scale(0.8) translateY(--167px)"}] E/GeckoConsole( 105): [JavaScript Warning: "Error in parsing value for '-moz-transform'. Declaration
Dear ying.xu, I think you're right, but please file a new bug for this. Put this bug in the "blocks" line for the new bug :)
Depends on: 927768
(In reply to Julien Wajsberg [:julienw] from comment #17) > Dear ying.xu, I think you're right, but please file a new bug for this. > > Put this bug in the "blocks" line for the new bug :) New bug: https://bugzilla.mozilla.org/show_bug.cgi?id=927768
Comment on attachment 736289 [details] Patch v1 Clearing feedback as is an old patch
Attachment #736289 - Flags: feedback?(arnau) → feedback+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: