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)
Nov 7 2024, 4:46 PM
Unknown Object (File)
Nov 7 2024, 12:16 PM
Unknown Object (File)
Nov 7 2024, 12:13 PM
Unknown Object (File)
Nov 7 2024, 12:12 PM
Unknown Object (File)
Oct 28 2024, 6:12 AM
Unknown Object (File)
Oct 28 2024, 6:12 AM
Unknown Object (File)
Oct 28 2024, 6:12 AM
Unknown Object (File)
Oct 28 2024, 6:12 AM
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
Lint Not Applicable
Unit
Tests Not Applicable

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