[Dash] [design] Scopes should have a pull-to-refresh functionality
Bug #1368336 reported by
Michał Sawicz
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UX |
Fix Released
|
Critical
|
James Mulholland | ||
unity-scopes-shell (Ubuntu) |
Opinion
|
Undecided
|
Unassigned | ||
unity8 (Ubuntu) |
Fix Released
|
Critical
|
Michael Terry |
Bug Description
It should be possible to use the SDK's pull-to-refresh functionality in the dash. I've yet to find out how it works there, it's likely that we'll need to rewrite it in our dash listview.
Related branches
lp:~mterry/unity8/pull-to-refresh-scope
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Albert Astals Cid (community): Approve
- James Mulholland: Pending requested
-
Diff: 237 lines (+153/-4)6 files modifiedpo/unity8.pot (+10/-2)
qml/Dash/GenericScopeView.qml (+36/-1)
qml/Dash/PullToRefreshScopeStyle.qml (+82/-0)
tests/mocks/Unity/fake_scope.cpp (+1/-1)
tests/mocks/Unity/fake_scope.h (+3/-0)
tests/qmltests/Dash/tst_GenericScopeView.qml (+21/-0)
tags: | added: rtm14 |
summary: |
- Scopes should have a pull-to-refresh functionality + [Dash] [design] Scopes should have a pull-to-refresh functionality |
Changed in ubuntu-ux: | |
assignee: | nobody → James Mulholland (jamesjosephmulholland) |
Changed in ubuntu-ux: | |
status: | New → Confirmed |
Changed in unity8 (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in unity8 (Ubuntu): | |
assignee: | nobody → Albert Astals Cid (aacid) |
tags: | added: touch-2014-10-30 |
Changed in ubuntu-ux: | |
status: | Confirmed → Fix Committed |
Changed in ubuntu-ux: | |
importance: | Undecided → Critical |
tags: |
added: touch-2014-10-16 removed: touch-2014-10-30 |
Changed in unity-scopes-shell (Ubuntu): | |
status: | New → Opinion |
Changed in unity8 (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in ubuntu-ux: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Function:
Refreshes the content of the scope/feed (checks for new content & updates scope/feed content as required when new content is available)
User input & visual feedback:
1. Beginning the swipe-down should reveal an expanded Suru bar area (beneath the pagination markers for scopes/feeds that are part of the Dash) as per current build. Newly revealed expanded Suru bar area should contain the instruction - "Pull down to refresh".
2.At the limit of the down-swipe (before swipe reaches bottom edge of display area and when the 'hidden' portion of the Suru bar beneath the pagination markers is entirely revealed), instruction text should change to read- "Release to refresh".
(Allowing the user to reverse the swipe direction in order to abandon the action before refreshing)
3. On releasing, instruction text should be replaced with an activity indicator which animates while the scope/feed source is polled. (Activity indicator can be seen on Page 28, Section 10.2 of the U.I components doc found here: https:/ /docs.google. com/a/canonical .com/document/ d/1nFm8xiYhKXXu EO_IvMXoD0lASbY zYXva1BWMVanU3i w/edit? pli=1#)
4. Expanded Suru bar remains partially open while source is polled and activity indicator animation plays, when polling is complete then either:
- New content is available, the scope/feed is updated with new content and the Suru bar collapses to its original size.
- No new content is available, the Suru bar collapses to its original size and scope/feed remains unchanged.