* feat(ui): show prompt metadata sidebar in filmstrip viewer (#124) The filmstrip viewer opened images without any metadata or prompt display. Added shown/viewed callbacks to attach the existing metadata sidebar with prompt text and copy button. Also added hidden callback to both admin viewers for proper sidebar cleanup on close. * chore: bump version to 3.1.6 * fix(ui): scope metadata sidebar to active viewer container (#124) addMetadataSidebar() used querySelector('.viewer-container') which grabbed the first match in the DOM. If a gallery viewer was opened previously, its stale hidden container would be selected instead of the active filmstrip viewer. Now iterates all containers and picks the visible one.
28 lines
1.7 KiB
TOML
28 lines
1.7 KiB
TOML
[project]
|
|
name = "promptmanager"
|
|
description = "A powerful ComfyUI custom node that extends the standard text encoder with persistent prompt storage, advanced search capabilities, and an automatic image gallery system using SQLite."
|
|
version = "3.1.6"
|
|
license = {file = "LICENSE"}
|
|
dependencies = ["# Core dependencies for PromptManager", "# Note: Most dependencies are already included with ComfyUI", "# Already included with Python standard library:", "# - sqlite3", "# - hashlib", "# - json", "# - datetime", "# - os", "# - typing", "# - threading", "# - uuid", "# Required for gallery functionality:", "watchdog>=2.1.0 # For file system monitoring", "Pillow>=8.0.0 # For image metadata extraction (usually included with ComfyUI)", "# Optional dependencies for enhanced search functionality:", "# fuzzywuzzy[speedup]>=0.18.0 # For fuzzy string matching (optional)", "# sqlalchemy>=1.4.0 # For advanced ORM features (optional)", "# Development dependencies (optional):", "# pytest>=6.0.0 # For running tests", "# black>=22.0.0 # For code formatting", "# flake8>=4.0.0 # For linting", "# mypy>=0.910 # For type checking"]
|
|
|
|
[project.urls]
|
|
Repository = "https://github.com/ComfyAssets/ComfyUI_PromptManager"
|
|
# Used by Comfy Registry https://comfyregistry.org
|
|
|
|
[tool.comfy]
|
|
PublisherId = "kiko9"
|
|
DisplayName = "ComfyUI_PromptManager"
|
|
Icon = "https://avatars.githubusercontent.com/u/213204677?s=200"
|
|
|
|
[tool.black]
|
|
line-length = 88
|
|
target-version = ["py310"]
|
|
|
|
[tool.flake8]
|
|
max-line-length = 88
|
|
extend-ignore = ["E203", "W503"]
|
|
exclude = ["reference/", ".git", "__pycache__", "web/", "venv/"]
|
|
|
|
[tool.bandit]
|
|
exclude_dirs = ["tests", "reference"]
|