You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(easylabel): add allowAdd and allowRemove patterns for controlled label operations (#57)
* feat(easylabel.tsx): add allowAdd and allowRemove patterns to control label operations for better validation
fix(easylabel.tsx): implement checks to skip disallowed labels during addition and removal operations
* feat(easylabel): add allowAdd and allowRemove patterns for controlled label operations
- Add allowAdd and allowRemove string array patterns to EasyLabelProps
- Implement label validation logic to skip disallowed operations
- Prevent label addition when not in allowAdd patterns (if specified)
- Prevent label removal when not in allowRemove patterns (if specified)
- Maintain backward compatibility with existing usage
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* fix(easylabel.tsx): remove unnecessary label pattern from allow array to simplify configuration and improve clarity
* fix(easylabel.tsx): await createIndex to ensure proper execution of index creation before proceeding with other operations
---------
Co-authored-by: Claude <[email protected]>
0 commit comments