Add Fediverse event chat views. Closes #2679

This commit is contained in:
Gabe Kangas
2023-02-05 19:58:38 -08:00
parent 922c68bcf7
commit 313a81359a
7 changed files with 586 additions and 15 deletions
@@ -13,7 +13,7 @@ const Template: ComponentStory<typeof ChatSocialMessage> = args => <ChatSocialMe
export const Follow = Template.bind({});
Follow.args = {
message: {
type: 'follow',
type: 'FEDIVERSE_ENGAGEMENT_FOLLOW',
body: 'james followed this live stream.',
title: 'james@mastodon.social',
image: 'https://mastodon.social/avatars/original/missing.png',
@@ -24,7 +24,7 @@ Follow.args = {
export const Like = Template.bind({});
Like.args = {
message: {
type: 'like',
type: 'FEDIVERSE_ENGAGEMENT_LIKE',
body: 'james liked that this stream went live.',
title: 'james@mastodon.social',
image: 'https://mastodon.social/avatars/original/missing.png',
@@ -35,7 +35,7 @@ Like.args = {
export const Repost = Template.bind({});
Repost.args = {
message: {
type: 'repost',
type: 'FEDIVERSE_ENGAGEMENT_REPOST',
body: 'james shared this stream with their followers.',
title: 'james@mastodon.social',
image: 'https://mastodon.social/avatars/original/missing.png',