Page MenuHomePhabricator

Loading indicator for more topics (ToC and on page)
Open, MediumPublic1 Estimated Story Points

Description

As a Flow user it is apparent when a Flow board or TOC is loading more content, when it is finished, and when there is no more content to load.

Per MediaWiki.ui card 'Consistent "Load more" animation in core', we should use @Pginer-WMF's pulsing dots instead of the gear icon.

Other related cards


Trello card: tMfu5gzS

Event Timeline

Spage raised the priority of this task from to Medium.Dec 3 2014, 11:30 AM

Here's my understanding.

  • Flow used to show an explicit 'Older topics' link. If you scrolled down to infinite scroll would activate and the API request would trigger the mediawiki.feedback.spinner.gif in the link. On a slow computer I think you would see it animate.
    • We never implemented Kaity's awesome https://trello.com/c/H7EHlNTD which animated the topic switcher indicaor state (expanded, collapsed, small).
  • This changed in the front-end rewrite. No more "Older topics" link (*bug*? we still have the message key flow-paging-fwd). There is a [Load more] button at the bottom, but it's only visible if JS is disabled. (I guess the theory is since JS triggers infinite scroll before you reach the bottom, there's no sense to have an Older topics link since the API request should already be in progress before you click it.) No animation is shown.
  • @shahyarghobadpour 's "J-2d.III Load more revamp and jumpTo support" for https://trello.com/c/CdKLx3ud restored the animation, the comment is *When the load more wrapper is being processed, show the spinning loading icon*. Its CSS rotates the wikiglyph-gear glyph (the "Settings" gear icon).

I'm moving this into the current sprint in case @pauginer wants to make any design tweaks. ContentTranslation uses pulsing dots, I made https://trello.com/c/2u8W6qn8 onMediawiki.ui board

Spage updated the task description. (Show Details)
Spage added a subscriber: Pginer-WMF.

(*bug*? we still have the message key flow-paging-fwd).

Good catch. Fixed in https://gerrit.wikimedia.org/r/#/c/177306/

DannyH renamed this task from L106. Loading indicator for more topics (ToC) to Loading indicator for more topics (ToC).Jan 6 2015, 7:20 PM
DannyH renamed this task from Loading indicator for more topics (ToC) to Loading indicator for more topics (ToC v2).Jan 9 2015, 12:45 AM
DannyH renamed this task from Loading indicator for more topics (ToC v2) to Loading indicator for more topics (ToC and on page).Jan 9 2015, 7:44 PM
DannyH renamed this task from Loading indicator for more topics (ToC and on page) to [1] Loading indicator for more topics (ToC and on page).
Mattflaschen-WMF renamed this task from [1] Loading indicator for more topics (ToC and on page) to Loading indicator for more topics (ToC and on page).Feb 2 2015, 8:02 PM
Mattflaschen-WMF edited a custom field.

Change 517367 had a related patch set uploaded (by VolkerE; owner: VolkerE):
[mediawiki/extensions/Flow@master] Standardize loading indicator appearance

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