Closed Bug 789313 Opened 13 years ago Closed 12 years ago

Long profile username breaks Messages folder layout

Categories

(support.mozilla.org :: General, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED FIXED
2013Q3

People

(Reporter: ho.jonah, Assigned: atopal)

References

Details

(Whiteboard: u=contributor c=private-messaging p=0 s=2013.14 [mentor=r1cky])

Attachments

(2 files)

Overview: Messages folder layout is broken because a long profile username will shift the preceding messages out of place. Build ID: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0 Steps to Reproduce: 1. Receive a message from a user with a long username 2. Ask the same user to reply to their sent message Actual Results: The first message sent by the user appears below the second message, but is shifted out of place towards the right. Expected Results: The first message sent by the user should appear directly below the second message and not shifted at all.
For step #2 in Steps to Reproduce, it should be "Ask the same user to send another message."
Ricky, Rehan, let's keep this in mind when we redesign the private message window.
Depends on: 787561
Setting the mentored bit with other metadata.
Whiteboard: u=contributor c=private-messaging p= s=2013.backlog [mentor=r1cky]
OS: Windows 7 → All
Hardware: x86_64 → All
Here is an example from https://support.mozilla.org/en-US/messages , with two messages from someone with a relatively long name. Looks like it isn't shifted to the right, but some information overlaps onto the horizontal divider line between the messages.
Yeah, there are also issues with messages that are too long. We restrict the box to a height of 48px, but the text won't always fit so it breaks into the next line. Since we are already truncating the text, we should just give it the space, or truncate more aggressively.
Attached image cut off text
This was bugging me a lot, so I took at shot at it. https://github.com/mozilla/kitsune/pull/1490
Assignee: nobody → a.topal
Priority: -- → P4
Whiteboard: u=contributor c=private-messaging p= s=2013.backlog [mentor=r1cky] → u=contributor c=private-messaging p=0 s=2013.14 [mentor=r1cky]
Target Milestone: --- → 2013Q3
Deployed to prod now. Thanks Kadir!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: