Skip to content

feat: domain filter on the ontology page - #412

Merged
Rassl merged 1 commit into
mainfrom
feat/ontology-domain-filter
Sep 23, 2026
Merged

Rassl merged 1 commit into
mainfrom
feat/ontology-domain-filter

Conversation

@Rassl

@Rassl Rassl commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Adds a Domains section to the ontology sidebar: one checkbox per domain with its type count, plus All / None. Disabling a domain removes its schema types and every edge touching them from both the network and hierarchy views; Thing always stays as the root. A filtered-out selection is cleared. The disabled set persists in localStorage.

Domain helpers (domainKeyOf, listSchemaDomains, filterSchemasByDomain) move to src/lib/schema-domains.ts and are shared with the domains admin page. The domain list is the union of /v2/schema/domains and the domains present on loaded schemas, so it still renders in mock mode.

Adds a Domains section to the ontology sidebar: one checkbox per domain
with its type count, plus All / None. Disabling a domain removes its
schema types and every edge touching them from both the network and
hierarchy views; Thing always stays as the root. A filtered-out
selection is cleared. The disabled set persists in localStorage.

Domain helpers (domainKeyOf, listSchemaDomains, filterSchemasByDomain)
move to src/lib/schema-domains.ts and are shared with the domains admin
page. The domain list is the union of /v2/schema/domains and the
domains present on loaded schemas, so it still renders in mock mode.
@Rassl
Rassl merged commit 75f3c6a into main Sep 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant