Skip to content

LOOP-5315 Editing custom presets #664

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 24, 2025
Merged

Conversation

ps2
Copy link

@ps2 ps2 commented Apr 21, 2025

https://tidepool.atlassian.net/browse/LOOP-5315

There are some renames here, to shorten things. But the main functional changes are to support saving scheduled presets, so there are two new fields, scheduleStartDate and repeatOptions.

@ps2 ps2 requested review from nhamming and Camji55 April 21, 2025 18:34
Copy link

@nhamming nhamming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines +23 to +31
public static let allCases: [PresetScheduleRepeatOptions] = [
.sunday,
.monday,
.tuesday,
.wednesday,
.thursday,
.friday,
.saturday,
]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about weekend and weekdays?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think that'd be a nice feature, but not part of the current design. It's a multiselect, so you can use this to do that.

@ps2 ps2 merged commit 8a44437 into dev Apr 24, 2025
1 check passed
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.

2 participants