[PR #58] [MERGED] feat(easylabel): add allowAdd and allowRemove patterns for controlled label operations #59

Closed
opened 2026-10-27 21:09:11 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/Comfy-PR/pull/58
Author: @snomiao
Created: 8/19/2025
Status: ✅ Merged
Merged: 8/19/2025
Merged by: @snomiao

Base: main ← Head: sno-easylabel-allowlist


📝 Commits (4)

  • 855127a feat(easylabel.tsx): add allowAdd and allowRemove patterns to control label operations for better validation
  • 937e518 feat(easylabel): add allowAdd and allowRemove patterns for controlled label operations
  • 6ca2b47 fix(easylabel.tsx): remove unnecessary label pattern from allow array to simplify configuration and improve clarity
  • 56c629f fix(easylabel.tsx): await createIndex to ensure proper execution of index creation before proceeding with other operations

📊 Changes

1 file changed (+6 additions, -2 deletions)

View changed files

📝 run/easylabel.tsx (+6 -2)

📄 Description

Summary

  • Add allowAdd and allowRemove patterns to control label operations for better validation
  • Implement checks to skip disallowed labels during addition and removal operations
  • Await createIndex to ensure proper execution of index creation before proceeding with other operations
  • Remove unnecessary label pattern from allow array to simplify configuration and improve clarity

Test plan

  • Verify allowAdd patterns work correctly
  • Verify allowRemove patterns work correctly
  • Test that disallowed labels are skipped during operations
  • Confirm index creation awaits properly

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/Comfy-PR/pull/58 **Author:** [@snomiao](https://github.com/snomiao) **Created:** 8/19/2025 **Status:** ✅ Merged **Merged:** 8/19/2025 **Merged by:** [@snomiao](https://github.com/snomiao) **Base:** `main` ← **Head:** `sno-easylabel-allowlist` --- ### 📝 Commits (4) - [`855127a`](https://github.com/Comfy-Org/Comfy-PR/commit/855127a62b317c8d7d94fb8eacd23500d6dcb675) feat(easylabel.tsx): add allowAdd and allowRemove patterns to control label operations for better validation - [`937e518`](https://github.com/Comfy-Org/Comfy-PR/commit/937e518400ff4cde96d376726247cfb4a7033a55) feat(easylabel): add allowAdd and allowRemove patterns for controlled label operations - [`6ca2b47`](https://github.com/Comfy-Org/Comfy-PR/commit/6ca2b47874e7c78d836cdc4f8824403efb400767) fix(easylabel.tsx): remove unnecessary label pattern from allow array to simplify configuration and improve clarity - [`56c629f`](https://github.com/Comfy-Org/Comfy-PR/commit/56c629f9e7a4cb1686e81866794cc8c7a09ca3d2) fix(easylabel.tsx): await createIndex to ensure proper execution of index creation before proceeding with other operations ### 📊 Changes **1 file changed** (+6 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `run/easylabel.tsx` (+6 -2) </details> ### 📄 Description ## Summary - Add allowAdd and allowRemove patterns to control label operations for better validation - Implement checks to skip disallowed labels during addition and removal operations - Await createIndex to ensure proper execution of index creation before proceeding with other operations - Remove unnecessary label pattern from allow array to simplify configuration and improve clarity ## Test plan - [x] Verify allowAdd patterns work correctly - [x] Verify allowRemove patterns work correctly - [x] Test that disallowed labels are skipped during operations - [x] Confirm index creation awaits properly 🤖 Generated with [Claude Code](https://claude.ai/code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/Comfy-PR#59
No description provided.