Depends on D5110
Introducing a simple ModalLabel component, which will be used in e.g. SubchannelComposer
Figma:
https://www.figma.com/file/a1nkbWgbgjRlrOY9LVurTz/Comm-%2F-Desktop-app?node-id=1077%3A70464
Differential D5113
[web] Introducing `ModalLabel` component • jakub on Sep 12 2022, 7:11 AM. Authored by Tags None Referenced Files
Details Depends on D5110 Introducing a simple ModalLabel component, which will be used in e.g. SubchannelComposer Figma: This component will be used in next diffs (firstly in SubchannelComposer). Currently, no changes in the app.
Diff Detail
Event TimelineComment Actions Looks good at a high level! Requested two changes to maintain consistency with the rest of the codebase
Comment Actions Overall I'm not really sure if introducing components that are that simple is beneficial. It is just a simple div with a class, so maybe it would be better to just have div with a class where this component would be used? (not sure, it depends on the rest of the stack). Usually, when we have a component which renders a single prop, we can consider using children instead - that is more reusable, but not sure if it applies here.
Comment Actions After discussion in real life, I decided to abandon this diff and include this component directly to ComposeSubchannel |