Closed Bug 1214771 Opened 9 years ago Closed 9 years ago

[NGA] Improve render performance of all list views

Categories

(Firefox OS Graveyard :: Gaia::Music, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wilsonpage, Assigned: wilsonpage)

References

Details

Attachments

(1 file)

Tracking the landing of new version of <gaia-fast-list> that will come with improved render performance via caching and gfx optimizations.
Attachment #8677996 - Flags: review?(jdarcangelo)
Comment on attachment 8677996 [details] [review]
[gaia] wilsonpage:1214771 > mozilla-b2g:master

Almost there, just have some nits/code styling issues to resolve. Namely, I'd rather consistently refer to the <music-search-box> and <music-search-results> elements via `this.searchBox` and `this.searchResults` everywhere. Especially now that we have fat-arrow functions, we shouldn't need to declare local vars like this to maintain scope anymore and it can add confusion when others have to follow the code later (not saying that the code is hard to follow right now, but trying to keep things consistent for the future).
Attachment #8677996 - Flags: review?(jdarcangelo) → review-
(In reply to Justin D'Arcangelo [:justindarc] from comment #2)
> Comment on attachment 8677996 [details] [review]
> [gaia] wilsonpage:1214771 > mozilla-b2g:master
> 
> Almost there, just have some nits/code styling issues to resolve. Namely,
> I'd rather consistently refer to the <music-search-box> and
> <music-search-results> elements via `this.searchBox` and
> `this.searchResults` everywhere. Especially now that we have fat-arrow
> functions, we shouldn't need to declare local vars like this to maintain
> scope anymore and it can add confusion when others have to follow the code
> later (not saying that the code is hard to follow right now, but trying to
> keep things consistent for the future).

Cool I'll fix that up :)

It might be nice to use the `this.els` prefix so that readers know it's an element. But that's nothing to do with this bug :)
Comment on attachment 8677996 [details] [review]
[gaia] wilsonpage:1214771 > mozilla-b2g:master

Comments addressed :)
Attachment #8677996 - Flags: review- → review?(jdarcangelo)
Comment on attachment 8677996 [details] [review]
[gaia] wilsonpage:1214771 > mozilla-b2g:master

Looks so much cleaner.. Thanks! :-)
Attachment #8677996 - Flags: review?(jdarcangelo) → review+
Blocks: 1214014
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Blocks: 1214153
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: