Skip to content

Improve launcher frame pacing and preserve Ask replies - #214

Merged
Egg3901 merged 5 commits into
mainfrom
perf/launcher-frame-budget
Nov 21, 2026
Merged

Egg3901 merged 5 commits into
mainfrom
perf/launcher-frame-budget

Conversation

@Egg3901

@Egg3901 Egg3901 commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Changes

  • Make the globe and era-tinted backdrop static between interactions, coalesce canvas resize work, and replace the full-screen and pinned Settings blur and large shadows with matte surfaces.
  • Keep desktop Ask mounted when closed and preserve the current conversation during session refresh. Route immediate and delayed replies with the same request ID, keep partial text when the connection drops, and clear the local conversation on sign-out.
  • Let iOS Ask generation finish when the sheet is dismissed. Keep the current Android chat when dismissing the sheet. Simplify the Ask layout across platforms. Desktop reads the native window theme and listens for changes. iOS resolves the system appearance from the presenting scene. Android’s Material sheet keeps the active presentation when rebuilt for a theme change.

Checks

  • In a Chromium run with 2× CPU slowdown, Settings went from 3 to 6 animation callbacks per 1.55 seconds to 93 to 94 across desktop, Android-sized and iPhone-sized viewports when scrolling. Settings scrolling p95 settled at 16.7 to 16.8 ms with zero gaps over 25 ms in that run. The idle globe made zero draws.
  • The reopen regression reproduced the current reply being replaced by old history before the fix. Tests cover reopen, fast cached replies, and partial answers on stream failure.
  • Targeted launcher, layout, Ask, and platform configuration checks passed. Browser smoke passed at the Ask window’s 320px minimum and 440px default widths, with mocked IPC. Verified live theme switches through both the native notification path and the browser fallback without interrupting a reply or clearing a draft.

Physical-device timings and signed app validation are still pending.

@Egg3901
Egg3901 merged commit fa7bc4e into main Nov 21, 2026
8 checks passed
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.

1 participant