Add 4 schedule kinds, sync seed with live site, refresh notaries#18
Merged
Add 4 schedule kinds, sync seed with live site, refresh notaries#18
Conversation
… site
ScheduleItem.kind grew from 4 → 8 to disambiguate roles that the original
catch-all kinds blurred together. `embassy` no longer pulls double duty for
welcome/registration; `activity` is now reserved for offsite events with
capacity concerns (currently just the Saturday Informal Dinner). New kinds:
- reception — welcomes, registration, breaks, closings
- meal — lunches and dinners
- community — in-event participation + offsite social (hack day, mystery
activity, roundtable, afterparty, pre-conference meetup)
- volunteer — reserved for future signup slots, no items in seeds yet
config/schedule.yml mirrors blueridgeruby.com/schedule: 35 items with verbatim
website descriptions. Saturday placeholders removed; admin will add Embassy
appointment slots via /admin/schedule_items once finalized.
Schedule seed extracted to db/seeds/schedule.rb so it can run standalone in
production without re-touching admin users:
rails runner db/seeds/schedule.rb
Button logic: only `activity` keeps "+ RSVP"; everything except embassy and
volunteer uses "+ Add to plan." rsvp_note ("N going") only renders for
activity items, where head count actually matters.
Notary pool refresh: 17 new entries (N19–N35), N03 archived from seed,
single follow-up prompt per notary.
Admin: Schedule link added between Volunteers and Embassy Applications;
dashboard cards reordered to match.
Wraps schedule + embassy_questions seeding without re-running admin user
creation, so production deploys can refresh content without risking
overwrites of existing admin role assignments:
railway run bin/rails db:seed:content
|
🚅 Deployed to the ruby-embassy-pr-18 environment in ruby-embassy
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
reception,meal,community,volunteer) to disambiguate roles the original 4 catch-all kinds blurred together. Onlyactivitykeeps "+ RSVP"; talks/lightning/reception/meal/community use "+ Add to plan."db/seeds/schedule.rband a newdb:seed:contentrake task wraps schedule + embassy_questions for production content syncs without re-running admin user seeds (railway run bin/rails db:seed:content).Test plan
bin/rubocop— 0 offensesbin/brakeman— 0 security warningsbin/bundler-audit— cleanbin/importmap audit— cleanbin/rails test— 107 runs / 284 assertions / 0 failuresbin/rails db:seed:content— outputs35 schedule items · 80 questions · 36 notary profilesrailway run bin/rails db:seed:contentafter merge to sync content