jobguywork / backend

Job Guy Backend
https://jobguy.work/donate
MIT License
215 stars 46 forks source link

Unwatched instances (comment, question, answer) #51

Open sbabashahi opened 3 years ago

sbabashahi commented 3 years ago

Currently review and interview comments, company questions and answers are not under any process to check the contents.

For example: Reviews and interviews have a field is approved, default is false, after creating and updating a message containing data about review or interview will send to telegram bot. Telegram bot will notify moderators and they will check contents and will decide to approve it or not. They check contents against the site rules.

We need a process to check contents of these instances as review and interview.

Suggested solution: Add a boolean field named reported to these instances. An API that from frontend instances could be reported by users. Request data are id of instance and type of instance. Currently type of instance choices are review_comment, interview_comment, question and answer. After reporting API called we could check if instance reported before or not by using reported field. If it's not reported before we could send content of instance to telegram bot for moderators decision, And we need an API like approving review and interviews from telegram to delete instance by moderators.

Any other suggestion?

MAM-SYS commented 3 years ago

hello @sbabashahi i hope you ok this is an excellent feature At first i was thinking about the report itself and i think it could be more than a boolean field. it could be design as a model with report_type field( Abusive or Harmful ), number_of_report_times (for example more than 4 times the instance delete temporarily for final moderators decision), report_level_hierarchy( it help moderators to find more important reports sooner), description (it can be fill by user who is reporting something), etc..... i think before the designing the API its better to think about the report it self but the final decision is yours hope it can help sorry if i did not explained so good :v:

sbabashahi commented 3 years ago

Thanks for your suggestion, it could be great to have a complete app on reporting and it's related features, currently we are waiting for other suggestions. But one thing we need to have in our mind is we suffer from lack of human resources. So any work around should try to maximize the automation and minimize human related works. thanks again good call