Comment state
import { CommentState } from "@arcadia/ui"; Needs Scout
Opened by Maya
Held by Scout, for Maya
Scout is working
Opened by Maya
Held by Scout, for Maya
Needs Leila
Opened by Scout, for Maya
Held by Scout, for Maya
Needs you
Opened by Scout, for Maya
Held by Scout, for Maya
Done
Marked done by Scout, for Maya,
Opened by Maya
CommentState
openerrequired- Actor
- Who opened it. An agent shows with the person it acts for.
brief- boolean
- The glyph and the words alone, where the row shows the opener itself.
rootStyle- RootStyle
- A component's typed override prop:
Layoutand its documented knobs, each the references it takes or another kit knob of its kind; anything else is a type error at the call site (STYLEX.md). staterequired- "open" | "agent" | "person" | "done"
- Nobody's turn: nobody holds it, or its holder has answered.
holder- Actor | CommentAgent
working- boolean
- The holder said it began.
waitsOn- { name: string; picture?: string }
- A person: their name and their picture's address (without one, the initials of the name).
you- boolean
- That person is the reader: the words say "Needs you" and the waiting mark stands in the glyph's seat.
done- { readonly by: Actor; /** Unix milliseconds. */ readonly at: number }
Rest props go to <div> props.
State machine
Open
Opened by Maya Chen
Opened by Maya