Commit Graph
28 Commits
Author SHA1 Message Date
Jared Therriault c00a2d30b5 Add metadata viewer editing function for images - now you can change field names and values in metadata. No add or delete functions yet. 2026-06-30 17:19:53 -07:00
Jared Therriault 76cdc692a8 Unify knowledge of video extensions between py and js 2026-06-30 15:14:17 -07:00
Jared Therriault 6bb49bcce5 Complete rework of loading threads in imagedrawer, add ability to cancel, auto-cancel when switching contexts 2026-06-30 14:44:33 -07:00
Jared Therriault da6b4b0ea4 Add subdirectory selector for lora/lycoris/embeddings. Defaults to "Please select" and loads nothing until you choose a subdirectory. Applied the same to subdirectoryexplorer to avoid big loading hitches when loading input/favorites/output/temp. 2026-06-29 20:18:16 -07:00
Jared Therriault 4e9869c5b0 Fix certain imports not working 2026-06-27 19:29:45 -07:00
Jared Therriault 53a33de6bc Add find_files_wrapper 2025-12-22 11:51:42 -08:00
JaredTherriault 6baf235230 Add save_image_as_model_preview endpoint 2025-02-01 15:58:13 -08:00
JaredTherriault e9846ec7ee Rename jnodes_save_model_config to jnodes_save_model_user_info and add await to save_model_config to 2025-01-31 13:11:46 -08:00
JaredTherriault 090262de70 Change load text back to post 2025-01-05 16:41:18 -08:00
JaredTherriault d6b227873e Create custom settings backend for JNodes settings (now saved in jnodes.settings.json in the comfy user folder) 2025-01-05 15:45:02 -08:00
JaredTherriault b849c1311f Add two new routings to copy items and list immediate subdirectories 2024-08-04 22:07:56 -07:00
JaredTherriault bcda2f7a30 Move node definitions to individual scripts rather than keeping them all in "init.py", Add IntLiteral, FloatLiteral, 2024-07-20 12:53:22 -07:00
JaredTherriault 0f6895d0d7 Expose GetComfyDirectory 2024-07-18 11:30:37 -07:00
JaredTherriault b38567b249 Add LoadVisualMediaFromPath_Batch 2024-07-10 17:52:07 -07:00
JaredTherriault 65b2de6663 Add "Show In File Manager" toolbutton command for imageElements 2024-06-05 01:33:09 -07:00
JaredTherriault 6621ad6742 Add node "Create Stereoscopic Image From Depth (Experimental)" 2024-06-02 17:35:41 -07:00
JaredTherriault b2d8a76347 Add SelectRandomFileFromDirectory node 2024-05-31 14:19:29 -07:00
JaredTherriault 34c1ce82dd Speed up loading of images in SubFolderExplorer contexts
-Speed up loading of images in SubFolderExplorer contexts like Input and Output (up to 6x!)
-Separate logic for loading images and gathering subdirectories
-Update some code to reflect the move to a unified usage of  "directory" rather than "folder" (WIP)
-Return more useful responses from python backend
2024-05-10 20:33:18 -07:00
JaredTherriault 7a3d3ba30b Add delete button to imageElements flyout
-Separate much of the logic for imageElements into imageElementsUtils for a more streamlined maintenance experience
-Add button to delete an image or video from the disk and list, preferring to move it to trash/recycling before deleting directly
2024-05-05 14:33:33 -07:00
JaredTherriault e545e1350f Fix import 2024-04-22 18:00:07 -07:00
JaredTherriault 6838fd084a Generify Media Upload nodes, fix video previews, image drawer drag and drop to node support
-Generify video loading nodes to work for many visual media types, still images, animated images, some video types, etc. 'Video' nodes and scripts and params have been renamed to 'media' to reflect the change.
-Added some accessors for MediaInfo
-Replaced OutVideoInfo with BreakMediaInfo
-Added some more information to MediaInfo
-Stashed renamed nodes into deprecated_nodes so they're still accessible for now
-Cleaned up some unnecessary variables and params in the media loading code, now runs a tiny bit faster
-Now possible to sample media by seconds or frames
-Added some filetype support in js, still need to just pull this directly from python
-Renamed some js variables to be less parsimonious and more clear
-Fix video preview in SaveVideo
-Encode text in video preview uri (so spaces in filenames work, et al)
-Add support for images and videos from the image drawer to be dragged onto UploadMedia node
-Formatting
2024-04-22 13:32:25 -07:00
JaredTherriault 446ec5477f Add route for custom image upload function 2024-04-18 13:54:55 -07:00
JaredTherriault ff96695a76 Unfinished first draft at python task cancellation implementation 2024-04-17 12:49:53 -07:00
JaredTherriault 115d052931 Lay more groundwork for model config saving, add id to ImageElement buttonToolbar element 2024-02-10 22:03:25 -08:00
JaredTherriault c7ed83fb30 Subfolder selection in subfolder contexts, search and replace text improvements, wider tooltip
-Made tooltip wider to accommodate longer values. Set it back with bUseWideTooltip  = false in ImageElements.js. Will eventually make this user-editable from the UI.
-JNodes_PromptEditor has become JNodes_SearchAndReplaceFromFile. Make sure you update your workflows, all two of you using it.
-Added JNodes_SearchAndReplaceFromList and JNodes_SearchAndReplace nodes to complement.
-Added JNodes_SplitAndJoin (originally for removing extra spaces and commas, but can be used to reduce anything you have too many of in a string) and JNodes_TrimAndStrip for removing leading and trailing whitespace.
-Split RemoveCommentedText out of ParseWildcards. Now the comment tokens are user-editable too.
-Added UI option for a custom batch commenting token (was previously hard-coded to '#')
-Removed 'unknown' placeholder text on some nodes
-Added subfolder selection support for SubFolderExplorer contexts. Now subfolders can be chosen in contexts like 'input' and 'output'. You can also choose to display items within a subfolder's subfolders. Make sure you're not trying to display too many items at once or the browser will crash.
-Added backend function to save user-configured model information so the end user can eventually override a lora or embedding's display name, tags, trained words and weight presets. The UI for this is not yet built.
-Added a nullptr check when checking to see if an object is empty.
-Removed setSearchTermsOnElement since it's superfluous. It takes fewer characters to just set it directly.
-Some search terms and some metadata are set now when an imageElement is first created rather than waiting for the image within to actually load. This allows sorting and search to work more properly as contexts are switched, but searching metadata obviously still won't work until the images are loaded. But you can search filename, subfolder and type until then.
2024-02-03 09:37:49 -08:00
JaredTherriault 4f4d6972b7 Context refactor
-Updated server backend method names to be more accurate (I think)
-Added backend function to get basically any folder from the ComfyUI install folder so we can dig into input/output and other custom folders
-Updated Acceptable formats for image drawer
-Error handling and flipped responsibility in JNodes view_image
-Created Contexts script with ImageDrawerContext class and subclasses that handle context types, using encapsulation
-Implemented input/output/saved_prompts context types (but still need subfolders!)
-Fixed "Show Newest First" toggle (but could still be optimized)
-Reorder functions in imageDrawer for sanity
2024-01-21 21:25:00 -08:00
JaredTherriault 136f391f1a Meta data control improvements, AnyToString
-Add AnyToString to turn anything into string
-Update AddOrSetPngInfoKey name to AddOrSetMetaDataKey
-Add passthrough pin to AddOrSetMetaDataKey (so you can use it anywhere)
-Removed 'unknown' default values (what the hell was that about?)
2024-01-20 14:51:53 -08:00
JaredTherriault 7ceb555e56 Initial Commit
-ImageDrawer (image feed, lora picker, image history, etc)
-EditAttention improvements
-Status indicators (percentage in title, favicon, progress bar on floating menu)
-Font control for textareas
-Token count node
-png_info manipulation nodes
-Synced string literals with external text files
-Parameter lists
-Save Video improvements over VHS
-Custom modal to replace lightbox
-Mouse over images to see exif/png_info
-Yet another dynamic prompts implementation with randomization controls
-Yet another Wildcards implementation
-Commenting out prompts support (just add # before each line you want to be ignored or encapsulate specific text on a line with ## on either side "## Commented text ##") built into Wildcards node, will be separated next time
-Prompt Editor (search and replace text in any text, intended for prompts to change certain trigger words, for example an embedding named '3mb3dd1n4' can be changed to 'embedding')
-Selector nodes that can be randomized based on seed (e.g. to select a random checkpoint name)
-Get Temp Directory, Get Output Directory
2024-01-15 13:36:49 -08:00