Closed
Bug 1062248
Opened 11 years ago
Closed 11 years ago
Change styles of notifications when battery is low
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Firefox OS Graveyard
Gaia::System
Tracking
(blocking-b2g:2.1+, b2g-v2.1 verified, b2g-v2.2 fixed)
People
(Reporter: mancas, Assigned: mancas)
References
Details
(Keywords: late-l10n, regression, Whiteboard: [systemsfe])
Attachments
(5 files)
|
46 bytes,
text/x-github-pull-request
|
timdream
:
review+
fabrice
:
approval-gaia-v2.1+
|
Details | Review |
|
173.43 KB,
image/png
|
jelee
:
ui-review+
epang
:
ui-review+
|
Details |
|
180.45 KB,
image/png
|
Details | |
|
85.95 KB,
image/png
|
Details | |
|
374.97 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0
Build ID: 20140830210659
Steps to reproduce:
Have low battery
Actual results:
When battery low notification is displayed, the text is not showed inside the notification
Expected results:
the text is shown properly
| Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8483432 -
Flags: review?(timdream)
| Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8483435 -
Flags: ui-review?(jelee)
| Assignee | ||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
[Blocking Requested - why for this release]: As Bug 1046202 (Copy improvement when battery is almost empty), which introduced this regression, was landed in 2.1, we need to fix the issue also in 2.1 branch.
blocking-b2g: --- → 2.1?
status-b2g-v2.1:
--- → affected
Updated•11 years ago
|
blocking-b2g: 2.1? → 2.1+
Whiteboard: [systemsfe]
Updated•11 years ago
|
Target Milestone: --- → 2.1 S4 (12sep)
Comment on attachment 8483435 [details]
Notification styles
Looks good, but I think we need Eric for styling review just in case. Thanks!
Attachment #8483435 -
Flags: ui-review?(jelee)
Attachment #8483435 -
Flags: ui-review?(epang)
Attachment #8483435 -
Flags: ui-review+
Comment 6•11 years ago
|
||
Comment on attachment 8483432 [details] [review]
Changed styles of low battery notification
Why did it failed?
Attachment #8483432 -
Flags: review?(timdream) → review+
Updated•11 years ago
|
| Assignee | ||
Comment 7•11 years ago
|
||
The main problem was that the width of the container was not defined, so when the text overflows, the block jumps to the next line to fit the text
Comment 8•11 years ago
|
||
(In reply to Jenny Lee from comment #5)
> Comment on attachment 8483435 [details]
> Notification styles
>
> Looks good, but I think we need Eric for styling review just in case. Thanks!
Thanks Jenny for flagging me, we've updated the styling of notification toast for 2.1. I'll add a spec with the new styling shortly. I will also need to create a new icon and get review for it first. flagging need info on myself so I don't forget to add the spec to the bug when ready.
Flags: needinfo?(epang)
Comment 9•11 years ago
|
||
Comment on attachment 8483435 [details]
Notification styles
Sorry I was thinking this was a notification instead of a system toast. This looks good to me, thanks! R+
Attachment #8483435 -
Flags: ui-review?(epang) → ui-review+
Flags: needinfo?(epang)
| Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 10•11 years ago
|
||
Master: https://github.com/mozilla-b2g/gaia/commit/494db904b78a271601d9d4be79ee0a7313518de7
Please request Gaia v2.1 approval on this when you get a chance.
| Assignee | ||
Comment 11•11 years ago
|
||
Comment on attachment 8483435 [details]
Notification styles
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):1046202
[User impact] if declined: Hight impact, text is not displayed properly
[Testing completed]: No
[Risk to taking this patch] (and alternatives if risky): Low
[String changes made]: Yes
Attachment #8483435 -
Flags: approval-gaia-v2.1?
Flags: needinfo?(b.mcb)
Updated•11 years ago
|
Attachment #8483432 -
Flags: approval-gaia-v2.1+
Updated•11 years ago
|
Attachment #8483435 -
Flags: approval-gaia-v2.1?
| Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 12•11 years ago
|
||
Comment 13•11 years ago
|
||
I have tested it using a flame 2.1 (Gecko f816f7e Gaia c7b55ed).
The text of the alert has been modified correcly and the alert is working fine.
When the battery level is below a 10% of the charge, now the alert message is "Your battery is low. Please plug in your charger".
I add a screenshot to ilustrate it.
Comment 14•11 years ago
|
||
Comment 16•11 years ago
|
||
Minor copy changes, don't need an integration test for this.
Flags: in-testsuite-
Comment 17•11 years ago
|
||
This issue has been successfully verified on Flame 2.1:
Gaia-Rev 1b231b87aad384842dfc79614b2a9ca68a4b4ff3
Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/95fbd7635152
Build-ID 20141119001205
Version 34.0
Device-Name flame
FW-Release 4.4.2
You need to log in
before you can comment on or make changes to this bug.
Description
•