Closed
Bug 1194622
Opened 9 years ago
Closed 9 years ago
Provide indication of loading when waiting for the room list
Categories
(Hello (Loop) :: Client, defect, P1)
Hello (Loop)
Client
Tracking
(firefox43 fixed)
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: standard8, Assigned: Mardak)
References
Details
(Whiteboard: [waiting on bug 1192372])
Attachments
(5 files, 6 obsolete files)
(deleted),
image/svg+xml
|
Details | |
(deleted),
video/webm
|
Details | |
(deleted),
video/webm
|
Details | |
(deleted),
patch
|
standard8
:
review+
|
Details | Diff | Splinter Review |
(deleted),
image/png
|
sevaan
:
ui-review+
|
Details |
Following bug 1183638, whilst we're initially loading the room list, we'll be displaying "No conversations" - I think we did before then, but its more obvious now.
We should come up with some UX, either a spinner or something to make it clear that loading is in progress (in the future, this could also lead into a warning of having trouble connecting if the network is down).
Comment 1•9 years ago
|
||
Michael, what spinner could we use in this scenario?
Flags: needinfo?(mmaslaney)
Updated•9 years ago
|
Rank: 5
Priority: -- → P1
Comment 2•9 years ago
|
||
sevaan following up with michael on where the location is for content. adam looking to see
Flags: needinfo?(sfranks)
Flags: needinfo?(adam)
Updated•9 years ago
|
Rank: 5 → 15
Updated•9 years ago
|
Assignee: nobody → standard8
Comment 3•9 years ago
|
||
:abr found this spinner. What do you think, Mike?
chrome://browser/skin/tabbrowser/loading@2x.png
(Screenshot: http://i.sevaan.com/image/250d2w2e3m24)
Is it too small?
Flags: needinfo?(sfranks)
Flags: needinfo?(adam)
Working on a custom spinner for Hello. Expect it within the next day.
Flags: needinfo?(mmaslaney)
Comment 7•9 years ago
|
||
(In reply to Michael Maslaney [:mmaslaney] (mmaslaney@mozilla.com) from comment #5)
> Created attachment 8652992 [details]
> FX_Hello-glyph-spinner-16x16.svg
Looking at the SVG source, there don't appear to be any animation-related elements. Can you check that you exported it correctly?
Flags: needinfo?(mmaslaney)
Comment 8•9 years ago
|
||
Here's my attempt to add animate tags to the spinner manually.
Comment 9•9 years ago
|
||
Ugh. Messed up the math on that one. This should look smoother.
Attachment #8653568 -
Attachment is obsolete: true
Comment 10•9 years ago
|
||
Comment on attachment 8653575 [details]
animated-spinner.svg
Looks awesome.
Attachment #8653575 -
Flags: ui-review+
LOVE.
Flags: needinfo?(mmaslaney)
Assignee | ||
Comment 12•9 years ago
|
||
I'm assuming the begin="0.78" should be changed to begin="0.78s" to match the other begin= attributes.
> <animate attributeType="CSS" attributeName="opacity" from="1.0" to="0.15" dur="0.96s" repeatCount="indefinite" begin="0.70s"/>
>- <animate attributeType="CSS" attributeName="opacity" from="1.0" to="0.15" dur="0.96s" repeatCount="indefinite" begin="0.78"/>
>+ <animate attributeType="CSS" attributeName="opacity" from="1.0" to="0.15" dur="0.96s" repeatCount="indefinite" begin="0.78s"/>
> <animate attributeType="CSS" attributeName="opacity" from="1.0" to="0.15" dur="0.96s" repeatCount="indefinite" begin="0.86s"/>
Assignee: standard8 → edilee
Attachment #8652992 -
Attachment is obsolete: true
Attachment #8653575 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Assignee | ||
Comment 13•9 years ago
|
||
Some reason the animated svg doesn't get animated in the panel.
Assignee | ||
Comment 14•9 years ago
|
||
Assignee | ||
Comment 15•9 years ago
|
||
How large should the spinner be? And there should be no create room button because it would be disabled anyway? Or show it as disabled?
Attachment #8655837 -
Flags: ui-review?(sfranks)
Assignee | ||
Comment 16•9 years ago
|
||
Some reason I feel that I needed to work around svg animations in xul before... Using html img works fine for animation.
Attachment #8655826 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Attachment #8655837 -
Attachment description: v1 → v1 screenshot
Assignee | ||
Comment 17•9 years ago
|
||
Looks like react might be getting state/props changes that result in a new img being used resulting in the animation restarting. Probably need to use some key="" to get it to reuse the element.
Reporter | ||
Comment 18•9 years ago
|
||
(In reply to Ed Lee :Mardak from comment #16)
> Some reason I feel that I needed to work around svg animations in xul
> before... Using html img works fine for animation.
Maybe there's something that needs tweaking for an about: page? Given we're running in content mode with html, we shouldn't be affected.
One thought: could the svg be making extra "network" requests to make the animation work? iirc we have a general issue with not being able to do loads of chrome uris outside of the initial load/css.
Assignee | ||
Comment 19•9 years ago
|
||
abr found bug 1008598. This doesn't actually depend on that bug as we'll just use a plain image instead of a background image.
Depends on: 1008598
Comment 20•9 years ago
|
||
Comment on attachment 8655837 [details]
v1 screenshot
(In reply to Ed Lee :Mardak from comment #15)
> Created attachment 8655837 [details]
> v1 screenshot
>
> How large should the spinner be? And there should be no create room button
> because it would be disabled anyway? Or show it as disabled?
Let's make the spinner 66px, and I think we can keep the context/start a conversation button and just disabled them. That way the transition from spinner to the no-conversations UI won't be so startling.
http://i.sevaan.com/image/3X1h3G2A2C0a
Attachment #8655837 -
Flags: ui-review?(sfranks) → ui-review-
Assignee | ||
Comment 21•9 years ago
|
||
Attachment #8655838 -
Attachment is obsolete: true
Attachment #8656450 -
Flags: review?(standard8)
Assignee | ||
Comment 22•9 years ago
|
||
Attachment #8655837 -
Attachment is obsolete: true
Comment 23•9 years ago
|
||
Comment on attachment 8656451 [details]
v2 screenshot
+r for layout...Michael, the blue seems different to the other blues used here. Is that something for us to be concerned about now, or will we be changing blues slightly after in order to better align with the other panels?
Flags: needinfo?(mmaslaney)
Attachment #8656451 -
Flags: ui-review+
Assignee | ||
Updated•9 years ago
|
Iteration: --- → 43.2 - Sep 7
Assignee | ||
Updated•9 years ago
|
Flags: firefox-backlog+
Reporter | ||
Comment 24•9 years ago
|
||
Comment on attachment 8656450 [details] [diff] [review]
v2
Review of attachment 8656450 [details] [diff] [review]:
-----------------------------------------------------------------
Looks much nicer. r=Standard8 with the comment fixed.
::: browser/components/loop/content/css/panel.css
@@ +297,5 @@
> + margin: 5rem 15px;
> + text-align: center;
> +}
> +
> +.room-list-loading img {
Please can you use a child selector here - they have better performance than descendant selectors.
Attachment #8656450 -
Flags: review?(standard8) → review+
Assignee | ||
Comment 25•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/466847c2206cbfb6dc4c287d16e910cd93a99d87
Bug 1194622 - Provide indication of loading when waiting for the room list [r=Standard8]
Comment 26•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Updated•9 years ago
|
QA Contact: bogdan.maris
Updated•9 years ago
|
Flags: needinfo?(mmaslaney)
You need to log in
before you can comment on or make changes to this bug.
Description
•