Closed
Bug 1218724
Opened 9 years ago
Closed 9 years ago
Refine error UI on TV
Categories
(Firefox OS Graveyard :: Sync, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
FxOS-S10 (30Oct)
People
(Reporter: mbdejong, Assigned: ferjm)
References
Details
(Whiteboard: [partner-cherry-pick])
Attachments
(1 file)
When the Syncto server responds with a 401, a full-screen alert pops up with the text:
Unknown error
undefined
This looks a bit user-unfriendly. 401s from Syncto should never occur in production, but if other responses (like 502 Service Unavailable) use this same alert, then we could polish this view, maybe changing the two lines of text to look a bit more user-friendly.
Reporter | ||
Updated•9 years ago
|
Flags: needinfo?(ferjmoreno)
Assignee | ||
Updated•9 years ago
|
Blocks: fxos-sync
Flags: needinfo?(ferjmoreno)
Priority: -- → P3
Target Milestone: --- → FxOS-S10 (30Oct)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → ferjmoreno
Comment 1•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8680062 -
Flags: review?(yliao)
Comment 2•9 years ago
|
||
Comment on attachment 8680062 [details] [review]
[gaia] ferjm:bug1218724.unknown.error > mozilla-b2g:master
Thanks!
Attachment #8680062 -
Flags: review?(yliao) → review+
Assignee | ||
Comment 3•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 4•9 years ago
|
||
Note to dev and reviewer for future bugs: do not change strings without using new IDs.
https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_content_best_practices#Changing_existing_strings
Changing string IDs is the only way for localizers to know about a string change.
I'm not going to ask you to fix or back-out this change (normally I would), because the previous version of the strings was not exposed yet by pure chance.
As a general rule, if you're changing a string in gaia master, change the ID unless it's just fixing a typo. If you have doubts, please ask.
Assignee | ||
Comment 5•9 years ago
|
||
Thank you Francesco. None of these strings made it into production yet as they are being added along with the Sync feature during the 2.5 dev process, so I figured that no string ID change was needed.
Comment 6•9 years ago
|
||
(In reply to Fernando Jiménez Moreno [:ferjm] from comment #5)
> Thank you Francesco. None of these strings made it into production yet as
> they are being added along with the Sync feature during the 2.5 dev process,
> so I figured that no string ID change was needed.
For clarity: the discriminant is not if they're used in production, but if they landed in the repository on GitHub.
Once landed, they're exposed to localization and we won't know if someone translated the first version and never updated them. So, if a change is important, we need new string IDs.
Assignee | ||
Comment 7•9 years ago
|
||
Oh, good to know. Thanks for the explanation Francesco.
Assignee | ||
Updated•9 years ago
|
Whiteboard: [partner-cherry-pick]
You need to log in
before you can comment on or make changes to this bug.
Description
•