Skip to main content

Application Sidebar

View as Markdown

The application sidebar is the sidebar that is rendered on every page in EventCatalog.

Example

Show/hide items in the application sidebar

You can show or hide items in the application sidebar by using the sidebar property in your eventcatalog.config.js file.

By default, all items in the sidebar are shown.

eventcatalog.config.js
// rest of the config
sidebar: [
{
id: '/schemas/explorer',
// This will hide the Schema Explorer
visible: false,
},
{
id: '/discover/events',
// This will hide the Events item
visible: false,
},
]

Options for the sidebar property:

  • id: The id of the item to hide.
  • visible: Whether to show or hide the item.
IDDescription
/The home page icon
/docs/customThe custom documentation page
/discover/domainsThe domains page
/discover/servicesThe services page
/discover/external-systemsThe external systems page
/discover/eventsThe events page
/discover/commandsThe commands page
/discover/queriesThe queries page
/discover/flowsThe flows page
/discover/containersThe data stores page
/discover/data-productsThe data products page
/directory/teamsThe teams page
/directory/usersThe users page
/settings/generalThe settings page
/studioThe EventCatalog Studio icon
/schemas/explorerThe schema explorer page
/schemas/fieldsThe schema insights page (SSR only)

Use legacy group ids

You can also use legacy group ids to hide all items in a section at once. Setting a group id to visible: false hides every item that belongs to that group.

Legacy IDItems hidden
/docs/docs/custom
/discoverAll discover items (domains, services, events, commands, queries, flows, data stores, data products, external systems)
/directory/directory/teams and /directory/users
/settings/settings/general
eventcatalog.config.js
// rest of the config
sidebar: [
{
id: '/directory',
// This will hide both Teams and Users
visible: false,
},
]