Report Food basket
Description
Currently users (A) cannot directly report to an ambassador / the Meldeteam (C) if a food basket violates the rules of foodsharing. Currently you have to (know! and) find the corresponding button on the profile page of the food-basket-owner (B). Right now it exists only on the desktop-page, not in the app. It would be a feature if you could directly report such a food basket without having to look up the corresponding BOT.
Impact
Especially foodsharers (reporting violations / having a food basket that violates rules) and BOTs (managing the case).
Proposal
Implement a ""report rule violation" button to the template of a food basket (ideally both
-
in the app and -
on the desktop page).
Clicking the button would open a dialogue:
-
"Please summarize the reason this food basket would violate our rules [+ hyperlink to the rules]: (Textarray) |Send|Abort|"
If you click send, it would
-
trigger an email notification for C, containing the -
image of the food basket and the -
text of the content, including -
timestamp and -
profile link to both A -
and B.
Possible implementation
- Add a button similar to the one in ProfileView.profileMenu (maybe to the menu on the right-hand side).
- Adjust the report dialog (ReportXhr.reportDialog) for baskets (see text above) or create a new similar dialog.
- Add a new function (e.g.
basketReport
) similar to ReportXhr.betriebReport that writes to the db and sends an email.
Links / references
Another idea of how to tackle this: #47 (comment 134490847)