Skip to content
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

Extract User::SpreadableAlerts #8155

Merged
merged 3 commits into from
Apr 9, 2024
Merged

Extract User::SpreadableAlerts #8155

merged 3 commits into from
Apr 9, 2024

Conversation

garethrees
Copy link
Member

@garethrees garethrees commented Mar 7, 2024

What does this do?

Extract a group of methods from User that handle spreading alert times throughout the day

Why was this needed?

Compartmentalise some incidental behaviour. 🧈

Implementation notes

Missing a spec for spread_alert_times_across_day. This isn't actually called anywhere and I'm not sure it's been called manually for a very very long time, so could remove it.

[skip changelog]

These methods don't interact with anything else inside User and all
relate to some incidental behaviour so are ripe for extraction.
@garethrees garethrees marked this pull request as ready for review March 11, 2024 12:14
@gbp gbp merged commit e2e7ae3 into develop Apr 9, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants