Skip to content

Conversation

jonodrew
Copy link
Contributor

image

This change should:

  • generate a database migration that adds a 'dietary_restrictions' column
  • add a field to the edit Member page

this should close #1842

This change will add a column to the Member model, allowing users to
provide dietary information. This should support Codebar hosts to
provide good food options for all attendees
This change adds a simple input to the form that collects Member
information. I've included a translation in English and in French,
because that happens to be another language I speak!
@jonodrew jonodrew force-pushed the dietary-restrictions branch from 03ebc5e to 2c2a167 Compare December 24, 2024 15:31
@jonodrew
Copy link
Contributor Author

I can see there's a failing test here, but I don't think there's anything I can do about it - unless there are some credentials I'm missing? I can't add GITHUB_KEY as a secret, because Github doesn't allow secrets that start with 'GITHUB'

@KimberleyCook
Copy link
Contributor

KimberleyCook commented Jan 6, 2025

Hey @jonodrew thank you so much for this PR, we really appreciate you putting in the time to help us.

However, we envisioned it as a checklist of options : vegetarian, vegan, halal, pescatarian, gluten free, diary free, and then other. If Other is selected is shows a simple input field.

Could this change be implemented before we merge please?

@mikej
Copy link
Contributor

mikej commented Aug 19, 2025

Hi @KimberleyCook I'm taking a look into picking this one up from @jonodrew

Were you envisioning a set of checkboxes so e.g. someone who is vegetarian and gluten free can pick both, something like this:

New Wireframe 1 (Dietary restrictons - checkboxes)

Or a dropdown that allows a single selection, and then use "Other" if multiple apply, so more like:

New Wireframe 1 (Dietary restrictions dropdown)

Whichever approach, I'm thinking of getting this onto the "Update your details" form as an initial release and then looking at making it available on the Attend page as a way to encourage more existing members to provide the information.

@KimberleyCook
Copy link
Contributor

@mikej I think the first checkbox options works best :)

@mikej
Copy link
Contributor

mikej commented Aug 20, 2025

I think the first checkbox options works best :)

Thanks for getting back to me @KimberleyCook, will go with that approach. I'm also just going to double check neither of the other people who commented on the original issue last year had any work in progress for this.

Hope you're doing ok 😊

@KimberleyCook
Copy link
Contributor

@mikej amazing, thank you :) I've wanted this addition for so long so thank you so much for implementing it.

And all good here, a little sleep deprived but we soldier on haha.

@KimberleyCook
Copy link
Contributor

I just thought when implementing this update, we will also need to show the information on the person's profile for organisers :)

@mikej
Copy link
Contributor

mikej commented Aug 23, 2025

@KimberleyCook yep totally, for an initial release I was thinking of including on the profile and also in the RSVP list for a workshop using the little badges like this:

List of students and coaches including dietary restrictions

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

Successfully merging this pull request may close these issues.

Add Dietary Requirements on profiles
4 participants