oncall-engine/engine/apps/mobile_app
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
..
migrations Fix db migration for mobile app (#3260) 2023-11-02 16:40:26 +00:00
tasks remove add_stack_slug_to_message_title utility from push notification titles (#5258) 2024-11-15 10:29:00 +00:00
tests remove add_stack_slug_to_message_title utility from push notification titles (#5258) 2024-11-15 10:29:00 +00:00
__init__.py Mobile app messaging backend (#874) 2022-11-23 15:56:43 +00:00
alert_rendering.py make mobile app notification title and subtitle templatable (#3845) 2024-02-08 17:23:15 -05:00
auth.py Check for user.is_active during mobile app auth (#4990) 2024-09-06 12:25:23 +00:00
backend.py Optimize GET /users internal api endpoint (#4168) 2024-04-11 14:49:47 +00:00
demo_push.py remove add_stack_slug_to_message_title utility from push notification titles (#5258) 2024-11-15 10:29:00 +00:00
exceptions.py Test mobile push (#1933) 2023-05-18 15:52:42 +08:00
fcm_relay.py Add custom ratelimits per org (#5004) 2024-09-17 23:16:41 +00:00
models.py Fix rounding issue with displayed time when sending "You're going oncall" push notification (#3872) 2024-02-09 15:31:34 -05:00
serializers.py Add multi-stack support for mobile app (#3500) 2023-12-13 09:00:18 +00:00
types.py Add backend support for push notification sounds with custom extensions (#2759) 2023-08-07 09:55:17 +00:00
urls.py Return 404 from mobile app gateway viewset (#3518) 2023-12-06 10:57:07 +00:00
utils.py Better logging for send_message_to_fcm_device (#4814) 2024-08-13 17:47:43 +00:00
views.py Check for incident enabled before making mobile app request (#4947) 2024-08-28 17:56:59 +00:00