[BTAPI-52] Add categoryId and transactionId to transaction push payloads #60

Merged
chris merged 1 commit from feature/BTAPI-52 into main 2026-07-03 08:22:47 -06:00
Owner

Ticket

BTAPI-52 Include notification category in transaction push payloads for quick-tag actions

Summary

  • Add categoryId: 'transaction' to the Expo push message built in Notifications.send so the app can register and respond to notification quick-action buttons
  • Add data: { transactionId } to the payload so the app knows which transaction to tag when an action is tapped
  • sendAlert is unaffected — alert pushes continue to send only to and body
  • Tests updated: existing body-format test extended to cover new fields; two new tests added (focused category/data assertion; sendAlert regression)
## Ticket [BTAPI-52](http://192.168.2.100:7123/home/browse/BTAPI-52/) Include notification category in transaction push payloads for quick-tag actions ## Summary - Add `categoryId: 'transaction'` to the Expo push message built in `Notifications.send` so the app can register and respond to notification quick-action buttons - Add `data: { transactionId }` to the payload so the app knows which transaction to tag when an action is tapped - `sendAlert` is unaffected — alert pushes continue to send only `to` and `body` - Tests updated: existing body-format test extended to cover new fields; two new tests added (focused category/data assertion; sendAlert regression)
[BTAPI-52] Add categoryId and transactionId to transaction push payloads.
All checks were successful
server / check (pull_request) Successful in 25s
plane-sync / sync (pull_request) Successful in 2s
b6599d05e8
chris merged commit dc41ba26a6 into main 2026-07-03 08:22:47 -06:00
chris deleted branch feature/BTAPI-52 2026-07-03 08:22:47 -06:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
chris/budget-tracker!60
No description provided.