First time My Stories post experience

This commit is contained in:
Josh Perez 2022-08-23 13:24:55 -04:00 committed by GitHub
parent c18fa35354
commit f611256afc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 392 additions and 102 deletions

View file

@ -33,6 +33,9 @@ export default {
groupStories: {
defaultValue: Array.from(Array(4), getDefaultGroup),
},
hasFirstStoryPostExperience: {
defaultValue: false,
},
i18n: { defaultValue: i18n },
installedPacks: {
defaultValue: [],
@ -45,14 +48,18 @@ export default {
},
onClose: { action: true },
onDistributionListCreated: { action: true },
onHideMyStoriesFrom: { action: true },
onSend: { action: true },
onViewersUpdated: { action: true },
processAttachment: { action: true },
recentStickers: {
defaultValue: [],
},
setMyStoriesToAllSignalConnections: { action: true },
signalConnections: {
defaultValue: Array.from(Array(42), getDefaultConversation),
},
toggleSignalConnectionsModal: { action: true },
},
} as Meta;
@ -78,3 +85,11 @@ LinkPreview.args = {
LinkPreview.story = {
name: 'with Link Preview ready to be applied',
};
export const FirstTime = Template.bind({});
FirstTime.args = {
hasFirstStoryPostExperience: true,
};
FirstTime.story = {
name: 'First time posting a story',
};