Formatting Text

Bold, italic, underline, strikethrough, code, quotes, lists and links in the text your team writes for each other: release reasons, action notes and comments.

Most teams write the reason for a change, or what was done about a problem, as one block of text, so five changed steps read as one long line. Threaded lets you format that text the way you would in a message: bold the part that matters, put steps in a list, link the document you mean. What you write is saved as you formatted it, so a reviewer, an auditor or a colleague reads it the same way you wrote it.

#What it is

  • Collaboration text. Text people write for each other, and sometimes the record: the reason for change on a release, an approval or rejection comment, the reason for making a release effective, an action’s notes, and comments and replies, including the discussion on a release.
  • Format. Each of those texts is saved with a format: plain (exactly as typed) or Markdown (the formatting below). Text written before formatting existed is plain, and stays plain until someone edits it.
  • No toolbar. You format from the keyboard, with shortcuts and the Markdown you type as you write (see Format as you type). A comment box looks like the AI Assistant’s prompt box: the text, then a row under it with the attach and send buttons.

#Rules

#Where it works

  • It works in release reasons, approval, rejection and change-request comments, the reason for making a release effective, action notes, comments and replies, and messages you send the AI Assistant.
  • Everywhere else stays plain text for now: parts, tools, reports, data sources, work instruction steps and training sign-off.

#What you can format

  • You can use bold, italic and underline, strikethrough, inline code, code blocks, quotes, bulleted and numbered lists, links, and @mentions. A single line break stays a line break.
  • Inside a code block nothing is formatted: ** stays **, and a line starting with - stays a line.
  • You can’t use headings, images, tables or HTML. If text containing them arrives from the API or an agent, a heading shows as bold text, an image as its description, and HTML as the characters themselves.
  • A link opens only if it’s a web link (http or https), an email link (mailto:), or a path inside Threaded. Anything else shows as its text.

#Older text

  • Text saved before formatting existed shows exactly as it was typed: **NOTE** stays **NOTE**.
  • When you edit it, characters that could be read as formatting, such as * and _, are kept as they were. Opening it and clicking away without a change doesn’t save anything, so it isn’t marked edited.

#Saving

  • Action notes save when you click away. Comments save when you press Enter, ⌘+Enter or Ctrl+Enter, or click the send arrow (Comment).
  • A comment’s length limit counts the text as it reads, not the characters that format it.

#Emails and notifications

  • A mention email shows the comment with its formatting. The short preview in a release comment notice is plain text, with no formatting characters.

#In the app

#Format as you type

  • Select the text and press ⌘B, ⌘I or ⌘U (Ctrl on Windows) for bold, italic or underline. The text changes as you type; you don’t see formatting characters.
  • Start a line with - or * and a space for a bulleted list, or 1. and a space for a numbered one. To leave a list, press Enter on an empty item in notes and reasons, or Shift+Enter on an empty item in a comment.
  • To link text, select it and paste the address. Pasting with nothing selected inserts the address as text.
  • Type a backtick, the code, and a closing backtick to make inline code. Select text and press ⌘E (Ctrl+E on Windows) to make it code, or press it again to turn it back into text.
  • Type ~~, the text, and ~~ to strike it through, or select the text and press ⌘Shift+X (Ctrl+Shift+X on Windows).
  • Type three backticks at the start of a line to start a code block, and > at the start of a line for a quote. To type a literal > there instead (as in >5 psi), press Backspace at the start of the quote. Everything you type goes inside the block until you leave it: press Enter on an empty last line, or ArrowDown at the end of a block with nothing below it. Where Enter sends (comments), use Shift+Enter to add a line and to leave a block.
  • Type @ to mention someone or an object, as in any comment.

#Write a comment

  • Press Enter to send, even in a list; ⌘+Enter and Ctrl+Enter send too. Shift+Enter adds a new line. In a list, Shift+Enter starts the next item, and on an empty item leaves the list. A hint under the box says so while you’re typing.
  • To change your comment, open its ⋮ menu and choose Edit.

#Write to the AI Assistant

  • The prompt box formats as you type, like a comment: Enter sends, Shift+Enter adds a line or the next list item. The AI gets your message as Markdown, so it reads the lists and emphasis too.
  • Messages you’ve sent show formatted. Click one to change it, then press Enter to send it again, or Escape to leave it as it was.

#Write notes and reasons

  • Action notes show formatted. Click them to edit, then click away to save.
  • In notes, reasons and the comment on an approval or rejection, Enter never sends or saves: it adds a new line, or the next item in a list, and on an empty item it leaves the list. Shift+Enter adds a line inside the same item.
  • A release’s reason for change is a field you edit directly when you submit it. Say what changed and why; a list works well for several steps.

#From the CLI or API

  • Create or update an action’s notes with a format. threaded task actions:create --description <text> --notes <text> --notes-format markdown, and the same flag on threaded task actions:update --action <uuid> --notes <text>. --notes-format takes plain or markdown, and needs --notes. Left out, a new action’s notes are plain and an update keeps the stored format.
  • Comments from the CLI (threaded task comment:create, and the AI Assistant’s tools) are plain text: they take no format yet.
  • Format fields in the API. Each text has a format beside it, which you send together with the text: notes_format (actions), content_format (comments), bodyFormat (release discussion comments), reasonFormat and commentFormat (release requests), and reasonFormat on making a release effective. The text fields are marked format: markdown in the OpenAPI schema. Reads return the format.

#Statuses

  • plain shows the text exactly as typed. markdown shows it formatted.

#Common errors

  • 400 with a format and no text: a format changes with its text. Send both.
  • 400 for a format other than plain or markdown: use one of those two.
  • A comment refused as too long: the limit is 10,000 characters of the text as it reads.