Commit Graph

175 Commits

Author SHA1 Message Date
Christian Bastian
debb0dd07b Added random tag generator
- Similar to A1111, but with sampler settings and only shuffles comma separated tags rather than each word. Not really needed, but makes the "Tag" tab less empty. Maybe doing something closer to A1111 would be better since it appears to generate the tags with variables counts.
- Disabled (second attempt) label text activating input element. `label > *` is problematic.
2024-07-23 01:45:12 -04:00
Christian Bastian
7dd91f0aef Renamed html class. 2024-07-22 16:42:24 -04:00
Christian Bastian
6b20b36e32 Real-time model search in browse view.
- Activated by default..
- Enabled or disabled in settings.
2024-07-22 16:39:42 -04:00
Christian Bastian
94c7fa5b78 Fix error on sidebar button group initialization callback. 2024-07-22 16:13:13 -04:00
Christian Bastian
beeac6abb5 Updated README to show features off better. 2024-07-22 01:15:52 -04:00
Christian Bastian
a9371a7030 Setting added to force compact sidebar control.
- Note: It currently requires a window resize or page refresh for the change in setting to take effect.
2024-07-21 22:51:18 -04:00
Christian Bastian
b7046ff631 Hide arrows for narrow sidebar select dropdown to maximize topbar space. 2024-07-21 22:36:53 -04:00
Christian Bastian
35250a99a3 Dynamic sidebar controls. When the screen is too narrow, it automatically swaps to a select dropdown instead of toggleable, single selection buttons. 2024-07-21 22:07:29 -04:00
Christian Bastian
a348dbafbb Use unicode arrow with wider support. 2024-07-21 17:24:16 -04:00
Christian Bastian
7e5e00ebb6 Added "Load Workflow" button to model thumbnails in model browse view. 2024-07-21 17:11:00 -04:00
Christian Bastian
33df61b0e2 Added "Load Workflow" button to model info view. 2024-07-21 16:17:39 -04:00
Christian Bastian
7828ab1a66 Added download notes checkbox to download tab for better clarity.
- Disabled label element pointer events globally.
- Added missing documented object members to SettingsView.elements.
2024-07-21 14:59:18 -04:00
Christian Bastian
55ddaa19bd Simplify preview thumbnail options. 2024-07-21 02:53:07 -04:00
Christian Bastian
72c2c80230 Add comment to preview thumbnail type setting code. 2024-07-21 02:47:42 -04:00
Christian Bastian
364cb27a99 Setting to swap right and left model preview thumbnail buttons. 2024-07-21 02:42:10 -04:00
Christian Bastian
7f798cf738 Refactor tab group code.
- Simplified logic and fixed incorrect JSDoc types.
2024-07-21 02:07:45 -04:00
Christian Bastian
5513fd9890 Notes textarea automatically fills space.
- Adjust spacing of model info tab content headers.
2024-07-21 01:37:19 -04:00
Christian Bastian
045dc0a8a7 Tweaked settings.
- Label text before selection/number.
- Link text now easier to read.
- Fixed bug where pointer clicked on settings label would trigger child (e.g. clicking label would toggle checkbox), which was easy to change by accident on touchscreen.
2024-07-20 22:13:14 -04:00
Christian Bastian
1a1e6d8ca7 Remove debug print. 2024-07-20 21:44:13 -04:00
Christian Bastian
94b6081e22 Added user setting to select preview image thumbnail type ("JPEG", "WEBP" or "JPEG/WEBP").
- Default is "JPEG/WEBP", which will fall back to "JPEG" if preview image is neither type (e.g. "PNG").
2024-07-20 21:43:56 -04:00
Christian Bastian
534f93e242 Removed preview quality from url query. 2024-07-20 20:46:27 -04:00
Christian Bastian
570a9b26ea Restore larger max preview height in model info. 2024-07-20 00:17:55 -04:00
Christian Bastian
6c08255555 Update CSS and JavaScript to match preview ratio (3/2).
- Changed thumbnail resampling method to `BOX` when downscaling preview.
2024-07-19 23:56:49 -04:00
Christian Bastian
823903a38f Fix image filename to match actual image type. 2024-07-19 23:17:16 -04:00
Christian Bastian
2cdb62a587 Minor tweaks.
- Set value to thumbnail quality in javascript.
- Fixed button style color bug.
2024-07-19 18:10:31 -04:00
Christian Bastian
73f10c7da1 Model grid thumbnail are now jpeg by default.
- TODO: Automatically detect "PNG" files and request jpeg for thumbnails.
2024-07-19 17:29:05 -04:00
Christian Bastian
7be410dabc Attempt to extract bucket_info from ss_datasets. 2024-07-19 03:29:32 -04:00
Christian Bastian
4966348d55 Model info preview resolution matches actual ratio. 2024-07-19 02:48:08 -04:00
Christian Bastian
6b1dd07104 i emoji 2024-07-19 01:47:52 -04:00
Christian Bastian
4e37259168 Reorganized model info into tabs.
- Changed save button to floppy disk emoji.
- Fixed search bug where scroll was not resetting to the top.
2024-07-19 01:45:19 -04:00
Christian Bastian
1d83d52bc1 Crop image before Image.thumbnail 2024-07-06 18:25:11 -04:00
Hayden
0c5ffdf263 Merge pull request #8 from cdb-boop/main
Fix issue #7 (union type hints for python 3.9.18)
2024-04-21 15:42:28 +08:00
Christian Bastian
31f0500420 Added automatic reloading of node models in graph on model update (download, move and delete). 2024-04-20 20:51:16 -04:00
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