No description
  • TypeScript 56.6%
  • JavaScript 37.6%
  • HTML 2.6%
  • Shell 2%
  • CSS 0.8%
  • Other 0.4%
Find a file
Chris Harrington 52631b560d
All checks were successful
app / check (push) Successful in 23s
server / check (push) Successful in 23s
[BTAPP-47] Add quick-tag notification actions for Budgeted and Personal transactions
## Ticket

[BTAPP-47](http://192.168.2.100:7123/home/browse/BTAPP-47/) Add quick-tag notification actions for "Budgeted" and "Personal" transactions

## Summary

- Registers a `transaction` notification category with "Tag as Budgeted" and "Tag as Personal" action buttons via `setNotificationCategoryAsync` on app startup.
- Adds a `addNotificationResponseReceivedListener` handler in `useNotifications` that reads `actionIdentifier` and `data.transactionId`, fetches the transaction and recent tags in parallel, adds the matching tag, and calls `POST /transaction` — handling foregrounded, backgrounded, and cold-started states via Expo's JS response buffer.
- Adds `GET /transaction/:id` server endpoint (using the existing `TransactionService.findById`) so the handler can fetch the full transaction before updating it.
- Extends the `validate` middleware to support `'params'` as a source, consistent with the existing body/query support.
- Errors are logged and swallowed so a failed tag action never crashes the app.

Reviewed-on: #61
2026-07-03 09:44:56 -06:00
.claude [BTAPI-47] Make Forgejo the CI source of truth; purge GitHub artifacts 2026-06-11 10:54:18 -06:00
.devcontainer [BTAPI-1] Replicate the irrigo Docker dev stack (#1) 2026-06-05 16:12:30 -06:00
.forgejo [BTAPP-22] Add ESLint + Prettier to app; enable lint and format:check CI 2026-06-23 07:19:12 -06:00
.vscode [BTAPI-1] Replicate the irrigo Docker dev stack (#1) 2026-06-05 16:12:30 -06:00
app [BTAPP-47] Add quick-tag notification actions for Budgeted and Personal transactions 2026-07-03 09:44:56 -06:00
server [BTAPP-47] Add quick-tag notification actions for Budgeted and Personal transactions 2026-07-03 09:44:56 -06:00
.env.example [BTAPI-47] Make Forgejo the CI source of truth; purge GitHub artifacts 2026-06-11 10:54:18 -06:00
.gitignore [BTAPI-1] Replicate the irrigo Docker dev stack (#1) 2026-06-05 16:12:30 -06:00
build-apk.sh [BTAPP-26] Align app/package.json build scripts with Irrigo 2026-06-20 18:35:32 -06:00
CLAUDE.md [BTAPP-26] Align app/package.json build scripts with Irrigo 2026-06-20 18:35:32 -06:00
docker-compose.yml [BTAPI-47] Make Forgejo the CI source of truth; purge GitHub artifacts 2026-06-11 10:54:18 -06:00
Dockerfile.dev [BTAPI-47] Make Forgejo the CI source of truth; purge GitHub artifacts 2026-06-11 10:54:18 -06:00
Dockerfile.metro [BTAPI-1] Replicate the irrigo Docker dev stack (#1) 2026-06-05 16:12:30 -06:00