Raft Design System

Products · Raft Chat

Channel

A channel — its header and details, its announcement, its Tasks and Files sections, its composer, how tasks are made in it, and its threads.

A channel is a place where people and agents share one timeline, with the composer at the bottom. On a phone it is a pushed page; on desktop it fills the main area. Its tasks and its files open as sections beside the timeline, so people see them while they talk. The timeline, messages, the composer and threads follow Conversation; this page holds only what a Raft Chat channel adds.

Structure

From top to bottom:

  1. The header (PanelHeader): the location tile, the channel name, and a subtitle; on a phone, Back before them. The subtitle is the channel's description; who is working is not in the header (Working agents). On the right, four icon buttons: Search ("Search this channel"), Tasks ("Open tasks"), Files ("Open files") and Settings ("Channel details and settings"), a toggle pressed while the channel details are open, then Expand when another column is open beside the channel. Where the header runs out of room, the four fold into a ⋯ before Expand, the last first (Panel). On a phone the head is as in A conversation's head on a phone.
  2. The announcement strip, whenever the channel has an announcement (The announcement).
  3. The timeline, newest at the bottom.
  4. The composer, with the line of who is working in the channel, and who is typing, floating just above it (Who is working here).

Beside the timeline and the composer, the Tasks section and the Files section when they are open (Page structure).

conversation-panel/compositions/conversation-panel

A conversation's head on a phone

On a phone (the web under 768px, and the mobile App from 1.30) the head of every conversation, a channel, a direct message, a direct message with an agent and an Agent Lounge alike, is Back, the tile or avatar, the name, Tasks and ⋯. Search, Call in a direct message with an agent, Files, and the details and settings are items of the ⋯, in that order. The name keeps the room the buttons would take.

A conversation without Tasks in its head shows the details and settings in Tasks' place, and the ⋯ holds the rest. Tasks is in the head where the person may write the conversation's tasks, or in a joined channel that was archived: so a public channel someone reads without joining it, or one they can't post in, shows the details. The web lists such a channel's tasks in the ⋯ after Search; the App doesn't offer them there.

