Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Update push notification types, update notif navigation hook, and remove userInteraction check in onNotification method #2247

Merged
merged 1 commit into from
Nov 11, 2022

Conversation

Kyle-Shanks
Copy link
Contributor

Description

Lots of small updates to get push notification navigation working. The biggest change was the removal of the userInteraction check in the onNotification function. Also added more types and a notif type enum for push notifications

Dragons

The removal of the userInteraction check could cause some unexpected behavior so I'll keep an eye out for that

How Has This Been Tested?

Lots of manual testing, lots more to do

How will this change be monitored?

N/A

Feature Flags

N/A

@Kyle-Shanks Kyle-Shanks requested review from sliptype and a team November 10, 2022 22:27
Copy link
Contributor

@sliptype sliptype left a comment

Choose a reason for hiding this comment

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

Nice!

@@ -196,6 +234,70 @@ export type MilestoneNotification = BaseNotification &
}
)

export type MilestoneFollowPushNotification = {
// TODO: Not the full structure. Need to verify the fields that come back from identity
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we still need all these todos?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yea they're helpful for people walking around this code to know what is complete vs half baked

packages/mobile/src/notifications.ts Outdated Show resolved Hide resolved
…ove userInteraction check in onNotification method
@Kyle-Shanks Kyle-Shanks force-pushed the kj-Update-push-notifications-flow branch from 91be2fd to 8d410ec Compare November 11, 2022 16:21
@Kyle-Shanks Kyle-Shanks merged commit 5964998 into main Nov 11, 2022
@Kyle-Shanks Kyle-Shanks deleted the kj-Update-push-notifications-flow branch November 11, 2022 16:47
audius-infra pushed a commit that referenced this pull request Nov 12, 2022
[ad230d1] v1.4.0 (#2242) Sebastian Klingler
[dc11096] Stop propagation on repost button click in tracks tables (#2249) Kyle Shanks
[5964998] Update push notification types, update notif navigation hook, and remove userInteraction check in onNotification method (#2247) Kyle Shanks
[decabd2] [C-1461] Implement license-type/isrc upload flow (#2248) Dylan Jeffers
[9e84248] [C-1452] Implement release-date field (#2246) Dylan Jeffers
[8a0c7a8] Fix race condition checking stream_mp3 feature flag (#2244) Andrew Mendelsohn
[36d53b0] Don't delete sourcemaps on sync to s3 (#2243) Sebastian Klingler
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants