Closed
Bug 1369282
Opened 7 years ago
Closed 7 years ago
Should update the style of the X icon button in the onboarding overlay to the formal visual icon
Categories
(Firefox :: General, defect, P1)
Firefox
General
Tracking
()
VERIFIED
FIXED
Firefox 56
Tracking | Status | |
---|---|---|
firefox55 | --- | verified |
People
(Reporter: Fischer, Assigned: gasolin)
References
Details
(Whiteboard: [photon-onboarding])
Attachments
(1 file)
The functionality of the X icon button in the onboarding overlay was done in Bub 1357005. However, the visual is still not yet done with the formal visual asset.
Reporter | ||
Updated•7 years ago
|
Flags: qe-verify+
Priority: -- → P1
Whiteboard: [photon-onboaridng]
Target Milestone: --- → Firefox 56
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → gasolin
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•7 years ago
|
||
The close button change is based on the new UI spec https://mozilla.invisionapp.com/share/4MBDUMS5W#/screens/230316106
and reuse the photon close button in Bookmark sidebar
Here's the screencast
http://g.recordit.co/EIcgnXZ8sv.gif
Reporter | ||
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8875144 [details]
Bug 1369282 - Update the close button style in the onboarding overlay to fit the spec;
https://reviewboard.mozilla.org/r/146540/#review150508
::: browser/extensions/onboarding/content/onboarding.css:46
(Diff revision 1)
> position: absolute;
> top: 15px;
> offset-inline-end: 15px;
> + width: 16px;
> + height: 16px;
> + background-image: url(chrome://browser/skin/sidebar/close.svg);
Not sure if this chrome protocol would work in the content process. Better to move this svg inside our folder.
Comment hidden (mozreview-request) |
Reporter | ||
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8875144 [details]
Bug 1369282 - Update the close button style in the onboarding overlay to fit the spec;
https://reviewboard.mozilla.org/r/146540/#review150518
::: browser/extensions/onboarding/content/onboarding.css:52
(Diff revision 2)
> + background-position: center center;
> + background-repeat: no-repeat;
> + padding: 12px;
> +}
> +
> +#onboarding-overlay-close-btn:hover {
Does specs require the hovering state change?
Assignee | ||
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8875144 [details]
Bug 1369282 - Update the close button style in the onboarding overlay to fit the spec;
https://reviewboard.mozilla.org/r/146540/#review150524
::: browser/extensions/onboarding/content/onboarding.css:52
(Diff revision 2)
> + background-position: center center;
> + background-repeat: no-repeat;
> + padding: 12px;
> +}
> +
> +#onboarding-overlay-close-btn:hover {
Yes, I show the work version to michael and he says we need that.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 8•7 years ago
|
||
(but the hover state does not described in spec)
In last update I also add a README file to note we copy the close.svg from `browser/themes/shared/sidebar/close.svg`.
And add 2 landing rules that we have discussed before.
Reporter | ||
Comment 9•7 years ago
|
||
mozreview-review |
Comment on attachment 8875144 [details]
Bug 1369282 - Update the close button style in the onboarding overlay to fit the spec;
https://reviewboard.mozilla.org/r/146540/#review150578
Thanks, looks good to me.
::: browser/extensions/onboarding/README.md:14
(Diff revision 3)
> +## Landing rules
> +
> +We would apply some rules:
> +
> +* Avoid `chrome://` in `onbaording.js` since onboarding is intented to be injected into a normal content process page.
> +* All styles and ids should be prefixed by `onboarding-overlay-` to avoid conflict with the origin page.
Thanks for this note. Could use `onboaridng-*` because we will have `onboarding-notification-*`?
`onboarding-overlya-notification-*` should be fine but a little long :)
::: browser/extensions/onboarding/content/onboarding.css:46
(Diff revision 3)
> position: absolute;
> top: 15px;
> offset-inline-end: 15px;
> + width: 16px;
> + height: 16px;
> + background-image: url(img/overlay-close.svg);
Could we use the filename of "onboarding-close-icon.svg"? 2 reasons for this: (1) the main reason; the notification bar is going to use this icon too and (2) the minor reason; denote this is a icon. Thanks.
p.s I could update the filename when landing the notification bar then if you liked.
Attachment #8875144 -
Flags: review?(fliu) → review+
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Whiteboard: [photon-onboaridng] → [photon-onboarding]
Comment 11•7 years ago
|
||
mozreview-review |
Comment on attachment 8875144 [details]
Bug 1369282 - Update the close button style in the onboarding overlay to fit the spec;
https://reviewboard.mozilla.org/r/146540/#review150764
Looks good to me with 2 typos need to be fixed.
::: browser/extensions/onboarding/README.md:14
(Diff revision 4)
> +## Landing rules
> +
> +We would apply some rules:
> +
> +* Avoid `chrome://` in `onbaording.js` since onboarding is intented to be injected into a normal content process page.
> +* All styles and ids should be format as `onboarding-*` to avoid conflict with the origin page.
typo: should be formatted
::: browser/extensions/onboarding/README.md:15
(Diff revision 4)
> +
> +We would apply some rules:
> +
> +* Avoid `chrome://` in `onbaording.js` since onboarding is intented to be injected into a normal content process page.
> +* All styles and ids should be format as `onboarding-*` to avoid conflict with the origin page.
> +* All strings in `locales` should be format as `onboarding.*` for consistency.
same above
Attachment #8875144 -
Flags: review?(rexboy) → review+
Comment 12•7 years ago
|
||
mozreview-review |
Comment on attachment 8875144 [details]
Bug 1369282 - Update the close button style in the onboarding overlay to fit the spec;
https://reviewboard.mozilla.org/r/146540/#review150796
::: browser/extensions/onboarding/README.md:3
(Diff revision 4)
> +# Onboarding
> +
> +System addon to provide the onboarding overlay for User friendly Tours.
No need to capitalise the U and T here.
Attachment #8875144 -
Flags: review?(dtownsend) → review+
Comment hidden (mozreview-request) |
Comment 15•7 years ago
|
||
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/5decd51af7a9
Update the close button style in the onboarding overlay to fit the spec;r=Fischer,mossop,rexboy
Keywords: checkin-needed
Comment 16•7 years ago
|
||
Backed out in https://hg.mozilla.org/integration/autoland/rev/757a3c336d6e because we apparently so very very much don't want you to copy an existing file that we break the build when you do, https://treeherder.mozilla.org/logviewer.html#?job_id=105376912&repo=autoland
Assignee | ||
Comment 17•7 years ago
|
||
Fischer, since we can still access chrome:// in script, do you think we can reuse the existing one with `chrome://`?
Flags: needinfo?(fliu)
Reporter | ||
Comment 18•7 years ago
|
||
(In reply to Fred Lin [:gasolin] from comment #17)
> Fischer, since we can still access chrome:// in script, do you think we can
> reuse the existing one with `chrome://`?
Yes, please.
Flags: needinfo?(fliu)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 20•7 years ago
|
||
Thanks Phil, I think its ready to land again.
Keywords: checkin-needed
Comment 21•7 years ago
|
||
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e92dd6dae230
Update the close button style in the onboarding overlay to fit the spec;r=Fischer,mossop,rexboy
Keywords: checkin-needed
Comment 22•7 years ago
|
||
bugherder |
Comment 23•7 years ago
|
||
I have confirmed this fix on today's nightly build.
Status: RESOLVED → VERIFIED
Updated•7 years ago
|
Flags: qe-verify+
QA Contact: jwilliams
You need to log in
before you can comment on or make changes to this bug.
Description
•