Start for free
Guides/Commenting

Guides

Commenting on a page

The widget from a reviewer's side, on your dev server or a preview: point at an element and say what should change.

The widget is a small bar at the bottom right of the page. It is the same on your dev server, on a preview and through a review link. Each comment is attached to the element it is about, so whoever reads it knows exactly what you meant.

The bar

Button What it does
Add a comment Turns comment mode on. Pressed again (Cancel), or with Esc, turns it off.
Show pins / Hide pins Shows or hides the pins on the page. Its badge counts the comments on this page.
All comments Opens the comments panel. A dot on it means there is something you have not read.
Your avatar Changes your name.
Hide overlay Folds the bar into one round button, Show feedback.

⌥ ⇧ F on a Mac, Alt Shift F elsewhere, shows or hides the bar. The first time you hide it in a project, a reminder shows the shortcut.

The bar may cover something you want to comment on: drag it anywhere, by any part of it, buttons included. It stays where you drop it, across reloads.

Choosing what a comment is about

Sometimes the element you click is part of something larger, or one of several alike. The draft then offers arrows to Select a larger area or Select a smaller area, and, when the selection matches more than one thing on the page, This one or All of them. Most comments need neither.

Pins and threads

Each comment leaves a pin on its element. Click a pin to open its thread: read the replies, write one, or edit your own messages while the comment is open.

Attaching files

A comment or a reply can carry up to 5 files: images (PNG, JPEG, WebP or GIF, up to 5 MB each) and documents (PDF, TXT, Markdown, CSV, JSON, log files, Word, Excel or PowerPoint, up to 10 MB each). Other files, like SVG, HTML, macro-enabled Office files or programs, are refused. A file is checked by its contents, not its name: a program renamed to .pdf is refused.

  • Press the paperclip (Attach images or documents) next to the send button to pick files. On a phone it offers the camera and your photos.
  • Or drop files on the field you are writing in, or paste an image into it.

Each file uploads as soon as you add it: images show as thumbnails and documents as tiles with their type, all on one row (point at a tile to see its name and size), each with its progress and a button to remove it. A file you add but never send is removed after an hour. A file that is refused says why: Only images and documents, Over 5 MB (images) or Over 10 MB (documents), 5 files at most. Sending waits for files still uploading; if one did not upload, remove it to send. A message still needs some text: files alone do not send.

Once sent, files stay with their message: you cannot take one out of a sent message, nor add one while you edit it, and deleting the comment deletes its files and its replies’. In a thread, click an image to see it full size, or a document to download it.

Files count toward the review’s 50 MB of storage. They work on Cloud projects and on your dev server, where they are kept in .feedback/attachments/ next to the comments. Standalone reviews (end-to-end encrypted) take no files: the paperclip is not shown there.

On a phone

The widget is one round button at the bottom right of the screen, with the number of comments on the page. Tap it to open the bar: comment mode, the comments, what changed (on a preview), who you’re commenting as, and close. Drag the button to the other side if it covers something.

  • Comment mode. Turn it on from the bar, then tap the element your comment is about. Scrolling still scrolls; a tap selects, and links and buttons on the page do nothing while comment mode is on. The selection shows what it is: tap ↑ Parent for the element around it, ↓ Child to go back, then Comment.
  • Writing. The comment opens at the bottom of the screen, above the keyboard. The paperclip offers your camera and photo library. Documents show as small squares with their extension and a short name. Tap the button to leave comment mode.
  • Pins. Pins always show on a phone, even if you chose Hide pins on a computer. Pins too close to tap one by one show as one with a number: tap it for the list of those comments (N comments here), or Show all for every comment.
  • The list. Tap a comment to open its thread; the arrow, or Escape, goes back to the list. A reply you have typed is kept until you close the thread with the ✕.
  • Signing in. Sign-in opens full screen with one field for the code. On a preview, the email code arrives as a suggestion above the keyboard on most phones: tap it, and the sixth digit signs you in. Signing in with GitHub, Google or Microsoft takes the page there and back in the same tab. Before going there, a page from ontrackd names the site and the project you are signing in to: check it is the site you are on, then continue. If you come back without finishing, the buttons return with That sign-in didn’t finish.

Your dev server, from a phone

In local mode the widget works on your phone too, on the same Wi-Fi as your computer: start the dev server so it listens on your network (vite --host, next dev -H 0.0.0.0) and open its network address on the phone, such as http://192.168.1.10:5173. Comments are saved on your computer, as from its own browser. This is for a dev server on its own. One linked to a project (ONTRACKD_SECRET in the app) signs in only on your computer, at localhost or a *.test name: from the phone’s network address the page stays in local mode, so open a preview on the phone instead.

Esc

Type to search every page.