mirror of
https://github.com/Growstuff/growstuff.git
synced 2025-12-31 13:37:49 -05:00
* This change introduces a new feature that allows users to create recurring activities. A user can now specify that an activity should be repeated "X" times, every "Y" weeks. When an activity is created with these options, the application will create the initial activity and then "X" additional copies, with each copy's due date offset by "Y" weeks from the previous one. The repeat information is not stored in the database. It is only used at the time of creation to generate the recurring activities. The following changes were made: - Updated the new activity form to include fields for "repeat times" and "repeat weeks". - Modified the `ActivitiesController#create` action to handle the creation of recurring activities. - Added feature tests to ensure the new functionality works as expected. * Remove not very useful spec --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: Daniel O'Connor <daniel.oconnor@gmail.com>