Commit Graph

392 Commits

Author SHA1 Message Date
Christian Bastian
1bfcbc44df Revert "Keep uploaded preview image on cancel file select."
This reverts commit c4278cb8e1.
2024-04-19 18:02:00 -04:00
Christian Bastian
c4278cb8e1 Keep uploaded preview image on cancel file select. 2024-04-19 17:55:03 -04:00
Christian Bastian
f21c7f2477 Merge branch 'main' of https://github.com/cdb-boop/ComfyUI-Model-Manager 2024-04-18 14:58:41 -04:00
Christian Bastian
6d948c217e Adjusted type hints to support python 3.9.18 2024-04-18 14:58:39 -04:00
Hayden
9f83ac6e48 Merge pull request #6 from cdb-boop/main
General improvements.
2024-04-18 10:35:30 +08:00
Christian Bastian
04f44927d7 Added model size sort. 2024-04-14 00:40:14 -04:00
Christian Bastian
f0e7b11b6d Updated demo image. 2024-04-08 02:06:24 -04:00
Christian Bastian
38bfcdf66a Delete note on save when empty print message. 2024-04-07 16:28:24 -04:00
Christian Bastian
e518119777 Updated README. 2024-04-07 13:01:55 -04:00
Christian Bastian
a239ccca2a Fixed loading: "lazy" not working on Safari and Firefox.
- `loading: "lazy"` must go before `src`, or else it gets ignored.
2024-04-07 12:22:59 -04:00
Christian Bastian
8016f2a8d3 Simplified search placeholders. 2024-04-06 20:36:48 -04:00
Christian Bastian
c8ce316d59 Adjusted CSS for model manager element.
- May have fixed blurriness issue with certain dimensions.
2024-04-06 18:57:59 -04:00
Christian Bastian
7fd9a2c215 Fix h1 width again.
- Restore `min-width: 0`.
2024-04-06 16:37:16 -04:00
Christian Bastian
63e595a45c Fix h1 text overflow. 2024-04-06 16:23:40 -04:00
Christian Bastian
a9e36c02ab Increase font size of download instructions.
- Partly fixed invisible scroll on small screens in CSS.
2024-04-06 15:39:33 -04:00
Christian Bastian
e3226bb182 Improved blur for search inputs.
- Blur model download url search on enter.
- Blur custom preview search and enter, and update preview image on enter.
2024-04-06 15:26:14 -04:00
Christian Bastian
a296f8e08f Fixed top bar regressions.
- Restored top bar bottom line.
- Fixed sidebar button active color regression.
- Adjusted tabs height to match buttons.
2024-04-06 15:00:22 -04:00
Christian Bastian
61ac661d54 Fix formatting change for narrow screens that did not work.
- Removed part of CSS change introduced in d4a339802f.
2024-04-06 14:32:06 -04:00
Christian Bastian
1f5c17e2fa Clicking/tapping on leaf directory/file in dropdown hides dropdown if no change. 2024-04-06 03:13:09 -04:00
Christian Bastian
b502b4b1a8 Updated "no-preview".
- Using "Open Sans Condensed Bold" (Didn't want to pay for "Letter Gothic Bold" type.
2024-04-06 00:34:06 -04:00
Christian Bastian
d4a339802f Added helpful browser window alerts on expected server model failures.
- UI displays alerts sent by server on expected failures.
- Adjusted top bar CSS layout slightly.
- Fixed invalid filename turning into empty string but bypassing empty string check.
- Server prints download url too.
2024-04-05 20:36:41 -04:00
Christian Bastian
fc5eccb0f8 Adjusted sidebar button wrapping.
- Added issues/bugs GitHub link to Settings Tab.
2024-04-05 01:36:01 -04:00
Christian Bastian
c7148b988e Fixed save bug when model info view is not visible. 2024-04-05 01:03:52 -04:00
Christian Bastian
c0375e4f4c Top bar reworked.
- Now should work properly even on narrow (mobile) screens.
- Separated close Model Info View and Close Model Manager buttons.
2024-04-05 00:26:13 -04:00
Christian Bastian
2e0b99a2a4 Refactor tab elements.
- Laying groundwork for overhaul of topbar.
2024-04-04 17:25:32 -04:00
Christian Bastian
45ffdca6a5 Reset scroll after search. 2024-04-04 01:12:26 -04:00
Christian Bastian
7e13e36675 Revert "Reset scroll after search."
This reverts commit f5b886621c.
2024-04-04 01:11:47 -04:00
Christian Bastian
f5b886621c Reset scroll after search. 2024-04-04 01:07:05 -04:00
Christian Bastian
d32a732e07 Hide "Copy Model Button" if navigator.clipboard is not available for embeddings. 2024-04-04 00:26:43 -04:00
Christian Bastian
1b5713ab2d Added filename to right-click open preview. 2024-04-03 23:53:56 -04:00
Christian Bastian
9484344467 Highlight active sidebar button. 2024-04-03 22:52:38 -04:00
Christian Bastian
e2eb3dcb08 Disable model label drag so text can be scrolled. 2024-04-03 22:31:00 -04:00
Christian Bastian
7c0ea8718d Updated narrow tab text to be more consistent. 2024-04-03 17:17:21 -04:00
Christian Bastian
b4d762b920 Tabs dynamically adjust to width.
- Slightly adjusted textarea layouts.
2024-04-03 17:03:33 -04:00
Christian Bastian
b5ab17c12e Update Download Tab demo image. 2024-04-03 16:08:18 -04:00
Christian Bastian
2e0d9c5a01 Improved style of Download Tab.
- Slightly adjusted preview select radio button spacing.
- Adding missing async/await to in download tab code.
2024-04-03 15:57:30 -04:00
Christian Bastian
06d88df548 Updated README. 2024-04-02 23:23:46 -04:00
Christian Bastian
3b896c8c17 Add Setting to optionally download descriptions as Notes.
- Added more server print statements for saving/moving/deleting files.
- Added slight gap between download inputs.
2024-04-02 23:16:45 -04:00
Christian Bastian
549554fc64 Dragging models onto node inputs now works when unambiguous. 2024-04-02 03:14:13 -04:00
Christian Bastian
748e9ab3e6 Added Save/Discard warning for model notes. 2024-04-01 20:45:25 -04:00
Christian Bastian
f015767085 Preview image improvements.
- Model Tab grid receives smaller previews from server.
- Attempted to make PIL image `info` serializable for previews.
- Get full size previews from Civitai.
  - Note, the Civitai server may return nothing for the image id. (External bug?)
- Support downloading previews from https://civitai.com/images/
- Lazy Loading in Model Tab.
2024-04-01 00:12:09 -04:00
Christian Bastian
a15ec0006e Fixed bug where Enter read from hidden dropdown. 2024-03-31 05:00:49 -04:00
Christian Bastian
4051444c11 Revert enter to select and submit. 2024-03-31 04:52:10 -04:00
Christian Bastian
ffd003bda4 Dropdown enter is for searching, arrows and mouse are for navigating. 2024-03-31 04:41:02 -04:00
Christian Bastian
683012a2e2 Improved Directory Dropdowns.
- Each `DirectoryDropdown` now remembers the longest/most-recent path (navigating with keys).
- Separated mouse and keyboard directory dropdown selection.
- Clicking, scrolling and tapping no longer dismiss directory dropdowns.
- Added a small border on the left on the keyboard-highlighted dropdown selection.
- Fixed bug with dropdown scrolling with Model Info View.
- Encapsulated model directories formally in new `ModelDirectories` data structure.
- Moved download button in the Download Tab.
2024-03-31 03:02:01 -04:00
Christian Bastian
bfcfb509ce File directory default value in Model Info "Move" input. 2024-03-30 12:55:23 -04:00
Christian Bastian
2eba51c668 Remove model type selection in Download Tab.
- Refactored Directory Dropdown update.
2024-03-30 01:58:02 -04:00
Christian Bastian
581d8f4a26 Set default Move value to separator. 2024-03-28 23:53:59 -04:00
Christian Bastian
df6895eb46 Update comment. 2024-03-28 23:51:23 -04:00
Christian Bastian
9a1694ad0b TODO comment. 2024-03-28 23:46:24 -04:00