User comments: an editor in the notation, symbols, arrows on the board
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:
parent
9967d6b759
commit
dc7d9f88b3
15 changed files with 1592 additions and 71 deletions
|
|
@ -66,6 +66,13 @@
|
|||
- Возвращение из партии в библиотеку.
|
||||
- Настройки фигур, доски, движков и звуков.
|
||||
|
||||
20. **Свои комментарии в партии** — 2026-10-25, решение пользователя по `docs/research/user-comments.md` и `docs/design/user-comments.md` (уточняет пункт 3: редактор комментариев входит в объём):
|
||||
- редактор — поле прямо в нотации, на месте комментария (в варианте поток режется у хода); комментарий после любого хода, в начале партии; существующие «перед ходом» правятся и удаляются;
|
||||
- Enter на ходе открывает, Enter — готово, Esc — отмена (черновик выбрасывается); переход к другому ходу записывает; Shift+Enter — абзац;
|
||||
- значки: мышью в меню хода и в редакторе (обе группы — ход и позиция), дополнительно Ctrl+1…6 для `! ? !! ?? !? ?!`;
|
||||
- стрелки и цветные поля правой кнопкой на доске — в первой версии (цвет: без модификатора зелёный, Shift красный, Alt синий, Shift+Alt жёлтый; повтор снимает);
|
||||
- книжные комментарии: нетронутые байты не меняются, команды `[%cal]`, `[%clk]`, `[%eval]` сохраняются.
|
||||
|
||||
## Предложения, требующие согласования
|
||||
|
||||
- Русский интерфейс по умолчанию с архитектурой для последующего английского перевода.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue