Skip to content

Commit

Permalink
add notes
Browse files Browse the repository at this point in the history
  • Loading branch information
jbakse committed Jan 27, 2022
1 parent c30e8af commit 416827d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions notes/design_questions.md
Expand Up @@ -17,6 +17,9 @@

- should p5.party have some kind of write locking support so you can open a shared object in read only mode, or designate the writer for an object and get warnings if someone else writes?

- it would probably be common to have particpiants be read only, but me/my be writeable
- maybe a "host" write only mode, that warns/blocks if non host writes

- should p5.party provide an id for each participant? it does have an internal id. This might be especially helpful if we support a participant leaving and coming back via a local storage "cookie".

- should we support a client levaning and coming back as the same participant (e.g. a browser reload)?
Expand Down
10 changes: 10 additions & 0 deletions notes/todo.todo
Expand Up @@ -3,6 +3,14 @@

## Bugs

-- Getting invalid state transition when another client leaves
state-machine.js:37 Invalid state transition.
Details: {"transition":13,"fromState":"DELETING"}
History:
From READY to DELETING via 9
From SUBSCRIBING to READY via 4
From LOADING_OFFLINE to SUBSCRIBING via 23
From - to LOADING_OFFLINE via -



Expand Down Expand Up @@ -39,6 +47,8 @@
-- expose participant count?: can be gotten via participants.length, only if you are "subscribed" to participant shareds
-- expose participant ids, id list
-- expose own id
-- event when new participant joins or leaves?


- Tooling
-- maybe jump to esbuild and/or vite?
Expand Down

0 comments on commit 416827d

Please sign in to comment.