⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
import { useShell } from '@/context/shellContext';
import { EMPTY_FILTER_SET, type FilterSet } from '@/utils/filters';
import type { WidgetConfig } from '@/utils/dashboardWidgets';
import FilterBar from '@/components/layout/FilterBar';
// The board filter that selects which issues are counted.
export default function StatWidgetSettings({
config,
onConfigChange,
}: {
config: WidgetConfig;
onConfigChange: (config: WidgetConfig) => void;
}) {
const { project, customFields } = useShell();
const filters: FilterSet = config.filters ?? EMPTY_FILTER_SET;
if (!project) return null;
return (
<FilterBar
filters={filters}
onChange={(next) => onConfigChange({ filters: next })}
project={project}
customFields={customFields}
/>
);
}