diff --git a/.changeset/dashboard-content-card-hidden-collections.md b/.changeset/dashboard-content-card-hidden-collections.md new file mode 100644 index 0000000000..17401f917c --- /dev/null +++ b/.changeset/dashboard-content-card-hidden-collections.md @@ -0,0 +1,5 @@ +--- +"@emdash-cms/admin": patch +--- + +Fixes the dashboard's Content card listing collections that are hidden from navigation. The card now matches the sidebar and the quick actions; hidden collections still count toward the dashboard totals, still appear in Recent Activity, and stay reachable by URL, API, and plugins. diff --git a/docs/src/content/docs/concepts/collections.mdx b/docs/src/content/docs/concepts/collections.mdx index eafb77a975..7492d6cc04 100644 --- a/docs/src/content/docs/concepts/collections.mdx +++ b/docs/src/content/docs/concepts/collections.mdx @@ -50,10 +50,10 @@ Collection settings control how editors and public pages use the entries: - **Comments** can be enabled per collection, with moderation and automatic closing settings. - **Icon** names the Phosphor icon shown next to the collection in the sidebar and command palette, such as `calendar-blank`; a name that does not resolve falls back to the default icon. -- **Hide from navigation** removes the sidebar entry, the command palette link, and the dashboard - quick action while the collection stays reachable by URL, API, and plugins. Turning off **Quick action on the - dashboard** removes only the quick action, for collections that plugins or imports fill rather - than editors. +- **Hide from navigation** removes the sidebar entry, the command palette link, the dashboard quick + action, and the dashboard **Content** card row while the collection stays reachable by URL, API, + and plugins. Turning off **Quick action on the dashboard** removes only the quick action, for + collections that plugins or imports fill rather than editors. - **Group** places the collection in a collapsible sidebar folder. Collections with the same group share one folder, positioned where the first of them would appear. A taxonomy joins the folder when every collection it is assigned to is shown in that folder. diff --git a/docs/src/content/docs/themes/seed-files.mdx b/docs/src/content/docs/themes/seed-files.mdx index 50706a776e..1ef20b4f13 100644 --- a/docs/src/content/docs/themes/seed-files.mdx +++ b/docs/src/content/docs/themes/seed-files.mdx @@ -196,7 +196,7 @@ A collection requires `slug`, `label`, and `fields`: | `supports` | `string[]` | Any of `drafts`, `revisions`, `preview`, `scheduling`, `search`, and `seo` | | `urlPattern` | `string` | Public pattern such as `/posts/{slug}`, with at most one placeholder per path segment | | `routable` | `boolean` | Whether published entries require a slug; defaults to `true` | -| `hidden` | `boolean` | Hides the generated sidebar link, command palette link, and dashboard quick action; the collection stays reachable by URL and API | +| `hidden` | `boolean` | Hides the generated sidebar link, command palette link, dashboard quick action, and dashboard **Content** card row; the collection stays reachable by URL and API | | `sortOrder` | `number` | Explicit admin-sidebar position; ordered collections come first, ascending | | `group` | `string` | Admin-sidebar folder; collections with the same group share one collapsible entry | | `commentsEnabled` | `boolean` | Enables comments for the collection | diff --git a/packages/admin/src/components/ContentTypeEditor.tsx b/packages/admin/src/components/ContentTypeEditor.tsx index 6b6e13b288..cdc89c1cc3 100644 --- a/packages/admin/src/components/ContentTypeEditor.tsx +++ b/packages/admin/src/components/ContentTypeEditor.tsx @@ -592,7 +592,7 @@ export function ContentTypeEditor({
- {t`Removes the sidebar entry, command palette link, and dashboard quick action; entries stay reachable by URL, API, and plugins`} + {t`Removes the sidebar entry, command palette link, dashboard quick action, and dashboard Content card row; entries stay reachable by URL, API, and plugins`}
{t`No collections configured`}
) : (