Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-fill Administrator in workshop event #1767

Open
sheraaronhurt opened this issue Jan 20, 2021 · 9 comments
Open

Pre-fill Administrator in workshop event #1767

sheraaronhurt opened this issue Jan 20, 2021 · 9 comments

Comments

@sheraaronhurt
Copy link
Contributor

Currently, several of the fields from the Centrally-Organised WRF are being automatically pre-filled in the event when accepting the form. Would like for the "administrator" to be pre-filled with LC, SWC, or DC based on what was selected on the WRF.

@pbanaszkiewicz
Copy link
Contributor

@sheraaronhurt please check if this is still valid feature request. I remember I worked on some advancements in prefilling that form, not sure if that was one of them.

@sheraaronhurt
Copy link
Contributor Author

@pbanaszkiewicz this update didn't happen. This is still a valid feature request.

@maneesha
Copy link
Contributor

Yes, in creating a new event from a workshop request/submission, we would want Administrator to auto-populate based on the lesson program of the curricula specified in the workshop request form.

@pbanaszkiewicz
Copy link
Contributor

The lessons aren't currently linked to Administrator, so this will require database changes and some migration, and then some changes in form logic.

@lauryndbrown
Copy link
Contributor

Just wanted to get some clarity on this one since I'm not as familiar with the website yet.

Yes, in creating a new event from a workshop request/submission, we would want Administrator to auto-populate based on the lesson program of the curricula specified in the workshop request form.

@maneesha I'm not sure where on the website you can create a new event from a workshop. Could you suggest a url or a screenshot that would help me?

@pbanaszkiewicz
Copy link
Contributor

@lauryndbrown I can help you with that.

We store Workshop Requests, Workshop Inquiries and Self-Organised Submissions. All of these come from the forms and are often addressed as WRF - Workshop Request Forms.

You can browse existing entries in /requests/workshop_requests/ (for Workshop Requests) and /requests/selforganised_submissions/ (for Self-Organised Submissions). The links to these pages are inside "Requests" dropdown in top-navbar.

Once you open a single request/submission, you'll see a button down below the details table:

obraz

It allows you to change state to accepted, or additionally add new event based on the request's data:

obraz

This is how the new event from a workshop submission looks like:
obraz

@maneesha
Copy link
Contributor

To follow up on Piotr's examples above, here's how we'd want to assign Administrator:

If it's a self-organized submission form: Administrator = self organized.
If it's teaching Data Carpentry, Library Carpentry, or Software Carpentry curriculum, then that should indicate the Administrator.

Thank you - Let me know if you have any other questions!

@maneesha
Copy link
Contributor

This is a few years old but my last comment is still accurate with the note that this only applies to events created from a workshop request form. All other events will have this information filled in manually.

@elichad I think this should be ready to work on now.

@elichad
Copy link
Contributor

elichad commented Apr 18, 2023

related to #2362

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants