oncall-engine/engine/apps/mobile_app/tests
Salvatore Giordano 208db9cdb7
remove add_stack_slug_to_message_title utility from push notification titles (#5258)
# What this PR does

We noticed that the backend was adding the stack name to the
notification title only on Android.
We thought it makes sense to add the stack name only if the user has
more than 1 stack connected, but that's not doable right now since the
backend doesn't know how many stacks are connected in the app.
Also we took a look at the analytics for the app and basically 95% of
the users have only 1 stack connected.

This pr removes the stack name from the notifications title.
If in the future we think it makes sense to add it conditionally based
on the number of stacks we can open another pr, but given the very
little amount of users with more than 1 stack I think this is not
needed.

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-11-15 10:29:00 +00:00
..
tasks remove add_stack_slug_to_message_title utility from push notification titles (#5258) 2024-11-15 10:29:00 +00:00
__init__.py Enforce cloud connection to send push notifications on OSS (#1132) 2023-01-19 11:15:56 +00:00
test_alert_rendering.py rename settings/ci-test.py to settings/ci_test.py (#4391) 2024-05-24 13:55:08 +00:00
test_demo_push.py remove add_stack_slug_to_message_title utility from push notification titles (#5258) 2024-11-15 10:29:00 +00:00
test_fcm_device_model.py address mobile device push notification delivery issue when user had > 1 registered device (#2421) 2023-07-05 15:14:46 +00:00
test_fcm_endpoint.py Add multi-stack support for mobile app (#3500) 2023-12-13 09:00:18 +00:00
test_fcm_relay.py refactor apps.mobile_app.tasks into individual task files (#2888) 2023-08-29 11:34:09 +02:00
test_mobile_app_auth_token.py Check for user.is_active during mobile app auth (#4990) 2024-09-06 12:25:23 +00:00
test_mobile_app_gateway.py Check for incident enabled before making mobile app request (#4947) 2024-08-28 17:56:59 +00:00
test_user_settings.py "Going oncall" notification settings (#3187) 2023-10-30 13:44:18 +00:00
test_utils.py do not retry firebase.messaging.UnregisteredError exceptions for FCM relay tasks (#3637) 2024-01-09 08:14:20 -05:00