User comments: an editor in the notation, symbols, arrows on the board
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run

Enter on a move (the move's menu, a double click on a comment, the ☰ menu) opens
the editor where the comment stands: after any move, in a variation too (the
flow is cut at the move), or at the start of the game; Enter — done, Esc —
cancel, Shift+Enter — a paragraph; another move writes the draft; one edit —
one undo step. Symbols of the move (! ? !! ?? !? ?!, Ctrl+1…6) and of the
position in the editor and in the menu. The right mouse button draws arrows
and circles on the board ([%cal]/[%csl] of the current move; colours by
modifiers). Existing comments are edited and deleted; their commands and
untouched bytes are kept. chess_core: with_text, with_shapes, shapes,
Game::set_comments_before. Dev hooks CP_COMMENT_EDIT, CP_TYPE, CP_SHAPE.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
vrubelroman 2026-10-25 02:35:54 +03:00
parent 9967d6b759
commit dc7d9f88b3
15 changed files with 1592 additions and 71 deletions

File diff suppressed because one or more lines are too long

View file

@ -84,7 +84,7 @@
- **Что решить:** оставить оба (поиск — быстрый ввод, фильтры — точная настройка), объединить (поле поиска сверху панели фильтров) или убрать поиск. Обсудить с дизайнером на реальном использовании.
### 9. Режим ввода партии: писать комментарии к ходам
- **Статус:** новая.
- **Статус:** в работе (2026-10-25): `docs/research/user-comments.md`, `docs/design/user-comments.md`; решения владельца — `docs/decisions.md` п. 20.
- **Добавлено:** 2026-10-25.
- **От кого:** владелец.
- **Суть:** при вводе партии (новая партия, своя база) нужно писать текстовые комментарии к ходам прямо в программе — сейчас комментарии только читаются (и приходят из анализа).