Page MenuHomePhabricator

[web] Display a deleted message on web
ClosedPublic

Authored by tomek on Fri, Apr 4, 4:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 21, 5:41 PM
Unknown Object (File)
Sun, Apr 20, 11:59 PM
Unknown Object (File)
Thu, Apr 17, 8:00 PM
Unknown Object (File)
Thu, Apr 17, 4:35 PM
Unknown Object (File)
Wed, Apr 16, 7:50 AM
Unknown Object (File)
Tue, Apr 15, 4:34 PM
Unknown Object (File)
Mon, Apr 14, 3:40 PM
Unknown Object (File)
Mon, Apr 14, 2:41 PM
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
No Lint Coverage
Unit
No Test Coverage

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.