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)
Tracking
(tracking-b2g:backlog)
People
(Reporter: sergi, Assigned: sergi)
References
Details
(Whiteboard: P=4)
Attachments
(1 file)
|
46 bytes,
text/x-github-pull-request
|
arcturus
:
review+
fang
:
ui-review-
|
Details | Review |
No description provided.
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → sergi.mansilla
Whiteboard: P=4
Target Milestone: --- → 2.1 S4 (12sep)
| Assignee | ||
Comment 1•11 years ago
|
||
This is a very simple, low-risk fix that improves user experience a lot.
blocking-b2g: --- → 2.1?
| Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8483572 -
Flags: review?(francisco)
Comment 3•11 years ago
|
||
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 5•11 years ago
|
||
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 6•11 years ago
|
||
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-
| Assignee | ||
Comment 7•11 years ago
|
||
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)
Comment 8•11 years ago
|
||
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.
Comment 9•11 years ago
|
||
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
Comment 10•11 years ago
|
||
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 11•11 years ago
|
||
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)
Updated•11 years ago
|
Target Milestone: 2.1 S4 (12sep) → 2.1 S5 (26sep)
Updated•11 years ago
|
QA Whiteboard: [EditRedesign]
Updated•11 years ago
|
Target Milestone: 2.1 S5 (26sep) → 2.1 S6 (10oct)
Comment 12•11 years ago
|
||
We are going to discuss the possibilities in bug 1067310
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•10 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
You need to log in
before you can comment on or make changes to this bug.
Description
•