Folo/apps/desktop
Innei 2eff764046
feat(ai): MCP integration presets (#4398)
* init

Signed-off-by: Innei <tukon479@gmail.com>

* feat: mcp preset

- Bumped the version of `@follow-app/client-sdk` from 0.3.48 to 0.3.50 in both `pnpm-lock.yaml` and `pnpm-workspace.yaml`.
- Refactored button rendering logic in `ai-task-modal.tsx` for cleaner code.
- Updated status color classes in `task-item.tsx` for improved styling consistency.
- Simplified props in `MCPPresetCard.tsx` and removed loading state handling for a more straightforward UI.
- Enhanced `MCPPresetSelectionModal.tsx` by removing unnecessary loading states and labels.
- Cleaned up `MCPServiceModalContent.tsx` by removing loading state handling from buttons.
- Improved `MCPServicesSection.tsx` by adjusting OAuth handling and refetch logic on window focus.
- Added new quick setup options for GitHub and Linear in `types.ts`.

These changes aim to enhance the user experience and maintainability of the codebase.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: implement query optimistic hook

- Introduced a new optimistic mutation system to enhance the user experience by providing immediate feedback during create, update, and delete operations.
- Added `createOptimisticConfig` for streamlined optimistic updates across various components.
- Refactored existing mutations in `ai-task` and `MCPServicesSection` to utilize the new optimistic strategies, improving responsiveness and error handling.
- Updated documentation in `CLAUDE.md` to clarify the usage of type checking and linting processes.

These changes aim to improve the overall performance and user interaction within the application.

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-29 23:59:35 +08:00
..
build feat(desktop): add custom AppX manifest generation for Microsoft Store 2025-07-16 12:13:59 +08:00
changelog feat: implement AI task management (#4362) 2025-08-25 17:14:14 +08:00
configs refactor: Progressive migration Client SDK (#4227) 2025-07-23 01:21:34 +08:00
layer feat(ai): MCP integration presets (#4398) 2025-08-29 23:59:35 +08:00
plugins/vite fix(electron): hotfix update logic 2025-07-30 01:36:23 +08:00
resources
scripts feat(desktop): add custom AppX manifest generation for Microsoft Store 2025-07-16 12:13:59 +08:00
static
.env.example feat(tracker): integrate PostHog analytics and enhance tracking capabilities (#3862) 2025-06-05 21:54:58 +08:00
CLAUDE.md feat(ai): support ai attachement (#4316) 2025-08-08 16:32:52 +08:00
bump.config.ts
bump.hotfix.config.js
electron.vite.config.ts fix(path): change path package to pathe (#4038) 2025-07-07 16:55:37 +08:00
forge.config.cts feat(desktop): enhance build configuration for Microsoft Store support 2025-07-16 13:01:22 +08:00
package.json refactor(legal): remove legal package and update references 2025-08-24 01:46:30 +08:00
postcss.config.cjs
tailwind.config.ts feat(entry): add scroll-to-exit tutorial with improved UX 2025-08-21 23:17:46 +08:00
vite.config.electron-render.ts fix(path): change path package to pathe (#4038) 2025-07-07 16:55:37 +08:00
vite.config.ts refactor: Progressive migration Client SDK (#4227) 2025-07-23 01:21:34 +08:00