Roo-Code/webview-ui
Daniel Riccio 1f4d3c3e77
fix: resolve MCP selector issues and simplify implementation
- Fixed useEffect to properly detect MCP object format { mcp: { included: [...] } }
- Fixed empty selection behavior to enable all MCP servers instead of disabling MCP
- Removed tuple format handling since this feature hasn't been released yet
- Simplified code to only handle the new object format for MCP configuration
- Removed unused GroupOptions import

When no specific servers are selected, MCP is added as a string (enables all servers).
When specific servers are selected, MCP is added as an object with the included list.

This ensures the MCP selector properly loads configurations and maintains
the expected behavior where empty selection means all servers are enabled.
2025-08-06 15:24:59 -05:00
..
audio feat: move play audio to webview to ensure cross-platform (#3659) 2025-05-20 01:15:05 -04:00
public Remove CRA cruft 2025-01-30 14:38:41 -08:00
src fix: resolve MCP selector issues and simplify implementation 2025-08-06 15:24:59 -05:00
.gitignore PR cleanup 2025-03-12 11:23:06 -04:00
components.json Remove lucide 2025-01-30 14:47:59 -08:00
eslint.config.mjs Preserve model settings when selecting a specific OpenRouter provider (#3915) 2025-05-23 23:22:41 -07:00
index.html Fix linter warning + run prettier on everything (#3581) 2025-05-13 15:16:24 -07:00
package.json debug: Add ErrorBoundary component for better error handling (#5085) 2025-07-23 08:45:35 -04:00
tsconfig.json Convert all webview-ui tests: jest -> vitest (#4771) 2025-06-17 15:29:17 -07:00
turbo.json Improve turbo task dependency declarations (#4323) 2025-06-04 09:32:27 -07:00
vite.config.ts debug: Add ErrorBoundary component for better error handling (#5085) 2025-07-23 08:45:35 -04:00
vitest.config.ts Convert all webview-ui tests: jest -> vitest (#4771) 2025-06-17 15:29:17 -07:00
vitest.setup.ts feat: add undo functionality for enhance prompt feature (fixes #5741) (#5742) 2025-07-15 10:26:34 -04:00