docs: Add docstrings for ideation context settings

This commit is contained in:
Monoquark
2026-01-24 13:13:11 +01:00
parent 1e87b73dfd
commit 1ecb97b71c
2 changed files with 11 additions and 0 deletions

View File

@@ -53,6 +53,10 @@ const IDEATION_CONTEXT_OPTIONS: Array<{
},
];
/**
* Renders a settings popover to toggle per-project ideation context sources.
* Merges defaults with stored overrides and persists changes via the ideation store.
*/
export function IdeationSettingsPopover({ projectPath }: IdeationSettingsPopoverProps) {
const { projectOverrides, setContextSource } = useIdeationStore(
useShallow((state) => ({