ui: simplify login surface
This commit is contained in:
@@ -2,20 +2,20 @@
|
||||
|
||||
## Current
|
||||
|
||||
### `feat/frontend-login-simplification`
|
||||
### `feat/frontend-settings-honesty-pass`
|
||||
|
||||
Status: in_progress
|
||||
|
||||
DoD:
|
||||
- login page shows only working actions
|
||||
- developer-facing build note is removed from the production login surface
|
||||
- planned login capabilities are either removed or collapsed into one compact "coming later" hint
|
||||
- copy stays user-facing in both EN and RU
|
||||
- existing password sign-in flow keeps working without visual regressions
|
||||
- settings page does not present non-functional controls as if they were interactive
|
||||
- planned notification capabilities are collapsed into an honest informational block
|
||||
- page subtitle stays user-facing and describes the live settings surface
|
||||
- EN and RU copy remain aligned after the cleanup
|
||||
- existing working settings actions keep their current behavior
|
||||
|
||||
## Next
|
||||
|
||||
- `feat/frontend-settings-honesty-pass`
|
||||
- `feat/frontend-command-palette-decision`
|
||||
|
||||
## Backlog
|
||||
|
||||
|
||||
+1
-32
@@ -26,7 +26,7 @@
|
||||
<div class="login-box">
|
||||
<div class="login-heading" data-i18n="login.title">Sign in</div>
|
||||
<div class="login-sub" data-i18n="login.subtitle">Welcome back to your workspace</div>
|
||||
<div class="login-note" data-i18n="login.password_only">This build supports password sign-in only. Password reset, Google SSO and self-service access requests are not wired yet.</div>
|
||||
<div class="login-note" data-i18n="login.coming_soon">Password reset and SSO will be added later.</div>
|
||||
|
||||
<div class="login-error" id="login-error" data-i18n="login.error.invalid">
|
||||
Invalid email or password. Please try again.
|
||||
@@ -41,42 +41,11 @@
|
||||
<div class="field">
|
||||
<label class="field-label" for="password" data-i18n="login.password">Password</label>
|
||||
<input class="field-input" type="password" id="password" placeholder="••••••••" autocomplete="current-password">
|
||||
<div class="field-footer">
|
||||
<button class="field-link is-disabled" type="button" disabled>
|
||||
<span data-i18n="login.forgot">Forgot password?</span>
|
||||
<span class="login-inline-badge" data-i18n="login.planned_badge">Planned</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button class="btn-signin" type="submit" data-i18n="login.submit">Sign in</button>
|
||||
</form>
|
||||
|
||||
<div class="login-divider">
|
||||
<div class="login-divider-line"></div>
|
||||
<span class="login-divider-text" data-i18n="login.divider">or continue with</span>
|
||||
<div class="login-divider-line"></div>
|
||||
</div>
|
||||
|
||||
<button class="btn-sso" type="button" disabled>
|
||||
<svg width="16" height="16" viewBox="0 0 24 24" fill="none">
|
||||
<path d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z" fill="#4285F4"/>
|
||||
<path d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z" fill="#34A853"/>
|
||||
<path d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l3.66-2.84z" fill="#FBBC05"/>
|
||||
<path d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z" fill="#EA4335"/>
|
||||
</svg>
|
||||
<span data-i18n="login.sso_short">Google SSO</span>
|
||||
<span class="login-inline-badge" data-i18n="login.planned_badge">Planned</span>
|
||||
</button>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="login-footer">
|
||||
<span data-i18n="login.request_prefix">Don't have an account?</span>
|
||||
<button class="login-footer-action" type="button" disabled>
|
||||
<span data-i18n="login.request_link">Request access</span>
|
||||
<span class="login-inline-badge" data-i18n="login.planned_badge">Planned</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="version-badge">Crank v0.9.0-beta</div>
|
||||
|
||||
@@ -1001,6 +1001,7 @@ var TRANSLATIONS = {
|
||||
'login.request_link': 'Request access',
|
||||
'login.planned_badge': 'Planned',
|
||||
'login.password_only': 'Sign in with email and password.',
|
||||
'login.coming_soon': 'Password reset and SSO will be added later.',
|
||||
'login.error.required': 'Please enter your email and password.',
|
||||
'login.error.invalid': 'Invalid email or password. Please try again.',
|
||||
'login.error.generic': 'Unable to sign in right now. Please try again.',
|
||||
@@ -2017,6 +2018,7 @@ var TRANSLATIONS = {
|
||||
'login.request_link': 'Запросить доступ',
|
||||
'login.planned_badge': 'Запланировано',
|
||||
'login.password_only': 'Войдите с помощью email и пароля.',
|
||||
'login.coming_soon': 'Сброс пароля и SSO появятся позже.',
|
||||
'login.error.required': 'Введите email и пароль.',
|
||||
'login.error.invalid': 'Неверный email или пароль. Попробуйте еще раз.',
|
||||
'login.error.generic': 'Сейчас не удается войти. Попробуйте еще раз.',
|
||||
|
||||
Reference in New Issue
Block a user