Repository navigation
Fix "Account save is paused: signed in as someone else" on phones - #343
Merged
Merged
Conversation
…one frame - party.js: in the home page's phone frame, use the home page's SiteAccount (wait for its boot(), guess names from it) and name the frame's Firebase app like the home page's account app, so both share one saved sign-in and the frame follows a Google sign-in made on the home page. - account-nudge.js: when Party's uid differs from the Google uid, show "Connecting your account save..." and re-sync as soon as Party's auth becomes that account (and once more after 15 s, then say it's paused). The uid check stays, so nothing is ever written to another account's node. - README and a What's new fix entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cw2rM74nXSN426CQRHrrjU
✅ Deploy Preview for ascoding11 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Deploying ascoding11-github-io with
|
| Latest commit: |
ea26dcf
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f60509e1.ascoding11-github-io.pages.dev |
| Branch Preview URL: | https://claude-lucid-hawking-t8pygi.ascoding11-github-io.pages.dev |
✅ Deploy Preview for cosmic-dasik-e73c56 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
account-nudge.js) uses the home page's Google sign-in, but the Party panel in the frame (party.js) started its own Firebase sign-in, often as a guest. The save checked once, saw two different accounts, and never retried, even after the panel caught up to the Google account a second later.party.js: inside the home page's frame, it now waits for the home page's sign-in and gives its Firebase app the same name, so both use the same Google sign-in.account-nudge.js: when the accounts don't match yet, it shows "Connecting your account save…" and syncs as soon as the panel's account becomes the Google one. After 15 s it shows the old message, but still syncs once they match.account/, and the storage paths (rooms/sv-saves/players/<uid>and the party paths). Guest play when not signed in works as before.Generated by Claude Code