Closed
Bug 1020958
Opened 10 years ago
Closed 9 years ago
[Collection App] Loading more results
Categories
(Firefox OS Graveyard :: Gaia::Everything.me, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: amirn, Assigned: ranbena)
References
Details
Attachments
(2 files)
When viewing a Collection, scrolling down should trigger loading of more results.
Reporter | ||
Comment 1•10 years ago
|
||
is this a blocker for 2.0?
Blocks: collection-app
Flags: needinfo?(pdolanjski)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → ran
Status: NEW → ASSIGNED
Comment 2•10 years ago
|
||
(In reply to Amir Nissim (Everything.me) from comment #1) > is this a blocker for 2.0? As opposed to having a fix number of results? If so, how many would be in the fixed set? NI on Francis as he'll likely have input.
Flags: needinfo?(pdolanjski) → needinfo?(fdjabri)
Assignee | ||
Comment 3•10 years ago
|
||
I'd rather not bypass this feature. Let's discuss this if it's at risk of not making it.
Assignee | ||
Comment 4•10 years ago
|
||
Kevin, this feature requires a "reached bottom of results" event when scroll ends. In 1.x we did that with a custom script of ours "scroll.js" which implements polling and listens to scroll and touch events. Works well but not very elegant. Any suggestion on how to implement this differently? Perhaps some actual "scrollend" event? Or maybe an "element visible in viewport" event?
Flags: needinfo?(kgrandon)
Comment 5•10 years ago
|
||
We have the next two weeks to focus on smart collections, so I'd say there should be no problem including this. Regarding implementation, for now I do think it should live in the collection app, until we need it elsewhere in the system. I'm fine if we want to port scroll.js over, or use a new library. The only hooks it should need from the gaia grid is grid.add() and grid.render(). I'm not sure of the exact reasoning behind the touch listeners in scroll.js - if we could do it with only a scroll listener it might be better.
Flags: needinfo?(kgrandon)
Comment 6•10 years ago
|
||
(In reply to Ran Ben Aharon (Everything.me) from comment #3) > I'd rather not bypass this feature. Let's discuss this if it's at risk of > not making it. I agree. This doesn't seem like a blocker but we should include it if possible.
Flags: needinfo?(fdjabri)
Updated•10 years ago
|
QA Whiteboard: [VH-FL-blocking-][VH-FC-blocking-]
Assignee | ||
Comment 7•10 years ago
|
||
Attachment #8440584 -
Flags: review?(amirn)
Reporter | ||
Comment 8•10 years ago
|
||
due to time constraints, attaching another approach that gets 48 results from the API and then renders them in batches.
Reporter | ||
Updated•10 years ago
|
Attachment #8440584 -
Flags: review?(amirn)
Comment 9•10 years ago
|
||
This is not a blocker, but we could consider taking it and uplifting, so moving to block vhomescreen.next. I'm also cautious about the performance of so many results - we have a lot of work to do on the perfomance, so we should address that first. See bug 1028452.
Comment 10•9 years ago
|
||
Mass update: Resolve/Wontfix all existing collections bugs as this feature is now removed. Please re-open or file a new bug if you feel that this bug still exists in master.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•