Delete for everyone: Track sends and show failure states
This commit is contained in:
parent
688cca1806
commit
0a52318be6
24 changed files with 426 additions and 60 deletions
|
@ -50,6 +50,8 @@ const items: Record<string, TimelineItemType> = {
|
|||
canDownload: true,
|
||||
canReact: true,
|
||||
canReply: true,
|
||||
canRetry: true,
|
||||
canRetryDeleteForEveryone: true,
|
||||
conversationColor: 'forest',
|
||||
conversationId: 'conversation-id',
|
||||
conversationType: 'group',
|
||||
|
@ -72,6 +74,8 @@ const items: Record<string, TimelineItemType> = {
|
|||
canDownload: true,
|
||||
canReact: true,
|
||||
canReply: true,
|
||||
canRetry: true,
|
||||
canRetryDeleteForEveryone: true,
|
||||
conversationColor: 'forest',
|
||||
conversationId: 'conversation-id',
|
||||
conversationType: 'group',
|
||||
|
@ -108,6 +112,8 @@ const items: Record<string, TimelineItemType> = {
|
|||
canDownload: true,
|
||||
canReact: true,
|
||||
canReply: true,
|
||||
canRetry: true,
|
||||
canRetryDeleteForEveryone: true,
|
||||
conversationColor: 'crimson',
|
||||
conversationId: 'conversation-id',
|
||||
conversationType: 'group',
|
||||
|
@ -205,6 +211,8 @@ const items: Record<string, TimelineItemType> = {
|
|||
canDownload: true,
|
||||
canReact: true,
|
||||
canReply: true,
|
||||
canRetry: true,
|
||||
canRetryDeleteForEveryone: true,
|
||||
conversationColor: 'plum',
|
||||
conversationId: 'conversation-id',
|
||||
conversationType: 'group',
|
||||
|
@ -228,6 +236,8 @@ const items: Record<string, TimelineItemType> = {
|
|||
canDownload: true,
|
||||
canReact: true,
|
||||
canReply: true,
|
||||
canRetry: true,
|
||||
canRetryDeleteForEveryone: true,
|
||||
conversationColor: 'crimson',
|
||||
conversationId: 'conversation-id',
|
||||
conversationType: 'group',
|
||||
|
@ -251,6 +261,8 @@ const items: Record<string, TimelineItemType> = {
|
|||
canDownload: true,
|
||||
canReact: true,
|
||||
canReply: true,
|
||||
canRetry: true,
|
||||
canRetryDeleteForEveryone: true,
|
||||
conversationColor: 'crimson',
|
||||
conversationId: 'conversation-id',
|
||||
conversationType: 'group',
|
||||
|
@ -274,6 +286,8 @@ const items: Record<string, TimelineItemType> = {
|
|||
canDownload: true,
|
||||
canReact: true,
|
||||
canReply: true,
|
||||
canRetry: true,
|
||||
canRetryDeleteForEveryone: true,
|
||||
conversationColor: 'crimson',
|
||||
conversationId: 'conversation-id',
|
||||
conversationType: 'group',
|
||||
|
@ -297,6 +311,8 @@ const items: Record<string, TimelineItemType> = {
|
|||
canDownload: true,
|
||||
canReact: true,
|
||||
canReply: true,
|
||||
canRetry: true,
|
||||
canRetryDeleteForEveryone: true,
|
||||
conversationColor: 'crimson',
|
||||
conversationId: 'conversation-id',
|
||||
conversationType: 'group',
|
||||
|
@ -340,6 +356,7 @@ const actions = () => ({
|
|||
|
||||
reactToMessage: action('reactToMessage'),
|
||||
replyToMessage: action('replyToMessage'),
|
||||
retryDeleteForEveryone: action('retryDeleteForEveryone'),
|
||||
retrySend: action('retrySend'),
|
||||
deleteMessage: action('deleteMessage'),
|
||||
deleteMessageForEveryone: action('deleteMessageForEveryone'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue