Commit Graph

85 Commits

Author SHA1 Message Date
Hayden
9ff6f9d7a3 Revert "File download scans and urls" 2024-09-24 11:28:50 +08:00
Christian Bastian
982104cf72 Merge branch 'main' of https://github.com/hayden-fr/ComfyUI-Model-Manager 2024-09-23 23:15:32 -04:00
Christian Bastian
cb99f3fb62 Merge branch 'main' of https://github.com/hayden-fr/ComfyUI-Model-Manager 2024-09-23 14:55:57 -04:00
EtSL33py
6fa3b357c3 Added 'Show buttons on hover only' setting for preview buttons 2024-09-23 20:19:38 +03:00
EtSL33py
b0913a73e4 Added preview size sliders to settings 2024-09-23 15:42:33 +03:00
Christian Bastian
c35cb757fa Set model previews from model info view. 2024-09-23 00:59:48 -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
442d7b10e7 Merge remote-tracking branch 'master/main' 2024-09-20 15:36:49 -04:00
EtSL33py
ab5532c8e6 upd 2024-09-19 11:47:34 +03: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
korutech-ai
3af7dd8a4f UPDATE: Improved default textarea size in notes tab. 2024-08-26 17:00:14 +12: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
7ef238e8f3 Fixed bug where upload input height too small. 2024-08-16 15:12:02 -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
d3df4b5ec8 Added border in sidebar mode to help with visibility. 2024-07-28 03:47:12 -04:00
Christian Bastian
22e5afd104 Updated screenshots.
- Fixed bug where sidebar settings values were inverted two out of four of the buttons.
- Fixed sidebar bug where making the window smaller caused sidebar to exceed page size.
- Remove debugs.
- Decreased rows of download notes.
- Increased step side for sidebar size settings.
- Simplified and made behavior more robust for sidebar size clamping.
2024-07-27 05:02:12 -04:00
Christian Bastian
c197c7f060 Fixed scrollbar padding.
- Removed dead code.
2024-07-27 03:09:15 -04:00
Christian Bastian
76d6eb587c Added ability to resize model manager when in sidebar by dragging on edges.
- Sidebar vertical and horizontal initial sizes on start up can be changed in settings.
2024-07-27 02:32:08 -04:00
Christian Bastian
9c1ac43870 Added tab scroll position memory.
- Second attempt. Made tab content scroll instead of tab contents container.
2024-07-26 22:16:39 -04:00
Christian Bastian
fee4efc970 Reverted model search dropdown behavior to not add highlighted value.
- Added clear search button.
- Hide search button if dynamic search is active.
- Fixed bug where dynamic search was not dynamically updating when selecting from model dropdown.
- Tweaked CSS padding.
- On touch devices, make model dropdown short, just in case a keyboard is blocking the dropdown options.
2024-07-24 22:00:16 -04:00
Christian Bastian
2d913267fd Disable double-tap zoom on model manager.
- Easy to accidentally do when tabs are collapsed. Can still pinch to zoom in and out, and double tap to zoom back out.
2024-07-24 17:04:33 -04:00
Christian Bastian
8ae773f513 Remove flex-wrap 2024-07-24 16:54:47 -04:00
Christian Bastian
d17cb5d93a Added button in settings to correct preview image extensions.
- Civitai in the past and present sends incorrect image extension information. (content type? content disposition?)
2024-07-24 16:43:11 -04:00
Christian Bastian
89d8e0ee7f Disabled pointer interactions with active tab button. 2024-07-24 15:02:25 -04:00
Christian Bastian
de3e2a9693 Added approximate file size to download button when available. 2024-07-24 14:53:15 -04:00
Christian Bastian
bf88397603 Replaced tab buttons with ComfyButton. 2024-07-23 23:51:48 -04:00
Christian Bastian
85a8f5f427 Replaced most $el buttons with ComfyButtons. 2024-07-23 22:39:02 -04:00
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
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
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
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
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
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
4966348d55 Model info preview resolution matches actual ratio. 2024-07-19 02:48:08 -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
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
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
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