Commit Graph

256 Commits

Author SHA1 Message Date
Hayden 9ff6f9d7a3 Revert "File download scans and urls" 2024-09-24 11:28:50 +08:00
Christian Bastian 982104cf72 Merge branch 'main' of https://github.com/hayden-fr/ComfyUI-Model-Manager 2024-09-23 23:15:32 -04:00
Hayden 89c5ca2ad4 Merge pull request #27 from EtSL33py/preview-size
Preview size sliders
2024-09-24 11:08:21 +08:00
Christian Bastian e01afe01b6 Fixed "load workflow " to provide human-readable image file name. 2024-09-23 18:41:37 -04:00
Christian Bastian 75f922bea2 Added scan to download previews from model info files.
- Fixed bug where scan button was not getting reset.
- Attempt to get full size image preview. (May not get original image.)
2024-09-23 17:55:27 -04:00
Christian Bastian 182c515a6e Moved sidebar state setting under "Window" 2024-09-23 15:03:18 -04:00
Christian Bastian cb99f3fb62 Merge branch 'main' of https://github.com/hayden-fr/ComfyUI-Model-Manager 2024-09-23 14:55:57 -04:00
EtSL33py 6fa3b357c3 Added 'Show buttons on hover only' setting for preview buttons 2024-09-23 20:19:38 +03:00
EtSL33py b0913a73e4 Added preview size sliders to settings 2024-09-23 15:42:33 +03:00
EtSL33py f1f6518475 Merge branch 'main' into settings 2024-09-23 14:39:25 +03:00
Hayden 67fcfa015b Merge pull request #24 from EtSL33py/test
Use "drop" event instead of "dragend" in Firefox
2024-09-23 17:56:07 +08:00
Christian Bastian 91e5c882fc Added closing of model info view after downloading model info.
- Forces model info to be read from server.
2024-09-23 01:47:14 -04:00
Christian Bastian 3026717fd7 Added note about missing download previews. 2024-09-23 01:31:01 -04:00
Christian Bastian c35cb757fa Set model previews from model info view. 2024-09-23 00:59:48 -04:00
Christian Bastian 3b8735afef Added "Download Model Info" button to model info view.
- Always rehashes model (slow for big files).
- Refactored model info download into function on server.
2024-09-22 21:13:54 -04:00
EtSL33py 848663d78b Update model-manager.js 2024-09-22 20:31:31 +03:00
Christian Bastian 1ddba41cc0 Adjusted settings labels. 2024-09-21 20:08:19 -04:00
Christian Bastian ef89bcf2db Adjusted button labels. 2024-09-21 20:05:28 -04:00
Christian Bastian fd1843cdee Fixed text overflow for code block in note markdown html. 2024-09-21 19:22:08 -04:00
Christian Bastian 4757978164 Added model info scan.
- Tries to download and save model info, notes and url files.
2024-09-21 18:05:14 -04:00
Christian Bastian 442d7b10e7 Merge remote-tracking branch 'master/main' 2024-09-20 15:36:49 -04:00
EtSL33py e05c83e5f9 Update model-manager.js 2024-09-20 18:59:31 +03:00
EtSL33py 42a5180dc9 Update model-manager.js 2024-09-20 18:44:53 +03:00
EtSL33py c180d1b380 Update model-manager.js 2024-09-20 16:28:25 +03:00
EtSL33py 8df9cee930 Update model-manager.js 2024-09-20 16:22:50 +03:00
EtSL33py 20f9330292 use "drop" event instead of "dragend" in firefox 2024-09-20 15:48:34 +03:00
EtSL33py 81739c6d21 Update model-manager.js 2024-09-20 03:37:45 +03:00
EtSL33py 5abbd0ccb8 Update model-manager.js 2024-09-20 03:35:02 +03:00
EtSL33py 7a5d19eeec defauls state is None, state and sizes are not updated when Save or Reload is pressed 2024-09-20 03:30:11 +03:00
EtSL33py 844f286f24 buttons are updated when default position is changed 2024-09-19 15:04:50 +03:00
EtSL33py ab5532c8e6 upd 2024-09-19 11:47:34 +03:00
hayden 6f61688bd8 Fix the problem that the CSS reference address may be wrong. 2024-09-18 15:20:13 +08:00
hayden 5dea0bae98 LINT: Add some lint specifications 2024-09-18 11:54:49 +08:00
Christian Bastian 76c0ce817b Save model webpage links beside model. 2024-09-12 04:32:51 -04:00
Christian Bastian 408f5887cd Added cache and use of model metadata in json file. (First load will be slow.) 2024-09-12 01:42:13 -04:00
Christian Bastian f15c5f9071 Save model info in json file beside model. 2024-09-11 17:34:29 -04:00
Christian Bastian 35878d8514 Added dynamic routing to REST API: preview/get/{path} and model/info/{path}.
- Fixed issue interacting with Imagus stripping out query parameters and getting invalid preview url. Fixed by using dynamic routing.
- Changed return format of preview string to no longer encode the uri on the server. There were issues with how python's urllib.parse.quote and .quote_plus functions interacted with slash and space characters.
2024-09-10 00:30:44 -04:00
Christian Bastian 5521e696e5 Fixed modal z-index for old and beta menu. 2024-09-09 03:01:09 -04:00
Christian Bastian cff4c96ef3 Added fallback for open model url to deal with popup block or ad-blockers.
- Moved Model Manager z-index from 2000 to 99 (1 below modals).
2024-09-09 02:17:39 -04:00
Christian Bastian ccff0ba7ca Added shallow copy to path 2024-09-08 03:25:28 -04:00
Christian Bastian 944071e966 Tweak path. 2024-09-07 20:46:27 -04:00
Christian Bastian 032b7052e0 Remove debug. 2024-09-07 19:19:53 -04:00
Christian Bastian 632e02a83d Disable info button while awaiting. 2024-09-07 19:10:04 -04:00
Christian Bastian d503dbb510 Fix URI model path requests for opening model url. 2024-09-07 17:47:25 -04:00
Christian Bastian 7c5a4869b7 Tweak 2024-09-07 17:21:35 -04:00
Christian Bastian b9e6d3af0b Added debug in JS for preview. 2024-09-07 17:18:31 -04:00
Christian Bastian ee9489b758 Rearranged model preview thumbnail buttons. (Ordered by action impact.)
- Fixed bug with boolean to show Add and Copy buttons.
2024-09-07 16:57:40 -04:00
Christian Bastian 25d52dda6d Added buttons to search the web for notes and open url in new tab.
- See here for discussion: https://github.com/hayden-fr/ComfyUI-Model-Manager/issues/18
- Added python requirement.
2024-09-07 03:28:53 -04:00
Christian Bastian eeb63912f6 Fix model type select sorting.
- Remove duplicate logic in url search.
2024-09-06 19:03:33 -04:00
korutech-ai 89b95405c8 CSS: Added overflow-wrap to improve text readability. 2024-08-29 08:02:01 +12:00