Page MenuHomePhabricator

[lib][keyserver] Add editing message type to messageTypes
ClosedPublic

Authored by kuba on Mar 7 2023, 1:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 28, 6:12 AM
Unknown Object (File)
Mon, Oct 28, 6:12 AM
Unknown Object (File)
Mon, Oct 28, 6:12 AM
Unknown Object (File)
Mon, Oct 28, 6:12 AM
Unknown Object (File)
Mon, Oct 28, 6:04 AM
Unknown Object (File)
Mon, Oct 21, 3:57 PM
Unknown Object (File)
Fri, Oct 18, 10:05 AM
Unknown Object (File)
Tue, Oct 8, 12:44 PM
Subscribers

Details

Summary

Registered new message type EDIT_MESSAGE to messageTypes. Added some lines to prevent flow-typing errors in different places of the app. For now, when we process the added
message type, we ignore it.

Test Plan

Tested if app compiles and checked if everything works correctly.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Accepting, but if what I suggested doesn't take too long might be worthwhile to update

lib/shared/messages/sidebar-source-message-spec.js
108–114 ↗(On Diff #23475)

When I was working on reactions, @tomek recommended defining a set of incompatible messages with the sidebar source. Now that we have more than two incompatible messages, now might be a good time to address this

https://linear.app/comm/issue/ENG-2422/define-set-of-incompatible-message-types-for-sidebar-source

This revision is now accepted and ready to land.Mar 9 2023, 10:04 AM

Rebase to master

lib/shared/messages/sidebar-source-message-spec.js
108–114 ↗(On Diff #23475)

Added as follow-up task to message editing