Closed
Bug 1015072
Opened 11 years ago
Closed 11 years ago
Create <gaia-tabs> web-component
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.0 S3 (6june)
People
(Reporter: wilsonpage, Assigned: wilsonpage)
References
Details
Attachments
(1 file)
Migrate the existing 'Tabs' building block [1] to web-components.
[1] http://buildingfirefoxos.com/building-blocks/tabs.html
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → wilsonpage
| Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8429214 -
Flags: review?(kgrandon)
Attachment #8429214 -
Flags: review?(arnau)
Comment 2•11 years ago
|
||
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)
| Assignee | ||
Comment 3•11 years ago
|
||
- Improved examples
- Fixed r? comments from kgrandon
- Removed dead code
| Assignee | ||
Updated•11 years ago
|
Attachment #8429214 -
Flags: review?(kgrandon)
Comment 4•11 years ago
|
||
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+
| Assignee | ||
Comment 5•11 years ago
|
||
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+
| Assignee | ||
Comment 7•11 years ago
|
||
Landed on 'master' https://github.com/mozilla-b2g/gaia/commit/7e6d68b818348b545dd0e9190ac9194917e78b4f
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Alias: gaia-tabs
Depends on: 1017592
Updated•11 years ago
|
Alias: gaia-tabs
Updated•11 years ago
|
Target Milestone: --- → 2.0 S3 (6june)
You need to log in
before you can comment on or make changes to this bug.
Description
•