Patterns
Tasks
The five task statuses, a page of tasks (Mine and All, its list and board, selecting, the task opened in the row), task details, completing, creating and editing tasks, tasks created from messages and listed beside a conversation, how status changes and how tasks are filtered.
A task has one of five statuses: Backlog, Todo, In progress, Done and Closed. Four of them have a fixed color; Backlog has none. Tasks work as a to-do list: in a place's own view every task row starts with a round completion control that marks it Done in one click, and any status can be set from any other. A task is created by sending a message, which stays its source (Where tasks are created). On top of that, a task keeps what Raft adds to a to-do: an assignee who can be a person or an agent, and its own discussion. In review is retired (decision 0043): a task from before task conversations can still be in it, and keeps its chip and its group or column until it moves. Tasks are shown in two kinds of view. A place's own view (its Tasks section beside its conversation, the list under a message) shows compact rows and opens a task's details in a centered dialog. A product's page of tasks from several places shows a list or a board under one toolbar, lists the person's own work first, lets people act on many tasks at once, and opens a task in a column beside the list (A page of tasks; decision 0045). People and agents work from the same task, so a task's row, chip and details look and behave the same on every screen that shows it.
When it applies
A product's page of tasks and the task view of a place. In Raft Chat these are the Tasks destination and a channel's Tasks section (Raft Chat — Tasks); which filters and which create actions a product offers is on its own page. Where the two kinds of view differ, each rule below says which one it is for.
Structure
Not yet implemented in raft-ui: this example shows the tasks before 0042, with five statuses and no completion control. The rules on this page describe the redesign.
- A page of tasks (a product's page of tasks from several places): a head with the title and the count, a toolbar under it (Mine / All, the search, the filters, the sort, List / Board and New task), then the list or the board (A page of tasks). On a phone, List / Board shows only its icons (SegmentedControl).
- The list is grouped by the person's relation to the task in Mine and is one flat list in All, never grouped by status. Its rows are selectable rows (The list).
- A board has one column per status, each 232px wide, in the order Backlog, Todo, In progress, Done, Closed, the way work flows from left to right, each with a collapsible heading and a count (TaskBoard). Its cards are TaskCards.
- A place's Tasks section: compact rows grouped by status, beside the place's conversation (Tasks beside a conversation).
- Task details: opened from a place's view, a centered dialog, 960px wide (or the window less 32px) and at most 900px high (86% of the window), full screen on a phone. Opened from a page of tasks, the same parts stand in a column of the page's row instead, beside the list (The open task). From top to bottom:
- A bar with the task's reference (
#design:#25: the place, then the number; see Referring to a task), in a product with conversations the agents that follow the task and the More menu (Follow task or Unfollow task, then a separator and Delete task), as in a thread's header (Threads), and ×. In a column of a page's row, Expand comes between the More menu and ×, as in a thread's head (Panel). On a phone the bar has Back instead of ×. The bar has no button to open the task in a window of its own, as a thread has none: a task window opens from its URL, the same way a thread window does. - The head, which is the conversation's first row and scrolls away with it, as a thread's root message does, with the hairline under it that a thread's root has (Pulling the task head down). First the title and the description, which folds after 3 lines. Both are edited in place (Editing a task).
- The properties in an inline DescriptionList (
direction="inline"): Status, Assignee, Source and Created by. When it was created is the tooltip on Created by, which a screen reader reads after the name, and the first entry of History: a line of its own took reading room from the conversation (cindyz, slock #15639). The assignee reads as on a task row, avatar and name. Source is there only for a task created from a message: the sender's avatar and name, the first line of the message and its time. On a line of properties, the texts share one baseline: the labels, the status chip's and the assignee's names, Source's sender and excerpt, and the times (Text of different sizes on one line). The marks without text, the avatars, the chevrons and the ↗ after Source, are centered on the row's line box (A mark that leads text). No trimming of the text and no nudges. A task row follows the same rule (Rows in a compact list). A task created before tasks had their own discussion also gets Earlier discussion, with the number of replies its message has.
Every property follows the one flow of an inline DescriptionList: the facts run on like a line of text, 24px apart, and a fact moves to the next line, 8px under, only when it doesn't fit on this one. No fact gets a line, a width or a gap of its own. Every fact is the same 28px row, so the lines are evenly spaced, their centers 36px apart: the line with the status chip and the assignee's avatar is no taller than a line of plain text, and the avatar's presence light shows whole, never cut by its trigger. Each fact is at most 24rem wide (or the dialog's width, if narrower), so a long Source ends in an ellipsis and shares its line: in a desktop dialog Status, Assignee, Source and Created by stand on one line; on a phone, where each fact fills more of the line, they wrap in the same order with the same gaps. This flow, not a label/value grid, because the properties are a handful of short facts: a grid gives each its own line and pushes the discussion down. - History, collapsed, the last part of the head (Timeline).
- In a product with conversations, the task's discussion and its composer ("Message this task").
- A bar with the task's reference (
Rules
- Use only the five statuses. "Needs you" is not a status: it is an action (the button of an action card) and an attention dot. Don't add a "needs you" group or color either: a sixth bucket would hold tasks that are also in one of the five, and what waits for a person already has its place in the conversation.
- Put work that someone created or parked and doesn't plan to do now in Backlog ("not now"), and work that won't be done in Closed. Backlog keeps a task that may come back without counting it as active work; Closed ends it. Backlog has no hue (Color).
- On a page of tasks, default to the list, on a phone and on desktop alike, and remember the person's last choice. The list answers what the page is opened for: what waits on the person and how the work they handed out is going. A board answers which status each task is in, and with task conversations the status says less than who has the task and whether it moved (Noel's reading of what the page is for, taken up by stdrc with the hi-fi design, 2026-11-10, #wg-task-v2:8a7ae237). The board was the desktop default before, for its room for five columns; it is one press away.
- On a page's board, collapse only Closed by default: Closed is work that won't be done. Backlog, Todo, In progress and Done stay open, because on this page people check what landed as well as what moves, and each column reads its tasks a page at a time in the page's sort, so a long Done column costs nothing until it is scrolled (the rule: the approved hi-fi design, 2026-11-10; the reason: Jasper's reading, confirmed by Noel in #wg-task-v2:8a7ae237). In a place's Tasks section, Backlog, Done and Closed start collapsed: Backlog is work not planned now, Done and Closed only grow, and in a narrow section beside a conversation the work in progress is what people come for (Tasks beside a conversation). The page's list has no status groups: Mine leaves finished tasks out instead (The list).
- Start every task row in a place's view (the Tasks section, the list under a message) with the completion control (Completing a task). On a page of tasks, rows and cards have no completion control: a row starts with its selection box, and a status is changed on the board, in the selection toolbar or in the task (stdrc, 2026-11-09, #wg-task-v2:8a7ae237: "why is there still a checkbox before the task"). A round control beside the square selection box would put two boxes at the start of a row that look alike and do different things; 0042 chose the circle because a square box there reads as "select this row", which on the page is what it is. On a card the status chip is the only thing that changes in place; selecting the rest of the card opens the task.
- Let people change status from the status chip on a card, from the Status property in the details, by dragging a card to another column of the board, with the completion control in a place's view, and on a page of tasks with Status in the selection toolbar, for every selected task at once. A person who can't change a task sees its chip without a menu and its completion control disabled, and can't drag its card; a change to several tasks skips the ones they can't change and says how many it skipped.
- Offer every status from every status, to people and agents alike: the chip's menu and the Status property list all five with a check on the current one, and a card can be dropped in any column of the board. There are no transition limits: a status says where the work is, and whoever knows that sets it in one step, while the event line and History keep who moved it and when. No status needs anything else first: an unassigned task can be In progress.
- Open task details from a place's view as a centered dialog, never in the side panel or a side section: a task holds its own discussion, so it isn't read beside the conversation (Page structure). Close it with ×, Esc or a press outside the dialog. On a page of tasks the task opens in a column of the page's row instead, the list standing as the row's conversation (The open task): the page has no conversation of its own, so the task's discussion is the only one on screen, and the list stays in view for the next task (stdrc, 2026-11-09 and 2026-11-10, #wg-task-v2:8a7ae237).
- Name the task's place on a card or a row only where tasks from several places are listed. In the view of one place, the place is already the page.
- While tasks load, show skeletons in the shape of what is coming: a skeleton card per column on a board, skeleton rows under the section headings in a list (Feedback; The first frame is the settled one).
Moving a task to Backlog
- Ask for a reason when a task is moved into Backlog from another status, by any route: what would bring it back. Ask in a small Popover anchored to what the person used, the status chip, the Status property or the column the card was dropped on, with one single-line Input, then Cancel and Move to Backlog. The reason is optional: Move to Backlog with the field empty moves the task without one.
- Cancel, Esc or a press outside the popover keeps the task where it was; a dropped card goes back to its column.
- Record a reason in the task's History and in the event line the move writes in its discussion: "Martin moved #25 to Backlog: waits for the server-side record". Without a reason the line is "Martin moved #25 to Backlog".
- Don't ask when a task is created in Backlog: a new task has nothing to come back from.
Keyboard in a list of tasks
A list of tasks (the rows beside a conversation and under a message, the rows of a page of tasks, the cards of a TaskList) is a grid, so a long list costs one Tab and the arrow keys do the rest.
- Make the list
role="grid"and each task arole="row". Its cells are the completion control (on a page of tasks, the selection box) and the title cell, which opens the task; on a card the status chip is a third cell. - Give the list one Tab stop, with a roving
tabindex: Tab enters the list on the cell that last had focus (the first row's title cell at first), and the next Tab leaves it. - Let ↑ and ↓ move to the same cell of the previous and next row, and ← and → move between the cells of a row.
- On the completion control, Space completes the task or reopens it. On the selection box, Space selects the row or clears it. On the title cell, Enter or Space opens the task.
- Show the focus ring on the focused cell (Focus). When a completed task leaves for the collapsed Done group, move focus to the same cell of the next row, so the keyboard stays in the list.
- On the board, Space on a card still picks it up to move it (TaskBoard).
Completing a task
The completion control is how a to-do list is worked through: one click and the task is done. It leads every task row and card, beside a conversation, under a message, on the board and in the list.
- Use TaskCompletionControl: a round
CheckboxIndicator(shape="circle") inside abuttonwithrole="checkbox",aria-checkedtrue only on a done task. It is round, not the square of a Checkbox, for the reason in Shape. - Name it by the task, and keep the name when the state changes: "#25 Fix onboarding copy". The checked state already says whether it is done, so a name that says what a click does ("Reopen #25") would be read as "Reopen #25, checkbox, checked". Its tooltip may say the action: Complete, Reopen on a done one.
- Show it checked only on a done task. On every other status, Backlog and Closed included, it is unchecked, and a click marks the task Done, as any change of status does.
- While unchecked, preview the check when the pointer is over the control itself (
previewOnHover), never over the rest of the row: hovering elsewhere on the row is a hover on the row, not on the control (Hover and press). TaskCompletionControl does this even when the row or a board column around it is a Tailwindgroup. - Let one click mark the task Done from any status.
- Show the result in place, then move the task: the title is struck through in
foreground-hint, a Toast says "Completed #25" with Undo (Toast), and the task stays in its group, struck through, for 650ms before it moves into the collapsed Done group; with reduced motion it moves at once (Motion). Undo puts it back in the status it came from. A task that jumps away at the click reads as lost; the pause and the Toast say where it went. - Let a click on a done task's control reopen it to Todo.
- Make the control its own button on top of the row or card. Its hit area reaches 8px past its 20px circle with a mouse (36px) and 12px on a touch screen (44px) (Hit targets). With a mouse it reaches 8px, not 12px, so it never covers the task's number beside it. Selecting the rest of the row or card still opens the task.
- For a person who can't change the task, show the control disabled with
aria-disabledonly, never the nativedisabled: the button keeps keyboard focus, so moving through the grid still stops on it, a screen reader says it is unavailable and its tooltip can explain why. Pressing it or Space does nothing. Style it fromdata-disabled. TaskCompletionControl'sdisableddoes all of this.
Where tasks are created
In a product with conversations, creating a task is sending a message. The task hangs under the message it came from, its source, and what is sent is an ordinary message of the conversation. Every task then has a message that says what was asked, by whom and where, and people see the request in the conversation where it was made (stdrc approved Noel's design, 2026-11-10, #wg-task-v2:458f336e). A task created before this rule may have no source: its Source property reads "Not recorded".
- Every task belongs to one place, so every way of creating one says which: in a place, the one the person is in; on a page of tasks, the one they pick.
- Offer four ways in, each of them a message:
- As task in the composer of a place's conversation (As task in the composer).
- The create button in the head of a place's Tasks section, which turns on As task in that place's composer (Tasks beside a conversation).
- New task at the end of the toolbar of a page of tasks, which opens the dialog that posts a task (Posting a task from a dialog). The page keeps New task because it is where people go to manage tasks, and the earlier Tasks page already had it: the redesign was to lose none of what that page could do (stdrc, 2026-11-10, #wg-task-v2:8a7ae237).
- Create task from message in the message menu, for a message already sent (Create task from message).
- Offer none of them in a thread or in a task's discussion: no As task in their composers, no Create task from message in their messages' menus. A task belongs to its place, so its message is one of the place's own conversation, where everyone in the place sees it, not a reply read only by those who open the thread.
- Don't offer a quick add that creates a task from a title alone. A task without a message would have no source, which is why the quick add ("Add a task") that 0042 put under a Tasks section's All / For me is gone (stdrc approved Noel's design, 2026-11-10, #wg-task-v2:458f336e). Adding a task stays quick: the section's create button turns As task on in the composer beside it, and Enter sends.
As task in the composer
- Put As task at the right of the composer's toolbar, before Send, in a channel and in a direct message: a checkbox attached to sending (
ComposerToolbarLabelwith aCheckboxIndicator, Composer). Its tooltip is "Send as task". With it checked, Send posts the message and creates a task under it (Tasks in a conversation). - Let a press on As task leave the focus in the input, so the person goes on writing.
- Uncheck As task once the message is sent: it is chosen for one message, and the next one is an ordinary message again.
- Let ⌘/Ctrl+Shift+Enter send as a task whether As task is checked or not, where the composer has As task.
- While As task is checked, say so where a screen reader reads while the person writes: the placeholder becomes "Message #launch-week as a task" and Send is named "Send as task". The checkbox's state is read only when focus is on it, and from the input nothing else says that Send will create a task (Jasper asked Noel for this, 2026-11-10, #wg-task-v2:458f336e).
Posting a task from a dialog
New task on a page of tasks, and a Tasks section's create button where there is no composer to turn As task on in, open a small dialog (Forms), Create task, that reads as posting a message in a place, because that is what it does: the message is posted in the place as the person's own, and the task hangs under it. From top to bottom:
- On a page of tasks only, Post in: a picker with search over the places the person can post in, A to Z, "Choose a channel" while empty, filled in when the page's place filter has exactly one value and otherwise empty. It is required, and an empty one is reported on the field when the dialog is sent ("Pick a channel"). Opened from a place's Tasks section, the dialog has no picker and names the place under its title in Space Mono: "In #launch-week".
- The message, a multi-line field, "What needs to be done?", with a line under it: "The first line is the task's title; the rest is its description." The person writes one message, and the task takes its title and description from it.
- Status: Backlog, Todo or In progress, Todo by default, each with its pixel. Done and Closed can't be chosen: a task gets there through its work, not at its creation.
- Cancel and Send and create task. It names both things it does, since in a dialog nothing beside it says the message will also be posted. It is disabled while the message is empty, as the composer's Send is.
- In the message, Enter starts a new line and ⌘/Ctrl+Enter sends: every line after the first is the description, so Enter has to be able to start one.
- On a page of tasks, open the task beside the list once it is created (The open task).
- When sending fails, keep the dialog open with what was written and say why at its top. Sending again posts the message once, not twice.
Create task from message
- Put Create task from message in the message menu of a message in a place's conversation, never of a reply in a thread or a message in a task's discussion (DropdownMenu). A message can be the source of several tasks, so the item stays after a task has been created from it.
- It opens Create task from message, a small form dialog (Forms), from top to bottom:
- The message, quoted: its sender and up to 3 lines of its text.
- The titles: one input per task, the first filled in with the message's text on one line, which the person can change, and Add another to create several at once. With more than one title the dialog is Create tasks from message and its button says how many ("Create 3 tasks").
- Description, optional, only while there is exactly one title: a description belongs to one task.
- Status and Assignee, side by side. Status offers Backlog, Todo and In progress, Todo by default, each with its pixel. Assignee lists Unassigned, then the people and the agents who can take the task, Unassigned by default; any status can go with any assignee, Unassigned included. Done and Closed can't be chosen, as in the dialog that posts a task. The status and the assignee apply to every title.
- With more than one title, a line under them: "Status and assignee apply to all 3 tasks."
- Check the form when it is submitted, as every form does (Validation): nothing disables its create button while the form is filled in.
- Not yet implemented in raft-ui: the Create task example (
tasks/compositions/create-task-dialog) shows this dialog before the redesign, with titles only, and raft-ui has no example of the dialog that posts a task.
Editing a task
- Edit the title and the description in place in the task details: select the text, or its Edit button (a ghost
pencilicon button that shows on hover and on focus), to turn it into a field. Enter or leaving the field saves; Esc cancels and restores the text. In the description Shift+Enter starts a new line. A task without a description has no empty row for it: "Add a description" is a ghost icon button beside the title's Edit button, shown the same way (slock #15639). - Write a saved change as an event line in the task's discussion ("Martin changed the title", "Martin changed the description"). A change of wording notifies nobody else: followers see the line when they next read the task.
- Put Delete task last in the details' More menu, after a separator. It asks first, as every deletion does (Confirming).
Tasks in a conversation
In a product where tasks come from conversations, a task is created from a message; the message is not the task. The task has its own title, description and discussion, and links back to the message it came from. A message can be the source of several tasks, and every task created now has one (Where tasks are created).
- Show the tasks created from a message as a list under its content and above its replies: one row per task with the completion control, the number (
#25), the title followed by the number of messages in its discussion, then the assignee (avatar and name; the person reads "You") and the status chip together at the right. A list holds any number of tasks; the replies stay the discussion of the message itself. The rows are the compact rows of Rows in a compact list. - Size the box that holds the list by its content: at least 320px wide (or the whole column, if that is narrower) and at most the width of the message column. Keep a title to one line and end it with an ellipsis when the row runs out of room: a task created before tasks had their own discussion has the whole message as its title, and its details show all of it.
- Put the number of messages right after the title, inline: right after its last word, or right after the ellipsis when the title is cut, with the same small space either way. Never leave a gap between a cut title and the number: the title gives up only the room the row lacks. It counts the discussion the title names, so it belongs to the title, not to the assignee.
- Keep the assignee and the status chip as one group at the right of each row, the assignee right next to the chip. Don't line them up in columns across rows. Where a row is too narrow for a readable title and the group, the group wraps, as a whole, to a second line, still at the right, instead of squeezing the title.
- Show the same list under the message at the top of its thread.
- Open the task details from a row. The completion control is the one thing on the row that changes the task: selecting the rest of the row opens the task, and every other change of status is made in the details.
- Let people create tasks from a message they already sent, or someone else did, with Create task from message in the message menu (Create task from message).
- Offer As task in the composer of a channel and of a direct message, never in a thread's or a task's discussion: every task is created from a message, and As task creates it with the message, in one send, where Create task from message would need a second step (As task in the composer; stdrc approved Noel's design, 2026-11-10, #wg-task-v2:458f336e). What is sent is an ordinary message, with the task under it. Before, the composer had no As task, because tasks were created from messages afterwards and a task could also be created with no message at all.
- Write what happens to a task as event lines in the task's discussion: created, claimed, moved, completed ("Martin completed #25"), reopened, moved to Backlog, and its title or description changed. Assigning a task to someone, and a move to Backlog with a reason, are a message from whoever did it instead (Handing off). Not in the conversation and not in the thread of the message it came from (Hand-offs and approvals).
- Show the task's discussion inside the task details, so the discussion and the status are read together. Follow a task as you follow a thread (Hand-offs and approvals).
- In the details of a task created from a message, select Source to close the dialog and jump to the message in its place, which shows the located highlight, as every jump does (Located). Select earlier discussion to open the replies of the message the task used to be.
- Show the number of messages in a task's discussion, in Space Mono, once it has any. Add the attention dot before it only for people who follow the task.
- A task created before tasks had their own discussion, when the message was the task, gets one only when something is first written to it. Show an empty state in its place ("No discussion in this task yet", saying the earlier discussion is in the replies of its message) with the composer ready, not the message's replies; the first message starts the task's discussion.
Pulling the task head down
Everywhere the task details show (the dialog, the column of a page of tasks, a task window, a phone), the task's head (the title, the description, the properties and History) is the conversation's first row and scrolls away with it, as a thread's root message does. Pinned above the conversation, it took a large share of the height and left the replies little room, on a phone first (Artea) and then in the desktop dialog (cindyz); stdrc decided on 2026-11-20 that it scrolls on a desktop too (#proj-raft-ui:a11042dc, slock #15639). Scrolling back up to read the status would lose the reader's place in the discussion, so the bar names the task once the head is gone and pulls the head down over the conversation instead.
- Once the head has scrolled out of view, the bar collapses: under the reference line,
Task #N, the title, the status chip and the assignee's avatar, then a small chevron. The title takes the room that is left and is cut with an ellipsis; the whole title shows on hover. This is the thread's rule, where the root message moves into the title once it has scrolled away (Threads). The avatar is named for screen readers; the name shows beside it only where the bar has room for it whole. The reference line (#design:#25) stays in both states. Until the head has scrolled away, the line under it isTask #Nalone, with no status chip, avatar, or chevron. - A tap on the bar pulls the head down as a panel that hangs from under the bar across its whole width, over the conversation. It is the same head as the conversation's first row, editable the same way (Status, Assignee, Show more, Source, History). No scrim, and nothing under it moves.
- The way back to the top is in the panel: a
chevrons-upicon button at the end of the head's title row closes the panel and scrolls the conversation to its top, where the head is back in its place. Its name is Back to the top. Only the button does it: the head is full of controls (Status, Assignee, Show more, Source), so the head as a whole doesn't jump. It is the thread panel's button, in the same place and with the same icon (Threads) (artin, 2026-11-28, #proj-mobile:e5d7dd27). - Draw the panel on
layer-canvaswithshadow-floatalong its edge and no 1px divider: the shadow already parts it from the conversation, and a hairline on top of a shadow is a second edge saying the same thing (Elevation). It is at most 70% of the screen tall and no taller than 630px, so it fits inside the desktop dialog, which is at most 900px high and clips what overflows; beyond that its own content scrolls. - It slides down from the bar and back up in 220ms with
ease-slide, the shortest slide (Motion), and the chevron turns with it. With reduced motion it appears and goes at once. - It closes on:
- a second tap on the bar;
- a tap outside it, including the composer and its buttons. The tap still lands where it was aimed. A menu the head opened (Status, Assignee) is inside the panel;
- focus moving outside it, such as into the composer;
- Back, the system back on a phone, and Esc. Back closes the panel before it leaves the page;
- an upward swipe of at least 40px on the panel once its content is scrolled to its end. Until then the swipe scrolls the panel's content;
- the reader starting to scroll the conversation. An arriving message does not close it;
- the head scrolling back into view.
- The panel doesn't follow the finger: a swipe up past 40px closes it with the same slide, and a shorter one leaves it where it is. A panel that tracks the finger looks like a sheet that can be dragged to any height, which this panel can't. This holds on the web and on a phone (decided 2026-10-28).
- Focus moves into the panel when it opens and back to the bar when it closes, except after a tap outside: that tap puts focus where the reader meant. The bar is a button with
aria-expandedthat controls the panel, named by what it shows ("Task #7, Fix the header, In progress, Kirby"); the panel is a region named by the task ("Task #7"). - Keep the conversation bottom-anchored, newest message on the composer, and let the head fold away only as far as the conversation fills the room it leaves. A short task keeps its head in view and shows no gap above "Beginning of conversation"; its bar never collapses, so there is nothing to pull down.
A thread's header pulls its first message and that message's tasks down with the same panel and the same rules, once its title names the message (Threads).
The web builds this as TaskHeadPullDown (slock packages/web/src/components/task/TaskHeadPullDown.tsx, slock #11722; a thread's in slock #17200); the phone as RaftPullDownPanel (mobile #3884), with the fold limit that keeps a short task free of a gap in mobile #3899. It is not a Popover or a Drawer: it is neither modal nor anchored to a point.
Tasks beside a conversation
A place's tasks open as a Tasks section beside its conversation (Page structure), so people see the work moving while they talk. People don't need to read every task there: the section answers what is moving and what waits for them.
- Put the title Tasks in the section's head, then the create button, ⋯ (with Move left and Move right where the section can move), Expand and × (Panel); where the head runs out of room, the create button folds into the ⋯ as New task. The header has no count: the All and For me filter right under it already carries the numbers. On a phone the section covers the conversation under the place's header, and the header's Back closes it: the section draws no Back or × of its own, so there is one Back on screen.
- Under the header, put All / For me (SegmentedControl), each with the number of its active tasks: Todo and In progress. Backlog, Done and Closed are not counted, since none of them is work going on now. For me lists the tasks assigned to the person.
- Make the head's create button write the task in the place's own composer, beside the section: it checks As task there and puts the focus at the end of its input. It doesn't open a form, because a task is a message and the composer is where messages are written. Where there is no composer to turn As task on in, such as on a phone, where the section covers the conversation, or when the place's composer isn't on screen, it opens the dialog that posts a task, with the place under its title (Where tasks are created). The section has no quick add.
- Group the tasks by status in the order In progress, Todo, Backlog, Done, Closed: in a narrow section the work that is moving comes first, then what waits, then what is over. Each group has a collapsible heading in gray with the status pixel and a count, and Backlog, Done and Closed start collapsed. Each heading has 16px above its words and 6px below, in a 40px box (the spacing the Sidebar section header had before its list took the 8px under it), and the groups have no gap of their own, so a heading sits on its own rows, noticeably farther from the group above (about 25px) than from its first row (16px) (Spacing rhythm). By touch its target reaches 4px up, to 44px.
- Give each task one compact row: the completion control, the number, the title on one line (ending in an ellipsis when cut) with the number of messages in its discussion right after it, then the assignee (avatar and name; an agent's avatar carries its presence light, and the person reads "You") and a chevron at the right. Leave the status chip out of the row: the group already names the status. Where the section is too narrow, the assignee wraps to a second line at the right, as in the list under a message. The rows are the same compact rows as under a message and in the Files section (Rows in a compact list).
- Open the task details from a row, in the centered dialog (Rules). The section stands beside the place's conversation, so its task doesn't open as another column beside it, as a page of tasks' task does (The open task).
A page of tasks
A product's page of tasks collects the tasks of every place the person can see. People open it to answer two questions first, what waits on them and how the work they handed out is going, and then to find any task, act on many at once and read one. The rules here are for that page; where a place's Tasks section differs, the section keeps its own rules (Tasks beside a conversation). What Raft Chat calls its parts is in Raft Chat — Tasks.
- Give the page the whole width right of the rail, with no sidebar and no column of fixed width in the middle: the list is the page's main content, as a conversation is a channel's, and a list held to a strip in the middle wastes the room a long title needs (stdrc, 2026-11-10, #wg-task-v2:8a7ae237).
- Put the title and the count in the head, the count in Space Mono beside the title. On a phone they are the tab's top bar. The search field is in the toolbar, not the head (A page of a list). The count is the number of tasks in the current tab, the ones its list shows: in Mine the person's unfinished tasks and the tasks they started that were done in the last day, not every task of theirs; in All every task the person can see (Noel, 2026-11-10, #wg-task-v2:8a7ae237). While a filter or the search narrows the list, it is the number shown, a slash, then that total ("3 / 12"), so a narrowed list never reads as the whole one.
- Put the toolbar under the head: Mine / All with their numbers first, then the search field, filling the line, then the filters and Clear all while a filter is applied, then at its end the sort, List / Board and New task, the one primary button. The search moved here from the head: it decides what the list shows together with the filters, and in the head it was the first thing squeezed out when the page narrowed (stdrc asked Jasper to decide from research, #proj-raft-ui:f9756e85, 2026-11-10). It is one Tab stop (FitToolbar), takes at most two lines, and once the filters have a line of their own, that line scrolls sideways (The toolbar over a list).
Mine and All
- Offer two tabs, Mine and All, in a SegmentedControl, each with its number of tasks. Mine holds the person's own tasks: assigned to them, created by them, or created from a message of theirs. All holds every task the person can see. Two tabs, because the page has two jobs: Mine is what anyone who opens it wants first, All is for finding and looking after the rest (stdrc, 2026-11-10, #wg-task-v2:8a7ae237).
- Open Mine the first time, and after that the tab the person chose last, kept for each person in each server.
- Let every filter and the sort work in both tabs. All with Assignee set to Unassigned is the list of tasks nobody has, and All sorted by least recently updated is the list of tasks nobody has moved: earlier designs gave each a section of its own, and the filters give them without adding one (stdrc, 2026-11-10).
The list
- In Mine, show two sections, in this order: the tasks assigned to the person, then the tasks they started (created, or created from their message) that are someone else's or nobody's. A task is in one section only, the first it fits. Without a status filter, leave finished tasks out: the first section lists Backlog, Todo and In progress, and the second adds the tasks done in the last day, so the person sees the work they handed out land. With a status filter, each section lists the statuses chosen.
- In All, show one flat list.
- Don't group the list by status: the status is on every row, and who has a task and whether it moved say more about it than which status it is in (Noel's reading of what the page is for, taken up by stdrc with the hi-fi design, 2026-11-10).
- Give each section a heading with its count, in Space Mono, and no line of explanation under it: a sentence under a heading is one more thing to read on every visit (stdrc, 2026-11-10, #wg-task-v2:8a7ae237: too much explanatory text). A section with no task keeps its heading and says so in one line, without naming the section again: the heading already does (Noel, 2026-11-10, #wg-task-v2:8a7ae237).
- Order the rows by the page's sort, most recently updated first by default: Recently updated, Least recently updated or Recently created. An update is the task's last activity, a message in its discussion included.
- Read the rows 20 at a time and the next 20 as the list scrolls. The counts in the head, the tabs and the headings are the totals, never the number loaded.
- Never let the list scroll sideways (stdrc, 2026-11-10, #wg-task-v2:8a7ae237: a title that is too long wraps; a sideways scroll makes no sense). The list scrolls up and down only. A long title wraps onto more lines, and a word longer than the line breaks anywhere, as text in a table does (Table). Where the row narrows, its parts give way by the list's own width, never the window's (Switch on the region's width): the reference keeps only its number and its place moves to the row's end, the status shows its pixel only (Lists), and the parts at the end wrap, as a group, onto a second line at the right. Only the board scrolls sideways.
- Put each section's rows, or All's, in one box,
layer-cardwith aline-hairlineborder andradius-container, with hairlines between them, as the list under a message (Rows in a compact list). From start to end a row holds the selection box, the reference (#design:#25, in Space Mono andforeground-hint; on a phone#25, with the place at the row's end), the title intext-callout, then at the end the assignee (avatar and name, "You" for the person), the status chip and the time since the task last moved, in Space Mono. The section of tasks assigned to the person leaves the assignee out: it would be them on every row. - Show the time in
warning-strongon a Todo or In progress task nothing has moved for 3 days, and add it to the row's accessible name in words ("no update for 3 days"). The color marks a task that may be stuck without adding words to the row; the accessible name keeps the meaning from resting on color alone (Accessibility). - Fill the whole row on hover and press,
overlay-subtleandoverlay-medium, the selection box included: the box stands inside the fill, in a 20px slot 12px from the row's start by touch and 8px with a mouse, and the reference starts 8px after it (by touch the slot is there only while selecting: Selecting tasks). A fill that stopped at the box would cut the row in two (stdrc, 2026-11-10, #wg-task-v2:8a7ae237: the whole row turns gray, and the checkbox sits on the gray), and a leading checkbox stands inside a row's shape in every list (Lists). - Let a click anywhere on the row but its box open the task; the box only selects. The open task's row shows
fill-cell-selectedand carriesaria-current.
Selecting tasks
- With a mouse, show a row's selection box on hover and on keyboard focus; once a task is selected, show every row's box until the selection ends. By touch there is no hover: a long press (500ms, moving no more than 10px) selects the row and starts selecting, since the row has no press-and-hold menu (Toolbar for selected items).
- By touch, give the rows the selection box's gutter only while selecting, and to a selected row. Outside a selection a touch screen shows no box, so a gutter there would be 40px of nothing before every reference: the row starts at its inset instead (12px in the page's box), as the phone app's rows do, and the long press that starts selecting brings the gutter in with the boxes (#proj-mobile:#535). With a mouse keep the gutter on every row, so the box that shows on hover or keyboard focus moves nothing.
- While selecting, a click or a tap on a row selects it or clears it instead of opening it. Shift-click selects the run from the row picked last; ⌘-click or Ctrl-click selects a row as its box does; ⌘A or Ctrl+A, from the list or from nowhere, selects every task under the current tab and filters, the rows not loaded yet included, and never the cards of a collapsed column; Esc ends the selection (The open task has the order of the Esc presses).
- On the board, ⌘-click or Ctrl-click selects cards, and dragging a selected card moves every selected card.
- Act on the selection with the SelectionToolbar floating at the bottom of the page, the one messages use (stdrc, 2026-11-10, #wg-task-v2:8a7ae237): the count, a hint when some tasks will be skipped ("2 will be skipped"), then Status, Assignee (Unassigned first, then the people and agents: a list of the values the task can take, as in Create task from message, never an action such as "Clear assignee"), Nudge, then Follow and Delete as
secondaryactions, More and ×. Status and Assignee open their menus upward, and Delete asks first (Confirming). A task the person can't change is skipped, not a reason to refuse the rest, and the result says how many were skipped. - Not yet built: Nudge sends each assignee one reminder listing their selected tasks, as an agent's idle reminder lists its open work, and writes one line in each task's discussion, so an agent is woken once, not once per task (Noel's design for stdrc's request, 2026-11-10).
The open task
- Open a task from the list or the board in a column of the page's row, right of the list, the way a thread opens beside a conversation: the list stands as the row's conversation and the task as one of its columns, with the same rules for widths, clipping and Expand (The channel's side columns; stdrc, 2026-11-10, #wg-task-v2:8a7ae237: the page's main part is like chat's, and the task works like the thread).
- Open the task's column at 400px, as a thread's and a profile's (stdrc, 2026-11-10: its default width should be about the thread's). Let its seam drag it down to 160px, its content kept at 320px and clipped under it, and up until the list is down to 160px. The list's content keeps 360px, a conversation's, and clips under it, so the list always stays in view, at least as a strip (Spacing). The task's column shares its width with the profile panel.
- Give both heads Expand while a task is open (with the list alone the row has one column, so neither shows it): the task's after its More menu and before ×, the list's at the end of its head. Expanded, a column fills the row and the other stays a 160px strip; Expand again, or Esc, puts both back to the pixel (Panel).
- Close the task with × or Esc. Each Esc undoes one thing, the most recent layer first: an expanded row is restored, then a selection ends, then the task closes, one per press. Esc counts here only while no field, menu or dialog has it: those take it first (Noel, 2026-11-10, #wg-task-v2:8a7ae237). Focus goes back to the task's row when it was in the task or nowhere (Moving focus).
- Let a task opened from the list replace the one open.
- On a phone, push the task as a page over the list, with Back, and hide the tab bar under it (Navigation).
The board
- Show one column per status, Closed collapsed (Rules). A column reads its cards 20 at a time and the next as it scrolls.
- Order a column's cards by the page's sort, so a column is one drop target: a card dragged over it marks the whole column, and no place opens between two cards, since the sort would move the card anyway (Drag and drop; stdrc, 2026-11-10, #wg-task-v2:8a7ae237). With the keyboard, Left and Right move a picked-up card between columns.
- Give a card its reference, its title, its status chip (a menu of the five statuses), its assignee and the time since it last moved, with no completion control (TaskCard).
Rows in a compact list
The tasks under a message, the Tasks section and the Files section are one kind of list and use one row. It is content: hairlines between the rows, the whole row the target, and no card for each row. These compact rows keep their lines for now; the other lists of rows (Activity, search, the sidebar, phone lists of ListRow cells) have none and draw their states on an inset shape (Lists). A row reads as one line: what it is on the left, who has it and where it stands on the right. The rows of a page of tasks are these rows, with three differences: a selection box where the completion control is, a title that wraps instead of ending in an ellipsis, and the time at the end (The list).
- Don't give the rows of these lists a card each or a gap between them. A card per row turns a narrow side column into a stack of controls, and the three lists stop reading as one.
- Don't put a second line of details (size, time, role) under the title: details go in the inline meta or the trailing group. A row has a second line only when its trailing group wraps.
- Don't line up the trailing groups in columns across rows.
Referring to a task
A task number is unique only in its place, so a reference names the place first: #design:#25, and dm:@ada:#25 in a direct conversation. It reads as "#25 of #design" and opens the task from anywhere.
- Write a task reference as the place,
:, then the number with its#. Agents write and read the same reference. - Render a reference as a link that opens the task details, in any place, for people who can see that place. For anyone else it stays plain text.
- Render the link as the task chip in the task's status colors (its status pixel and soft tint), the same chip the task list under a message uses, so a reference reads "which task, and where it stands". Do not split the reference into differently colored parts: it is one name, and the status already has the pixel and the tint. When the product has not loaded the task (another place's task), it reads the task by place and number; until then the reference is an outlined chip, a
line-hairlineborder aroundforeground-mutedwords, with no tint and no pixel. Never show it as a gray chip, which reads as Closed. A Backlog task's chip is outlined too; how the two differ is in Color. #25on its own still refers to task 25 of the place being read.
Filters
Which filters a product offers is on its own page. Every filter follows the same rules:
- Make each filter a TagFilter that opens a list, with search where it can hold many values (places, people); a list of the five statuses has none. Several values can be chosen.
- Show an active filter as
info-softwith a tag for each value chosen, so a filtered view never looks like the whole list and each value can be taken out from the toolbar (Select › Filters). - In a filter on people, list people and agents together. Put the shortcuts first ("Created by me", "Assigned to me", then "Unassigned"), as rows of the list rather than separate buttons, without an avatar; then people and agents from A to Z.
- Show Clear all, a ghost button, after the filters while any filter is active.
- On a page of tasks, put the sort at the toolbar's end, before List / Board: a Select of one value that fills
info-softwhile it differs from the default, as an applied filter does. - When the filters don't fit beside the search, give them a line of their own that scrolls sideways (FitToolbar's
overflow="scroll"), at every width, on a desktop too, the applied filters first and always in view. A row of filters that wraps pushes the list down, while one that scrolls keeps every filter one swipe away (stdrc, 2026-11-10; The toolbar over a list). - Keep the filters in the address, so a filtered view can be shared and reloaded. On a page of tasks the tab, the sort, the view and the search go there too.
Related
- Hand-offs and approvals: claims and hand-offs.
- Color: the status colors.
- Tasks components:
TaskChipandTaskStatusBadge. - TaskCompletionControl: the completion control.
- Checkbox:
CheckboxIndicator, drawn round in the completion control. - 0042: why tasks work as a to-do list, with Backlog and no transition limits.
- 0045: why a page of tasks lists the person's own work first, opens a task beside the list and creates tasks with a place.
- SelectionToolbar: the toolbar for selected tasks.