Get the latest insights, best practices, and tips from power users

Hygraph
Docs

Working with content views

#Overview

Content views are basically the way our content is displayed in the content editor. They are divided into:

  • Default views: Generated automatically. They show the default columns configuration and without any filter criteria applied.
  • Custom Views: Generated by users. They show a specific columns configuration and filter conditions, selected and saved by the user.

#What you can do

  • You can use content views to easily navigate the content in the Content editor
  • You can create custom content views to easily access certain content
  • You can create view groups t organize your custom content views

#Update default views

When making changes to the content view, by configuring columns, or adding filters (as shown below), these can be saved as the default view for all users of the project.

Update default viewUpdate default view

Default views are also reflected inside of connection models when linking other content models.

#Custom views

The default content views are the system views which list all content entries that have been created based on the respective content models. Custom content views are filtered for specific content entries.

After you customize your content dashboard using the three features mentioned above, you can save these customizations using the Content View. This can be a helpful way of organizing your content and making it easier to find.

For example, as a content editor if you are only editing Blog posts written by Annie, you can create a content view called “Annie’s Blog Posts.” This will give you quicker access and let you avoid scrolling through content to find what you are looking for.

#Create a custom view

Add custom viewAdd custom view

  1. Navigate to the content for one of your models.
  2. Create a change to the view by either filtering the content in the search bar at the top, or showing/hiding the columns.
  3. At the top of the content window, press "Add custom view".
  4. Provide a name and description and press Create.

Add a custom view groupAdd a custom view group

#Edit a custom view

Edit custom viewEdit custom view

  1. Navigate to a custom view in the contextual sidebar of the content tab.
  2. Next to the title of the content view, press the three disclosure dots and choose "Edit Content View".
  3. Apply your changes and press save.

#Delete a custom view

Delete custom viewDelete custom view

  1. Navigate to a custom view in the contextual sidebar of the content tab.
  2. Next to the title of the content view, press the three disclosure dots and choose "Delete Content View".
  3. Confirm you want to delete.

#Organizing custom views

Reorder custom viewsReorder custom views

  1. Hover your mouse next to a custom view.
  2. Grab the six-dot handle to the left of the label.
  3. Change the order of where view groups appear.

#View groups

Custom View Groups let you create a group of Content Views. These can be helpful when working in larger teams as you can create a Custom View Group that contains all of the content for each person. These custom View Groups let team members create their custom dashboards and save them all in one place.

In using these features to customize your content dashboards, teams will be able to set up best practices, optimize their time and experience in Hygraph and focus on creating great content.

View Groups allow you to customize the presentation and selection of content visible to an editor. You can show or hide different columns and filter which content should be included in the group. This allows for an optimized editorial workflow, helping editors to quickly find the content that needs their attention.

Custom view groupsCustom view groups

#Create a view group

Create custom view groupCreate custom view group

  1. Navigate to the content settings tab.
  2. Next to the Content title, press the three disclosure dots.
  3. Choose "Add View Group".
  4. Provide the name and description.
  5. Press Add.

Save custom view groupSave custom view group

#Edit a view group

Edit a custom view groupEdit a custom view group

  1. Locate a custom view group in the contextual sidebar.
  2. Hover at the right edge of the contextual sidebar, inline with the group name.
  3. Press the three disclosure dots and choose "Edit View Group".
  4. Apply your changes and press save to confirm.

#Delete a view group

Delete a custom view groupDelete a custom view group

  1. Locate a custom view group in the contextual sidebar.
  2. Hover at the right edge of the contextual sidebar, inline with the group name.
  3. Press the three disclosure dots and choose "Edit View Group"
  4. Press "Delete View Group" and confirm the deletion.

#Organizing custom view groups

Reorder custom view groupsReorder custom view groups

  1. Hover your mouse next to a custom view group.
  2. Grab the six-dot handle to the left of the label.
  3. Change the order of where view groups appear.