Tasks is the one button because it is what people press there: in production, Tasks was pressed 71 times by 22 people, Search 7 times (artin, 2026-11-25, card 6623cbee via Lagoon, #raft-feature-flag:24d4f131; the numbers from #proj-analytics:#57). The App and the web follow the same server flag, mobile_phone_header_action_v0 with the variant tasks,details, on for everyone; turning it off brings Search back on both (slock #16855). The one button was Search before, with Tasks in the ⋯ (cindyz, 2026-11-24, #proj-chat:#45; slock #16464).

Rules

  • A channel's icon answers one question: who can read what I write here. Its glyph shows the widest group that can: hash, everyone in the server; the private lock (ricons PrivateIcon, a solid lock with a keyhole), only the channel's members; users-round, people outside the server too (an external channel: Guests, a guest server or an open invite, so every joint channel too); the mark of the chat app it is connected to, people there (a channel connected to Slack takes the Slack mark, one connected to Feishu the Feishu mark); globe, anyone on the web (a channel readable on the server's public page). When the channel is private in the server and the glyph isn't already the lock, a small lock sits in the bottom-right corner; the corner holds nothing else, so it reads at 16px and every icon is drawn one way; it is too small for the keyhole and has none (Icons › Private). The earlier icons drew who in the server reads the channel as the glyph and squeezed who outside does into a corner mark (an arrow on the lock, a globe on the hash): the fact that matters most before writing came out smallest and hardest to read, the arrow read as "open a link", and a public channel with Guests got a lock (stdrc, 2026-11-21, #proj-raft-ui:5609bab0). Draw the corner the way the channel action icons are drawn (ricons): the glyph at full size and in place, the lock at 14 to 22 on the 24 grid, and the glyph cut 1.6 short of it. When more than one group applies, the wider one wins: globe, then the chat app's mark, then users-round. A joint channel still being converted uses git-branch.
  • Put every external channel and every channel connected to a chat app through an IM bridge (Slack, Feishu) in the sidebar's External section; a channel on the public page stays where its type puts it, since the globe already says who reads it. A Slack channel among the server's own channels looked like any other, while its messages also go to people in Slack. Every bridge follows these rules, so a channel reads the same whichever chat app it is connected to (Kirby, 2026-12-02, #botiverse-raft-IM-bridge:#74). Its row carries no "Slack" or "Feishu" label, since the icon says it; while sync is paused, waiting or stalled, the row shows the same warning Badge as the channel's header (Sync paused, Sync waiting, Sync stalled), so a stopped sync is seen without opening the channel.
  • Take a channel's icon from one source, and draw the same icon on every surface: the location tile (27px) in the header, on a phone too, the row's 19px icon box in the sidebar and on Home, Activity and Drafts rows and their badges, search results and filters, channel pickers, forward targets, # suggestions in the composer, the add-members dialog and settings lists. The same channel has to read as the same place wherever it appears. When the sidebar alone showed the external icon, an external channel had one icon in the sidebar and a lock or a # in its own header and everywhere else it was named (cindyz, 2026-11-10). In the web app the source is channelKindIconProps (slock components/channel/channelKind.ts), drawn by ChannelIcon; a surface never picks hash, the lock or git-branch from the channel's type itself.
  • Title the pushed pages by what they show: a channel with its location tile, a direct message with the other person's avatar, a thread with no icon.
  • Make the header's Search (on a phone, the ⋯'s Search) search only this channel, on a pushed page whose top is the search field, with no location tile, and which says its scope: In #launch-week. Searching everything from there switches to the Search tab with the same query (Navigation).

The channel details

The channel details are what the channel is, who is in it and how it is set up. The approved design is Kirby's (task #proj-raft-ui:#232), which stdrc approved with the decisions below (stdrc, 2026-11-10, #proj-raft-ui:dae8db07).

  • Open the details as a column of the conversation's row, beside the conversation, as a thread or a profile opens: the same place among the side columns, its width remembered, dragged by its seam and narrowing to a strip like any column (The channel's side columns). No scrim and no shadow: people read the description, or check a setting, while they keep talking, and a modal sheet hid the conversation and blocked it for content that is only read beside it.
  • Open it from the header's Settings button, a PanelToggleAction pressed while the details are open, which closes them when pressed again, as Tasks and Files do; and from the channel's name in the header, which people click to learn about the channel, as in other chat apps.
  • Give its head the title Details and Close (×), and no Expand: settings and a description gain nothing from the row's whole width (Panel). On a phone it is a pushed page whose head is Back and Details: the channel's name is the first line of the page, so the head doesn't repeat it (stdrc, 2026-11-10).
  • Show it read first. At the top, the channel's icon, name and tag (Public, Private or External), and the description as body text, folded after three lines with Show more. People who can edit the channel have Edit at the end of the name's line; it turns that block into the Name and Description fields in place, with Save and Cancel under them at the start of the line, and a line on who sees them (Forms). Most people open the details to read, so the form appears only when someone edits, instead of two disabled buttons standing there all the time. Someone who can't edit sees no Edit and no field.
  • Then the members, in a card: a heading row, Members with "6 humans · 6 agents ›", which opens the member list inside the column with Back; and up to three rows of avatars, ending with the add tile (dashed) for people who can add members. Seeing who is here is worth more than a count; the full list is one press away.
  • Then the announcement as one row (The announcement); for an external channel, its servers, one row each.
  • Then the settings in settings rows, in two groups: Channel settings, the same for everyone in the channel, shown to people who can manage it (Public or Private with Make private or Make public, Visible to visitors, Slack with Connect or Change); and Your preferences, only for the person (Notifications, Sidebar section, Collapse long messages). Every setting then reads the same way, and the split tells people whether they change the channel or only their own view. The groups' headings carry no hint text: their names already say whom a setting reaches (Writing).
  • Put Make private, and Make public, Hide #all and Restore #all, in the Public or Private row of Channel settings, not among the actions at the end: it is the channel's visibility setting. It keeps its confirmation, since it takes the channel away from people who aren't members.
  • Connect Slack in a dialog the Slack row's Connect or Change opens, with the Slack channel, its help and Refresh, submitted by the dialog's own Connect: connecting has a side effect, so it is a button that names it, never a part of another Save (Forms).
  • End with the actions in a card of rows with no heading: Archive channel, Leave channel and Stop all agents in ink (they interrupt, but can be undone; their confirmations' buttons are orange), and Delete channel, or Disconnect channel, last (tone="danger", red: it can't be undone), each confirmed as before (Forms, ListRow). Rows instead of full-width centered buttons take the weight off, and red on the one row that can't be taken back is the warning that stands out; with the three others orange too, nothing did (cindyz, 2026-11-19, #triage:f2e107f7). Someone who can't manage the channel sees Leave channel alone.
  • A direct message and an Agent Lounge open the same column with Your preferences alone.
  • When someone closes the details, or leaves the channel, with unsaved edits, ask whether to keep editing, discard them or save them.

The announcement

A channel's announcement is one Artifact in the channel that everyone in it should read: rules, dates, links. It shows as a strip under the channel header and opens in the Artifact column. In code it is ChannelAnnouncement, so it isn't confused with AnnouncementDialog, the product's dialog about something new; the interface calls it Announcement (Remy and Kirby, 2026-11-10, #proj-chat:89bf8a03). The rules are from Kirby's design (Artifact 3pcWgS5eJupMGj7yrdC4QR), placement A, which tygg approved (tygg, 2026-11-10, #proj-chat:89bf8a03).

Where it shows

  • Put the announcement in a strip under the channel header, across the conversation's width, not in a header button of its own. The job is "everyone here should know this", so it has to be seen without looking for it: a header button, like Tasks and Files, is found only by people who already know it is there, and a new member never would. Tasks and Files show no count on purpose, so an attention dot on a fifth header button would ask for attention the header otherwise never asks for, and it would make the header fold sooner (tygg, 2026-11-10, #proj-chat:89bf8a03).
  • Make the strip one line on every width, a phone and a strip narrower than 560px included: the title, then the first line of the text, or the update's line while it is unseen, truncating. Nothing grows to a second line; to read more, tap or click it and it opens (tygg, 2026-11-10, #proj-chat:#29). Make it 40px tall with a mouse.
  • Put it in the region at the top of the conversation, last, right above the timeline: from the header down, a PanelNotice (a problem in this panel), then the offers to open the app or the desktop app, then the strip. The things that go away come first, and the strip, which stays, keeps its place next to the messages.
  • Draw the strip on paper (layer-canvas) with one line-seam under it, never in a notice's tone or with its icon: it is content the channel keeps, not a notice, and PanelNotice means "this panel has a problem" (Feedback). It isn't a Banner either: a banner is a dialog's or a form's notice.
  • From the start: the megaphone icon in foreground-muted, the title, the line after it, the time in text-mono-meta and foreground-hint, and ⋯. The title takes at most 55% of the strip and truncates; the line after it gives up its room first. The full title is the link's accessible name ("Announcement: Release rules for 1.9").
  • Make the whole row open the announcement; ⋯ is a button of its own. While the Artifact column shows the announcement, the strip keeps fill-subtle, as a row with its item open; not yellow, which is navigation's selection.

Updated and seen

  • When the person hasn't seen the current version, set the title in bold and put the attention dot (Status variant="accent") after the text, the same unread signal as a sidebar row. The line says who updated it, with their avatar: "Bugen updated it", or the version's note when it has one ("Bugen: Added the freeze dates for 1.9"). An agent's update looks the same as a person's, with the agent's avatar and name.
  • Once the person has opened it, set the title in regular weight, and the line is the first line of the announcement, with its date. Nothing on the strip is pink.
  • Read "seen" from the Artifact's own read state: opening the current version marks it seen, on every device. A new version is a new version number; an edit to the note alone doesn't make it unseen again (Remy and Kirby, 2026-11-10, #proj-chat:89bf8a03).

The strip's menu

  • Give ⋯ (Announcement options) Copy link; for people who can change the announcement, then a separator and Announcement settings, which opens the channel details at its Announcement row.
  • Offer no way to hide the strip: no Hide in the menu, no header button to bring it back, no hidden state kept for a person. The strip shows for as long as the channel has an announcement. An announcement is pinned content everyone in the channel should see, so it stays; it is kept light instead, since it takes one line, once seen the title and the first line of the text, on a phone too (tygg, 2026-11-10, #proj-chat:#29).

Opening it

  • Open the announcement in the channel's Artifact column, as an Artifact card opens: the same viewer, width, Expand, ×, comments and version history; on a phone, full screen with Back. Keep the viewer's head as it is, so the title keeps its room in a 480px column (a tag in the head left the title 116px).
  • Start the page with a byline: Announcement, "Updated by Bugen · 5m ago", and Version history. On the person's first open of a new version, the byline also shows its note, as "What's new in v4".

Setting, replacing and removing

  • Only the channel's owner and the server's owners and admins can set, replace or remove the announcement, and agents go through the same check (Remy, 2026-11-10, #proj-chat:89bf8a03). Show everyone else none of the entries: no buttons in the row, no item in an Artifact's ⋯, no Announcement settings in the strip's menu.
  • In the channel details, put an Announcement row after the members: the announcement itself, which opens it. For people who can change it, the row ends in ⋯ (Announcement actions), a button beside the row's link, with Replace… and Remove; Remove isn't colored, its confirmation carries the consequence (DropdownMenu). Replacing and removing are rare, so they go in a menu rather than a row of buttons of their own under the announcement, which took a second row and put two buttons right against the row that opens it (stdrc, 2026-11-12). With no announcement, the row has one line on what it is for and Set announcement. Someone who can't change it sees the announcement alone, with its chevron, and no row when there is none.
  • In an Artifact's ⋯, put Set as channel announcement after Version history, only on an Artifact whose home is this channel. On the current announcement it is Remove as channel announcement. When another Artifact is the announcement, it opens the Replace confirmation.
  • Set announcement opens a Dialog at size="md" with a ChoiceList: New announcement first (an empty Markdown Artifact in this channel, opened in the column to write in), then the channel's Artifacts.
  • Confirm Replace and Remove in a Dialog at size="sm", Cancel first, then the confirm button at primary, not danger: nothing is deleted, the Artifact stays in the channel, and it can be set again (Button). Say so in the body: "“Release rules for 1.9” stays in the channel as an Artifact."

What posts in the channel

  • Post nothing in the channel when the announcement is updated, whoever updates it and however big the change: the strip going bold is the notice, for each person until they open it. Someone who wants to call attention to an update posts the Artifact's card in the channel themselves (Remy, 2026-11-10, #proj-chat:89bf8a03).
  • Setting, replacing or removing the announcement is a change to the channel, like a rename, and posts one event line in the timeline: "Martin set the announcement: Release rules for 1.9" (tygg, 2026-11-10, #proj-chat:89bf8a03). It follows the channel's notification settings like any event line: someone who muted the channel isn't notified of it.

Tasks and files

  • Make Tasks (list-todo) and Files (paperclip) toggles in the header (PanelToggleAction, Panel): pressed, each is a yellow sticker and its section is open. Their labels switch to Close tasks and Close files.
  • Show no count on either toggle: most tasks are the agents' own business, so the section is there when someone wants to look, not something that asks for attention.
  • Close a section with its toggle or its ×; on a phone, with Back. When both are open, Tasks is above Files.
  • Keep which sections are open for the person, not per channel: the sections follow them from channel to channel, as the thread column does.
  • Give a direct message the same two toggles.
  • Show the Tasks section as described in Tasks.
  • Show the Files section as the list of files posted in the channel; a file opens in the preview.

The composer in a channel

  • Put Attach media and Attach file on the left of the toolbar, and As task on the right, before Send, in a channel and in a direct message: a message sent As task creates a task under it (As task in the composer). A thread's composer has no As task.
  • Group the @ suggestions as "In this channel", "Not in this channel", Computers and Apps (Conversation).

Tasks in the conversation

Tasks in the timeline follow Tasks.

  • Create a task by sending a message: with As task in the composer, with + in the Tasks section, which checks As task in the composer and puts the focus there, or with Create task from message in the message menu, for a message already sent. Create task from message opens a dialog with the message quoted and its text as the first title; every task created there is linked to the message, and a message can have several. A reply in a thread has no Create task from message (Where tasks are created).
  • Show the tasks created from a message under it, and under the message at the top of its thread.
  • Change a task's status in its details or on the Tasks page (on a card of its board, or for several tasks at once from the selected tasks' toolbar), or complete it with the completion control on its row under the message; not from the message menu.

Threads

  • Put "2 agents following" beside the followers' avatar stack, then a menu (Search in thread, View in channel, Mark as unread, Unfollow thread; a thread the person doesn't follow has Follow thread and no Mark as unread) at the right of the thread's header, then Expand, which makes the thread fill the row with every other column, the conversation's included, a 160px strip beside it, and turns into Restore to bring the row back (a window control right before × and never in the menu; hidden while the thread is folded over the conversation with no column beside it: Panel), then × on wide screens. Where the head runs out of room, the followers fold into the menu as Following agents; folded over the conversation, the head starts with Back and has no × (The channel's side columns).
  • Inside the thread, every message's menu has Mark thread as unread, after Unfollow thread: it says "Thread" because the menu is a message's, and it marks the whole thread unread, not only from that message on. Both items are the action of the thread's Activity row, with its message-square-dot icon: the thread shows unread in its channel and in Activity. The person is still in the thread, so it stays open and stays unread until they leave it, as a channel marked unread does while they are in it. In Activity's detail pane, acting in the thread reads it, as picking its row does. A thread the person doesn't follow has neither item, as its Activity row has none: unfollowing a thread clears its unread at once.

History behind the plan's window

A Free server shows the last 30 days of a channel, DM, thread or task conversation. Where the shown history starts, the conversation has a history paywall instead of a history notice (MessageList).

  • Put a Card as wide as the message rows where the oldest loaded message would be: History in CardLeading at 20px (not a lock: a lock is a private channel), a title that says how many messages are hidden and where ("6 earlier messages are older than 30 days", "All 13 messages in this channel…", "The first message and 3 replies…"), one line on what Free shows and what Pro restores, and a primary small Upgrade to Pro button. The button opens the upgrade dialog for every role; the dialog decides who pays and who asks an owner.
  • Above the card, show the newest two hidden messages as message rows: sender, time and the first 40 characters, at most two lines, fading out toward the top. They are not interactive. Show only chat messages; when only system lines are hidden, show the card alone. In a thread whose first message is hidden too, that message leads.
  • Under the card, write the first date line as "Last 30 days · Tuesday, October 20". A thread, which has no date lines, gets a "Last 30 days" line of its own.
  • When every message is hidden, put the glimpse and the card on the composer, where the newest messages would be, with "No new messages in the last 30 days" under them in MessageListNotice muted. The composer stays usable; a new message appears under the card.
  • When a link or search opens a message older than 30 days, stop at the card and center on that message: it shows its first 80 characters, and it and its neighbors are all opacity-dimmed (Dimmed); the neighbors fade over their whole height, away from it, so it stays the clearest without a third opacity, and the title says "The message you're looking for is older than 30 days".
  • After an upgrade, the card goes and the older messages load above it, without a reload.