Skip to content

Reporting

Tae Hoon requested to merge tae/pleroma-fe:441-reporting into develop

Closes #441 (closed)

User reporting happens in a modal. The modal UI is basically similar to the MastodonFE. It filters all statuses of the selected account among statuses.allStatuses and shows them on the right side of the modal.

UserCard has Report button now. By clicking that button, the modal will be opened.

As per a chat with Feld, this is good enough to roll out at this round.

Things to consider

  • Trigger the reporting modal from a status directly; Need discussion about where to put new action icon/button
  • Optimize/Clean up the modal UI; Since all of the statuses inside the modal are from the same account, we can just focus on showing status messages.
  • Implement infinite loading of statuses inside the modal; Currently, the modal shows statuses that the app fetched until right before the modal is opened. To view more statuses of the selected account, they need to find them using any timeline UI. They probably want to view all in the modal UI without extra efforts. However, this is less important.

Screenshots

  • Modal UI

desktop

  • Error State

Error

  • Mobile UI

mobile

  • Report Button

report-button

Edited by Tae Hoon

Merge request reports