chessbaseLinux/web/README.md
vrubelroman 30eac472ff 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>
2026-10-30 15:18:45 +03:00

1.8 KiB
Raw Permalink Blame History

ChessPenguin в браузере (подпроект)

Цель — версия программы, которая запускается в браузере на компьютере, как настольная: открыть PGN и ChessBase, смотреть партии, анализировать движком, разбирать партию с !! и !. Телефоны и планшеты получают страницу о приложениях (решения владельца — docs/decisions.md, «Веб-версия»).

Статус: этап 1 сделан (2026-10-30, ветка web-app): программа собирается для браузера и работает в Firefox — открыть PGN кнопкой и перетаскиванием, примеры, партия, ходы, скачать PGN; страница для телефонов и планшетов. Дальше — движок, разбор, «Мои партии» (этап 2). Задача — docs/dev/tasks.md §22.

  • Архитектура, сборка, проверки, что дальше — docs/dev/web.md (разработчик).
  • Код: apps/web (точка входа, страница /app/, build.sh, проверки в check/), слой платформы apps/desktop/src/platform, транспорт движка в браузере crates/uci/src/worker.rs.
  • Интерфейс — docs/design/web-version.md (дизайнер).
  • Концепция, аналоги — docs/research/web-version.md (аналитик); техническое исследование — docs/research/web-version-tech.md.

Сборка: apps/web/build.sh → target/web/app/ (подробности — docs/dev/web.md §5).