MbinOrg / mbin

Mbin: a federated content aggregator, voting, discussion and microblogging platform (By the community, for the community)
https://joinmbin.org
GNU Affero General Public License v3.0
171 stars 17 forks source link

Improve report dialog #318

Open BentiGorlich opened 7 months ago

BentiGorlich commented 7 months ago

Is your feature request related to a problem? Please describe. RIght now if one wants to report something it just displays a blank input field with the label "Reason". It should have a text stating what will happen when something is reported (e.g.: who you reported, to which instance the report will be federated to, etc.).

Describe the solution you'd like A modal dialog with information like

Additional context https://github.com/MbinOrg/mbin/issues/217#issuecomment-1833289484

e-five256 commented 7 months ago

I had mentioned I was planning to take a look at this so will try to pick it up if no one else is looking into it.

My plan was:

Do the same treatment to report that we did to moderate / previews, better in-<article> displaying rather than how it currently is now which is generate a div in a random place. I was thinking I could reuse the moderate grid area for this and just swap between the two, as it's very unlikely you're using both grid areas (that is, report will show the report panel in place of moderate actions, and if moderate actions are open it will close them, and vice versa, this should be very rare, aside from testing not sure why someone with moderate abilities would report an entry, but even if they want to seems safe to stop displaying moderate buttons to show the report panel)

Show user_inline component for: admin, global mods, magazine mods when local (~this can be changed to just magazine mods when we have remote reporting working~ edit: seems like that is coming up with #249) with text saying who will be able to see your report

Add drop downs with specific reasons, my thinking was this would just become ### headers or something in the message, ideally to work with remote reporting assuming it is basically just sending a message

Some cleanup on global mod / admins: e.g. wanted to make it clearer when there are pending reports if possible (need to double check how expensive that is to add to the top bar)

If there's anything else / things people would like to see, let me know

github-actions[bot] commented 4 months ago

This issue is stale because it has been open 50 days with no activity. Remove stale label or comment or this will be closed in 6 days.

github-actions[bot] commented 3 months ago

This issue was closed because it has been stalled for 6 days with no activity.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 50 days with no activity. Remove stale label or comment or this will be closed in 6 days.

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 50 days with no activity. Remove stale label or comment or this will be closed in 6 days.