Skip to content

perf: optimize login first screen#148

Merged
overtrue merged 1 commit into
mainfrom
cxymds/optimize-login-first-screen
Jul 5, 2026
Merged

perf: optimize login first screen#148
overtrue merged 1 commit into
mainfrom
cxymds/optimize-login-first-screen

Conversation

@cxymds

@cxymds cxymds commented Jul 5, 2026

Copy link
Copy Markdown
Member

Summary

  • Move dashboard-only API/S3/task/permission providers out of the root layout so auth routes do not load dashboard runtime.
  • Defer STS/OIDC/i18n work on the login path and replace blank fallbacks with a visible loading shell.
  • Add source regression tests for provider placement, lazy STS/i18n behavior, visible fallbacks, and route redirect safety.

Test Plan

  • pnpm install --frozen-lockfile
  • pnpm type-check
  • pnpm lint
  • pnpm format:check
  • pnpm build
  • node --test tests/lib/*.js

@overtrue overtrue merged commit d5d54c1 into main Jul 5, 2026
10 checks passed
@overtrue overtrue deleted the cxymds/optimize-login-first-screen branch July 5, 2026 10:09
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.

2 participants