Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions docs-mintlify/docs/data-modeling/view-groups.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,20 @@ parameters and configuration options.
## Defining a view group

A view group is a top-level entity, defined alongside views. At minimum it
needs a `name`; `title` and `description` make it easier to navigate in
downstream tools.
needs a `name`; adding a `title` makes it easier to navigate in downstream
tools.

<CodeGroup>

```yaml title="YAML"
view_groups:
- name: sales
title: Sales
description: Revenue and order views for the sales team
```

```javascript title="JavaScript"
view_group(`sales`, {
title: `Sales`,
description: `Revenue and order views for the sales team`
title: `Sales`
})
```

Expand Down
Loading