Skip to content

Editing a message outside of the valid edit window should show a helpful message. #2902

@sstangl

Description

@sstangl

Our organization is on zulipchat.com with a 10-minute edit window.

In the app, if a user attempts to edit a message that is outside of this window, a modal dialog pops up with just the text API. The user didn't know that they couldn't edit the message due to policy reasons -- they then thought that there was an error in the app or with the server.

Two options:

  1. The "Edit" button should be grayed-out if the edit cannot be performed due to policy reasons, possibly with an explanation like "Edit (10 minutes only)", or something like that.
  2. If the user manages to make an Edit request anyway, the returned message should explain something about the organization Edit policy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions