Commit Graph
11 Commits
Author SHA1 Message Date
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