Skip to content

Activate dashboard cards; add Volunteers Needed hero#19

Merged
Kitkatnik merged 1 commit intomainfrom
Kitkatnik/dashboard-roles
Apr 26, 2026
Merged

Activate dashboard cards; add Volunteers Needed hero#19
Kitkatnik merged 1 commit intomainfrom
Kitkatnik/dashboard-roles

Conversation

@Kitkatnik
Copy link
Copy Markdown
Collaborator

Summary

  • Activates the three "Coming soon" cards on the user dashboard:
    • Host an Activity/schedule_items/new with is_public pre-checked via query string
    • Book a Ruby Embassy Appointment/schedule?kind=embassy
    • Get your Ashevillagershttps://ashevillagers.blueridgeruby.com
  • Adds a full-width Volunteers Needed hero above the grid for users with role volunteer or admin, linking to /schedule?kind=volunteer.
  • ScheduleItemsController#new now honors ?schedule_item[is_public]=true via ActiveModel::Type::Boolean cast (default unchanged when no param is supplied).

Test plan

  • Sign in as attendee → all four previously-soon cards link out; no Volunteers Needed hero.
  • Sign in as volunteer and admin → Volunteers Needed hero shows above the grid; links to /schedule?kind=volunteer.
  • Click Host an Activity → form loads with the public checkbox checked.
  • Visit /schedule_items/new directly → public checkbox unchecked (default preserved).
  • Click Book a Ruby Embassy Appointment → schedule shows only embassy items.
  • Click Get your Ashevillagers → opens ashevillagers.blueridgeruby.com in a new tab.

- Volunteer/admin-only hero card linking to schedule filtered to volunteer kind
- Host an Activity → new schedule item form with is_public pre-checked
- Book a Ruby Embassy Appointment → schedule filtered to embassy kind
- Get your Ashevillagers → ashevillagers.blueridgeruby.com
- ScheduleItemsController#new honors ?schedule_item[is_public] query param
@railway-app
Copy link
Copy Markdown

railway-app Bot commented Apr 26, 2026

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

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

@railway-app railway-app Bot temporarily deployed to ruby-embassy / ruby-embassy-pr-19 April 26, 2026 06:15 Destroyed
@Kitkatnik Kitkatnik merged commit d8818b7 into main Apr 26, 2026
6 checks passed
@Kitkatnik Kitkatnik deleted the Kitkatnik/dashboard-roles branch April 26, 2026 07:01
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