Closed
Bug 1279054
Opened 10 years ago
Closed 10 years ago
display own chat messages in different color and with a speech bubble to the right
Categories
(Hello (Loop) :: Client, defect, P1)
Hello (Loop)
Client
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dmosedale, Assigned: fcampo)
References
Details
(Keywords: regression, Whiteboard: [akita-alpha])
User Story
As a user, my own messages should be visually distinct from that of other users so that it's easier to follow the conversation. This bug is really about un-regressing something so that it's at least visually reasonable. Acceptance criteria: * my speech bubbles point to the right and are grey * file a new bug requesting visual design of The Right Thing here This is fixing a regression from the multi-user chat landing. Partial tech checklist: * add userId to messages * compare userId on incoming messages to own userId
Attachments
(1 external file)
No description provided.
| Reporter | ||
Updated•10 years ago
|
Summary: display own chat messages in different call and with a speech bubble to the right → display own chat messages in different color and with a speech bubble to the right
| Reporter | ||
Updated•10 years ago
|
User Story: (updated)
| Reporter | ||
Updated•10 years ago
|
Comment 1•10 years ago
|
||
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → fernando.campo
| Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8762124 [details] [review]
[loop] fcampo:color-chat-1279054 > mozilla:akita
quick fix for the live chat. as firebase is throwing back all the messages, we can avoid updating the store (hence triggering the actions) when we receive a message from ourselves.
It does NOT fix the initial load of old messages, for that we'd need to add userId to the message stored on Firebase (which is the obvious solution, but longer to fix for the demo). So I propose this temporal patch.
Attachment #8762124 -
Flags: review?(edilee)
Attachment #8762124 -
Flags: review?(dmose)
Attachment #8762124 -
Flags: review?(dcritchley)
| Reporter | ||
Updated•10 years ago
|
Attachment #8762124 -
Flags: review?(edilee)
Attachment #8762124 -
Flags: review?(dcritchley)
| Reporter | ||
Comment 3•10 years ago
|
||
Comment on attachment 8762124 [details] [review]
[loop] fcampo:color-chat-1279054 > mozilla:akita
r=dmose
Add an XXX comment to the code you're coding pointing to this bug (if you leave it open), or a separately filed bug if you want to close it. Be sure to note that this also doesn't handle the case where someone changes their name to impersonate someone else, but adding the userId makes that easy to fix.
Either make all the failing tests work, or change them to it.skip() and add an XXX comment by each one pointing to the same bug.
Attachment #8762124 -
Flags: review?(dmose) → review+
| Assignee | ||
Comment 4•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•