mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-22 16:02:24 +00:00
0e445f14ae
* feat(mcp): add wildcard pattern support to token UI custom scope - Add text input fields for wildcard patterns in Custom scope - Combine wildcard patterns with individual script/flow selections - Support comma-separated patterns (e.g., f/outline/*,f/docs/*) - Add help popover explaining pattern syntax with examples - Backward compatible: empty patterns preserve existing behavior Closes #7252 * fix(mcp): apply critical code review fixes for wildcard patterns Apply fixes identified by code-smells agent: **P0 - Code Duplication (CRITICAL)** - Extract pattern parsing logic into reusable helper function - Eliminates duplicate code between scripts and flows processing - Improves maintainability and consistency **P1 - Button Validation (CRITICAL)** - Fix button disable condition to allow pattern-only tokens - Users can now create tokens with ONLY wildcard patterns - Resolves Test Scenario #6 from design document **P2 - State Management (MODERATE)** - Add $effect to clear patterns when switching scopes - Prevents stale data from persisting across mode changes - Improves user experience and data consistency Changes: - Added parsePatterns() helper function - Updated button disable condition with pattern checks - Added two $effect hooks for state cleanup - Reduced code duplication by 10 lines Testing: All edge cases now properly handled including pattern-only tokens * nits * nit --------- Co-authored-by: Devdatta Talele <devtalele0@gmail.com>
Windmill frontend
The Windmill frontend written in Svelte 5 + Tailwind CSS
The frontend is under AGPL, see the LICENSE file at the root of this repo