Closed ragesoss closed 2 years ago
It should be easy within this approval workflow to add additional campaigns as well. There should probably be a default campaign, which is the upcoming campaign as defined by the "recruiting term" setting, but we often need to add additional campaigns at the point of approval as well.
@ragesoss, can you mention steps to reproduce this? I am not able to get to a point where I can approve submitted courses.
The main thing is to set wiki_education: 'true'
in application.yml
, as this only applies to Wiki Education mode.
Then, you need to create a course, and once you finish, there should be a 'submit' button you can click. Once submitted, log in as an admin, and you should see a message related to approving the course when you view that course page.
Okay. And, how can I login as Admin?
This seems interesting to me @ragesoss. Can I work on this?
@vaidehi44 sure, go for it.
Hey @ragesoss. A few questions after looking at the present UI (haven't actually seen the code yet) -
The program manager is typically also the person who is reviewing a submitted course page (Helaine — https://wikiedu.org/about-us). Within the Dashboard, they are identified by having the classroom_program_manager
Special User role (via /settings). The review sometimes needs to make edits to a course before approving it, and in general, an admin should be able to edit a course no matter what state it's in with respect to approval. But I think a separate section — perhaps an extra component that shows up at the top, with a form for submitting all the approval-related updates at once — would make sense.
Okay. Will work on the new section then and let you know.
Hi @ragesoss, I was thinking to implement something like this -
However, I think, for this to work correctly, i.e. the users for Program Manager
and Wiki Expert
are different, we will have to explicitly define separate roles in the database too. I don't think this should be done though, and the current role of WIKI_ED_STAFF_ROLE
should include both these roles . Want to know your opinion.
Actually, here my intention was to make it clear to the reviewers what people(program manager and wiki expert) they are adding to the staff role. Hence, I also have this doubt, whether Program Manager
and Wiki Expert
are the only two sub-roles in staff
or there can be more people joining?
Thanks for the update and illustration, @vaidehi44!
The main goal for this is to simplify the workflow for the admin who is reviewing and approving the course. A simpler workflow would be something like this:
spring_2023
term.In this workflow, the simplest approval workflow would be just two clicks: one button click to open the form, and then the essential parts all have default values (program manager, wiki expert, campaign), so you can just click 'Approve for term' to submit it and add all those roles.
The people to populate in the 'program manager' and 'wiki expert' roles come from SpecialUsers.classroom_program_manager
and SpecialUsers.wikipedia_experts
on the server (which can be set from /settings if you are a super-admin).
Thank you @ragesoss for the detailed description of what is expected. This sounds cool. Will approach it accordingly.
Current Behavior:
When Wiki Education staff review and approve a submitted course, they must:
Desired Behavior:
Instead of these separate steps (and process that isn't explicit in the UI), when a course is submitted there should be a single dedicated interface for an admin to efficiently do all the steps of course approval.