Skip to content

fix: provider sign-in finishes in one window (#773); archive from the header options (#774) - #780

Merged
olibaron merged 3 commits into
mainfrom
fix/773-774-signin-touch-actions
Nov 23, 2026
Merged

olibaron merged 3 commits into
mainfrom
fix/773-774-signin-touch-actions

Conversation

@olibaron

Copy link
Copy Markdown
Contributor

#773 — window-flow provider sign-in finished twice

The landing chose between closing and booting the app from window.opener. Sign-in starts at aeven.io/oauth/<provider>, which sends Cross-Origin-Opener-Policy: same-origin; that clears window.opener and window.name on 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 refused window.close() shows a signed-in note (zh/en/es) instead of a second shell. Redirect-flow landings are unchanged. Five new cases in oauth.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-ai adapter idle-watchdog timing under parallel load; passes 51/51 when run alone, and this PR does not touch that package.
  • Header menu checked live on a local Host: Fork session, Export session, Archive session, Choose desktop, Move to workspace.

Closes #773
Closes #774

🤖 Generated with Claude Code

olibaron and others added 3 commits November 23, 2026 21:17
…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>
@olibaron olibaron added kind/bug-fix Corrects incorrect behavior area/web Browser and Electron graphical interfaces skip-ci Merge without starting the CI lanes labels Nov 23, 2026
@olibaron
olibaron merged commit 84a9810 into main Nov 23, 2026
5 checks passed
@olibaron
olibaron deleted the fix/773-774-signin-touch-actions branch November 23, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/web Browser and Electron graphical interfaces kind/bug-fix Corrects incorrect behavior skip-ci Merge without starting the CI lanes

Projects

None yet

1 participant