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

Add functionality for moderator to create a facility #1043

Open
4 tasks
NabbeunNabi opened this issue Feb 12, 2025 · 0 comments
Open
4 tasks

Add functionality for moderator to create a facility #1043

NabbeunNabi opened this issue Feb 12, 2025 · 0 comments
Labels

Comments

@NabbeunNabi
Copy link
Contributor

Problem

At the moment the moderators only create facilities based on data provided in a submission but cannot use the ModEditFacilitySection.vue to add a completely new facility based on them contacting a facility or attending a conference. We want this functionality.

Success

A moderator in the panel can click create facility, get a blank form, and create a completely new facility within the ModEditFacilitySection.vue. Tests are added in cypress to test this functionality.

Requirements

  • Add to the top nav for the dashboard to create a facility when the facility tab is chosen and direct them to a blank form with no id.
  • Current the buttons say Update, Update & Exit, or Delete in English. In the case of creating a facility there can be a button that creates the new facility with a modal that confirms the creation with relevant text.
  • A page is added that isn't edit-facility to create-facility with no id. (Same section can be used since even though you are not Editing a Facility the same sections are necessary. You can rename the component and change it where necessary throughout the app to make it EditOrCreate
  • Tests are added in cypress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant