Descriptive error messages for video stories

This commit is contained in:
Fedor Indutny 2023-02-28 14:17:22 -08:00 committed by GitHub
parent c038c07b06
commit 4549291b7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 289 additions and 179 deletions

View file

@ -59,6 +59,7 @@ export type PropsType = {
getPreferredBadge: PreferredBadgeSelectorType;
hiddenStories: Array<ConversationStoryType>;
i18n: LocalizerType;
maxAttachmentSizeInKb: number;
me: ConversationType;
myStories: Array<MyStoryType>;
onAddStory: (file?: File) => unknown;
@ -78,6 +79,7 @@ export function StoriesPane({
getPreferredBadge,
hiddenStories,
i18n,
maxAttachmentSizeInKb,
me,
myStories,
onAddStory,
@ -123,6 +125,7 @@ export function StoriesPane({
</div>
<StoriesAddStoryButton
i18n={i18n}
maxAttachmentSizeInKb={maxAttachmentSizeInKb}
moduleClassName="Stories__pane__add-story"
onAddStory={onAddStory}
showToast={showToast}
@ -155,6 +158,7 @@ export function StoriesPane({
<div className="Stories__pane__list">
<MyStoryButton
i18n={i18n}
maxAttachmentSizeInKb={maxAttachmentSizeInKb}
me={me}
myStories={myStories}
onAddStory={onAddStory}