Allow pull-to-refresh from the panel's empty state

NEW
Unassigned

Status

()

defect
P2
normal
5 years ago
5 years ago

People

(Reporter: lucasr, Unassigned)

Tracking

(Blocks 2 bugs)

Firefox Tracking Flags

(Not tracked)

Details

Right now we only allow it when the panel has data.
Depends on: 977196
No longer depends on: 977196
Priority: -- → P2
Assignee: nobody → margaret.leibovic
Setting P2 hub bugs to block hub v2 EPIC bug (targeting fx31 release).

Filter on epic-hub-bugs.
Blocks: 1014030
I've been learning more about SwipeRefreshLayout while investigating bug 1010986, and in order to implement this bug, I think we would need to have the SwipeRefreshLayout manage the empty/list views. SwipeRefreshLayout can only have one child, so we would need to handle swaping the empty view and the panel layout.

If there's a way to disable the refresh animation for panels that don't have a refresh handler, I think it might be good to just make PanelLayout into a GeckoSwipeRefreshLayout, so that we don't have to maintain two different layout code paths.
I haven't had time to work on this.
Assignee: margaret.leibovic → nobody
You need to log in before you can comment on or make changes to this bug.