Skip to documentation

Design system / Organisms

Organism / Navigation and discovery

CataloguePage

CataloguePage presents a compact introduction, collapsible GET filters, equal submission summaries in a width-aware grid, empty feedback and pagination from supplied data.

CatalogueOrganism

Intent and composition

The feature view constructs catalogue and detail destinations from product identifiers. CatalogueFilterPanel is its catalogue-owned disclosure molecule, composing the supplied heading and form slots with the shared outline Button and trailing decorative ChevronDown/ChevronUp icons. After hydration, filters start collapsed. Filter catalogue opens the panel; Hide filters closes it without clearing selections. aria-expanded and aria-controls expose the state and panel relationship; hidden removes closed fields from keyboard navigation. CatalogueFilterForm is a feature-owned form molecule. Applied filters remain URL state; its behavior hook owns local input coordination, hydration/capability checks and automatic submission. Changing a dropdown submits the full GET selection through Next Form, retaining client state and scroll position. One fixed-width action slot always remains beside the fields: a disabled Funnel when idle, an enabled Funnel to Apply filters when manual selections have changed, or a FunnelX link to Clear filters once applied. The active icons have matching accessible names and tooltips. Manual changes take priority over Clear, including choosing All to remove the last filter; reverting changes restores Clear. The grid and action dimensions stay constant, so fields do not shift. Before hydration or without JavaScript, the funnel stays an enabled native submit button and a noscript Clear link is supplied for applied filters. Chevrons communicate panel disclosure; funnel icons communicate applying or clearing selections. Enhanced idle mode has no status copy; pending, manual-mode and failure feedback remain available. The server route still authorizes and executes the query. Despite its name, CataloguePage is not a Next.js route or a generic layout template.

Coordinated concerns: Compact hero, collapsible filter form, shared one-through-four-column submission grid without pin controls, empty feedback and pagination.

Server-compatible product view with supplied results, settings and detail-link capability. Filters are URL/GET state. CatalogueFilterPanel owns disclosure; CatalogueFilterForm and its behavior hook progressively enhance GET submission with local input coordination. Without JavaScript, fields and Apply remain visible. The route retains authorization and query execution.

Real component specimen

Actual CataloguePage with fictional records, isolated to preserve its main/h1 contract. Open and close filters with the button or Enter/Space, and change a selection before reopening. The real automatic submit event is canceled by the documentation wrapper: results and applied filters stay fixed, so draft selections alone do not expose Clear. The specimen uses the base light theme and remains inert until hydration installs its navigation/submission guards. No product operation is enabled. The product form, outside this protected specimen, supports manual GET filtering without JavaScript.

Live preview

Real component, fictional data. Product operations are not enabled.

Supported inputs and ownership

CataloguePage input summary
InputResponsibility
catalogue / filtersSupplied results, filter options, pagination and URL selections.
settingsHero copy and resolved image URL.
CatalogueSubmissionCard / SubmissionGridThe catalogue adapter composes the shared SubmissionCard without pin controls. SubmissionGrid retains its available-width columns, shared media, inline facts, score and permitted detail link. First and pinned results have no size, badge or styling exception. Edition, submitter and date remain omitted. Other collection action slots are unchanged.
submission.isPinned / detail actionPersisted pin state affects ordering only. The authorized submission detail route supplies CataloguePinControl only for tenant Admins and catalog-listed submissions. Its unpinned label is Pin to top of catalog. The existing hook refreshes canonical state and retains pending/error feedback. Replacement, stale-unpin conflict, publication, tenant/filter scope and pagination remain unchanged. This page has no pinPath prop. The fictional specimen supplies ordered records without mutation access.
CatalogueFilterPanel heading / childrenServer-composed heading and form slots. The molecule owns disclosure and a visible pre-hydration fallback. Its source is src/components/catalogue/catalogueFilterPanel.tsx.
CatalogueFilterForm action / filters / optionsServer-supplied GET destination, applied URL selections and authorized options. useCatalogueFilterForm owns enhancement, draft coordination and submission. Next Form owns navigation; no raw endpoint, authorization, Context or store is added.
tenantSlug / canOpenSubmissionDetailsProduct destination context and detail-link capability. The authorized Catalogue route enables details for every active tenant member. Links use /console/{tenantSlug}/catalogue/{submissionCode}, not owner/manager or reviewing routes. The public Catalogue specimen disables these destinations.

This is an integration summary, not a replacement for the implementation's complete prop types. A disabled control or hidden destination does not enforce permission.

Using it in a page

Integrate the section through its supported props and context requirements. Routes supply permitted data; instances bind product copy and behavior; templates arrange slots. Keep feature hooks and operations with their feature owner. Generic layouts must not load business data or enforce product policy.

Related page assemblies: Collection and work queue.

Implementation

Repository path: src/components/catalogue/cataloguePage.tsx

All organisms
Current components and theme tokens. Fictional example data. Source views refresh on deployment; authors maintain contract notes.