Skip to content

Confirmation dialog on channel-unsubscribe from action sheet, for any channel #1827

@chrisbobbe

Description

@chrisbobbe

We offer an "Unsubscribe" button in the channel action sheet, but it doesn't give a confirmation dialog unless it's a private channel (with refinements of that condition tracked in #1788 and #1786). That dialog exists to guard against leaving channels that you won't be able to rejoin.

It's helpful to guard against accidental unsubscribes for a few other reasons, which apply to any channel:

  • If you opened the action sheet from a channel row in some views including the inbox and subscribed-channels screen, unsubscribing will make the channel's row disappear, and you'll have to find the channel again to undo the action.
  • Unsubscribing can be a destructive action even if you're able to resubscribe right away, because its messages are automatically marked as read.

In the soon-to-be-build "All channels" page, the second item doesn't apply, and a confirmation dialog might be annoying if you want to unsubscribe from many channels quickly by switching each channel's switch to "off". We could skip a confirmation dialog on that page, or maybe offer a snackbar with an "undo" button instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions