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)
Sun, Sep 15, 1:14 PM
Unknown Object (File)
Sun, Sep 15, 1:14 PM
Unknown Object (File)
Sun, Sep 15, 1:12 PM
Unknown Object (File)
Sun, Sep 15, 12:54 PM
Unknown Object (File)
Fri, Sep 13, 9:43 AM
Unknown Object (File)
Fri, Sep 6, 3:47 AM
Unknown Object (File)
Aug 26 2024, 10:24 PM
Unknown Object (File)
Aug 14 2024, 5:43 PM
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