Commit Graph
13 Commits
Author SHA1 Message Date
Jared Therriault e09e302506 Add high-level overview comments to all js classes 2026-06-29 15:38:26 -07:00
Jared Therriault 9ad41ac3d7 Make ImageDrawerSearch wrap SearchBar 2026-01-14 15:50:46 -08:00
Jared Therriault 4a4bfe7998 Improve Randomize sort efficiency 2025-12-16 20:05:16 -08:00
JaredTherriault 1a696fd49f Check searchFieldElement ptr in getSearchText 2025-02-04 20:27:29 -08:00
JaredTherriault 7a1ff05d89 Use imageDrawerInstance class member 2025-01-31 16:23:44 -08:00
JaredTherriault eb96b38e11 Fix issue where clicking random search button with no images would freeze the UI 2024-06-06 12:46:50 -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 3dc86bf822 Implement generic search randomization that works in all contexts 2024-06-01 17:15:12 -07:00
JaredTherriault fbdd6baf94 Make search token have to match all tokens in search by default 2024-05-31 14:23:25 -07:00
JaredTherriault db00568e83 Add option to match any or all search terms, but needs to be exposed 2024-05-21 14:05:15 -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 6fbddeedee Fix search 2024-05-10 21:46:43 -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