Repository navigation
fix: provider sign-in finishes in one window (#773); archive from the header options (#774) - #780
Merged
Merged
Conversation
…y one window (#773) The landing chose between closing and booting the app from window.opener. The sign-in starts at aeven.io/oauth/<provider>, whose Cross-Origin-Opener-Policy: same-origin clears the opener (and the window name) on the way back, so the popup booted the app while the page that opened it booted as well. A landing without its opener or the provider window's name now announces itself on a same-origin BroadcastChannel under the window flow and closes only when a page waiting on a provider window claims it; unclaimed, it goes on to the app. The waiting page boots on the announcement and keeps claiming for 30 s after its own session read. A refused close shows a signed-in note (zh/en/es) instead of a second shell. Redirect-flow landings go on at once, as before. Closes #773 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a phone the sidebar rows' options never show, so a Session could not be archived there. The conversation header's Options menu now offers "Archive session" right after "Export session", running the same workspace archive the row menu runs; an archived Session offers "Unarchive session" in its place, as its row does. zh/en/es. Closes #774 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…decision Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
#773 — window-flow provider sign-in finished twice
The landing chose between closing and booting the app from
window.opener. Sign-in starts ataeven.io/oauth/<provider>, which sendsCross-Origin-Opener-Policy: same-origin; that clearswindow.openerandwindow.nameon the way back, so the popup booted the app while the page that opened it booted too.A landing without its opener or the provider window's name now announces itself on a same-origin
BroadcastChannel(window flow only) and closes only when a page waiting on a provider window claims it; unclaimed, it goes on to the app. The waiting page boots on the announcement and keeps claiming for 30 s after its own session read. A refusedwindow.close()shows a signed-in note (zh/en/es) instead of a second shell. Redirect-flow landings are unchanged. Five new cases inoauth.client.spec.ts; the provider sign-in Agent Note is updated.#774 — no way to archive a session on a phone
The conversation header's Options menu now offers Archive session right after Export session, running the same workspace archive as the sidebar row menu; an archived session shows Unarchive session instead. zh/en/es. Two new cases in
skeleton.client.spec.tsx.Checks
AVN_GATE_FAIL_FAST=1 pnpm run check:ci: 56 passed.pnpm run test: 23229 passed, 1 failed —llm-pi-aiadapter idle-watchdog timing under parallel load; passes 51/51 when run alone, and this PR does not touch that package.Closes #773
Closes #774
🤖 Generated with Claude Code