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 <noreply@anthropic.com>
This commit is contained in:
1 parent
5d63a0f758
commit
60ad747e32
10 files changed
+215
-354
No files matched your search
+4
-12
@@ -15,10 +15,9 @@
|
||||
* a Trash the entries are moved there, and the button says so;
|
||||
* in the browser they are gone for good, and the button says that. The
|
||||
* notebook being written in cannot be marked: its mark explains.
|
||||
* Everyone has the chooser (Andy, 2026-10-11), so that a guest can see
|
||||
* and clear what their notebook holds, in a browser above all; loading
|
||||
* a page into the session is for the host and co-hosts, and a card says
|
||||
* so to anyone else.
|
||||
* Everyone has the chooser (Andy, 2026-10-11), so that anyone can see
|
||||
* and clear what their notebook holds, in a browser above all, and
|
||||
* since 2026-10-18 anyone may load a page into the session from it.
|
||||
*/
|
||||
|
||||
import {
|
||||
@@ -163,7 +162,6 @@ export class NotebookChooser {
|
||||
/** The notebook being written in, which cannot be deleted while it is. */
|
||||
this.writing = '';
|
||||
/** Whether this participant may load a page into the session. */
|
||||
this.mayLoad = true;
|
||||
/** Whether deletions go to a Trash (the local program's) or are for good. */
|
||||
this.trash = false;
|
||||
/** Counts openings, so that pictures fetched for an earlier one are dropped. */
|
||||
@@ -188,12 +186,10 @@ export class NotebookChooser {
|
||||
/**
|
||||
* Show the notebooks, or the pages of the only notebook.
|
||||
* @param {string} [notebook] Open on this notebook: the one being written in.
|
||||
* @param {boolean} [mayLoad] Whether a page may be loaded into the session.
|
||||
*/
|
||||
async open(notebook, mayLoad = true) {
|
||||
async open(notebook) {
|
||||
this.opening += 1;
|
||||
this.writing = notebook ?? '';
|
||||
this.mayLoad = mayLoad;
|
||||
this.clearMarks();
|
||||
this.dialog.showModal();
|
||||
element('chooser_message').textContent = '';
|
||||
@@ -289,10 +285,6 @@ export class NotebookChooser {
|
||||
title.textContent = pageTitle(pageName);
|
||||
card.append(picture, title);
|
||||
card.addEventListener('click', async () => {
|
||||
if (!this.mayLoad) {
|
||||
this.say('Only the host and co-hosts can start a page for everyone from a kept page.');
|
||||
return;
|
||||
}
|
||||
const text = await readPage(notebook, pageName);
|
||||
if (text === null) return;
|
||||
this.dialog.close();
|
||||
|
||||
Reference in new issue
Block a user