Page MenuHomePhabricator

[web] Display a deleted message on web
ClosedPublic

Authored by tomek on Fri, Apr 4, 4:15 AM.
Tags
None
Referenced Files
F5764418: D14544.id.diff
Mon, Apr 14, 3:40 PM
F5762323: D14544.id47724.diff
Mon, Apr 14, 2:41 PM
F5727446: D14544.id47655.diff
Mon, Apr 14, 8:46 AM
Unknown Object (File)
Mon, Apr 14, 1:22 AM
Unknown Object (File)
Sun, Apr 13, 11:34 AM
Unknown Object (File)
Sun, Apr 13, 6:32 AM
Unknown Object (File)
Fri, Apr 11, 12:31 AM
Unknown Object (File)
Thu, Apr 10, 4:27 AM
Subscribers
None

Details

Summary

Used a color that seems to be distinctive enough both from viewer's and others messages.

https://linear.app/comm/issue/ENG-10346/replace-deleted-messages-by-a-text-message

web-deleted-2.png (1×890 px, 106 KB)

Depends on D14543

Test Plan

Checked if deleted messages on web are displayed as deleted.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tomek requested review of this revision.Fri, Apr 4, 4:36 AM
ashoat requested changes to this revision.Fri, Apr 4, 8:49 AM

The white background feels like too strong of a contrast... I feel like a deleted message should be less visible than a non-deleted message. Could we try something closer to what Rahul had in his designs?

web/chat/deleted-message.react.js
40 ↗(On Diff #47656)

Do we really need to render Markdown here just to italicize some text?

This revision now requires changes to proceed.Fri, Apr 4, 8:49 AM

Simplify. Update the style.

The white background feels like too strong of a contrast... I feel like a deleted message should be less visible than a non-deleted message. Could we try something closer to what Rahul had in his designs?

Updated the design

web-deleted-2.png (1×890 px, 106 KB)

web/chat/deleted-message.react.js
40 ↗(On Diff #47656)

It can be simplified - replaced with <i>

This revision is now accepted and ready to land.Wed, Apr 9, 8:04 PM
This revision was automatically updated to reflect the committed changes.