Repository navigation
Studio login: say Unsloth and size the title with the UI font scale - #15759
Conversation
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
…size Every text-ui-N token renders at 0.9375 x N at the default font size, so text-ui-26 shrank the title to 24.4px. text-ui-28 lands on 26.25px by default and still follows the font size preference.
|
@codex review |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
## What changed Brings back the login and setup page design from #15731: a compact, centered accent Login button and no footer under the card. #15731 merged at 10:00 UTC; #15726 merged 48 minutes later with its own login rewrite (full-width button, a new `AuthShell` card and a sloth + "Unsloth" footer) and replaced it. This restores #15731's `auth-form.tsx`, `login-page.tsx` and `change-password-page.tsx`, and removes `auth-shell.tsx`, which nothing else uses. Kept from later PRs: - The Halloween sloth on the login card (#15678). - The title still follows the UI font size (#15759), at #15731's 24px base. Login page, left is main, right is this branch.  ## How it was verified - `npm run typecheck`, `npm run build`, `npm test` (14371 pass, 0 fail). - Local Studio: the login page against the `main` bundle, and against `main` as of #15731.
Summary
Repo tests (CPU, studio)fails on main with two product slips on the new login and change-password layout from #15726 / #15678:text-[26px], so it ignores the UI font-size preference while everything around it scales.Change
auth-shell.tsx: footer label "Unsloth Studio" becomes "Unsloth".index.css: adds--text-ui-28: calc(1.75rem * var(--ui-font-scale, 1))between--text-ui-25and--text-ui-30, in the same form as the othertext-ui-*tokens.auth-form.tsx: the title usestext-ui-28. Everytext-ui-Ntoken renders at 0.9375 x N under the default 15px UI font size, sotext-ui-26would have shrunk the title to 24.4px;text-ui-28lands on 26.25px, the same look as before, and now follows the font-size preference.Testing
tests/studio/test_tauri_branding_contract.py+tests/studio/test_ui_font_scale_contract.py: 2 failed on main, 22 passed with this change.Screenshots
Default font size: the footer now reads "Unsloth", the title is unchanged.
UI font scale 1.25: the title now scales with the rest of the card.