Closed Bug 1015072 Opened 11 years ago Closed 11 years ago

Create <gaia-tabs> web-component

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.0 S3 (6june)

People

(Reporter: wilsonpage, Assigned: wilsonpage)

References

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
arnau
: review+
kgrandon
: review+
Details | Review
Migrate the existing 'Tabs' building block [1] to web-components. [1] http://buildingfirefoxos.com/building-blocks/tabs.html
Assignee: nobody → wilsonpage
Attached file pull-request (master)
Attachment #8429214 - Flags: review?(kgrandon)
Attachment #8429214 - Flags: review?(arnau)
Comment on attachment 8429214 [details] [review] pull-request (master) This is awesome! I would like to see a new patch before R+ing, but this looks really good. I made a few comments on github. Thanks!
Attachment #8429214 - Flags: review?(kgrandon)
- Improved examples - Fixed r? comments from kgrandon - Removed dead code
Attachment #8429214 - Flags: review?(kgrandon)
Comment on attachment 8429214 [details] [review] pull-request (master) I think I'm generally happy with the current state of these. The inner click bubbling looks a bit weird to me, but we can always revisit this later. Nice work!
Attachment #8429214 - Flags: review?(kgrandon) → review+
kgrandon: I'm using a hand-rolled delegate pattern to make sure that if tabs are added/removed, we don't have to update event listeners. We could loop over the tabs and bind a listener for each, but that wouldn't support dynamic tab insertion/removal.
Comment on attachment 8429214 [details] [review] pull-request (master) Looks great! left a couple of comments in GH.
Attachment #8429214 - Flags: review?(arnau) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Alias: gaia-tabs
Target Milestone: --- → 2.0 S3 (6june)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: