Skip to content

fix(#1300): migrate the saved search route on startup - #1302

Merged
codexu merged 1 commit into
codexu:devfrom
jinchuntan:fix/legacy-search-startup
Oct 23, 2026
Merged

codexu merged 1 commit into
codexu:devfrom
jinchuntan:fix/legacy-search-startup

Conversation

@jinchuntan

Copy link
Copy Markdown
Contributor

Fixes #1300.

After an upgrade, /core/search can remain saved as the last page even though that route no longer exists. Add it to the existing desktop migration so /core/main is saved before navigation.

Checked 18 startup scenarios by running the actual startup component with mocked storage, router and device detection. This covers the search migration, saving before navigation, reopening and existing desktop and mobile routes. All five existing Node tests and next lint pass.

Frontend compilation succeeds. The full type check and production build are blocked by existing TS7023 and TS7024 errors in src/lib/sync/remote-file.ts. The unchanged dev revision 3798b1b produces the same type-check errors. Windows desktop testing was not run.

Assisted by Codex.

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.

[bug] Windows 0.38.3 升级后白屏:旧配置 currentPage=/core/search 未迁移

2 participants