Skip to content

Conversation

@ojmakinde
Copy link
Contributor

@ojmakinde ojmakinde commented Oct 20, 2024

Issue Description

Fixes #1335

  • Most of the existing logic for our multiple offerings and recurring events are duplicates. We need to merge both functionalities into one, and change the workflow on the frontend.

Changes

  • Added a new integer column, seriesId, into the model.
  • Refactored logic that used MultipleOffering and RecurringId to use the seriesId, merging logic where necessary.
  • Reworked the UI on Create Event to accomodate the change, using a single toggle for both multiple offerings and recurring series, instead of our previous two toggles for multiple offerings and recurring events.
  • Updated tests.

Testing

  • Run the test suite and ensure it is functional.
  • Step through parts of the application and ensure that they are functional despite the many introduced changes.

ojmakinde and others added 30 commits September 19, 2024 17:17
…g is still separate because of multipleOfferingData (from js) and how it is saved. Flask will probably break.
…rors in database reset. Flask is running. events saving well. seriesId working for multiple, recurring being saved as a single event
…ure events can still be saved. series events saving with seriesId now.
…MultipleOffering so the concept of isMultipleOffering and isRecurring is still exisitng and is nothing is breaking, will be changed together with front end later
…dit Event page calls the /makeRecurringEvent route unexplainably.
…lled in the js. error under Edit no longer exist
… repeating events when they are deleted consecutively like deleting week 3 and then delting week 2
@ojmakinde ojmakinde force-pushed the Repeating-Events-Implementation-Clean-Slate branch from 25b21ff to 619c0dd Compare November 8, 2024 20:02
@ojmakinde ojmakinde force-pushed the Repeating-Events-Implementation-Clean-Slate branch 2 times, most recently from b9050cb to a1abfec Compare November 19, 2024 23:51
@ojmakinde ojmakinde force-pushed the Repeating-Events-Implementation-Clean-Slate branch from a1abfec to 1e44479 Compare November 19, 2024 23:52
@github-actions
Copy link

View Code Coverage

@BrianRamsay BrianRamsay merged commit 217248d into development Jan 29, 2025
4 checks passed
@BrianRamsay BrianRamsay deleted the Repeating-Events-Implementation-Clean-Slate branch January 29, 2025 15:46
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.

Refactor Multiple Event Offering and Recurring Event logic

6 participants