FEAT - FOUNDRY: activate sector workspace

This commit is contained in:
Codex
2026-08-08 14:09:51 +03:00
parent 30c9b8c5fd
commit 58800d9576
10 changed files with 675 additions and 80 deletions
+3 -4
View File
@@ -214,10 +214,9 @@ export function mapFactMatchesFilters(
if (selectedFacets.some(({ selected }) => selected.length === 0)) return false;
if (selectedFacets.length === 0) return true;
// Chips form one global union. This mirrors the objects window: choosing
// values from two categories expands the visible set instead of requiring a
// fact to satisfy both categories simultaneously.
return selectedFacets.some(({ facet, selected }) => (
// Values inside one facet form a union; independently selected facets are
// conjunctive. This keeps provider/type/state filters composable.
return selectedFacets.every(({ facet, selected }) => (
mapFactParticipatesInFacet(fact, profile, facet)
&& selected.includes(normalizedFacetValue(fact.attributes[facet.field]))
));