Page MenuHomePhabricator

[lib] Introduce a canBePinned boolean to message specs
ClosedPublic

Authored by rohan on Oct 10 2023, 8:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 20, 4:38 PM
Unknown Object (File)
Wed, Nov 20, 4:38 PM
Unknown Object (File)
Wed, Nov 20, 4:37 PM
Unknown Object (File)
Wed, Nov 20, 4:18 PM
Unknown Object (File)
Tue, Nov 19, 9:07 PM
Unknown Object (File)
Oct 19 2024, 4:20 AM
Unknown Object (File)
Oct 19 2024, 4:20 AM
Unknown Object (File)
Oct 19 2024, 4:18 AM
Subscribers

Details

Summary

This diff introduces a canBePinned boolean to each of the message specs, isolating the 'source of truth' to the message specs. The next diff will have a function that will be able to read each of these, alongside unit tests and updating appropriate callsites.

Only composable message types can be pinned

Resolves https://linear.app/comm/issue/ENG-5213/introduce-a-canbepinned-boolean-to-message-specs

Depends on D9331

Test Plan

Ran flow for this diff, more thorough testing will be in the next diff

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable