Repository navigation
Unify bill balances and fix scheduled task notifications - #10
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bills now credit a selected payer and debit only unpaid roommates in the same household balance as purchases and settlements. Each bill month snapshots its payer, so changing a future month does not rewrite older obligations. The add and edit forms expose the payer, and the bill row names who is owed.
Admins can delete another roommate's charge through the existing audited reversal, while payment tracking continues to let them mark roommate bill shares paid. Incoming payment requests now show the sender on mobile, and bill editing uses a small icon button. Scheduled task push calls now include the Supabase API key required by the Edge Function gateway.
Validation: 94 PostgreSQL assertions, 38 mobile Chrome/Safari E2E tests, 52 unit tests, PWA and auth browser tests, database lint, TypeScript, app build, and CI database scripts pass locally.
Deployment note: scheduled push still requires
project_url,dispatch_secret, andpublishable_keyin Vault as documented insupabase/setup_push_cron.sql. A live notification could not be sent from this branch's local test environment.