Skip to content

ui/login - #251

Draft
MiloCasagrande wants to merge 8 commits into
mainfrom
ui/login
Draft

ui/login#251
MiloCasagrande wants to merge 8 commits into
mainfrom
ui/login

Conversation

@MiloCasagrande

Copy link
Copy Markdown
Member
  • ui: add login.css for the redesigned login pages
  • ui: redesign local-login page
  • ui: redesign oauth2-login page for GitHub
  • ui: redesign oauth2-login page for Google
  • test: add e2e coverage for the local login flow
  • fix: check if there is no cookie and suppress error
  • fix: correctly override pico color vars
  • style: bump root font to 16px, add fluid type scale for headings

Milo Casagrande added 8 commits August 28, 2026 10:08
Signed-off-by: Milo Casagrande <mcasagra@qti.qualcomm.com>
Signed-off-by: Milo Casagrande <mcasagra@qti.qualcomm.com>
Signed-off-by: Milo Casagrande <mcasagra@qti.qualcomm.com>
Signed-off-by: Milo Casagrande <mcasagra@qti.qualcomm.com>
Signed-off-by: Milo Casagrande <mcasagra@qti.qualcomm.com>
The new UI will show an error the first time a user arrives
at the login page and there is no cookie set. Silence that
error so it does not pop up in the UI.

Signed-off-by: Milo Casagrande <mcasagra@qti.qualcomm.com>
Signed-off-by: Milo Casagrande <mcasagra@qti.qualcomm.com>
Replace the 15px root override with 16px (browser baseline, cleaner rem
math). Add Minor-Third-based heading scale using --pico-font-size
overrides so Pico's own rules read the values without a specificity fight.

h1–h3: fluid via clamp() (22–28 / 18–22 / 16–19 px across 320–1280px)
h4–h6: fixed (17 / 13 / 11 px) — hierarchy carried by weight and case.

Signed-off-by: Milo Casagrande <mcasagra@qti.qualcomm.com>
Comment on lines +67 to +78
<form method="post" action="/auth/login">
{{ if .CsrfToken }}<input type="hidden" name="_csrf" value="{{.CsrfToken}}">{{ end }}
<fieldset>
<label for="username">Username</label>
<input type="text" id="username" name="username" autocomplete="username" autocapitalize="none" spellcheck="false" required>
</fieldset>
<fieldset>
<label for="password">Password</label>
<input type="password" id="password" name="password" autocomplete="current-password" required>
</fieldset>
<button type="submit">Sign in</button>
</form>

@doanac doanac left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - I've tested all three providers and they look good

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.

3 participants