lemmy-ui icon indicating copy to clipboard operation
lemmy-ui copied to clipboard

If create report fails, show toast with error message

Open Nutomic opened this issue 1 month ago • 0 comments

Requirements

  • [x] This is a bug report, and if not, please post to https://lemmy.ml/c/lemmy_support instead.
  • [x] Please check to see if this issue already exists.
  • [x] It's a single bug. Do not report multiple bugs in one issue.
  • [x] It's a frontend issue, not a backend issue; Otherwise please create an issue on the backend repo instead.

Summary

When creating a new report fails, there is no indication in the UI and only the browser console shows an error message. It should display a toast.

Related to https://github.com/LemmyNet/lemmy/issues/6214.

Steps to Reproduce

  1. Create a new post report
  2. This should work fine and show a success toast
  3. Create a second report for the same post

Technical Details

Creating a duplicate report will fail as expected, however there is no error toast in the UI.

Lemmy Instance Version

1.0.0

Lemmy Instance URL

No response

Nutomic avatar Dec 15 '25 10:12 Nutomic