Last modified: 2014-06-12 01:31:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67599, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65599 - indeterminate loader graphic should not be displayed when watchlisting or watchlisting
indeterminate loader graphic should not be displayed when watchlisting or wat...
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
Feature requests (Other open bugs)
unspecified
All All
: Normal enhancement
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-21 20:18 UTC by Jared Zimmerman (WMF)
Modified: 2014-06-12 01:31 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
shows issue with indeterminate loader graphic (137.68 KB, video/quicktime)
2014-05-21 20:20 UTC, Jared Zimmerman (WMF)
Details
Possible animation for watch and unwatch article (83.52 KB, video/x-ms-wmv)
2014-05-22 07:05 UTC, Florian
Details

Description Jared Zimmerman (WMF) 2014-05-21 20:18:30 UTC
when watchlisting and watchlisting a page, an indeterminate loader graphic is shown when it is unnesseary
Comment 1 Bingle 2014-05-21 20:20:21 UTC
Prioritization and scheduling of this bug is tracked on Trello card https://trello.com/c/lF4IBxYp
Comment 2 Jared Zimmerman (WMF) 2014-05-21 20:20:36 UTC
Created attachment 15451 [details]
shows issue with indeterminate loader graphic
Comment 3 Jon 2014-05-21 20:54:12 UTC
Why is this unnecessary?  The action contacts the server to watch the article and on a poor connection this might take some time. It needs to do /something/.

The animation only shows when the action has been successful.
Also you need some kind of feedback to show the action has been received.

Also what happens in the following situations?:
1)the action doesn't succeed (e.g. dropped connection) and the user tries to navigate away from the page?
2) the watch fails e.g. due to an authentication error - does it stay solid / change back?
Comment 4 Jon 2014-05-21 20:54:43 UTC
(I'm sure there is a better solution then a loader graphic but we do need /something/ whatever that might be.)
Comment 5 Jared Zimmerman (WMF) 2014-05-21 21:26:13 UTC
Can we trigger the state change, and only show a toaster if there is a failure or success?
Comment 6 Ryan Kaldari 2014-05-21 21:52:38 UTC
I agree that having a spinner for the spinner is pretty silly. Could we start the star spinning as soon as someone clicks it and then have it stop once the API request is finished?
Comment 7 Jared Zimmerman (WMF) 2014-05-21 21:54:56 UTC
I think thats one option, but also might feel a little weird. tying the success or failure to the message in the toast message feels pretty natural, but doesn't solve for times when its taking a while, unless we add a toaster "it's taking a while, hang in there"
Comment 8 Florian 2014-05-22 07:05:42 UTC
Created attachment 15456 [details]
Possible animation for watch and unwatch article
Comment 9 Florian 2014-05-22 07:08:06 UTC
I think too, that a seperate loading image isn't the right, but like Jon said, something the element must do, when clicked. Maybe only a simple spin like in my attached video? Maybe the spin of watched and unwatched can removed then. If i think forward, maybe we can do an extension-global css class spin for spinning elements and remove the gif of loading image (use spin class and static image instead).
Comment 10 Juliusz Gonera 2014-05-23 14:40:20 UTC
The star should keep spinning until it's watched/unwatched in my opinion. In my opinion, this is not a bug though, it stayed this way because it's trickier to do and previously there were no animations.
Comment 11 Florian 2014-05-26 14:58:08 UTC
> because it's trickier to do and previously there were no animations
That's what i mean with a new css class providing this spin animation. Then in js simply add this class to the element and it's spinning :)
Comment 12 Gerrit Notification Bot 2014-06-04 00:23:38 UTC
Change 137233 had a related patch set uploaded by Jdlrobson:
POC: Don't show spinner whilst watchign a page

https://gerrit.wikimedia.org/r/137233
Comment 13 Gerrit Notification Bot 2014-06-12 01:01:02 UTC
Change 137233 merged by jenkins-bot:
Don't show spinner whilst watching a page

https://gerrit.wikimedia.org/r/137233

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links