Commit Graph

294 Commits

Author SHA1 Message Date
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
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
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
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
ab7c62e929 DEVCONFIG: Adding macOS ignore settings. 2024-08-28 07:48:30 +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
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