Skip to content

Commit 0ce970c

Browse files
snomiaoclaude
andauthored
feat(easylabel): add allowAdd and allowRemove patterns for controlled label operations (#58)
* 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]>
1 parent 41bb78d commit 0ce970c

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)