Closed
Bug 1322158
Opened 9 years ago
Closed 9 years ago
Slide info panel onscreen during initial job selection
Categories
(Tree Management :: Treeherder, enhancement, P3)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jfrench, Assigned: jfrench)
Details
Attachments
(1 file)
I've thought about this for some time, but I pose we could improve the UI of the info panel with a reveal animation during initial job selection, which:
o reduces the current jarring UX where it just appears
o provides more clarity it sits atop the job tables
o provides an additional visual cue it's movable and can be adjusted
I think this another case where an animation isn't gimmicky but is instead a nice improvement. I've already done it locally, so I'll put up a PR for folks to try out.
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → tojonmz
Status: NEW → ASSIGNED
Comment 1•9 years ago
|
||
| Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8816917 [details] [review]
[treeherder] tojon:info-panel-anim > mozilla:master
For review and testing at your leisure :)
Attachment #8816917 -
Flags: review?(wlachance)
| Assignee | ||
Comment 3•9 years ago
|
||
Also available now on my GitHub pages
https://tojon.github.io/treeherder/ui
Comment 4•9 years ago
|
||
Comment on attachment 8816917 [details] [review]
[treeherder] tojon:info-panel-anim > mozilla:master
I feel somewhat unqualified to review this, but on the surface this seems nice. I would be inclined to reduce the speed of the animation somewhat.
Pinging :davidwalsh (who is interested in front end stuff and doing more with treeherder these days) for an additional opinion.
Attachment #8816917 -
Flags: review?(wlachance)
Attachment #8816917 -
Flags: review+
Attachment #8816917 -
Flags: feedback?(dwalsh)
| Assignee | ||
Comment 5•9 years ago
|
||
Ya, I experimented with different speeds from 1s to 0.3s but chose something crisp at 0.4 which would not be perceived as a slowdown, particularly by heavy users. But whatever you guys like :)
One thing I see on the github page is that the background in the space that will be covered by the panel gets whited out long before the panel actually slides up into that space. Might just be slower graphics on my travel laptop, but is there any way to leave the push info in view until the panel takes up that space?
| Assignee | ||
Comment 7•9 years ago
|
||
Interesting. I see that also, if I look really closely on my own laptop (3yr old MBP, GeForce GT750M). But it's so fast/fleeting I didn't notice it until you mentioned it.
I had tried various approaches earlier to optimize the slide so it's smooth; I needed to keep the 35% height property on the main div#infopanel css iirc. I could poke around some more.
| Assignee | ||
Comment 8•9 years ago
|
||
Out of interest I tried using angular to apply the animation css instead of jquery, the background job table area still 'blanks' briefly at the beginning of the animation. Still looking.
| Assignee | ||
Comment 9•9 years ago
|
||
I had a look on S.O. but there wasn't anything that stuck out. The closest I could find was this very old one regarding a flicker issue mostly on other browsers. Setting it on the container or the parent container in our case did not make any difference on any browser.
http://stackoverflow.com/questions/3461441/prevent-flicker-on-webkit-transition-of-webkit-transform
I've also been digging around to see if there are any angular or flexbox specific causes.
Updated•9 years ago
|
Attachment #8816917 -
Flags: feedback?(dwalsh) → feedback+
| Assignee | ||
Comment 10•9 years ago
|
||
I haven't found any techniques in S.O. or elsewhere stopping the brief lower blank page area when the animation gets triggered. I ping'd camd in channel and he said he'd have a look at it also. You can find my working gh-pages in comment#3 to see the behavior, and/or run my branch. Thanks!
Flags: needinfo?(cdawson)
Comment 11•9 years ago
|
||
This looks good to me. It seems the right balance of speed and beauty. :) I wouldn't worry about the brief blank area at the bottom. I don't think it detracts (IMO). Nice work!
Flags: needinfo?(cdawson)
Yeah, I think you've spent enough time trying to get rid of the blanking. I wouldn't worry about it if it's that difficult to eliminate.
Comment 13•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/bebcaf94a3ced40088179f9d032ff628a6cc37c4
Bug 1322158 - Slide info panel onscreen during job selection (#2020)
| Assignee | ||
Comment 14•9 years ago
|
||
Marking fixed per above merge.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•