Closed
Bug 1161481
Opened 10 years ago
Closed 10 years ago
Changing the theme will break all transitions
Categories
(Firefox OS Graveyard :: Gaia::Theme Editor, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: etienne, Assigned: dietrich)
References
Details
Attachments
(2 files)
We should systematically add something like [1] in all generated themes.
[1] https://github.com/gaia-components/gaia-theme/blob/bfc4e8ca5e04530161cad83048002980bb9a238f/gaia-theme.css#L87
Reporter | ||
Updated•10 years ago
|
Blocks: spark-theme-editor
Priority: -- → P1
Reporter | ||
Comment 1•10 years ago
|
||
We should also update gaia's pre-built demo theme.
Reporter | ||
Updated•10 years ago
|
Blocks: fastandfurious
Assignee | ||
Comment 2•10 years ago
|
||
Thanks for spotting, Etienne. I can make a patch if you point me in the general direction of where this code lives!
Reporter | ||
Comment 3•10 years ago
|
||
(In reply to Dietrich Ayala (:dietrich) from comment #2)
> Thanks for spotting, Etienne. I can make a patch if you point me in the
> general direction of where this code lives!
Cool!
For the spark theme editor, the css generation happens here [1].
And we have a few [2] tests [3] themes [4] in the gaia repo.
[1] https://github.com/fxos/studio/blob/d10b7864ad0bb1f185ce1349da9be03b861badcf/js/generation.js#L152-174
[2] https://github.com/mozilla-b2g/gaia/blob/4652ef4d51b499a82165e0e0553814c2c5eecb94/dev_apps/theme-test-1/shared/elements/gaia-theme/gaia-theme.css
[3] https://github.com/mozilla-b2g/gaia/blob/4652ef4d51b499a82165e0e0553814c2c5eecb94/dev_apps/theme-test-2/shared/elements/gaia-theme/gaia-theme.css
[4] https://github.com/mozilla-b2g/gaia/blob/4652ef4d51b499a82165e0e0553814c2c5eecb94/dev_apps/theme-test-3/shared/elements/gaia-theme/gaia-theme.css
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → dietrich
Comment 4•10 years ago
|
||
Assignee | ||
Comment 5•10 years ago
|
||
Looks like I should add the var here in this section:
https://github.com/fxos/studio/blob/d10b7864ad0bb1f185ce1349da9be03b861badcf/js/theme_creator.js#L97
Does that look right, Etienne?
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(etienne)
Reporter | ||
Comment 6•10 years ago
|
||
(In reply to Dietrich Ayala (:dietrich) from comment #5)
> Looks like I should add the var here in this section:
>
> https://github.com/fxos/studio/blob/d10b7864ad0bb1f185ce1349da9be03b861badcf/
> js/theme_creator.js#L97
>
> Does that look right, Etienne?
Not sure. This is the representation of the "editable" part of the theme, which only includes colors currently.
Adding the line around here [1] sounds safer.
[1] https://github.com/fxos/studio/blob/d10b7864ad0bb1f185ce1349da9be03b861badcf/js/generation.js#L161
Flags: needinfo?(etienne)
Reporter | ||
Comment 7•10 years ago
|
||
Comment on attachment 8601672 [details] [review]
[gaia] autonome:1161481-theme-transitions > mozilla-b2g:master
This part is already good to go :)
Attachment #8601672 -
Flags: review+
Reporter | ||
Comment 9•10 years ago
|
||
Comment on attachment 8602509 [details] [review]
Link to Github pull-request: https://github.com/fxos/studio/pull/6
Nice :)
Attachment #8602509 -
Flags: review?(etienne) → review+
Reporter | ||
Comment 10•10 years ago
|
||
Studio part landed: https://github.com/fxos/studio/commit/1f34fe0047c84257f968852a2d3c0a48ee7fc372
Reporter | ||
Comment 11•10 years ago
|
||
Hope this bug won't confuse autolander too much...
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Comment 12•10 years ago
|
||
https://github.com/mozilla-b2g/gaia/pull/29898
Autolander could not land the pull request due to not having collaborator rights. This is possibly due to a tree closure. Please check the tree status and request checkin again once the tree is open.
Assignee | ||
Comment 13•10 years ago
|
||
Interesting, autolander picked the right attachment, but failed. Trying again...
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Comment 14•10 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/264429245ee175ba75676b52bd6b63dd9b3d93d3
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•