Skip to content

Open on the last-used context instead of flashing the default one - #35

Merged
EarMaster merged 2 commits into
mainfrom
develop
Oct 24, 2026
Merged

EarMaster merged 2 commits into
mainfrom
develop

Conversation

@EarMaster

Copy link
Copy Markdown
Owner

The splash screen now waits for the stashes, but App only applied the saved context after loading the contexts, which it did after mount. The splash faded on the default context and the app jumped to the right one a moment later.

main.ts now preloads the contexts alongside settings and stashes and hands them over the way it already hands over settings. App applies both together in its init effect, which runs before the splash fades, so the first frame shows the context in use. If either preload is missing, it falls back to the old load-after-mount path.

The 1.11.1 changelog entry is extended rather than given a new section: 1.11.1 is bumped on develop but has not been released yet.

Checked: svelte-check reports the same 35 errors as before and no new warnings, all 310 vitest tests pass, and tsc is clean for main.ts.

EarMaster and others added 2 commits October 24, 2026 03:10
The splash screen now waits for the stashes, but App only applied the saved
context after loading the contexts, which it did after mount. The splash
faded on the default context and the app jumped to the right one a moment
later.

main.ts now preloads the contexts alongside settings and stashes and hands
them over the way it already hands over settings. App applies both together
in its init effect, which runs before the splash fades, so the first frame
shows the context in use. If either preload is missing, it falls back to the
old load-after-mount path.

The 1.11.1 changelog entry is extended rather than given a new section:
1.11.1 is bumped on develop but has not been released yet.

Checked: svelte-check reports the same 35 errors as before and no new
warnings, all 310 vitest tests pass, and tsc is clean for main.ts.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@EarMaster
EarMaster merged commit c3164ca into main Oct 24, 2026
21 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