defaang icon indicating copy to clipboard operation
defaang copied to clipboard

[FEATURE] Mods approve questions

Open ykdojo opened this issue 2 years ago • 11 comments

Description

Mods (once we have them) should be able to approve questions so that they can be shown on the UI.

Showing questions without approving them first, at least at the beginning, is probably a bad idea because we'll have low quality submissions, spams, etc.

ykdojo avatar Aug 14 '22 20:08 ykdojo

Hi! So we would probably need to have an admin page that can assign Mods right? and then have tags on the questions so we know if its still under review for Mods or if its public

MisterMunchkin avatar Aug 15 '22 04:08 MisterMunchkin

Yes, something like that.

To assign mods, we should be able to do it on Supabase itself (like is_mod = true in the database)

ykdojo avatar Aug 15 '22 04:08 ykdojo

Do we actually want the admin page to be a part of the frontend for the defaang main website? Or do you guys think it might be a good idea to separate concerns, and have an admin page as separate, internal tooling? With its own authentication mechanism.

mark-omarov avatar Aug 16 '22 03:08 mark-omarov

separate admin page I think would be better, also would keep bloat off the main site. thoughts @ykdojo ?

MisterMunchkin avatar Aug 16 '22 13:08 MisterMunchkin

I don't have a strong preference on either option.

A separate internal tooling might be interesting though - maybe with Django.

I specifically mention Django because some people said they know Python but not JS, so it'd be a nice way for them to contribute potentially.

ykdojo avatar Aug 16 '22 17:08 ykdojo

image

ykdojo avatar Aug 16 '22 18:08 ykdojo

Note: database schema explained in #108

ykdojo avatar Aug 24 '22 14:08 ykdojo

I'm now thinking of building it on top of the main site.

Ideally, the user and mods should be able to go back and forth to keep refining the post until it is good enough - kind of like how it works on GitHub.

For the initial version, we can just use emails - maybe with something like crisp.chat.

When that becomes too awkward, it'd be good to do it on the website itself.

ykdojo avatar Aug 24 '22 14:08 ykdojo

Since this heavily relies on #59, I'm going to head over there and check up on it to see if there's something I can do there.

ykdojo avatar Aug 24 '22 16:08 ykdojo

what's the movement on this? I would like to contribute @ykdojo

LokeshShelva avatar Oct 11 '22 16:10 LokeshShelva

@LokeshShelva right now, no one's working on it.

ykdojo avatar Oct 12 '22 15:10 ykdojo