Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

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

Merged
iskhakov merged 3 commits into
devfrom
iskhakov/shifts_quickfix
May 24, 2023
Merged

Remove user defined time period from "you're going oncall" mobile push #2001
iskhakov merged 3 commits into
devfrom
iskhakov/shifts_quickfix

Conversation

@iskhakov
Copy link
Copy Markdown

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
Copy Markdown

LGTM, but could you release this as a hotfix

@iskhakov
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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