Onboarding story

This commit is contained in:
Josh Perez 2022-11-08 21:38:19 -05:00 committed by GitHub
parent 94f318ea08
commit 19a42ed719
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 725 additions and 143 deletions

View file

@ -92,6 +92,7 @@ export type OwnProps = Readonly<{
) => unknown;
compositionApi?: MutableRefObject<CompositionAPIType>;
conversationId: string;
uuid?: string;
draftAttachments: ReadonlyArray<AttachmentDraftType>;
errorDialogAudioRecorderType?: ErrorDialogAudioRecorderType;
errorRecording: (e: ErrorDialogAudioRecorderType) => unknown;
@ -101,6 +102,7 @@ export type OwnProps = Readonly<{
isFetchingUUID?: boolean;
isGroupV1AndDisabled?: boolean;
isMissingMandatoryProfileSharing?: boolean;
isSignalConversation?: boolean;
recordingState: RecordingState;
isSMSOnly?: boolean;
left?: boolean;
@ -176,6 +178,7 @@ export const CompositionArea = ({
processAttachments,
removeAttachment,
theme,
isSignalConversation,
// AttachmentList
draftAttachments,
@ -481,6 +484,11 @@ export const CompositionArea = ({
};
}, [setLarge]);
if (isSignalConversation) {
// TODO DESKTOP-4547
return <div />;
}
if (
isBlocked ||
areWePending ||