diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-01 18:51:05 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-01 18:51:05 +0100 |
| commit | 8c93f69081f0012e9a97ffc59adb7129bc1593ee (patch) | |
| tree | 4dfe458ca2e76e4d9d2ad8f52c2684d5c83178c9 /docs/GUI-PLAN.md | |
| parent | v4.0.4: move the client transport and TOFU into the library (diff) | |
| download | zagan-bet-8c93f69081f0012e9a97ffc59adb7129bc1593ee.tar.gz zagan-bet-8c93f69081f0012e9a97ffc59adb7129bc1593ee.zip | |
v4.0.5: login and registration as core commands
Diffstat (limited to 'docs/GUI-PLAN.md')
| -rw-r--r-- | docs/GUI-PLAN.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/GUI-PLAN.md b/docs/GUI-PLAN.md index eb0fd8e..f8ac3d5 100644 --- a/docs/GUI-PLAN.md +++ b/docs/GUI-PLAN.md | |||
| @@ -30,9 +30,11 @@ existing game flows unchanged, new tests for version parsing and gating. | |||
| 30 | core builds a typed view, frontends send `Command`, and the TUI renders it. | 30 | core builds a typed view, frontends send `Command`, and the TUI renders it. |
| 31 | Done so far: every game plus `Lobby` and `History` are structured views; the | 31 | Done so far: every game plus `Lobby` and `History` are structured views; the |
| 32 | client transport (TCP, rustls, TOFU, `HELLO`, auto-login) lives in | 32 | client transport (TCP, rustls, TOFU, `HELLO`, auto-login) lives in |
| 33 | `client::transport` behind a trust callback. Remaining: the connection-facing | 33 | `client::transport` behind a trust callback; login and registration are |
| 34 | screens (`Connect`, `Trust`, `TrustMismatch`, `Login`) and removing `Key` from | 34 | `Command`s, so a GUI form never needs a terminal prompt. Remaining: the |
| 35 | the core. | 35 | `Connect` and `Trust` screens (adapter-owned; the transport callback is ready) |
| 36 | and removing `Key` from the core. The TUI's interactive login still uses its | ||
| 37 | own prompt and should move to `Command::Login` when that prompt moves out. | ||
| 36 | 38 | ||
| 37 | - Introduce `Command` and `View`; move terminal-only concerns (prompt editing, | 39 | - Introduce `Command` and `View`; move terminal-only concerns (prompt editing, |
| 38 | wheel animation, interactive prompts) into the TUI adapter. | 40 | wheel animation, interactive prompts) into the TUI adapter. |
