Page MenuHomePhabricator

[lib] Introduce a new message type
AcceptedPublic

Authored by tomek on Fri, Mar 28, 4:10 AM.
Tags
None
Referenced Files
F5099905: D14510.id.diff
Mon, Mar 31, 9:20 AM
F5098475: D14510.id47609.diff
Mon, Mar 31, 3:19 AM
F5093967: D14510.diff
Sun, Mar 30, 2:04 PM
Subscribers
None

Details

Reviewers
kamil
ashoat
Summary

Introduce a new message type for deleting a message

https://linear.app/comm/issue/ENG-10325/create-a-new-message-type

Depends on D14505

Test Plan

Flow

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

tomek requested review of this revision.Fri, Mar 28, 4:29 AM

Modify some more types, test the validator

lib/selectors/chat-selectors.js
461 ↗(On Diff #47609)

This is temporary just to make sure Flow doesn't complain. Implementing the proper solution is a part of the client side work.

lib/shared/messages/delete-message-spec.js
65 ↗(On Diff #47609)

We're introducing this whole spec just to have this line - to make sure the tests work. The functions that were introduced here are mandatory. More functions will be implemented later.

Can you retitle all of the diffs in this stack to explicitly reference message deletion? Just realized that they're just generically titled.

This revision is now accepted and ready to land.Fri, Mar 28, 6:42 AM