Closed
Bug 1062314
Opened 11 years ago
Closed 11 years ago
[Utility Tray] Visual Refinements Utility Tray
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.1 S5 (26sep)
People
(Reporter: epang, Assigned: gmarty)
Details
(Keywords: polish, Whiteboard: [systemsfe])
User Story
Updated Spec: https://mozilla.box.com/s/2rjzhlh3vym17b85myxr
Attachments
(4 files)
79 bytes,
text/plain
|
epang
:
ui-review+
rmacdonald
:
ui-review+
|
Details |
46 bytes,
text/x-github-pull-request
|
timdream
:
review+
flod
:
feedback+
fabrice
:
approval-gaia-v2.1-
|
Details | Review |
81.32 KB,
image/png
|
Details | |
133.28 KB,
image/png
|
Details |
Opening this bug to differentiate the Notification header from the rest of the notifications.
I've updated the spec on box:
https://mozilla.box.com/s/2rjzhlh3vym17b85myxr
Changes include:
1. Header Text
- 22px
- Light Italic
2. Dividers
- Divider under header is full length across screen
- Divider in between notifications have 1.5rem margins
Reporter | ||
Updated•11 years ago
|
User Story: (updated)
Reporter | ||
Comment 1•11 years ago
|
||
Guillaume, can you flag me for ui-review when ready? Thanks!
Assignee | ||
Comment 2•11 years ago
|
||
WIP in this branch: https://github.com/gmarty/gaia/tree/Bug-1062314-Visual-Refinements-Utility-Tray
As expected, changing the divider is tricky given the current markup. Will take another fresh look later.
Comment 3•11 years ago
|
||
Do we still need this bug?
Reporter | ||
Comment 4•11 years ago
|
||
(In reply to Gregor Wagner [:gwagner] from comment #3)
> Do we still need this bug?
Yes, Guillaume is still working on it :).
Assignee | ||
Comment 5•11 years ago
|
||
I updated the branch to add the notifications counter in the utility tray.
The behaviour is the same as previously, that is only desktop notifications are counted, others are not (updates, bluetooth, media recording...).
For that reason, Rob, Eric, can you please review and tell me if it looks good to you?
Attachment #8490056 -
Flags: ui-review?(rmacdonald)
Attachment #8490056 -
Flags: ui-review?(epang)
Comment 6•11 years ago
|
||
Comment on attachment 8490056 [details]
Github branch
There are some discrepancies from the spec in the download scenario (spinner versus a progress bar) but the implementation is a big improvement from an IxD perspective and I wouldn't consider it an issue that would prevent us from landing this at this stage.
Eric will be able to comment on any visual issues.
Attachment #8490056 -
Flags: ui-review?(rmacdonald) → ui-review+
Reporter | ||
Comment 7•11 years ago
|
||
Comment on attachment 8490056 [details]
Github branch
Looks good Guillaume, marking as R+ since this bug was mainly to address the header changes and count. I thought we had the download progress implemented, did we not? If not it's probably not in scope anymore, but I still this this tray is MUCH better then the one before!
Attachment #8490056 -
Flags: ui-review?(epang) → ui-review+
Flags: needinfo?(gmarty)
Assignee | ||
Comment 8•11 years ago
|
||
Thanks guys for the ui-r+. I restyled the progress bar but I didn't replace the loader by a progress bar. This can be done in a follow up bug.
Tim, can you have a look at this patch?
Also, note to self: ping the l10n guys about the change in case.
Attachment #8490701 -
Flags: review?(timdream)
Flags: needinfo?(gmarty)
Comment 9•11 years ago
|
||
Comment on attachment 8490701 [details] [review]
Github PR
Sorry for the really late review -- I was OOO.
I didn't test this locally since you already got ui-review+.
I am not sure if you need to update l10n property here, so I am setting feedback to :l10n.
Attachment #8490701 -
Flags: review?(timdream)
Attachment #8490701 -
Flags: review+
Attachment #8490701 -
Flags: feedback?(community)
Comment 10•11 years ago
|
||
Comment on attachment 8490701 [details] [review]
Github PR
The only change here is letter case, so no need to have new IDs for these strings (it's basically like fixing a typo). Each locale is responsible for using case consistently in their own localization.
:l10n is an alias, it's OK to CC it, not really to assign actionable items to it.
https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_best_practices#Alias_.3Al10n
Having said that, have someone tested this with a long text for "notification"? Is it going to resize as headers usually do? You can use German for a test ("Benachrichtigungen").
Attachment #8490701 -
Flags: feedback?(community) → feedback+
Comment 11•11 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #10)
> :l10n is an alias, it's OK to CC it, not really to assign actionable items
> to it.
Damn, I was meant to needinfo :pike!
Comment 12•11 years ago
|
||
The slightly difference between l10n@ and :l10n :-)
From a quick test, I'd say this is broken with long text: searched for #notification-some, replaced text with "Benachrichtigungen", I lose the "Delete all" button completely.
Comment 13•11 years ago
|
||
Guillame, can you take a look before landing this?
I tried to change the string in WebIDE: with a long string the button to clear notifications disappear, with a very long string both title and button disappear.
Flags: needinfo?(gmarty)
Comment 14•11 years ago
|
||
Comment on attachment 8490701 [details] [review]
Github PR
We can't land this patch with comment 13.
Thanks :flod.
Attachment #8490701 -
Flags: review+
Comment 15•11 years ago
|
||
This is broken on German, but it's also evident on pseudolocale.
Reporter | ||
Comment 16•11 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #15)
> Created attachment 8493560 [details]
> Broken UI
>
> This is broken on German, but it's also evident on pseudolocale.
Thanks for the review Francesco. Let's reduce the font size to fix this. Guillaume can you update the header text to 18px (27px on flame)? This should give more then enough space :)
Assignee | ||
Comment 17•11 years ago
|
||
Comment on attachment 8490701 [details] [review]
Github PR
I've updated the patch to:
* Add some flexbox wizardry to get the notification title truncated if it can't fit in
* Address the nits that Tim left on Github
* Reduce the font size as Eric said
Tim, how does it look this time?
Attachment #8490701 -
Flags: review?(timdream)
Flags: needinfo?(gmarty)
Updated•11 years ago
|
Target Milestone: --- → 2.1 S5 (26sep)
Updated•11 years ago
|
Attachment #8490701 -
Flags: review?(timdream) → review+
Assignee | ||
Comment 18•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 19•11 years ago
|
||
Comment on attachment 8490701 [details] [review]
Github PR
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): Utility tray visual refresh
[User impact] if declined: UI won't as polish as it should be
[Testing completed]: manual testing
[Risk to taking this patch] (and alternatives if risky): Very low, mainly CSS changes
[String changes made]: none
Attachment #8490701 -
Flags: approval-gaia-v2.1?(bbajaj)
Assignee | ||
Comment 20•11 years ago
|
||
Ooops, forgot to mention that there is actually a string change: 'statusbarNotifications' must be capitalised.
Flags: needinfo?(bbajaj)
Comment 21•11 years ago
|
||
Comment on attachment 8490701 [details] [review]
Github PR
Not bad enough to justify uplift.
Attachment #8490701 -
Flags: approval-gaia-v2.1?(bbajaj) → approval-gaia-v2.1-
Assignee | ||
Comment 22•11 years ago
|
||
As per Comment 15 above there is a risk of broken layout on languages like German that this patch fixes. Can you please reconsider the decision about uplifting.
Flags: needinfo?(fabrice)
Comment 23•11 years ago
|
||
(In reply to Guillaume Marty [:gmarty] from comment #22)
> As per Comment 15 above there is a risk of broken layout on languages like
> German that this patch fixes. Can you please reconsider the decision about
> uplifting.
Comment 15 is a screenshot from a version of your PR that was buggy, right? On current trunk I can't reproduce the issue of having "Clear all" to disappear, even with a pseudo locale.
Flags: needinfo?(fabrice)
Assignee | ||
Comment 24•11 years ago
|
||
Yes Fabrice, this patch fixes the broken layout with 'clear all' button disappearing on master. However this issue is still present in v2.1 branch. So I'd really like to get this patch uplifted.
Flags: needinfo?(fabrice)
Comment 25•11 years ago
|
||
(In reply to Guillaume Marty [:gmarty] from comment #24)
> Yes Fabrice, this patch fixes the broken layout with 'clear all' button
> disappearing on master. However this issue is still present in v2.1 branch.
> So I'd really like to get this patch uplifted.
we are past the time to land any string changes on 2.1 at this point, so we cannot uplift the existing patch on 2.1
Flags: needinfo?(bbajaj)
Comment 26•11 years ago
|
||
(In reply to Guillaume Marty [:gmarty] from comment #24)
> Yes Fabrice, this patch fixes the broken layout with 'clear all' button
> disappearing on master. However this issue is still present in v2.1 branch.
> So I'd really like to get this patch uplifted.
I flashed the latests 2.1, and switched to the pseudo language accentuated english. I can't reproduce the issue, likely because the font size is already smaller than in the screenshot in comment 16
Flags: needinfo?(fabrice)
Comment 27•11 years ago
|
||
The only string change in this patch is about capitalization. You could just create a patch specific for 2.1 without string changes at all.
Comment 28•11 years ago
|
||
[Blocking Requested - why for this release]: I'm re-noming because there is no string change and this affects a primary shipping market for this release.
If I understand the bug correctly, German translations are affected and this is supposed to ship in Europe.
Why can't this be uplifted? It's not about actual translation; it's about capitalization. The string changes -- as Fabrice points out in comment #27 -- are not needed.
blocking-b2g: --- → 2.1?
Updated•11 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 29•11 years ago
|
||
You have to ask for uplift approval. And its fixed on master so please keep it closed.
Status: REOPENED → RESOLVED
blocking-b2g: 2.1? → ---
Closed: 11 years ago → 11 years ago
Flags: needinfo?(swilkes)
Resolution: --- → FIXED
Comment 30•11 years ago
|
||
(In reply to Stephany Wilkes from comment #28)
> [Blocking Requested - why for this release]: I'm re-noming because there is
> no string change and this affects a primary shipping market for this release.
>
> If I understand the bug correctly, German translations are affected and this
> is supposed to ship in Europe.
>
> Why can't this be uplifted? It's not about actual translation; it's about
> capitalization. The string changes -- as Fabrice points out in comment #27
> -- are not needed.
Flags: needinfo?(fabrice)
Comment 31•11 years ago
|
||
Gregor, prove me wrong about what I wrote in comment 26 : I could not repro the issue on 2.1
Flags: needinfo?(fabrice)
Comment 32•11 years ago
|
||
The use-case with the screenshot works for me as well.
Updated•11 years ago
|
Flags: needinfo?(swilkes)
You need to log in
before you can comment on or make changes to this bug.
Description
•