Closed Bug 1061504 Opened 11 years ago Closed 11 years ago

Add/Delete icon animation to fields in contact form

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(tracking-b2g:backlog)

RESOLVED DUPLICATE of bug 1067310
2.1 S6 (10oct)
tracking-b2g backlog

People

(Reporter: sergi, Assigned: sergi)

References

Details

(Whiteboard: P=4)

Attachments

(1 file)

No description provided.
Assignee: nobody → sergi.mansilla
Whiteboard: P=4
Target Milestone: --- → 2.1 S4 (12sep)
This is a very simple, low-risk fix that improves user experience a lot.
blocking-b2g: --- → 2.1?
Attached file Github PR
Attachment #8483572 - Flags: review?(francisco)
triage: major issue to new feature "contacts form redesign". Functionality-wise it works properly, but this fix(polish) is must-have to make the feature shiny.
blocking-b2g: 2.1? → 2.1+
Comment on attachment 8483572 [details] [review] Github PR Left a couple of ni in the PR, but here is Fang who should give us the ok according to her specification: https://www.dropbox.com/s/z9tzu22ogu502bs/Add_Contact_Transition.mov?dl=0
Attachment #8483572 - Flags: ui-review?(fshih)
Attachment #8483572 - Flags: review?(francisco)
Attachment #8483572 - Flags: review+
Comment on attachment 8483572 [details] [review] Github PR Thanks for the work. I was wondering can we fix the problem of image overlapping the button. Cause right now is kind of hard to see the button animation from this patch. For the extending box, we hope to have something that looks like it extended out directly from the button. Thanks!
Attachment #8483572 - Flags: ui-review?(fshih) → ui-review-
Comment on attachment 8483572 [details] [review] Github PR Hi Fang, the overlapping button issue has been resolved. Asking Cristian for some feedback on CSS implementation.
Attachment #8483572 - Flags: feedback?(crdlc)
Honestly I don't have the magic wand for this because the animation is complex and I guess this should be analyzed deeper. Some details: The animation for the template could be a something like this instead of playing with height (according to video): .field-template { max-height: 50rem; transform: scale(0); transform-origin: left top; transition: transform 0.4s ease; } .field-template.grown { transform: scale(1); } Although the button should live outside template perhaps in order not to be scaled... Also I would re-implement this: setTimeout(function() { elem.parentNode.removeChild(elem); }, 400); -> elem.addEventListener('transitionend', () => { elem.parentNode.removeChild(elem); }); Another idea would be to scale from 1 to 0 or viceversa instead of using opacity to hide buttons. AFAIK the opacity changes are not accelerated properly at least when I did stuffs in the old home screen.
and maybe we could change icons (from plus to cross) once rotated the icon at the same time that the template is scaling. Both transitions of .4s
Triage group reviewed - polish bugs cannot hold back an entire release from shipping. Please review the blocking criteria at https://wiki.mozilla.org/B2G/Triage#Blocker_Triage_Guidelines to understand what constitutes a blocker. 2.1 is open for approved landings, so request approval from Fabrice or Bhavana in order to land this if it's fixed in time!
blocking-b2g: 2.1+ → backlog
Comment on attachment 8483572 [details] [review] Github PR I gave my comments in the thread. If you address something please ask me again, thanks
Attachment #8483572 - Flags: feedback?(crdlc)
Target Milestone: 2.1 S4 (12sep) → 2.1 S5 (26sep)
Depends on: 1067310
No longer depends on: 1067310
QA Whiteboard: [EditRedesign]
Target Milestone: 2.1 S5 (26sep) → 2.1 S6 (10oct)
Blocks: 1069288
We are going to discuss the possibilities in bug 1067310
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
blocking-b2g: backlog → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: