Creating a comment
- Click the Add a comment button in the preview toolbar, or press
Cto enter comment mode.
On a computer, when the preview toolbar is hidden, the comments button moves to the project toolbar at the top of the preview. On a phone, see Comments on a phone.
- Click on any element in the preview to place a comment pin.
- Type your comment in the text field that appears.
- Press Send to create the comment thread.
#3, that shows on its pin, in the thread header, and in the comments sidebar. Use the number to refer to a thread when you discuss feedback with your team.
Moving a comment thread
You can attach a thread to a different element, or move an open thread aside to see what is under it. To attach a thread to a different element, drag its pin onto that element, or click Move pin in the thread header and then click the element. If you drop the pin where Lovable finds no element, the pin returns to its previous place. You can move a pin when you can edit the project or when you started the thread. On a thread started from a shared preview link, only people who can edit the project can move the pin. To see what is under an open thread, drag the thread by its header or by the dotted grip icon (Move comment). The pin stays on its element. To return the thread to its pin, click Move back to pin. Your browser remembers where you moved the thread and opens other threads in the same place. When that place would cover a thread’s pin, the thread opens next to its pin instead. Returning a thread to its pin resets that position. You cannot move a thread aside while it is open in the comments sidebar.Replying to comments
Click on any comment pin to open its thread. Type your reply at the bottom of the thread and press Send. All project collaborators can see and reply to threads. On a thread started from a shared preview link, only people who can edit the project can reply.Sending feedback to Lovable
There are two ways to send a comment thread to Lovable:- Mention Lovable: Type
@Lovablein a comment to send the thread as context to Lovable. - Send to chat: Open a thread and press the Send to chat button in the thread header.
Resolving comments
When feedback has been addressed, you can mark a thread as resolved:- Open the comment thread.
- Click the Resolve button in the thread header.
Editing and deleting comments
- Edit: Click the menu on your own comment and select Edit. Update the text and save.
- Delete: Click the menu on your own comment and select Delete. Lovable asks you to confirm, because you cannot restore a deleted comment. The thread shows that the comment was deleted, so replies keep their context.
Reactions
You can add emoji reactions to comments. Click the reaction button on a comment and pick an emoji. Reactions are visible to everyone in the thread. Threads started on a shared preview link do not have reactions.Comments sidebar
The comments sidebar gives you an overview of all comment threads in the project. When you are not using it, it collapses to a narrow strip. Open it to:- Browse all open and resolved threads in one place.
- Search threads by the text of their first comment, page, thread number, or author.
- Sort threads by creation date or read status.
- Track unread threads. Any thread with new replies since your last visit is highlighted.
Esc to return to the list.
Comments on a phone
On a phone, you can read, add, and reply to comments on the preview in the project editor, from a mobile browser or the Lovable mobile app. For comments on a shared preview link, see Guest comments from preview links. To enter comment mode, open the preview and tap the comments button in the editor’s bar below the preview. The button shows the number of open threads. In comment mode, pins appear on the preview and a toolbar opens over it with these controls:- Click to add: While this switch is enabled, tapping an element in the preview starts a thread on that element. The switch is enabled by default. Disable it to use your app in the preview while the pins stay visible.
- List icon: Opens the list of all comments. A thread you tap in the list opens in the list, not next to its pin. To move a thread’s pin, open the thread from its pin.
- X icon: Ends comment mode and hides the pins.
Notifications about comment activity
Comments create notifications in your Lovable inbox:- Starting a new comment thread notifies the project owner.
- Replying to a thread notifies everyone who has commented in that thread.
- Mentioning someone with
@notifies them directly.
Anchor behavior
Each comment pin is anchored to the element you clicked on, or to the element you moved it to. As long as the element remains in the same position in the page structure, the pin stays attached. If the layout changes significantly, for example if items are reordered, new elements are added before the commented one, or the element is removed entirely, the pin may lose its reference or attach to the wrong element. When a pin can no longer find its original element, it will display an indicator so you know the reference was lost. The comment thread itself is always preserved.Guest comments from preview links
Comments are not limited to project collaborators. When you create a shared preview link with Allow comments enabled, anyone who opens it can leave comments on the preview without project access. If the link requires a password, visitors enter it before they can see the preview or its comments. Allow comments is enabled by default and is set separately for each link. Set it when you create the link. To change it later, select the link in Share → Share a preview link. See Collect feedback with guest comments for details. On a shared preview link, guests can enable the same option as in the comments sidebar. They click the list icon in the comments panel, then read and reply to threads there. When the panel is collapsed, threads open next to their pins. On a phone, guests tap the list icon in the toolbar to see all comments. A thread opened from there stays in that view instead of opening next to its pin. Guests can search the comments panel the same way as the comments sidebar. They can also move an open thread aside, but they cannot move a pin. When threads span more than one page, the panel groups them by page. The comments panel on a shared preview link shows only threads started on shared preview links. Threads started in the editor do not appear there, so the panel can list fewer threads than the comments sidebar. When someone who can edit the project replies in the editor to a thread from a shared preview link, the reply also shows on the link. Guests cannot see replies that mention Lovable or Lovable’s own replies. In their place, guests see a note that a reply is hidden. Other system messages are not shown to guests. To reply to a guest, send a reply that does not mention Lovable.FAQ
Who can leave comments on a project?
Who can leave comments on a project?
Anyone with access to the project can leave comments, regardless of their role. People without project access can also comment through a shared preview link when Allow comments is enabled for that link. See Guest comments from preview links.Project comments are available on all plans.
Can I send a comment to Lovable?
Can I send a comment to Lovable?
Yes. You can either mention
@Lovable in a comment or press the Send to chat button on a comment thread. Both options send the thread as context to Lovable so it can act on the feedback.What happens when the element I commented on is removed?
What happens when the element I commented on is removed?
The comment pin will remain but display an indicator that the original element could not be found. You can still view and interact with the thread.
Do comments use credits?
Do comments use credits?
Leaving comments does not use credits. However, when you send a comment thread to Lovable via
@Lovable or Send to chat, the resulting response uses credits as with any other project chat message.Can I see comments from other pages in the project?
Can I see comments from other pages in the project?
Yes. The comments sidebar shows all threads across all pages. Pins are only visible on the page where they were placed and only appear while you are in comment mode.