AI Implementation feature(845): First-Start Create Admin Modal 1.04 (#7)
This commit was merged in pull request #7.
This commit is contained in:
@@ -3,7 +3,7 @@ type: guide
|
||||
title: First-Run Bootstrap
|
||||
description: How a fresh HIPCTF instance is initialized by the very first administrator.
|
||||
tags: [guide, bootstrap, first-admin, onboarding, tester]
|
||||
timestamp: 2026-07-21T16:23:40Z
|
||||
timestamp: 2026-07-21T16:48:20Z
|
||||
---
|
||||
|
||||
# When this flow runs
|
||||
@@ -70,7 +70,8 @@ The modal **cannot** be dismissed by the user:
|
||||
| Modal overlay | `.overlay` | Full-screen backdrop. |
|
||||
| Modal card | `.modal[role="dialog"]` | Contains the form; stops click propagation. |
|
||||
| Username input | `[data-testid="setup-username"]` | Reactive control with length/pattern rules. |
|
||||
| Password input | `[data-testid="setup-password"]` | Reactive control. |
|
||||
| Password input | `[data-testid="setup-password"]` | Reactive control; shows inline error on touch when empty. |
|
||||
| Password error | `[data-testid="setup-password-error"]` | Renders `passwordError()` (currently `required`). |
|
||||
| Confirm input | `[data-testid="setup-password-confirm"]` | Reactive control. |
|
||||
| Submit button | `[data-testid="setup-submit"]` | Triggers validation even when invalid; disabled only while submitting. |
|
||||
| Server error alert | `[data-testid="setup-server-error"]` | Displays `serverError()`. |
|
||||
|
||||
Reference in New Issue
Block a user