Skip to content

Conversation

@youngkidwarrior
Copy link
Collaborator

Create branch4

Created feat/notification-api branch with the notification preferences API endpoint (apps/next/pages/api/notifications/preferences.ts) as an atomic branch. Successfully split this API file from the larger commit in create-branch4/feat/notification-constants following the review recommendations.

Co-Authored-By: Warp agent@warp.dev

fix: tighten parseNotificationData validation and coerce numeric fields

  • Return null for unknown notification types instead of casting
  • Add coerceNumber helper to handle string-encoded numeric values in push payloads
  • Fix sendId and reward field parsing to accept both numbers and numeric strings

Co-Authored-By: Claude noreply@anthropic.com

youngkidwarrior and others added 2 commits January 17, 2026 23:06
Created `feat/notification-api` branch with the notification preferences API endpoint (`apps/next/pages/api/notifications/preferences.ts`) as an atomic branch. Successfully split this API file from the larger commit in `create-branch4`/`feat/notification-constants` following the review recommendations.

Co-Authored-By: Warp <agent@warp.dev>
- Return null for unknown notification types instead of casting
- Add coerceNumber helper to handle string-encoded numeric values in push payloads
- Fix sendId and reward field parsing to accept both numbers and numeric strings

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Collaborator Author

youngkidwarrior commented Jan 18, 2026

@youngkidwarrior youngkidwarrior changed the title Create branch4 feat/notification-api Jan 18, 2026
@youngkidwarrior youngkidwarrior marked this pull request as ready for review January 18, 2026 08:23
@github-actions
Copy link

Playwright Test Results

No test results available

No test results were found. This could be because tests failed to run or artifacts were not uploaded.

@github-actions
Copy link

Vercel Unique URL: https://sendapp-efek81kx7-0xsend.vercel.app
Vercel Preview URL: sendapp-feat-notification-ui-0xsend.vercel.app
Last Commit: 65df277

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants