---
url: /en/docs/additions/collaboration.md
description: >-
  Work together with Sveltia CMS Additions: entry locks prevent conflicting
  edits, everyone sees who else has an entry open, and each entry gets comments.
---

# Collaboration

[Sveltia CMS Additions](/en/docs/additions) helps a team work on the same site without getting in each other’s way.

Everything on this page happens in real time. Each CMS tab keeps a connection to the service, which pushes every change to all the open tabs as it happens, whether a lock is taken or released, someone opens or closes an entry, or a comment is posted, edited or deleted. Nobody needs to reload the page.

## Entry Locks

When an editor or an admin opens an entry, the CMS takes a lock on it. Anyone else who opens the entry meanwhile can only view it, with a notice at the top of the editor saying who has been editing it and since when.

* **Taking over:** the notice has a **Take Over** button, e.g. for when someone has left an entry open and gone home. The previous holder is told, and their editor becomes read-only. Their unsaved changes stay in their local draft backup.
* **Your other tabs:** if you open an entry you’re already editing in another tab, it’s read-only in the new tab, so the two don’t overwrite each other.
* **Releasing:** the lock is released when the editor is closed. If the tab is closed or loses its connection, the lock is kept for 30 seconds, so reloading the page doesn’t lose it.
* **Entry list:** an editing icon marks entries someone else is editing, with their name on hover.

A lock covers one entry on one branch. All the files of an [i18n entry](/en/docs/i18n) share one lock. Under the [Editorial Workflow](/en/docs/workflows/editorial), the same entry can be edited on its workflow branch and on the configured branch at the same time.

Viewers never take locks, because they can’t edit. Each user can hold up to 50 locks at a time.

If the CMS can’t reach the service, the editor shows a notice that locks are unavailable, and someone else may be editing the entry at the same time. Saving still works.

::: info Locks don’t replace conflict detection

Locks keep people from editing the same entry by accident, but they’re handled by the CMS, not by GitHub. Sveltia CMS still checks the repository before saving, so a change made outside the CMS, or by someone who took over a lock, is never overwritten without asking. See [Conflict Resolution](/en/docs/ui/content-editor#conflict-resolution) for details.

:::

## Who Else Has an Entry Open

Everyone sees who else has an entry open, viewers included:

* **In the Content Editor:** the initials of the other people appear next to the entry title, up to three, then a count of the rest. Hover over them to see their names.
* **In the entry list:** an eye icon shows how many other people have the entry open, besides whoever holds its lock. Hover over it to see their names.

You never see yourself. Closing the editor or the tab takes you off the list at once, unlike a lock, which is kept for 30 seconds.

## Conversation Panel

The Conversation panel in the [Content Editor sidebar](/en/docs/ui/content-editor#sidebar) holds comments about the entry, e.g. a note for the next person or feedback before publishing. Its tab shows how many comments the entry has.

* **Who can comment:** everyone who can sign in, viewers included.
* **Formatting:** comments are written in Markdown, up to 10,000 characters each. Links open in a new tab. Images from other sites are shown as links instead, so they don’t load for everyone who reads the comment.
* **Editing and deleting:** you can edit and delete your own comments. Admins can delete anyone’s.
* **Privacy:** comments are stored by the service, not in the repository, so they never appear on your site. Only people who can sign in to the CMS see them.

Comments belong to the entry, whichever branch it’s edited on. They follow the entry when its slug or path changes in the CMS, and are deleted along with it. A new entry can have comments once it has been saved for the first time.

An entry renamed outside the CMS, e.g. with `git mv` or on GitHub, leaves its comments under its earlier path. The Conversation panel still shows them if the entry redirects from its earlier URL with a [redirect property](/en/docs/collections/entries/previews#redirects), e.g. `aliases`, which the CMS fills in when it renames an entry. This works when the collection has the `preview_path` option with `{{slug}}` in it, and the comments are shown along with the entry’s own until an entry is created at the earlier path again. The History panel follows the redirects the same way.

New comments appear in every open tab, and the panel has a refresh button too. An entry can have up to 1,000 comments. The panel shows the latest 500, with a button to show older ones.
