Skip to content

Implement event duplication feature and improve registration error handling#407

Open
Ethan-Stone1 wants to merge 23 commits intosnap-cloud:mainfrom
cs169:main
Open

Implement event duplication feature and improve registration error handling#407
Ethan-Stone1 wants to merge 23 commits intosnap-cloud:mainfrom
cs169:main

Conversation

@Ethan-Stone1
Copy link
Contributor

This pull request implements Issue cs169#54 to allow for the duplication of events. Additionally implements a small fix to registration form not displaying validation errors

Event Duplication:
Screenshot 2026-03-18 at 10 10 47 AM
On the event page there is now a "Duplicate" button
Screenshot 2026-03-18 at 10 11 01 AM
Pressing the button opens a popup where you can select how many different duplicates of the event you would like
Screenshot 2026-03-18 at 10 11 13 AM
The duplicated events have all the same data as the original (minus the ID and the creator is the person who clicked duplicate)

How should this PR be tested?
There are a ton of tests (in fact most of the lines of code I added are tests. To run them type

bundle exec rspec spec/features/event_duplication_spec.rb spec/controllers/admin/events_controller_spec.rb

in the terminal.

Are there any complications to deploying this?
No data migrations or anything complicated about deploying.

@Ethan-Stone1
Copy link
Contributor Author

@cycomachead

@cycomachead cycomachead self-requested a review March 18, 2026 17:21
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.

3 participants