Skip to content

feat(login): redesign the sign in with a single page for new accounts - #282

Draft
tonyco97 wants to merge 1 commit into
mainfrom
feat/new-login
Draft

tonyco97 wants to merge 1 commit into
mainfrom
feat/new-login

Conversation

@tonyco97

Copy link
Copy Markdown
Collaborator

Summary

New NethLink sign in, aligned to the Nebula login design (Figma "Login NethLink"), consistent with the new NethVoice CTI and admin logins.

  • New accounts use a single page: CTI host, username, password and one "Sign in" button, both on first start and from the account list. The sign-in method of the host is detected on submit: password users sign in straight away, SSO hosts show the SSO step with a Back button.
  • Layout from the design system: centered logo, 36 px inputs with labels above, 32 px between fields, window height that follows the content.
  • "Sign in" shows a spinner and is disabled while signing in; double submits send a single request.
  • Distinct errors for too many attempts (429) and server errors (5xx), with the same wording as the CTI login; wrong credentials and unreachable host are unchanged.
  • SSO step text no longer mentions username and password.
  • Removed the now unused translation keys and spinner image; both translation sources stay identical.

Kept: saved accounts list, removing accounts, SSO, two-factor, expired password change, offline warning, language and theme.

Test

  • npm run typecheck and npm run build pass.
  • Before/after screenshots of every login state in light and dark, English and Italian, compared with the Figma frames.
  • Not yet tried against a real server for two-factor and expired password.

🤖 Generated with Claude Code

@github-actions

Copy link
Copy Markdown

Automatic builds from https://github.com/NethServer/nethlink/actions/runs/46383024963.
Commit: ab381c8

Name Platform Link
win-app.exe Windows (x64) Link
macos-app-x64.dmg MacOS (x64) Link
macos-app-arm64.dmg MacOS (arm64) Link
linux-app.AppImage Linux (x64) Link

This branch has not been deployed

No deployments
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