From 8c93f69081f0012e9a97ffc59adb7129bc1593ee Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 1 Nov 2026 18:51:05 +0100 Subject: v4.0.5: login and registration as core commands --- docs/GUI-PLAN.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'docs/GUI-PLAN.md') 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. core builds a typed view, frontends send `Command`, and the TUI renders it. Done so far: every game plus `Lobby` and `History` are structured views; the client transport (TCP, rustls, TOFU, `HELLO`, auto-login) lives in -`client::transport` behind a trust callback. Remaining: the connection-facing -screens (`Connect`, `Trust`, `TrustMismatch`, `Login`) and removing `Key` from -the core. +`client::transport` behind a trust callback; login and registration are +`Command`s, so a GUI form never needs a terminal prompt. Remaining: the +`Connect` and `Trust` screens (adapter-owned; the transport callback is ready) +and removing `Key` from the core. The TUI's interactive login still uses its +own prompt and should move to `Command::Login` when that prompt moves out. - Introduce `Command` and `View`; move terminal-only concerns (prompt editing, wheel animation, interactive prompts) into the TUI adapter. -- cgit v1.2.3