Commit Graph

315 Commits

Author SHA1 Message Date
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
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
Hayden
c31e2f46d6 Merge pull request #22 from EtSL33py/sidebar
Add default manager position in settings menu
2024-09-23 17:55:39 +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
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
eb59ae93e0 Console warning about fixing model info issue. 2024-09-21 19:42:34 -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
7a49b548a2 Fixed note parse bug.
- Avoid adding empty string to list of activation text.
2024-09-21 18:33:52 -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
Hayden
f0c7b3823d Merge pull request #16 from korutech-ai/feature/notes-preview
FEATURE: Adds HTML markdown preview below notes editor.
2024-09-18 11:37:28 +08:00
Christian Bastian
5dcf90ca9a Fixed bug. 2024-09-12 13:51:55 -04:00
Christian Bastian
c87183f98b Added a bit more safety checks before saving url. 2024-09-12 13:41:29 -04:00
Christian Bastian
15946599fb Fixed bug where model download link was saved instead of model page link. 2024-09-12 13:26:29 -04: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
fa5e7dfcdc Download json file with only relevant model info.
- Simplified web search to avoid extra query.
2024-09-11 17:55:48 -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
ce93156460 Enable debug statement. 2024-09-08 04:37:41 -04:00
Christian Bastian
4831a4374b Added raise error on get web-url when path is empty. 2024-09-08 04:36:00 -04:00
Christian Bastian
ccff0ba7ca Added shallow copy to path 2024-09-08 03:25:28 -04:00
Christian Bastian
1c83e1e028 Remove type hint 2024-09-07 21:00:15 -04:00
Christian Bastian
b6562851e1 Undo 2024-09-07 20:47:20 -04:00
Christian Bastian
944071e966 Tweak path. 2024-09-07 20:46:27 -04:00
Christian Bastian
b16c2e853f Debug statement for invalid preview. 2024-09-07 19:48:28 -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