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

Connecting the FE&BE: Volunteer Pages part 2 #45

Open
8 of 10 tasks
idil-bit opened this issue Dec 8, 2024 · 0 comments
Open
8 of 10 tasks

Connecting the FE&BE: Volunteer Pages part 2 #45

idil-bit opened this issue Dec 8, 2024 · 0 comments

Comments

@idil-bit
Copy link
Collaborator

idil-bit commented Dec 8, 2024

prereq: categories api

purpose
populate options in dropdown in VolunteerAddDetailsModule in volunteer-add-pages/page.tsx and VolunteerRemoveDetailsModule in volunteer-remove-pages/page.tsx (only add is attached & linked below)

steps

  • set up db in the back end
    • use Postman to populate the database using the dummy data in the figma design! i.e. (produce, apples, [lbs, kgs]) and more. (serialize if you can - do it in the easiest possible way for you)
  • add options for category dropdown
    • get set of categoryNames from categories db and display in first dropdown
    • all other dropdowns should be disabled until the category is selected
  • add options for items dropdown
    • once the category is selected in the dropdown, get list of itemNames where the selected category matches with that itemName's category name
    • the dropdown for units should be disabled until an item is selected in the dropdown
  • add options for units dropdown
    • get the list of units for that itemName

pictures
Image

@idil-bit idil-bit converted this from a draft issue Dec 8, 2024
@amandawu1 amandawu1 moved this from Todo to In Progress in Village Food Hub Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

3 participants