Skip to content

3. Filter Value Extraction Utility #419

@MitchellShiell

Description

@MitchellShiell

Context
Once a developer has configured filter properties via customFilterDropdowns, the component needs to derive the available options for each dropdown by scanning the loaded schemas.

Goal
Implement a utility that accepts the array of schemas and the customFilterDropdowns config, and returns the unique values found at each configured dot-path across all schemas. These become the checkbox options rendered in each filter sub-dropdown.

Acceptance Criteria

  • Dot-paths (e.g. meta.tags.submitter_type) are resolved correctly against a schema object
  • Missing or undefined paths produce no option rather than an error
  • Duplicate values are deduplicated

Metadata

Metadata

Assignees

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