Commit Graph

232 Commits

Author SHA1 Message Date
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
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
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
korutech-ai
6a3eed6157 BUGFIX: Modified layout of tags tab so elements don't overlap. 2024-08-28 11:52:04 +12:00
korutech-ai
3943034a18 UPDATE: Added a notes editing toggle button to improve notes tab layout. 2024-08-28 11:18:53 +12:00
korutech-ai
1a52cf50d5 LINTING:
- Added eslint.
- Cleaned up lexical declarations in case clauses.
2024-08-28 10:13:11 +12:00
korutech-ai
1bedfaa7a2 LINT: No code change, just whitespace cleanup. 2024-08-28 08:14:39 +12:00
korutech-ai
d07d013b30 UPDATE: HTML/MD improvements.
- pulled ESM modules for local loading.
- added downshow module for better HTML to MD conversion.
2024-08-28 07:44:59 +12:00
korutech-ai
3af7dd8a4f UPDATE: Improved default textarea size in notes tab. 2024-08-26 17:00:14 +12:00
Davo KiwiCloudNinja
32bb6f1f04 FEATURE: Adds HTML markdown preview below notes editor. 2024-08-26 16:15:49 +12: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
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