Skip to content

Add state to each message and allow users to resend failed messages #22

Open
@FabioRosado

Description

@FabioRosado

On opsdroid v 2 each message contains the following:

export type MessageType = {
  text: string;
  user: string;
  timestamp: Date;
  image?: string;
};

We should also add a state which will be one of the following:

  • Sending
  • Sent
  • Error

If we have a message in an error state, we should do the following:

  • Show an error icon next to he message
  • Show a tooltip above the icon with the error message
  • Upon clicking we will try to resend the message again

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestopsdroid-web-v2Issues related to the upcoming version of opsdroid web

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions