Attachments and context

Give chat images, files and on-page references it can act on.

On this page

Anything you attach becomes a chip in the chat box, sitting at the exact point in the sentence where you put it. Modulify resolves each chip back to the thing it stands for, so you can write "match [Image #1]" instead of describing a screenshot in words.

Attach a file

There are six ways in, and they all end up the same place.

  • Click + at the bottom left of the chat box, then Attach file, and pick from your computer.
  • Drag files onto the chat box. It turns blue and reads Drop files here.
  • Copy an image or file and paste it. Pasting works anywhere in the editor, not only with the chat box focused, unless you are typing in another field or the comment tool is on.
  • Click + then Take a screenshot, and choose a screen, window or tab. Your browser shows its own picker. This entry only appears if your browser supports screen capture.
  • Click + then Record your screen, choose a screen, window or tab, and show what you mean. See Record your screen.
  • Paste a message you copied with Copy message, from this chat or from the support chat. Its files come along as chips.

Each file uploads in the background. Its chip shows a small spinner while that happens, and the send button stays disabled until every upload finishes. A file over 32 MB uploads in parts, and its chip only opens, or shows an image thumbnail, once that upload has finished.

If an upload fails, the file is removed from your message and you get Upload failed naming the file. Nothing is sent half-attached.

Record your screen

Record your screen on the + menu records a screen, a window or a tab and attaches the video to your message. Your browser shows its own picker first, and in Chrome you can switch the shared tab while you record. This entry only appears if your browser can record the screen, which leaves out most phones and tablets.

While it records, a bar above the chat box's buttons shows Recording with a timer, Discard recording to throw it away and Stop and attach to add it to your message. Clicking Stop sharing in your browser ends it and attaches it too. A recording stops on its own after 5 minutes, or when it reaches the 1,000 MB attachment limit, with a Recording stopped notice, and is attached either way. A recording shorter than a second attaches nothing and shows Recording too short. The rest of the chat box keeps working, so you can still stop Modulify mid task, but the send button stays off until the recording ends. Only one recording runs at a time, so Record your screen is greyed out with A screen recording is already running. until it ends.

A recording you stop after switching to another chat still lands in the chat you started it in. When it cannot go there, because you opened another site, that chat is gone or its message already has the most files it can carry, it is saved to your downloads instead and a Recording downloaded notice tells you.

A recording has no sound. It is reference material, like a screenshot, and is never saved into your site.

What is accepted

Almost anything. Images, PDFs, text, Markdown, JSON, spreadsheets and source files all work.

Executables are refused outright: exe, bat, cmd, com, msi, dll, scr, app, apk, jar, dmg, iso, vbs and ps1. Blocked files raise File blocked with a count.

The limits are 1,000 MB per file and 30 attachments on one message. A larger file is blocked with File too large and a count, and files past the cap are skipped with Too many attachments telling you how many were dropped. Once a message is at the cap, Take a screenshot and Record your screen are greyed out with This message already has the most files it can carry.

Work with the chips

A chip is inserted wherever your text cursor is, so you can drop one mid sentence and keep typing around it. Images get a thumbnail on the chip, other files get an icon for their type.

  • Click a chip to open the file in a preview, or, for a project file, in the File Explorer.
  • Hover it to see the full name. A project file shows its whole path, which is what tells two files named page.tsx apart.
  • Drag it to move it to a different point in your sentence.
  • Click the x to remove it.
  • Backspace with the cursor just after a chip removes the whole chip in one press, and Delete does the same from just in front of it.
  • Select across a chip and delete it, or type over it, and it goes with the rest of the selection.
  • With a chip focused, Enter opens it, Delete or Backspace removes it, Alt and Shift with the left or right arrow moves it through your sentence, and the left or right arrow alone takes you back into the text.
  • Press and hold a chip on a touch screen to lift it, then tap where it should go.

If a file in the box is no longer stored, its chip turns amber with a warning icon, its tooltip says the file is no longer stored. Remove the chip or attach the file again before sending., and the send button stays off until you do one or the other.

Removing a chip removes its uploaded file too, whichever way you do it, so a file you deleted is never left waiting behind the # picker. A suggestion replaces the wording in the box without touching your files. An Ask AI button elsewhere in the editor asks before it replaces what is in the box, files included, see Requests from other panels.

Chips are numbered per type, so a second image becomes [Image #2] and a video shows as [Video #1]. The numbering is what Modulify reads, which is why moving a chip changes meaning and deleting one is clean.

Place a chip without leaving the keyboard

Type @ and a file picker opens listing the project's files, filtered as you keep typing. Choose one and it lands as a [File #1] chip pointing at that file, which drags, opens and deletes like any other chip. Clicking it opens the file in the File Explorer. A file already placed in the message is greyed out in the picker. The same picker is on the + menu as Pick a file, and the File Explorer has a Reference button that places the open file without opening a picker at all.

Type # and you get the files attached to this message that have no chip in your text, such as the ones a suggestion left behind when it replaced your wording, so you can put them back. Only files with a chip in your text are sent. The + menu calls this Pick an attachment.

Pick an attachment is greyed out when there is nothing to place. The tooltip says which case you are in: You have no attachments yet. Attach a file to reference it here. or Every attachment is already placed in your message.

Attach part of the page

The preview has its own way in. Turn on the select tool in the floating toolbar at the bottom of the preview, click an element, and a chip named after what you clicked appears in the chat box: Heading, Text, Link, Button, Image and so on.

Element chips carry the page, the position of the element and a snippet of its HTML taken at the moment you clicked, cut off at 200 characters. If AI rewrites that section and the element is gone, the chip drops out on its own. Hovering a chip highlights and scrolls to the matching element in the preview, and its tooltip names the page the element sits on and quotes the text it holds.

Select an element covers the tool in full.

Attach an error or a log

Errors and console output can be attached too.

  • Log for a line you sent over from the console with Reference in chat. It sits as a labelled chip above the text box, with an x to clear it, and pressing backspace in an empty chat box clears it too.
  • Build error for a failed build, and Runtime error for something that broke on the page. These land at your cursor like any other chip, and hovering one quotes the start of the error, with the page path for a runtime error. A new one replaces the one already in the box.

These are the fastest way to report a problem, because the exact text goes across instead of your paraphrase of it.

Send it

Press Enter to send, Shift and Enter for a new line. On a phone Enter inserts a new line and you use the send button.

A message with attachments and no text is valid. So is a message with only selected elements, or only an error chip.

What Modulify does with them

Attachments arrive as links. Images are downloaded and actually looked at, not guessed from the filename.

Modulify cannot watch a video, so for every video you attach, screen recordings included, the chat box takes up to 12 stills from it, spread across the video and skipping moments where nothing changed, and sends them along. Modulify opens the stills in order to see what happens. The chip keeps its spinner until the stills are ready, and a video your browser cannot play goes without them. In the Modulify app for iPhone and Android, a video you attach from Photos gets up to 12 stills spread evenly across it, without skipping the moments where nothing changed.

A project file chip is a pointer, not a copy. Modulify receives the path and reads the file itself, so the chip stays correct even if the file changes between placing it and sending.

A screenshot you paste into chat is treated as reference material, showing what you see or what you want. It is not saved into your site. Files that should become part of the site, like your logo or your product photos, are downloaded into the project when you say that is what you want.

Sent messages keep their attachments. Open the three dots menu under any message with files and choose Download assets to get them back, or Reattach to input on any message a person sent to pull its text and attachments back into the chat box.

Next