Following is a layer: pointers anywhere on the page, and a list of what to follow
A pointer is what it points at, not where it is. What goes out is the element under it, as a path from <body> with where it sits in each element on the way down, so over a button it is over the watcher's button however differently the two windows are laid out. In an SVG the point is in the SVG's own units, so on the stage it stays on the drawing at any zoom. A path that half resolves dims at the deepest element both pages share; one scrolled out of a pane waits at its edge. A press shows as a ring. The ▾ beside the eye says what you follow, each a switch: tab, frame and play with speed, loop and marks; selection; timeline rows; onion, tracing and mat; tool and brush; which panels are shut; panel scroll; pointers. What you let go of you neither take nor send, so looking around never moves the party, and taking it back catches up. The pool and the inspector are both `section.pane`, so a path by first class put a pointer on the pool whenever one window had it shut. A step now matches on the whole class list, and falls back to the first class only for state classes like `on` and `selected`. All of it lives in `arthur.follow` and `follow/`, switched on by one line in `arthur.core`. Collab no longer knows parties exist: it keeps a roster of whatever each peer says about itself, and lets a listener hear the room. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
7c637576b2
commit
00e94c025a
10 changed files with 684 additions and 294 deletions
|
|
@ -1,6 +1,6 @@
|
|||
(ns arthur.domain.party-test
|
||||
(ns arthur.follow.party-test
|
||||
(:require [cljs.test :refer [deftest is]]
|
||||
[arthur.domain.party :as party]))
|
||||
[arthur.follow.party :as party]))
|
||||
|
||||
(defn- roster [& entries]
|
||||
(into {} (map (fn [[cid p joinable]]
|
||||
Loading…
Add table
Add a link
Reference in a new issue