Closed
Bug 752965
Opened 13 years ago
Closed 11 years ago
Please send a callback to the native app when reloading of social items has finished
Categories
(Pancake Graveyard :: Front-end, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: st3fan, Unassigned)
References
Details
Please send a callback to the native app when reloading of social items has finished. This so that the native app can update the pull-to-refresh status.
Comment 1•13 years ago
|
||
Looks like we currently treat reload:social as 'reload main page'. If that's the intended effect, then you just need a 'all ready' message which top can provide.
If in fact reload:social should *just* reload/fetch-new on the social list (collection) then we need to do something else.
| Reporter | ||
Comment 2•13 years ago
|
||
Yeah, i think that is right actually. Maybe we should rename the call to reload:main then?
To clarify, this callback is to dismiss the pull-to-refresh thing. When you pull it, it currently just delays 1 second before it slides back up. But I think it will be nicer if it went up fter the actual reload has finished or timed out.
Updated•13 years ago
|
Assignee: nobody → sfoster
| Reporter | ||
Comment 3•13 years ago
|
||
I am going to move this bug away from M3. Our current strategy, "reload the page, wait 1.5 seconds, then let pull-to-refresh view disappear", works more than good enough for now.
| Reporter | ||
Updated•13 years ago
|
Assignee: sfoster → nobody
Target Milestone: M3 → ---
Comment 4•13 years ago
|
||
this is actually quite hard to do currently, as we use the reload: message to set a route which causes stuff to get refreshed; effectively its a client-side redirect and we don't have a way to return the result as we've lost that state.
If it becomes important we can look at doing all this another way. Or use some kind of storage to leave messages where they can be found when we enter the new state - doesnt seem like a great idea, but possible.
| Reporter | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•