Skip to content

Type Alias: ThreadPlacement

ThreadPlacement = "disabled" | "auto" | "left" | "right" | "top"

Where conversation management lives in the chat’s layout, and whether it exists at all:

  • disabled - no thread UI (the classic single-thread chat).
  • auto - left while the chat is wide enough for a side panel, top once it gets too narrow for one. Measured off the chat’s own width, so an embedded panel switches on its own space rather than the viewport’s.
  • left / right - a conversation list docked to that edge, collapsing to an overlay drawer on the same edge when the chat is narrow.
  • top - a tab strip of open conversations above the transcript, with a history menu listing every other conversation.