Commit Graph

267 Commits

Author SHA1 Message Date
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
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
84b1e60df0 Added check for missing preview uri. 2024-09-07 17:08:44 -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
155a1d5e13 Minor change to trigger word formatting. 2024-09-07 03:37:23 -04:00
Christian Bastian
e3f6a7b6f6 Updated README. 2024-09-07 03:34:47 -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
Christian Bastian
92f8c632df Fix issue with Civitai Content-Type in API header.
- https://github.com/hayden-fr/ComfyUI-Model-Manager/issues/18
2024-09-05 23:15:26 -04:00
Hayden
79dbf2b4c5 Merge pull request #14 from cdb-boop/main
v1.3 Performance and Quality of Life Improvements
2024-08-20 09:57:17 +08:00
Christian Bastian
d2a9a3a1fa Swapped to using built-in safetensors header loader.
- Build-in loader avoids worst-case slow load using max length.
2024-08-19 09:56:02 -04:00
Christian Bastian
e945be8e3e Added .gguf to known model extensions. 2024-08-19 07:29:58 -04:00
Christian Bastian
116d1210af Added support for .jfif previews. 2024-08-19 05:11:17 -04:00
Christian Bastian
f90508aeed Added null check to download notes. 2024-08-18 09:21:42 -04:00
Christian Bastian
b9975e8d2f Removed opacity and only change element's alpha. 2024-08-18 06:47:47 -04:00
Christian Bastian
83c8cb1149 Fixed background color for model label. 2024-08-18 06:33:14 -04:00
Christian Bastian
a28cfb7907 Updated README. 2024-08-17 04:52:53 -04:00
Christian Bastian
75aaec0d9a Updated README. 2024-08-17 04:48:32 -04:00
Christian Bastian
4eed80f699 Disabled editing notes in download tab when saving notes is disabled. 2024-08-17 04:47:14 -04:00
Christian Bastian
75879a5403 Enabled editing model notes in download tab. 2024-08-17 04:04:49 -04:00
Christian Bastian
70d55e3319 Simplified tag cleaning code. 2024-08-17 03:55:45 -04:00
Christian Bastian
f08963d41d Added automatic disambiguation of tags vs tag lists in model info.
- If there are any tag lists as a single tag, each tag will be separated by a newline instead of a comma.
2024-08-17 03:45:45 -04:00
Christian Bastian
7ef238e8f3 Fixed bug where upload input height too small. 2024-08-16 15:12:02 -04:00
Christian Bastian
cba1ba54b4 Fix external api requests.
- Stopped using ComfyUI's API requests for external web requests.
2024-08-16 15:08:26 -04:00
Christian Bastian
6336f6e572 Removed debug printing.
- Attempted to fix Key Combo bug blocking 'S' key.
2024-08-08 20:42:34 -04:00
Christian Bastian
dc44112a2f Fixed bug where download button did not reset/reenable on failure. 2024-08-02 22:43:12 -04:00
Christian Bastian
c40a9a8f83 Tweak save shortcut. 2024-07-28 08:53:27 -04:00
Christian Bastian
fcb2c426f4 Added Apple keyboard shortcut Meta+s to save notes. 2024-07-28 08:47:19 -04:00
Christian Bastian
ddb0170b4f Fixed touchscreen sidebar drag.
- Forgot to extract touch from event.
2024-07-28 07:30:46 -04:00
Christian Bastian
44d7084aa0 Minor change. 2024-07-28 06:32:52 -04:00
Christian Bastian
cad33b5b42 Fixed bug where model directory dropdown was offscreen.
- Parent element of dropdown needs to be `position: relative` in order to get the correct viewport offset. The fix only manually in three locations. Needs a redesign.
2024-07-28 06:31:38 -04:00
Christian Bastian
0159534c01 Updated README.
- Made the writing flow more naturally and added a few more things.
2024-07-28 04:49:33 -04:00
Christian Bastian
a55bc138e7 Added stricter check before showing drag cursor. 2024-07-28 04:13:14 -04:00
Christian Bastian
d3df4b5ec8 Added border in sidebar mode to help with visibility. 2024-07-28 03:47:12 -04:00
Christian Bastian
525d71a981 Tweaked README node graph info. 2024-07-28 02:46:24 -04:00
Christian Bastian
a064e5e7ee Updated README. 2024-07-28 00:30:55 -04:00
Christian Bastian
544cc4b97a Tweaked image. 2024-07-28 00:29:02 -04:00
Christian Bastian
a557243235 Removed duplicate code. 2024-07-27 22:55:00 -04:00
Christian Bastian
9061224cd1 Fixed Firefox bug where dragging model onto node graph event position was OOB.
- Added separate logic to handle different xy values for Firefox's drag `event.clientX` and `event.clientY`.
- Added memory for maintaining sidebar ratio when window is resized.
- Fixed bugs when resizing sidebar on secondary screen.
2024-07-27 22:53:23 -04:00