Open Kajol-Kumari opened 1 month ago
This issue will be broken down in 4 issues like mentioned above, please claim one issue at a time mentioning the point number.
i have doubt " the creation of resource should create a new broadcast, instead of a resource" ... so we will not use resource schema and will use broadcast schema and post methods like used in admin "add broadcast page" in home>resource page and change the resource form like broadcast form? @Kajol-Kumari
"Manage broadcast page will fetch all approved/non-approved broadcasts" if get all broadcast how we will know which one is approved and which one not ? 1>There should be 2 more buttons on manage broadcasts card - approve and reject-- should we use one button approve if not and reject if not approved?
oadcast, instead of a resource" ... so we will not use resource schema and will use broadcast schema and post methods like used in admin "add broadcast page" in home>resource page and change the resource form like broadcast form?
yes, @SwayamRana808
"Manage broadcast page will fetch all approved/non-approved broadcasts" if get all broadcast how we will know which one is approved and which one not ? 1>There should be 2 more buttons on manage broadcasts card - approve and reject-- should we use one button approve if not and reject if not approved?
when a new broadcast gets added, we should have isApproved
flag set to false by default and only after approval from Manage Broadcast of admin panel, it should show in broadcast/all broadcast page of the website.
Note - this issue will be broken down into 3 separate issues
@Kajol-Kumari i would like to work on that issue, if @SwayamRana808 want to work you can assign him
@Kajol-Kumari as you said this issue is breakdown into 3 so can you please assign me one. other 2 to above asked ones. Here we 3 asked and it is divided into 3. so, can you please assign me one issue from this issue.
@SwayamRana808 / @shivamgaur99 / @Hemu21 i have listed the issue breakdown in issue description, whichever part u want to claim, just create a new issue for that as u folks are first one to comment so ideally it would get assigned to u, i hope u three claim one each
@Kajol-Kumari can you please assign me the issue 3.
@Kajol-Kumari, please assign me issue 1.
please assign me the issue 4.
Description
The current resource creation flow is wrong, the creation of resource should create a new braodcast, instead of a resource, with the
isApproved
flag set tofalse
by default -> admins should approve these braodcasts using manage broadcasts page and then it should appear on the Broadcast page of frontend.Issue Breakdown
isApproved
flag in broadcats model. Refactor the resource form so that a new broadcast gets created on successful submission, with isApproved set to false.approve
andreject
isApproved=true
in the Broadcast and all broadcast page.