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

@ -36,6 +36,9 @@ export default {
groupStories: {
defaultValue: Array.from(Array(2), getDefaultGroup),
},
hasFirstStoryPostExperience: {
defaultValue: false,
},
i18n: {
defaultValue: i18n,
},
@ -44,11 +47,15 @@ export default {
},
onClose: { action: true },
onDistributionListCreated: { action: true },
onHideMyStoriesFrom: { action: true },
onSend: { action: true },
onViewersUpdated: { action: true },
setMyStoriesToAllSignalConnections: { action: true },
signalConnections: {
defaultValue: Array.from(Array(42), getDefaultConversation),
},
tagGroupsAsNewGroupStory: { action: true },
toggleSignalConnectionsModal: { action: true },
},
} as Meta;
@ -58,3 +65,10 @@ export const Modal = Template.bind({});
Modal.args = {
distributionLists: getFakeDistributionLists(),
};
export const FirstTime = Template.bind({});
FirstTime.args = {
distributionLists: [getMyStories()],
groupStories: [],
hasFirstStoryPostExperience: true,
};