Build and customize
Change one element at a time
Use Inspect to click a heading, button or image in your live preview and tell the agent to change only that part. Steps, shortcuts and limits.
Inspect lets you point at the part of your page you want to change. You click it in the preview, type what should change, and the agent works on that part only. You do not have to describe where it is.
Use it for small, exact changes: a heading, a button, a picture, one block of text.
Change one element
- Open your project in the editor.
- In the message box, click the Inspect button. It is the pointer icon next to the Build or Plan menu. The button lights up.
- A bar above the preview says "Click an element in the preview to inspect it".
- Click the part you want to change. A small label appears in the chat showing what you picked, for example "button" or "heading".
- Type your request in the message box. The placeholder now says "What should change here?". For example: "Make this button green and say Book now."
- Press Enter. The agent changes that part and the preview updates.
What you see in the chat
After you pick something, the chat shows a chip for each element. A chip tells you, in plain words:
| Part of the chip | Example |
|---|---|
| The kind of element | heading, button, link, image, input field, list, form, text, section |
| A few words from it | "Book your table" |
| Where it comes from | The name of the block it belongs to |
| The page you were on | The page address, or Home page |
After you send, the same chips stay under your message with the label "Picked in the preview". This lets you check, later, which part the agent was told to change. You never see file names in the chat.
Pick more than one element
Hold Ctrl (Cmd on a Mac) and click more elements. You can pick up to 12 at once. One request then applies to all of them, for example "Use the same font size for all of these."
A plain click, without Ctrl or Cmd, replaces what you picked with the new element.
Keyboard shortcuts
| Key | What it does |
|---|---|
| Click | Picks one element and replaces the earlier pick |
| Ctrl or Cmd + click | Adds another element |
| Alt+Up | Picks the parent: the larger block around what you picked |
| Esc | Clears what you picked |
| Esc again, with nothing picked | Leaves Inspect mode (works when your cursor is in the preview) |
You can also leave by clicking Exit inspect mode (the same pointer icon).
Short requests work
You can type very little after picking something. "Remove this", "bigger", or "this one" is enough. When your message is only a few words, the agent also reads your previous message, so "this" has a meaning.
You can also ask a question about a part, such as "What does this block do?". The agent answers without changing anything.
When one change affects several places
Some parts are reused. A product card in a list, or a footer on every page, is built once and shown many times. If you pick one copy and ask for a change, the agent is told how many times that part appears and that a change to it changes all of them.
If you want to change only one copy, say so. For example: "Change only this card, not the others."
When Inspect is not available
- In code view. The Inspect button is greyed out while you view source code. Switch back to the preview with View Preview.
- While the page reloads. A fresh preview starts with nothing picked. Your picks are cleared when the preview reloads or you go to another page. Pick the element again.
- On a phone. Turning Inspect on moves you to the Preview tab so you can pick. After you pick, go back to the Chat tab to type your request.
When you send
- Your pick is used once. After you send, the chips clear. Pick again for the next change.
- Inspect uses eco the same way any request does: when the agent changes files. A question about a part, with no changes, does not.
- If you do not like the result, choose Undo this change under the reply. See Undo changes and restore a version.
If something goes wrong
| Problem | What to do |
|---|---|
| Clicking in the preview does nothing | Check that Inspect is on. Reload the preview with Reload preview, then turn Inspect on again. |
| The agent changed the wrong part | Choose Undo this change, then pick the element again. If it sits inside a bigger block, press Alt+Up first. |
| The agent says it could not find the element | The page may have changed after you picked it. Pick it again and resend. |
| The chip shows the wrong page or text | Pick again. The chip shows what the agent will be told. |
For bigger changes, such as a whole new section or page, switch Inspect off and describe the change in the chat. See Build with eCG Chat.