Skip to content

feat: make AI features optional#377

Draft
h4yfans wants to merge 2 commits into
mainfrom
feat/ai-feature-toggle
Draft

feat: make AI features optional#377
h4yfans wants to merge 2 commits into
mainfrom
feat/ai-feature-toggle

Conversation

@h4yfans
Copy link
Copy Markdown
Collaborator

@h4yfans h4yfans commented May 13, 2026

Summary

  • Add a renderer-wide AI settings context and wire the app plus quick-capture window to the global AI switch.
  • Hide and disable AI surfaces when AI is off: Agent sidebar/MCP bridge, inline editor AI, slash AI items, tag/folder/note suggestions, journal AI connections, inbox clustering, voice recording, and quick-capture voice/audio paths.
  • Keep AI settings collapsed to the master switch while disabled and document the opt-out behavior.

Release note

AI features can now be disabled globally from Settings > AI, hiding AI entry points and stopping background AI requests.

Test plan

  • pnpm --filter @memry/desktop exec vitest run src/renderer/src/hooks/missing-hooks.test.tsx src/renderer/src/components/day-panel/global-day-panel.test.tsx src/renderer/src/components/folder-view/move-to-folder-dialog.test.tsx src/renderer/src/components/inbox-detail/filing-section.test.tsx src/renderer/src/pages/settings/ai-section.test.tsx --config config/vitest.config.ts
  • pnpm --filter @memry/desktop exec vitest run src/renderer/src/components/capture-input.test.tsx src/renderer/src/components/quick-capture.test.tsx src/renderer/src/components/quick-capture-parts.test.tsx --config config/vitest.config.ts
  • pnpm --filter @memry/desktop typecheck:web
  • pnpm --filter @memry/desktop exec eslint src/renderer/src/main.tsx src/renderer/src/contexts/ai-settings-context.tsx src/renderer/src/hooks/use-ai-inline.ts src/renderer/src/contexts/ai-inline-context.tsx src/renderer/src/agent-mcp/current-note-handler.ts src/renderer/src/App.tsx src/renderer/src/agent-chat/sidebar-tabs.tsx src/renderer/src/components/note/content-area/ContentArea.tsx src/renderer/src/hooks/use-ai-connections.ts src/renderer/src/hooks/use-folder-suggestions.ts src/renderer/src/hooks/use-inbox-queries.ts src/renderer/src/components/folder-view/move-to-folder-dialog.tsx src/renderer/src/components/inbox-detail/filing-section.tsx src/renderer/src/components/inbox-detail/inbox-detail-panel.tsx src/renderer/src/pages/inbox/inbox-list-view.tsx src/renderer/src/components/capture-input.tsx src/renderer/src/components/quick-capture.tsx src/renderer/src/components/quick-capture-input.tsx src/renderer/src/pages/settings/ai-section.tsx
  • pnpm docs:impact --base f2e73d9 --strict
  • pnpm docs:build

@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
memry-docs Ready Ready Preview, Comment May 13, 2026 0:49am
memrynote-landing Ready Ready Preview, Comment May 13, 2026 0:49am

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