How-to
2 min read

Enabling and Disabling Comments

Learn when and where Comments are available, and how to enable and disable Comments at the account, project, and session or interface levels.
Table of Contents

Comments are enabled by default for all preview deployments on all new projects. By default, only members of your Vercel team can contribute comments.

You can enable or disable comments at the account level with certain permissions:

  1. Navigate to your Vercel dashboard and make sure that you have selected your team from the scope selector.
  2. From your dashboard, select the Settings tab.
  3. In the General section, find Vercel Toolbar.
  4. Under each environment (Preview and Production), select either On or Off from the dropdown to determine the visibility of the Vercel Toolbar for that environment.
  5. You can optionally choose to allow the setting to be overridden at the project level.
The dashboard setting to enable or disable the Toolbar at the team level.
The dashboard setting to enable or disable the Toolbar at the team level.
  1. From your dashboard, select the project you want to enable or disable Vercel Toolbar for.
  2. Navigate to Settings tab.
  3. In the General section, find Vercel Toolbar.
  4. Under each environment (Preview and Production), select either an option from the dropdown to determine the visibility of Vercel Toolbar for that environment. The options are:
    • Default: Respect team-level visibility settings.
    • On: Enable the toolbar for the environment.
    • Off: Disable the toolbar for the environment.
The dashboard setting to enable or disable the toolbar in a project.
The dashboard setting to enable or disable the toolbar in a project.

To disable comments for the current browser session, you must disable the toolbar. To do this:

  1. Ensure you are signed in to the Vercel Toolbar
  2. From the toolbar, select the menu item (☰)
  3. From the list, select Disable for Session or Hide Toolbar.

This action will hide the toolbar in the current browser tab. To show the toolbar again, open a new browser session.

You can also show or hide the toolbar by using ⌘ + . on MacOS (Ctrl + . on Windows).

You can enable or disable comments for specific branches or environments with preview environment variables.

See Managing the toolbar for more information.

To use comments in a production deployment, or link comments in your local development environment to a preview deployment, see our docs on using comments in production and localhost.

See Managing the toolbar for more information.

To learn how to share deployments with comments enabled, see the Sharing Deployments docs.

Last updated on July 27, 2024