From 60ad747e32b3d92c2a82b99dc5922db37a076010 Mon Sep 17 00:00:00 2001 From: Andy Kopra Date: Sun, 18 Oct 2026 20:22:13 +0200 Subject: [PATCH] Everyone has the same buttons; the view is personal The host's rights and the co-host are gone: anyone in a session may start a new page, put an image on the page, load a kept page, hide, expand and shrink, and move or remove images and Hides; the page left is kept in every notebook. Fit and Normal scale act on your own screen only. A session goes on without whoever started it, and a newcomer to an empty room starts page 1 with New. Co-Authored-By: Claude Fable 5.1 --- README.md | 14 +-- client/index.html | 14 +-- client/js/chooser.js | 16 +-- client/js/crypto.js | 5 +- client/js/main.js | 114 ++++++-------------- client/js/page_file.js | 2 +- client/js/page_model.js | 15 +-- client/js/session.js | 167 +++++++---------------------- client/kokkoja.css | 2 - tests/test_end_to_end.py | 220 ++++++++++++++++++++------------------- 10 files changed, 215 insertions(+), 354 deletions(-) diff --git a/README.md b/README.md index 7ac434b..4bf2c7e 100644 --- a/README.md +++ b/README.md @@ -13,24 +13,24 @@ may be used. ## Documentation -The user documentation (an introduction, Kokkoja in five minutes, a -guest's Kokkoja, a host's Kokkoja, and how Kokkoja works) is being moved +The user documentation (an introduction, Kokkoja in five minutes, +using Kokkoja, and how Kokkoja works) is being moved to a new format and is not in this repository at the moment. It will return with a later release. ## In short -A guest needs nothing but a web browser: open the invitation link, enter -a name, join. A host can start a session from the same web site, +Joining needs nothing but a web browser: open the invitation link, enter +a name, join. Anyone can start a session from the same web site, `https://app.kokkoja.com/`, with the notebooks kept in the -browser. +browser; everyone in a session has the same buttons. -A host who wants notebooks as files needs Python 3 and this directory: +Whoever wants notebooks as files needs Python 3 and this directory: python3 kokkoja.py --relay wss://app.kokkoja.com/relay opens Kokkoja in the browser; *Start a session* gives an invitation to -send to the guests. Notebooks are directories in `Kokkoja` in the +send to the others. Notebooks are directories in `Kokkoja` in the Documents directory. ## What is here diff --git a/client/index.html b/client/index.html index 3df62de..2d8235f 100644 --- a/client/index.html +++ b/client/index.html @@ -82,12 +82,12 @@
- + data-help="Erase your own strokes and text by moving over them. A tap on an image, or on a Hide rectangle, removes it for everyone. Two quick taps on empty paper, away from anything the eraser would remove, undo your latest mark; again, and the one before.">Eraser
@@ -99,14 +99,14 @@