You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wire up the has_hed filter (currently a dead control) #139
The "Has HED annotation" checkbox in src/components/FilterSidebar.astro (name="has_hed") is a dead control:
filterStateToAPIQuery() (src/lib/filters.ts) never sends has_hed to the API.
applyClientFilters() has no HED predicate.
there is no has_hed field on the Dataset row type.
So checking it filters nothing, and non-HED datasets (e.g. on007058) still show up.
Fix (depends on nemar-cli backend)
Blocked on nemarOrg/nemar-cli#869 (per-version HED detection), which adds has_hed + hed_version to the /datasets API and a server-side ?has_hed=1 filter.
Once that ships:
filterStateToAPIQuery(): when state.hasHed, set q.has_hed = "1" (server-side filter, like modality/license).
Add has_hed (and optionally hed_version) to the Dataset type in src/lib/types.ts.
Optionally surface a HED badge / version on dataset cards and the detail page.
Activity
feat: wire up the has_hed filter + card badge (#139) (#140)