Closed
Bug 1133424
Opened 10 years ago
Closed 10 years ago
[Stingray] [Component] Create web component - smart-scrollbox
Categories
(Firefox OS Graveyard :: Gaia::TV, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: suchiu, Assigned: suchiu)
References
Details
Attachments
(1 file)
1. Change XScrollable to web component named smart-scrollbox
Assignee | ||
Updated•10 years ago
|
Summary: [Stringray] [Component] Change XScrollable to web component - smart-scrollbox → [Stringray] [Component] Create web component - smart-scrollbox
Assignee | ||
Comment 1•10 years ago
|
||
1. Create smart-scrollbox that is similar to scrollable but without dependencies on home card.
2. Use shadow DOM to create the template
3. Remove functions related to 'card'
4. Compared to scrollable, styles of DOM elements in smart-scrollbox is controlled by user instead of positioned by transform:translate.
5. If the node (not items) is current node, class 'active' will be added instead of 'focused' since it doesn't have real focus.
Attachment #8569629 -
Flags: review?(rexboy)
Attachment #8569629 -
Flags: review?(im)
Comment 2•10 years ago
|
||
Comment on attachment 8569629 [details] [review]
Pull Request
Please see my comments at PR. Thanks.
Attachment #8569629 -
Flags: review?(im)
Assignee | ||
Updated•10 years ago
|
Attachment #8569629 -
Flags: review?(im)
Assignee | ||
Updated•10 years ago
|
Summary: [Stringray] [Component] Create web component - smart-scrollbox → [Stingray] [Component] Create web component - smart-scrollbox
Assignee | ||
Comment 3•10 years ago
|
||
Commit: https://github.com/sean2449/gaia/commit/37bbf8786f625152de7144e917202febf6821612
Gaia Try (all green): https://treeherder.mozilla.org/#/jobs?repo=gaia-try&revision=cf4862a856ae
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•10 years ago
|
||
Sorry...put the wrong commit above.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 5•10 years ago
|
||
Comment on attachment 8569629 [details] [review]
Pull Request
The code logic is OK but I think we can make some improve on comments; and eliminate some old naming to improve readability.
Please see my comments.
Attachment #8569629 -
Flags: review?(rexboy) → review+
Comment 6•10 years ago
|
||
Comment on attachment 8569629 [details] [review]
Pull Request
Looks good to me. Sorry for late reviewing.
Attachment #8569629 -
Flags: review?(im) → review+
Assignee | ||
Comment 7•10 years ago
|
||
Commit: https://github.com/smart-components/smart-scrollbox/commit/4c9605e9fb00e12c5f0c1ba6a2938e061fdf78f3
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•