amy icon indicating copy to clipboard operation
amy copied to clipboard

Pre-fill Administrator in workshop event

Open sheraaronhurt opened this issue 4 years ago • 7 comments

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.

sheraaronhurt avatar Jan 20 '21 06:01 sheraaronhurt

@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.

pbanaszkiewicz avatar Feb 14 '21 20:02 pbanaszkiewicz

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

sheraaronhurt avatar Feb 17 '21 18:02 sheraaronhurt

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 avatar Feb 19 '21 14:02 maneesha

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

pbanaszkiewicz avatar Feb 19 '21 21:02 pbanaszkiewicz

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?

lauryndbrown avatar Feb 23 '21 18:02 lauryndbrown

@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

pbanaszkiewicz avatar Feb 24 '21 06:02 pbanaszkiewicz

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 avatar Feb 24 '21 11:02 maneesha

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.

maneesha avatar Apr 18 '23 10:04 maneesha

related to #2362

elichad avatar Apr 18 '23 10:04 elichad