Web version: what the browser lacks is not offered, files dropped on the window, checks, docs
The interface hides what the platform does not have (platform::CAPS): play, new databases, adding to a database, preparation, translation, their shortcuts and the Translation tab. Files dropped on the window open like chosen ones (in a browser; the desktop program takes no drops, as before), with «Release to open» while they are dragged over it. /app/: ?phone=android and ?phone=ios show those variants of the device page. apps/web/check: device.test.mjs (14 devices: computer, iPhone, iPad as a Mac, Android phone and tablet, desktop-site modes, Chromebook, touch laptop) and app.mjs (headless Firefox: the device page in three languages without the program, the program, a PGN opened by Ctrl+O and the file chooser, a dropped PGN, a game of the classics, moves, «Download PGN», e2-e4 on the board, the settings after a reload). All pass. docs/dev/web.md: the architecture, the platform layer, what is not built for a browser, the build and the checks, what comes next; docs/dev/uci.md and desktop.md updated, web/README.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
3e69a5d57c
commit
30eac472ff
13 changed files with 501 additions and 32 deletions
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
egui/eframe 0.36 (wgpu, Wayland/X11). Бинарник `chesspenguin`, app id `io.github.vrubelroman.chessPenguin`.
|
||||
|
||||
С 2026-10-30 интерфейс — библиотека `chesspenguin_app` (`src/lib.rs`), бинарник `src/main.rs` только
|
||||
запускает её (`run_native`); та же библиотека — веб-версия (`apps/web`, `start_web`). Всё, что зависит от
|
||||
системы (каталоги, файлы, фоновые задачи, диалоги, буфер обмена, что есть на платформе), — в `src/platform`
|
||||
(`docs/dev/web.md`).
|
||||
|
||||
## Модули
|
||||
|
||||
| Файл | Ответственность |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue