Commit Graph
36 Commits
Author SHA1 Message Date
Jared Therriault c573234f4e Tiny refactor to use existing functions rather than rewriting code 2026-01-14 15:51:25 -08:00
Jared Therriault c764b2908e Add a media metadata viewer context, along with buttons on images/videos/models to check send to metadata viewer 2025-05-22 16:23:18 -07:00
Jared Therriault e7ed188afc Fix switching image drawer sidebar tabs. Comfy pushed something that makes a single persistent sidebar container, so we need to remove any existing children before appending ours. 2025-05-22 15:53:55 -07:00
Jared Therriault cbacdd2cf0 Fix for having multiple show buttons appear when hiding an image drawer 2025-04-12 22:39:02 -07:00
Jared Therriault 7f39b6da4a Restore control sollapse state on page refresh 2025-03-07 16:20:03 -08:00
JaredTherriault 477cad7f26 Fix "this.icon" issue 2025-02-05 20:53:55 -08:00
JaredTherriault 5b7c5dedfa Fix typo causing issues with unregistering sidebar tab for JNodes 2025-02-05 11:33:20 -08:00
JaredTherriault 1c37b01108 Tint OmageDrawer sidebar button a different color for each instance (repeats after 6) 2025-02-04 20:26:58 -08:00
JaredTherriault a513c54db4 Add option to remember last context on each drawer instance 2025-02-03 19:28:26 -08:00
JaredTherriault de6bfa2aa6 Allow imagedrawer to be rendered as a sidebar tab, use image drawer instance 2025-01-31 16:27:22 -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 63662c8760 Add a showButtonClone so both views can have the button at the same time rather than needing to refresh when switching menu types 2024-11-27 11:47:36 -08:00
JaredTherriault dadcc9648b Fix showButton not appearing in new comfy menu bar when ImageDrawer is hidden 2024-11-27 11:14:08 -08:00
JaredTherriault d9d144aa64 Update tooltips, specify size control class names better, change size control spans to a 2024-10-06 12:42:51 -07:00
JaredTherriault d0728b4bbd Make whether queue timer is enabled configurable 2024-09-15 20:13:20 -07:00
JaredTherriault e1e74baf72 video combine improvements 2024-09-08 14:33:57 -07:00
JaredTherriault 7cfc67f656 Update ImageDrawerMain.js 2024-08-05 11:20:55 -07:00
JaredTherriault cc07a81570 Show Batch Favourites button, fix collapsed feed menu still taking up space 2024-08-05 11:20:47 -07:00
JaredTherriault c94b359366 Comment out timerQueueButton since it's not ready yet, still cookin' 2024-07-20 14:41:35 -07:00
JaredTherriault 19017e3f4d Update tooltips and some UI elements for new comfy interface 2024-07-20 14:39:26 -07:00
JaredTherriault 2574b00108 Remove unnecessary log 2024-06-24 13:42:29 -07:00
JaredTherriault 6f5df0eaf5 Remove lora/embedding preload from imageDrawerMain because it clogs up other requests 2024-06-07 16:18:20 -07:00
JaredTherriault 2ebc5b4251 Organize image list child scripts better 2024-06-06 21:31:08 -07:00
JaredTherriault da1e63187b Classify ContextSelector 2024-06-06 20:48:15 -07:00
JaredTherriault 94dd13d822 Cancel automatic shuffle on context change, sort change, refresh, subdirectory change, and on click "include subdirectories", and on hide drawer. Also remember last interval within one session. After refresh, return to 1000. 2024-06-06 17:32:59 -07:00
JaredTherriault e14b233217 Classify Sorting (as ImageDrawerListSorting), separate SortTypes into its own script 2024-06-06 17:12:23 -07:00
JaredTherriault 139f048f41 column count : Enforce value to at least 1 column, slider max to 10, disable max clamp when setting value directly 2024-06-05 23:22:35 -07:00
JaredTherriault a704dd7f73 Add ability to set image drawer and width directly by clicking on the slider label 2024-06-05 23:12:01 -07:00
JaredTherriault 8b4f1e9d92 Polish: make sync button use an icon for uniformity, add tooltip to Hide button, give flyout handle a border 2024-06-04 14:32:34 -07:00
JaredTherriault b383df0184 Add video sync button 2024-06-04 14:22:35 -07:00
JaredTherriault 0aca7a26f0 Add button to expose Any/ All matching modes in context search bar 2024-06-03 18:01:31 -07:00
JaredTherriault 1f8b53b288 update ' to " (unification effort) in SettingsManager.js and update expand/collpase arrows to unified look 2024-05-31 14:22:51 -07:00
JaredTherriault 7723afb102 Fix Feed deletion request, add Remove From List context option/batch command
-Moved batch deletion behaviour - it is now a responsibility of the current context to implement
-Updated feed deletion behaviour - in the Feed context only now the image is not deleted from disk but instead simly removed from the frontend and backend image lists. the image can still be retrieved from Temp/History, but deleting it from that context will remove it from disk.
-Added blank implementations for Model contexts - will implement properly later.
-Separated out the act of deleting an image from disk and removing it from the image list as individual functions
-Add Remove From List as a flyout or batch command. Doesn't delete, just takes it out of the current list.
-imageElement.deleteItem now returns a booolean describing the function's success
2024-05-12 17:26:48 -07:00
JaredTherriault 569e461213 Fix for drawer no longer scrolling when shown after being hidden
-Add ability to specify a visible state in setElementVisible
-Move enabled check to before creating showButton so it's not created unless drawer is enabled
-Move Search-related widget creation to ImageDrawerSearch class
-Fix for drawer no longer scrolling when shown after being hidden
2024-05-11 12:10:13 -07:00
JaredTherriault 3e70fe8ce1 Fix issue where drawer could not be shown again after being hidden 2024-05-11 11:27:01 -07:00
JaredTherriault f0338b0c5f Batch selection, batch deletion, classifying some scripts, module manager
-Added new batch selection and batch deletion features. All imageElements now have a checkbox and each selected element is tracked within a context or folder. When you've selected all you want to delete, click the recycle button on the toolbar, then again to confirm. All checked items will be recylced/deleted. You can also click on the selection widget next to the batch delete button to toggle select/deselect all.
-Renamed ImageDrawer.js to ImageDrawerMain.js
-Separated ImageListAndSearch out into separate scripts and classes named ImageDrawerList and ImageDrawerSearch
-Changed order of some initialized functions and variables in imageElements to better accommodate batch selection
-
-Moved some scripts over to a classy architecture. More scripts will be moved over time. This will eventually allow for multiple image drawer instances in the same window.
-Added a new module script that manages all class instances. See ImageDrawerModule.js for an explanation of the new architecture. Basically, it makes cyclical dependencies impossible.
-Updated imports
-Updated various scripts to use class instances where applicable
-Updated some outdated comments
-Added option to prepend or append labels to Labeled widgets
-Parameter optimizations
-
2024-05-07 20:39:40 -07:00