Closed Bug 1161492 Opened 9 years ago Closed 9 years ago

[Music] [Front-end] Use independent tabs for each view

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
FxOS-S1 (26Jun)

People

(Reporter: dkuo, Unassigned)

References

Details

(Whiteboard: [NG Gaia Music] [NG Sprint 1 - 5/29])

Attachments

(1 file)

46 bytes, text/x-github-pull-request
squib
: review-
Details | Review
Currently the music views share one tabs element on the ui. To fit the new gaia architecture, we need to separate the ui into independent views, and each view should have its own tabs element for switching to different views.
Whiteboard: [NG Gaia Music]
Based on music sprint planning, moving to sprint 1 target and assigning to Dominic
Assignee: nobody → dkuo
Whiteboard: [NG Gaia Music] → [NG Gaia Music] [NG Sprint 1 - 5/29]
Target Milestone: --- → NGA S1 (29May)
Attached file patch
Depends on: 1172820
Comment on attachment 8615258 [details] [review]
patch

Jim,

Okay, I think this patch is ready for review, though it should break some tests which I am trying to fix, And before we have a conclusion for bug 1172820, we better make some progress on this, thanks!
Attachment #8615258 - Flags: review?(squibblyflabbetydoo)
Attachment #8615258 - Attachment description: wip → patch
Comment on attachment 8615258 [details] [review]
patch

Update:

I have fixed all the broken tests and kept the tabs in sublist(Bug 1172820 comment 6), the patch is done and ready for review, thanks.
Dominic,

Based on sprint planning, adding target to 26th. Please wrap this up and land on NGA changes on branch as discussed.

Thanks
Hema
Target Milestone: NGA S1 (29May) → FxOS-S1 (26Jun)
Comment on attachment 8615258 [details] [review]
patch

This looks mostly good, except for one part: We now have 3 different tab bars in the HTML, but still only one `TabBar` object. I think we should turn the existing `TabBar` into a regular class that we can instantiate inside each of the views. I have some more ideas about that on GitHub. Thanks!
Attachment #8615258 - Flags: review?(squibblyflabbetydoo) → review-
Let's wait for the NGA/OGA solution then I will update my patch to fit it.
Assignee: dkuo → nobody
After discussion with Justin, Wilson, and Vivien, we decided to use a single tab bar for all the views, as part of the parent <iframe>.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: