Commit Graph
11 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 c7cb5b8fbd Reduce draw reflow as new images and videos are added to the feed 2026-01-14 15:48:38 -08:00
JaredTherriault b2259141e6 Use imageDrawerInstance class member instead of static instance 2025-01-31 16:19:27 -08:00
JaredTherriault 73392a7145 Add batch Favourites button 2024-08-05 11:19:06 -07:00
JaredTherriault e42b2d7c70 Update BatchSelectionManager.js 2024-06-09 19:21:48 -07:00
JaredTherriault e35d9b7b76 Fix, nullptr check, export base Context types, hide batch selection widget in ContextModel contexts 2024-06-09 19:19:51 -07:00
JaredTherriault da1e63187b Classify ContextSelector 2024-06-06 20:48:15 -07:00
JaredTherriault 5cc070e818 Count only items that are visible in an imageList
For example, if you search filter some images out then the selection manager will only display the visible count and deleting/removing in a batch will only operate on the visible and selected items.
2024-06-01 20:43:56 -07:00
JaredTherriault 46db326db0 Move widget update call to inner scope 2024-05-22 11:04:50 -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 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