Reportable UI 2nd iteration
In gitlab-ce#30281 we introduce a new reporting UI.
In gitlab-ce%"9.3" there were a couple points I decided to move to a second iteration. I missed these points until I read the comments thread on the issue.
-
-
Instead of taking the user to the new abuse report page and letting them submit it there, submit the report directly from clicking the button and refresh the page.
-
-
-
If a user can report a Spammable
, change the button to "Submit as spam" instead of "Report abuse". Currently, notes are not classed as "spammable" so in the 2nd iteration, we need to move this logic to notes, this could be simple, it might not be. This will be included already for issues, MRs and snippet, just not notes (comments).
-
As for point 1, what is the UX for this? Do they click it and the page just refreshes? /cc @tauriedavis @victorwu