Commit Graph
13 Commits
Author SHA1 Message Date
fujammy c83ea89a59 Refactor dynamic input handling in image and mask combiners. Updated combine_images and combine_masks methods to streamline input processing by sorting and filtering non-None values. Improved error handling and ensured consistent return of empty images/masks when no valid inputs are provided. Enhanced text_combiner to manage text inputs more efficiently, ensuring proper handling of separators and empty inputs. These changes improve functionality and user experience across the dynamic input features. 2025-01-04 22:58:26 +08:00
fujammy 615d7f1e44 Enhance internationalization support in I18n class and update text_combiner for improved user experience. Added new language handling methods and updated translation loading. Refactored placeholder and error messages in TextCombiner to utilize dynamic translations based on app language settings. Introduced new nodes: DynamicMaskCombiner and SimpleTextInput, with corresponding mappings in NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS. 2025-01-04 20:10:44 +08:00
fujammy 4c5a371fde Refactor dynamic_image_input.js to improve image input connection management. Enhanced logic for counting and managing image inputs, ensuring at least one input is retained. Updated input addition and removal processes to only remove unused inputs when necessary, improving functionality and user experience for dynamic image handling. 2025-01-04 18:48:29 +08:00
fujammy e618383a32 Refactor text_combiner.js to improve input connection management. Enhanced logic for counting and managing text input connections, ensuring at least one input is retained. Updated input addition and removal processes to be more efficient and only remove unused inputs when necessary. This change improves the functionality and user experience of the text combiner feature. 2025-01-04 18:23:18 +08:00
fujammy f481e1015a fix 2025-01-04 02:42:24 +08:00
fujammy 44502674ac fix bugs 2025-01-04 02:28:24 +08:00
fujammy f38d7e3a79 Refactor image processing and UI components for improved functionality. Enhanced MaskPreview class to streamline mask handling and output structure. Updated ClickPopup and DynamicImageCombiner nodes to improve event handling and connection management. Added custom styles for TextCombiner node to enhance visual presentation. These changes improve user experience and maintainability across the application. 2025-01-03 02:55:55 +08:00
fujammy d437bd7454 Refactor ShowTextPlus extension to improve widget management and dynamic display functionality. Enhanced widget cleanup logic to retain the first two widgets, added a toggle for output visibility, and ensured proper handling of text input arrays. Updated node size adjustment methods for better responsiveness during configuration and execution. This update streamlines user interaction and improves overall usability.
完善文本显示开关功能逻辑
2024-12-31 02:24:26 +08:00
fujammy bb1f345a25 Refactor web extension to improve widget management and display functionality. Updated widget cleanup logic to retain the first two widgets and added a toggle for output display. Enhanced node creation to include a display toggle, allowing dynamic visibility of output text based on user interaction.
添加控制开关
2024-12-31 02:05:09 +08:00
jammyfu d94f171fd6 Refactor and enhance image processing nodes in ComfyUI. Added new nodes for dynamic image input, image resolution adjustment
类结构修改,功能完善
2024-12-30 20:33:00 +08:00
fujammy c043f4ff00 Enhance TextCombiner with improved UI and styling. Added custom CSS for node appearance, including background and title bar colors. Updated JavaScript to manage node creation and connections more effectively. This update aims to improve the user experience and visual integration of the TextCombiner node.
增强了TextCombiner的UI和样式,添加了自定义CSS以调整节点外观,包括背景和标题栏颜色。更新了JavaScript以更有效地管理节点创建和连接。本次更新旨在提升用户体验和TextCombiner节点的视觉整合。
2024-12-26 04:21:11 +08:00
jammyfu 1610fce3f4 Introduce DynamicImageCombiner class and update init.py for node integration.
This commit adds the DynamicImageCombiner class, enabling dynamic addition of multiple image inputs and outputting a list of connected images. The init.py file now includes this new node in NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS. A new JavaScript file has also been created to manage the node's behavior, enhancing image processing functionality.
引入DynamicImageCombiner类并更新__init__.py以实现节点集成。
此提交添加了DynamicImageCombiner类,可以动态地添加多个图像输入,并输出所有连接图像的列表。init.py文件现在在NODE_CLASS_MAPPINGS和NODE_DISPLAY_NAME_MAPPINGS中包含了这个新节点。此外,还创建了一个新的JavaScript文件来管理该节点的行为,增强了图像处理功能。
2024-12-25 22:23:01 +08:00
jammyfu 0f0e332d6c Refactor __init__.py to include ClickPopup; update TextCombiner for enhanced text processing with regex This commit adds the ClickPopup class to NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS in __init__.py. Additionally, the TextCombiner class has been refactored to improve its functionality, allowing for customizable separators and enhanced error handling for regex inputs. The changes aim to enhance the text processing capabilities of the application. 2024-12-25 21:22:13 +08:00