Public: anyone can read this; the crew can change it.
Migrated from github.com/Trevato/SO-ARM100
workbenchthis machine
/live answers {type:'who'} with who is here: usernames, guest names with their colour, and driving, queued or watching - lobby and test only #371
commented
duplicate of #363
Sign in to join this conversation.
Replaces #363, which was parked only because it inherited a blocker on #291 (closed as split). This one waits only on what it names. Rewritten from #292, piece 2 of 3.
Done:
{type:'who'}the lobby answers that socket alone with{type:'who', people:[{name, colour?, guest:boolean, role:'driving'|'queued'|'watching'}]}. A signed-in person with two tabs is listed once. At most one request per second per socket is answered.driving, a queued user isqueued, a guest has its colour, and a second request within a second is not answered.bun --cwd Software/so101 testpasses.