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

Remove user defined time period from "you're going oncall" mobile push #2001

Merged
merged 3 commits into from
May 24, 2023

Conversation

iskhakov
Copy link
Contributor

What this PR does

Which issue(s) this PR fixes

Checklist

  • Unit, integration, and e2e (if applicable) tests updated
  • Documentation added (or pr:no public docs PR label added if not required)
  • CHANGELOG.md updated (or pr:no changelog PR label added if not required)

@iskhakov iskhakov requested a review from a team May 24, 2023 07:43
@iskhakov iskhakov changed the title Remove 12 hours shift push notification Remove user defined time period from "you're going oncall" mobile push May 24, 2023
@iskhakov iskhakov added the pr:no public docs Added to a PR that does not require public documentation updates label May 24, 2023
@Konstantinov-Innokentii
Copy link
Member

LGTM, but could you release this as a hotfix

@iskhakov
Copy link
Contributor Author

this needs to be reverted by #1999

@iskhakov iskhakov merged commit d139fcc into dev May 24, 2023
@iskhakov iskhakov deleted the iskhakov/shifts_quickfix branch May 24, 2023 08:14
vstpme pushed a commit that referenced this pull request May 24, 2023
#2001)

# What this PR does

## Which issue(s) this PR fixes

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required)
- [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
Copy link
Contributor

@joeyorlando joeyorlando left a comment

Choose a reason for hiding this comment

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

LGTM

if shift_starts_within_users_notification_timing_preference or shift_starts_within_fifteen_minutes:
# Temporary remove `shift_starts_within_users_notification_timing_preference` from condition to send notification only 15 minutes before the shift starts
# TODO: Return it once mobile app ready and default value is changed (https://github.com/grafana/oncall/issues/1999)
if shift_starts_within_fifteen_minutes:
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:no public docs Added to a PR that does not require public documentation updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants