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
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
9484344467
Highlight active sidebar button.
2024-04-03 22:52:38 -04:00
Christian Bastian
b4d762b920
Tabs dynamically adjust to width.
...
- Slightly adjusted textarea layouts.
2024-04-03 17:03:33 -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
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
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
bf0ffd0bdb
Fix file input overflowing on moblie.
2024-02-28 14:39:26 -05:00
Christian Bastian
76aac01afd
Refactor CSS.
2024-02-27 03:53:07 -05:00
Christian Bastian
a4dd2f570b
Rename model in Model View added.
...
- Generalized model/move to also support renaming.
2024-02-25 23:02:02 -05:00
Christian Bastian
b7747a163a
Layout and button changes
...
- In Model View, moved "Set as Preview" button below radio buttons and disabled when Default selected.
- General CSS layout improvements.
2024-02-22 15:53:58 -05:00
Christian Bastian
d951a508ed
Model Previews can now be set in Model View.
...
- Abstracted out Radio Buttons for Preview selection (mostly clean).
- Added REST API for preview/set and preview/delete.
- Added dateModified to query string so the browser can detect out of date preview images.
- Added image path and dateModified to Model Info payload.
2024-02-22 05:11:38 -05:00
Christian Bastian
a72fe681b5
Edit and save notes with model file in model info view.
...
- If notes are all whitespace, the .txt file is deleted.
2024-02-20 00:56:58 -05:00
Christian Bastian
b3f00dd60f
Option to overwrite downloads.
...
- Added overwrite to GUI.
- Factored out wrapper for creation $checkbox.
2024-02-19 23:38:34 -05:00
Christian Bastian
7b98d810ba
Move model in Model Info view.
...
- Added server REST API endpoint for moving a model and associated resources.
2024-02-19 19:15:16 -05:00
Christian Bastian
acc15298bc
Added "View Model Info" and "Delete Model" functionality.
...
NOTE: Some small (but important) changes under the hood that may have broken things. "Quality control" tests were done, but may be have missed things.
- View model info in Model Tab.
- Delete model in Model Info view. (Uses Co
- Reduced model path (search path) in models request and added system separator request.
- Reworked "system path" "search path", "system separator" and "search separator" (a bit messy, maybe needs another rework).
- Updated REST uri structure to be more consistent.
2024-02-17 13:30:58 -05:00
Christian Bastian
04622b460d
HuggingFace download image support.
...
- Images now appear with HuggingFace links.
- Download inputs fill full width.
- Disabled (annoying) directory auto-suggest dropdown auto-selecting on arrow right or left.
2024-02-13 11:30:39 -05:00
Christian Bastian
d4de1da26e
Revert width and update README.
2024-02-13 01:22:49 -05:00
Christian Bastian
1fcda7bc17
Removed SourceList for old Install tab and fix for narrow screens.
2024-02-13 01:06:17 -05:00
Christian Bastian
d6b197d9c7
Remade download tab.
2024-02-13 00:48:09 -05:00
Christian Bastian
f8624698c4
Server download enhancements & debugging.
2024-02-12 21:06:53 -05:00
Christian Bastian
c94a85c3fa
WIP: Download tab rewrite
...
- Slight improvements to directory auto-suggest dropdown
- Slight refactoring (code needs to be split into files)
2024-02-12 13:59:02 -05:00
Christian Bastian
ec62b22a63
Narrow width fix CSS selection + row.
2024-02-07 18:31:36 -05:00
Christian Bastian
4d3be1844b
Model tab sort dropdown
2024-02-07 17:00:07 -05:00