Closed Bug 1210775 Opened 9 years ago Closed 8 years ago

Modify Last Synced setting row to have 'Last Synced' and timestamp label on two separate lines

Categories

(Firefox for iOS :: General, defect)

Other
iOS
defect
Not set
normal
20

Tracking

()

RESOLVED FIXED
Tracking Status
fxios 2.0+ ---

People

(Reporter: sleroux, Assigned: bmunar, Mentored)

References

Details

Attachments

(1 file, 1 obsolete file)

38 bytes, text/plain
sleroux
: review+
tecgirl
: ui-review+
Details
As a solution for locales where Last Sycned + timestamp are really long, we want to have the two labels on separate lines with the cell height adjusted to accommodate the second label. See https://bugzilla.mozilla.org/show_bug.cgi?id=1183905#c23 for more details.
Maybe something like for Close Private Tabs / When Leaving Private Browsing two lines would be better?
Blocks: iosl10n
We're going with something similar - just the two lines on the right instead of the left:

https://bugzilla.mozilla.org/attachment.cgi?id=8665643&action=edit
(In reply to Stefan Plewako [:stef] from comment #1)
> Maybe something like for Close Private Tabs / When Leaving Private Browsing
> two lines would be better?

(In reply to Stephan Leroux [:sleroux] from comment #2)
> We're going with something similar - just the two lines on the right instead
> of the left

Are we sure? https://bug1183905.bmoattachments.org/attachment.cgi?id=8665643 looks rather unusual and inconsistent with "When Leaving Private Browsing".
Flags: needinfo?(randersen)
Blocks: 1212574
Clearing NI for Robin as we've discussed this in triage.

We're going to remove the 'Last Synced' label and just show the timestamp as the time will implicitly let the user know the 'last' synced time. The row will look like this:

Sync Now              Just now (or whatever the timestamp is)
Flags: needinfo?(randersen)
Assignee: sleroux → bugs
Mentor: sleroux
Attached file Pull request (obsolete) —
Attachment #8678940 - Flags: review?(sleroux)
Comment on attachment 8678940 [details] [review]
Pull request

Code looks good - thanks for the patch! 

:tecgirl, do we want to keep the the text for these lower cased? If want to change it we'll need to push this to 2.0 since 1.1.1 will be bug fix only :\
Attachment #8678940 - Flags: ui-review?(randersen)
Attachment #8678940 - Flags: review?(sleroux)
Attachment #8678940 - Flags: review+
Status: NEW → ASSIGNED
Comment on attachment 8678940 [details] [review]
Pull request

I'll be honest, dropping "Last synced: xx" makes the other part of the string rather anemic, it lacks context. I'm tempted to drop it all until we can come to a better solution.

Two examples, http://c.tecgirl.com/ddR4 & http://c.tecgirl.com/dddB

If we were to capitalize it, it would show:
 "Sync Now          Just Now"
 "Sync Now          Last Week"

It's weird if we capitalize it or not.
Darrin, can I get your thoughts on this?
Flags: needinfo?(dhenein)
Honestly, I think if it were capitalized it will look fine. If we come up with a better solution in the future, we can ship that, but in the event that we don't come back to this for a while, something is better than nothing.

If we don't want to change the strings and land this now, can we always show the timestamp (instead of the fancy "Just now" strings) and then show those strings 2.0+?

Thoughts?
Flags: needinfo?(sleroux)
Flags: needinfo?(randersen)
Flags: needinfo?(dhenein)
We can show a timestamp using a date formatter like YYYY/MM/DD HH:mm:ss for now if we wanted for 1.2.
Flags: needinfo?(sleroux)
I would greatly prefer that. I'm not thrilled with the current state at all.
Flags: needinfo?(randersen)
Rank: 20
Assignee: bugs → bmunar
Attached file PR - timestamp
Attachment #8705368 - Flags: ui-review?(randersen)
Attachment #8705368 - Flags: ui-review?(randersen) → ui-review+
Attachment #8705368 - Flags: review?(sleroux)
Attachment #8678940 - Attachment is obsolete: true
Attachment #8678940 - Flags: ui-review?(randersen)
Comment on attachment 8705368 [details]
PR - timestamp

Looks good - just some nits/comments on the PR.
Attachment #8705368 - Flags: review?(sleroux) → review+
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: