Closed Bug 1268423 Opened 8 years ago Closed 8 years ago

[TV][Home] Sort cards by alphabet order in the filtering mode

Categories

(Firefox OS Graveyard :: Gaia::TV::Home, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.6?)

RESOLVED FIXED
blocking-b2g 2.6?

People

(Reporter: lchang, Assigned: Fischer)

References

Details

Attachments

(1 file)

According to Item 6 in Spec v2.1, after filtering, we should show the filtering deck first and then show cards in that category by alphabet.
Assignee: nobody → lchang
Status: NEW → ASSIGNED
Assignee: lchang → fliu
Blocks: 1268825
No longer blocks: 1268825
Comment on attachment 8749556 [details] [review]
[gaia] Fischer-L:bug_1268423-sort-cards-in-filter-mode > mozilla-b2g:v2.6

@Luke,

This patch would do in the filtering mode:

- Hide cards which has the same name and is launched to the same url
- Sort cards based on names (by reusing the getSortKey method)

Thanks
Attachment #8749556 - Flags: review?(lchang)
Comment on attachment 8749556 [details] [review]
[gaia] Fischer-L:bug_1268423-sort-cards-in-filter-mode > mozilla-b2g:v2.6

Generally looks good except a few nits. Let's improve it.
Attachment #8749556 - Flags: review?(lchang)
Comment on attachment 8749556 [details] [review]
[gaia] Fischer-L:bug_1268423-sort-cards-in-filter-mode > mozilla-b2g:v2.6

@Luke,
Thanks for suggestions. Updated, please have a look.
Attachment #8749556 - Flags: review?(lchang)
Comment on attachment 8749556 [details] [review]
[gaia] Fischer-L:bug_1268423-sort-cards-in-filter-mode > mozilla-b2g:v2.6

Nice work! Thanks.
Attachment #8749556 - Flags: review?(lchang) → review+
Land to v2.6: https://github.com/mozilla-b2g/gaia/commit/b21ef5fd763ae33c3a0d6f753f39c755b2c6bb88
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: