Skip to main content
HydroGo
Admin panelContent type screens

Content type screens

The generic list and edit screens HydroGo generates from each YAML content type.

Every content type appears in the sidebar (grouped by its group) and opens /admin/content/<id>. These screens are generated from the schema, so a new YAML file gets a complete admin without writing UI code.

List view

  • Columns come from fields with list: true; click a heading to sort.
  • The search box searches fields with searchable: true.
  • Filters appear for fields with filterable: true.
  • Types with drafts show a status column and a status filter (draft or published).

Edit view

  • The form controls follow the field kinds: text input, text area, rich text, number, switch, date pickers, dropdown, media picker and record picker for relations.
  • Validation messages come from the server and show next to the offending field.
  • Publish and Move to draft switch the status for types with drafts.
  • Revisions (when enabled) list saved versions; compare one with the current record and restore it.
  • Locale tabs appear when the site has more than one locale and the type has localized fields. See Content locales.
  • Schema-driven product relation tabs: Any products field with kind: relation, target products, and many: true automatically appears as a dedicated visual picker tab inside the Product Editor with search and category filtering.

Content types management

The Content Types area lists the definitions HydroGo loaded, with their fields and record counts. Definitions are authored as YAML in the project; see Content types.

If a new YAML file does not appear, run hydro content-type validate and restart hydro serve.