Commit Graph

205 Commits

Author SHA1 Message Date
Christian Bastian
df6ea48427 Ctrl+S to save note when textarea is focused.
- Added missing autosave notes checkbox in settings.
2024-07-26 00:17:27 -04:00
Christian Bastian
cd13e38260 Minor change to settings. 2024-07-25 17:16:59 -04:00
Christian Bastian
0f85220876 Rearranged settings and clarified labels. 2024-07-25 17:12:04 -04:00
Christian Bastian
c9c258ca63 Simplify wording 2024-07-25 16:43:41 -04:00
Christian Bastian
d308e68900 Updated auto-generated note headings to closer match. 2024-07-25 16:40:28 -04:00
Christian Bastian
cdc106e768 More text replacement. 2024-07-25 08:47:32 -04:00
Christian Bastian
4bedbbd74f Remove fallback undefined to string. 2024-07-25 08:31:47 -04:00
Christian Bastian
ca7f7246b6 Improved note parsing 2024-07-25 08:10:13 -04:00
Christian Bastian
f67cac9887 Add optional autosave notes.
- By default it is disabled because once the model info is closed, the changes are gone.
2024-07-25 05:29:26 -04:00
Christian Bastian
6e43b2fb4c Added default model type on initial load in settings. 2024-07-25 04:13:02 -04:00
Christian Bastian
d1c5bae3f8 Fixed bug with initialization visibility of model search button. 2024-07-24 22:14:48 -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
3ca0f500b2 Avoid overwriting preexisting preview images unless user selected "overwrite".
- Fixed invalid exceptions.
2024-07-24 15:53:55 -04:00
Christian Bastian
4f5ba8deec Detect and fix incorrect image extensions when downloading or setting new preview. 2024-07-24 15:28:59 -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
364fe7f6e2 Fixed index bug. 2024-07-24 02:37:09 -04:00
Christian Bastian
5d7ffb0cf3 Fixed bug with object key-value. 2024-07-24 02:36:35 -04:00
Christian Bastian
7e60dbe827 Load workflow with image name.
- Fixed bug using the reserved word `type`.
2024-07-24 02:33:35 -04:00
Christian Bastian
752aac74f7 Fixed download/save ComfyButton bugs with reenable and icon revert. 2024-07-24 02:14:19 -04:00
Christian Bastian
f4b738a2d7 Tweaked icons some more. 2024-07-24 00:40:07 -04:00
Christian Bastian
a5747a5e88 Tweaked a few icons to fit UI better. 2024-07-24 00:04:05 -04:00
Christian Bastian
bf88397603 Replaced tab buttons with ComfyButton. 2024-07-23 23:51:48 -04:00
Christian Bastian
5cc5a8da87 Move [Beta] menu button from actionsGroup to settingsGroup (to match pythongosssss custom nodes Image Feed button). 2024-07-23 22:51:55 -04:00
Christian Bastian
85a8f5f427 Replaced most $el buttons with ComfyButtons. 2024-07-23 22:39:02 -04:00
Christian Bastian
eade5b27d8 Add model manager button to [Beta] menu. 2024-07-23 16:26:28 -04:00
Christian Bastian
3cb8d1b5bd Fixed sidebar buttons/select to update automatically on setting change. 2024-07-23 15:43:10 -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
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