Commit Graph
23 Commits
Author SHA1 Message Date
Jared Therriault 71a89500bb Improve sorting by date in ImageDrawer
This ensures that, if available, we'll sort using the date the file was created rather than modified date. Modified will be used as a fallback.
2025-12-16 19:43:52 -08:00
Jared Therriault 73bafff9f4 Add webp support for envs that don't natively support it 2025-02-26 12:21:49 -08:00
JaredTherriault 262ad8acb0 Print debug message when opening file manager. Temporary. 2025-02-05 12:18:14 -08:00
JaredTherriault ee6628e9cd Add get_next_base_filename 2025-02-01 15:59:06 -08:00
JaredTherriault e1e74baf72 video combine improvements 2024-09-08 14:33:57 -07:00
JaredTherriault a0fd5469c2 Add JNodes_GetCleanFilename and JNodes_GetLeafDirectory functions and utilities replace_all and replace_all_but_first_in_string 2024-08-31 13:30:04 -07:00
JaredTherriault f4fd513eb4 Possible fix for alternative paths not working 2024-07-10 17:54:26 -07:00
JaredTherriault 21c2b29a85 normpath is not the way, trying a different approach 2024-06-24 15:13:52 -07:00
JaredTherriault 65b2de6663 Add "Show In File Manager" toolbutton command for imageElements 2024-06-05 01:33:09 -07:00
JaredTherriault 3db736117a Make extension comparison lowercase, use built-in comfy base path for convert_relative_comfyui_path_to_full_path 2024-05-31 14:21:51 -07:00
JaredTherriault 130c206122 Utils cleanup
-Added map_to_range function
-Update video format gathering code
-Formatting
2024-04-22 13:04:54 -07:00
JaredTherriault 8efc32176d Add clamp python utlity function 2024-04-21 16:04:18 -07:00
JaredTherriault f0c7e1971f Rename directory_name parameter to relative_path 2024-04-18 22:33:01 -07:00
JaredTherriault b5c5f2898e Fix include subfolders toggle and separate upload extensions from browser display extensions 2024-04-15 20:59:02 -07:00
JaredTherriault 0db289845d Video support additions 2024-04-08 19:51:17 -07:00
JaredTherriault b375e9b2cc Fix is_webp, is_gif, is_video and is_acceptable_image_or_video methods, fix grabbing video format types, add support for jpeg, jfif 2024-03-28 12:28:29 -07:00
JaredTherriault 7ef4caf094 video node improvements
-Fix missing ImageOps import
-Add option to discard transparency when loading video (such as from apng or webp). This allows you to use certain preprocessors that expect only 3 channels.
2024-03-07 22:57:51 -08:00
JaredTherriault a656406eea relative paths support, synced string literal undo support, fix disappearing scrollbar
-Allow for relative paths and absolute paths in nodes that use paths (relative to the ComfyUI folder, so 'JNodes/input' without a leading slash)
-Add util to ascertain if an element is visible in the viewport
-Fix disappearing scrollbar in imageDrawer
-Add undo support for loading text in synced string literal node
2024-03-06 17:15:59 -08:00
JaredTherriault 8cbc975019 -Add folder helpers to utils
-Fix model image paths on linux/mac/unix
-Fix embeddings images
2024-02-10 20:46:15 -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 908b94682f output context
-Half-implemented output context, need to support folders
-Switched createImageElementFromImgSrc over to jnodes_view_image api call
-Added decodeReadableStream
-python image/video validation functions
-strip text when setting png info / metadata value
2024-01-20 22:53:52 -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