Closed
Bug 1202256
Opened 9 years ago
Closed 9 years ago
Use Gaia-Toast for System Banner
Categories
(Firefox OS Graveyard :: Gaia::System::System UI, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
FxOS-S7 (18Sep)
People
(Reporter: mikehenrty, Assigned: mikehenrty)
References
Details
(Whiteboard: [systemsfe])
Attachments
(3 files, 2 obsolete files)
46 bytes,
text/x-github-pull-request
|
apastor
:
review+
epang
:
ui-review+
|
Details | Review |
69.21 KB,
image/png
|
Details | |
537.84 KB,
image/png
|
epang
:
ui-review+
|
Details |
Right now the system banner is in a bad state. It uses styling that's been around since pre 1.0, it covers a significant portion of the screen for 4 seconds, and is un-dismissable. Let's use gaia-toast instead.
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8657592 [details] [review]
[gaia] mikehenrty:bug-1202256-gaia-toast > mozilla-b2g:master
Kevin, could you take a look here? Eric is going to do the ui-review, but I've already got his confirmation we should move ahead with this.
Attachment #8657592 -
Flags: review?(kevingrandon)
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8657592 [details] [review]
[gaia] mikehenrty:bug-1202256-gaia-toast > mozilla-b2g:master
Eric, here is the patch for using gaia-toast as the system banner. Note, there is a case where we can have a button in the banner. It is hard to reproduce because you need to have an app crash, then unselect the checkbox, hit send, and then have the app crash again. Since that's a pain, I will attach some screenshots instead.
Attachment #8657592 -
Flags: ui-review?(epang)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → mhenretty
Assignee | ||
Updated•9 years ago
|
Target Milestone: --- → FxOS-S7 (18Sep)
Assignee | ||
Comment 4•9 years ago
|
||
Eric, here is the gaia-toast with a button.
Attachment #8657604 -
Flags: ui-review?(epang)
Comment 5•9 years ago
|
||
Feels wrong to me to start mixing UI styles (building blocks /w components), but let's see what Eric says. I guess we're already using this in the keyboard app, so might as well go forward with it.
Comment 6•9 years ago
|
||
Hey Mike, I've put together a mini spec for the system toasts. Let me know if something doesn't make sense or if something needs more explaining. For the button I went with text since I think it buys us a tiny bit more space for localization and is a bit cleaner. Hoping we can change the background colour of the toast based om the theme colour too! Ping me when it's ready to review again :).
Flags: needinfo?(mhenretty)
Comment 7•9 years ago
|
||
(In reply to Kevin Grandon :kgrandon from comment #5)
> Feels wrong to me to start mixing UI styles (building blocks /w components),
> but let's see what Eric says. I guess we're already using this in the
> keyboard app, so might as well go forward with it.
Hey Kev, just wanted to mention that from a visual perspective we've got the go ahead to start using the web components, so we don't have to worry about mixing the bbs and components.
Assignee | ||
Comment 8•9 years ago
|
||
Comment on attachment 8657592 [details] [review]
[gaia] mikehenrty:bug-1202256-gaia-toast > mozilla-b2g:master
Alright, as we discussed on IRC, we are just going to go with the dark theme for now since we cannot programmatically determine the background color of any given app, and theme-color doesn't really tell us enough.
What do you think now Eric?
Flags: needinfo?(mhenretty)
Assignee | ||
Comment 9•9 years ago
|
||
Working on the Gij tests now.
Assignee | ||
Comment 10•9 years ago
|
||
Eric, here is a screenshot with the button.
Attachment #8657604 -
Attachment is obsolete: true
Attachment #8657604 -
Flags: ui-review?(epang)
Attachment #8657867 -
Flags: ui-review?(epang)
Assignee | ||
Comment 11•9 years ago
|
||
Ahh, I had forgotten to include the screen opacity. Here it is.
Attachment #8657867 -
Attachment is obsolete: true
Attachment #8657867 -
Flags: ui-review?(epang)
Attachment #8657876 -
Flags: ui-review?(epang)
Comment 12•9 years ago
|
||
Comment on attachment 8657592 [details] [review]
[gaia] mikehenrty:bug-1202256-gaia-toast > mozilla-b2g:master
R+ Looks good, thanks Mike!
Attachment #8657592 -
Flags: ui-review?(epang) → ui-review+
Comment 13•9 years ago
|
||
Comment on attachment 8657876 [details]
[screenshot] even newer gaia-toast
R+ thanks again Mike!
Attachment #8657876 -
Flags: ui-review?(epang) → ui-review+
Assignee | ||
Comment 14•9 years ago
|
||
Ok, I think I've fixed all the tests. Kevin, could you take a look now?
Flags: needinfo?(kevingrandon)
Assignee | ||
Comment 15•9 years ago
|
||
Comment on attachment 8657592 [details] [review]
[gaia] mikehenrty:bug-1202256-gaia-toast > mozilla-b2g:master
Trying to get this in before vaca since it blocks pin-the-web. Alberto, could you take a look?
Flags: needinfo?(kevingrandon)
Attachment #8657592 -
Flags: review?(kevingrandon) → review?(apastor)
Assignee | ||
Updated•9 years ago
|
Blocks: pin-the-web
Comment 16•9 years ago
|
||
Comment on attachment 8657592 [details] [review]
[gaia] mikehenrty:bug-1202256-gaia-toast > mozilla-b2g:master
The code looks good to me + ui_review+ = r+.
It would be nice to make all the banners (clock, notifications, call screen) uniform across the OS using the component, though.
Thanks!
Attachment #8657592 -
Flags: review?(apastor) → review+
Comment 17•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•