Skip to content

Add 4 schedule kinds, sync seed with live site, refresh notaries#18

Merged
Kitkatnik merged 2 commits intomainfrom
Kitkatnik/schedule-kinds-sync
Apr 26, 2026
Merged

Add 4 schedule kinds, sync seed with live site, refresh notaries#18
Kitkatnik merged 2 commits intomainfrom
Kitkatnik/schedule-kinds-sync

Conversation

@Kitkatnik
Copy link
Copy Markdown
Collaborator

Summary

  • 4 new ScheduleItem kinds (reception, meal, community, volunteer) to disambiguate roles the original 4 catch-all kinds blurred together. Only activity keeps "+ RSVP"; talks/lightning/reception/meal/community use "+ Add to plan."
  • Seed synced with https://blueridgeruby.com/schedule — 35 items with verbatim website descriptions; Saturday placeholders removed (admin will add Embassy slots manually).
  • Schedule seed extracted to db/seeds/schedule.rb and a new db:seed:content rake task wraps schedule + embassy_questions for production content syncs without re-running admin user seeds (railway run bin/rails db:seed:content).
  • Notary pool refresh — 17 new entries (N19–N35), N03 archived from seed, single follow-up prompt per notary.
  • Admin nav — added "Schedule" link between Volunteers and Embassy Applications; dashboard cards reordered to match.

Test plan

  • bin/rubocop — 0 offenses
  • bin/brakeman — 0 security warnings
  • bin/bundler-audit — clean
  • bin/importmap audit — clean
  • bin/rails test — 107 runs / 284 assertions / 0 failures
  • bin/rails db:seed:content — outputs 35 schedule items · 80 questions · 36 notary profiles
  • Visual: walk /schedule (badge colors per kind, button labels), /plan, /admin, /admin/schedule_items, /admin/embassy_questions
  • Production deploy: run railway run bin/rails db:seed:content after merge to sync content

… 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
@railway-app
Copy link
Copy Markdown

railway-app Bot commented Apr 26, 2026

🚅 Deployed to the ruby-embassy-pr-18 environment in ruby-embassy

Service Status Web Updated (UTC)
ruby-embassy ✅ Success (View Logs) Web Apr 26, 2026 at 5:53 am

@railway-app railway-app Bot temporarily deployed to ruby-embassy / ruby-embassy-pr-18 April 26, 2026 05:52 Destroyed
@Kitkatnik Kitkatnik merged commit ed1dd7f into main Apr 26, 2026
6 checks passed
@Kitkatnik Kitkatnik deleted the Kitkatnik/schedule-kinds-sync branch April 26, 2026 07:02
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.

1 participant