Web version: the engine's location as a type, the browser's history and Back, the question on leaving, the draft of an unsaved game

EngineLocation: an engine starts from its program on a computer, from the
address of its Web Worker's script in a browser; analysis, the review job,
the judge and the settings take it instead of a path.

platform::page: a game on the screen is an entry of the browser's history,
so Back is «← Library» (with the same questions); unsaved changes or a
running review make the browser ask before the page is left. The draft of an
unsaved game is written every 5 s while it has changes and offered at the
next start (Open / Delete); a saved or left game takes it away.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
vrubelroman 2026-10-30 17:35:30 +03:00
parent 3afeee09c7
commit 000821887f
15 changed files with 338 additions and 42 deletions

View file

@ -23,6 +23,7 @@ use web as imp;
pub mod clipboard;
pub mod files;
pub mod fs;
pub mod page;
pub mod pgn_store;
/// What the platform offers the interface: a feature it lacks is not shown.