Skip to content

6. Schema Filtering Logic & Empty State #422

@MitchellShiell

Description

@MitchellShiell

Context
With filter state in place, the accordion list of schemas needs to reflect the current selections.

Goal
Implement the filtering logic that shows only schemas matching all active filter selections, and display an empty state when no schemas match.

Filtering Rules

  • Selections within the same category are OR (a schema matching any selected value in a category passes that category)
  • Selections across different categories are AND (a schema must pass all active categories)
  • When no filters are active, all schemas are shown

Empty State

  • Replaces the accordion list entirely
  • Shows: "No schemas match the selected filters" with a supporting message
  • Includes a "Reset all filters" action button
Image

Figma Link

Acceptance Criteria

  • Schemas are filtered correctly per the AND/OR rules above
  • The accordion updates reactively as filter selections change
  • The empty state renders correctly when no schema matches
  • The "Reset all filters" button in the empty state clears all custom filter state
  • Existing field-level filtering (Required / All Fields) continues to work independently

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions