Closed Bug 1161103 Opened 10 years ago Closed 10 years ago

On the Detail panel, the "Install this theme" and "Fork this theme" list elements should be replaced by buttons at the top of the panel

Categories

(Firefox OS Graveyard :: Gaia::Theme Editor, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: etienne, Assigned: hub, Mentored)

References

Details

(Whiteboard: [lang=js][lang=css])

Attachments

(1 file)

Mentor: etienne
Whiteboard: [lang=js][lang=css]
The state of the "Enable" button will be based on the presence of the `manifestURL` on the theme object. (if it's present the theme is already enabled)
Depends on: 1161095
Summary: On the Detail panel, the "Install this theme" and "Fork this theme" list elements should be replaced by buttons on top of the screen → On the Detail panel, the "Install this theme" and "Fork this theme" list elements should be replaced by buttons at the top of the panel
Do we have a visual design for the icons?
(In reply to Hubert Figuiere [:hub] from comment #2) > Do we have a visual design for the icons? https://mozilla.app.box.com/s/2rfhpr44jj4hoaulpsmu5tn6z31t7wsf https://mozilla.app.box.com/s/02gm66evje9wwlmwc13phxuq87x90tsr (the meta bug User Story has a bunch of links)
Assignee: nobody → hub
Status: NEW → ASSIGNED
Current proposal. I'm sure I'm using the gaia-button wrong, notably changing min-width.
Comment on attachment 8605351 [details] [review] Link to Github pull-request: https://github.com/fxos/studio/pull/11 I think I got the alignment now.
Attachment #8605351 - Flags: review?(etienne)
Comment on attachment 8605351 [details] [review] Link to Github pull-request: https://github.com/fxos/studio/pull/11 Made quite a few comments so I'll need to take another look at the patch. But it's *really* cool to see the app shape up like this :)
Attachment #8605351 - Flags: review?(etienne)
Comment on attachment 8605351 [details] [review] Link to Github pull-request: https://github.com/fxos/studio/pull/11 I did the changes suggested. Also I had to update gaia-button in the repo as it fixed bugs with disable and a few other, including layout that I had to rework a little bit. Beside the component update I believe the patch is now smaller.
Attachment #8605351 - Flags: review?(etienne)
Comment on attachment 8605351 [details] [review] Link to Github pull-request: https://github.com/fxos/studio/pull/11 r=me with the following changes: * the superfluous css block removed (or explained :)) * keeping the button disabled after the install (bug 1161098 is coming soon) * squashing/rebasing the PR Thanks!
Attachment #8605351 - Flags: review?(etienne) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: