Commit Graph

161 Commits

Author SHA1 Message Date
patriceac
679b828cf5
Toast notification support (#1228)
* Toast notifications for ED

Adding support for toast notifications for use in Core and user plugins.

* Revert "Toast notifications for ED"

This reverts commit dde51c0cef.

* Toast notifications for ED

Adding support for toast notifications for use in Core and user plugins.
2023-05-02 16:00:16 +05:30
cmdr2
1381be16ad Fix formatting 2023-04-28 17:55:03 +05:30
patriceac
5e45f37232
Fix the tooltip display for long modifiers 2023-04-09 15:33:05 -07:00
JeLuF
3ce6c3dc61 fix font definition for some users
I don't know why it breaks only for a few users, but this patch seems to fix the issue.
https://discord.com/channels/1014774730907209781/1081867905907572746
https://discord.com/channels/1014774730907209781/1093215237307637901/1093223612615491604
2023-04-07 08:46:19 +02:00
patriceac
687da5b64a
Undo UI cleanup (#1106)
* Moving to InvokeAI attention weighting syntax

* Fix restoration of disabled image tags

Fix the restoration inactive image tags.

* Undo feature UX cleanup

Just show the undo button when there's no task for a more consistent UI.

* cleanup code

* Revert "cleanup code"

This reverts commit 03199c5a4f.

* Update image-modifiers.js

* Update image-modifiers.js
2023-04-06 15:42:48 +05:30
lucasmarcelli
4836abb5bd reworked how task config is setup 2023-03-29 13:52:41 -04:00
cmdr2
969eb5632f
Merge pull request #1046 from ogmaresca/fix-empty-space-at-bottom
Fix the empty space at the bottom of the page
2023-03-28 17:16:12 +05:30
cmdr2
72d991afaa
Merge pull request #1041 from JeLuF/undo
Add undo support
2023-03-28 15:52:20 +05:30
Olivia Godone-Maresca
2af1b5c064 Make tab bar scrollable and improve SD status overlaps 2023-03-24 23:54:31 -04:00
Olivia Godone-Maresca
7a4002a17a Remove the empty space at the bottom of the page 2023-03-21 21:39:41 -04:00
JeLuF
0f3a3da5ed Add undo support 2023-03-20 22:53:13 +01:00
JeLuF
bcaa624b9b Prevent collisions of 'What's new' and the server status 2023-03-19 17:42:08 +01:00
cmdr2
b7a7a7d31f Move similar image info buttons into a single row, using the new array API 2023-03-15 19:41:19 +05:30
cmdr2
841811e3bc Full screen button on images; Changelog 2023-03-15 19:25:55 +05:30
cmdr2
0679fb2b20
Merge pull request #1017 from ogmaresca/image-modal
Add image modal functionality
2023-03-15 18:45:17 +05:30
Olivia Godone-Maresca
c8f8f329e3
Allow creating custom HTML elements for image info button plugins (#1007)
* Allow creating custom HTML elements for image info button plugins

* Allow arrays and labels

* Add spacing between buttons on the same row
2023-03-15 18:44:43 +05:30
Olivia Godone-Maresca
ab7d74d2fa Add a image modal function 2023-03-14 21:43:49 -04:00
cmdr2
30eb729973 Tweak preview slider width 2023-03-14 11:41:46 +05:30
cmdr2
0ddcc98a57
Merge pull request #1004 from JeLuF/toosmall
Warn users about small image dimensions
2023-03-14 10:42:13 +05:30
JeLuF
3c2157111b
Download all: Add Metadata download (#923)
* Download all: Add Metadata download

* Harmonise capitalisation

* Add JSzip, download popup

* 'Save all' popup
- add ZIP download with JSON and folder support
- Popup to prevent accidental trigger of an image download
- Use FileSaver polyfill for better browser support

* remove debug output

* Make DownloadImages a tertiary button
2023-03-14 10:40:24 +05:30
cmdr2
05316ae25b
Merge pull request #965 from patriceac/patch-49
Fix the display of the preview scale slider
2023-03-14 10:36:45 +05:30
cmdr2
995bdc77b8
Merge pull request #938 from patriceac/patch-46
Make the image editor scrollable as needed
2023-03-14 10:35:59 +05:30
JeLuF
03256f6bba Warn users about small image dimensions
Show a warning if the user chooses width & height < 512px
2023-03-12 20:43:54 +01:00
cmdr2
bb0f7cd1cd Load mask from file 2023-03-11 12:37:51 +05:30
cmdr2
7826870d99 Logo change 2023-03-11 09:27:04 +05:30
patriceac
7c0ec9faaf
Fix the display of the preview scale slider
As per https://discord.com/channels/1014774730907209781/1014780368890630164/1080772220760109066.
2023-03-05 19:19:02 -08:00
cmdr2
f78b31b1bc Less jittery dropdown 2023-03-01 18:41:21 +05:30
cmdr2
f2a960136e Move zoom and 'scroll to generated image' into a flat icon strip, with a press-toggle button for the 'scroll to' button; Tweaked the behavior of the on-scroll dropdown CSS class 2023-03-01 18:27:48 +05:30
cmdr2
24cce08580 Show the image dimensions on mouse over 2023-03-01 15:17:27 +05:30
cmdr2
353fe88226 Set tertiary colors on buttons that don't need to be visible in a very dominant manner 2023-02-28 15:37:38 +05:30
patriceac
05cafce1e8
Make the image editor scrollable as needed
Some users on 4K screens zoom in their browser display, but this causes the editor buttons on the top right to be out of view, and since the editor is not scrollable, they have to zoom out to be able to hit 'save'.

This change fixes that by making the image editor window vertically scrollable if it gets too large. No UI change on smaller screens (e.g. phones).
2023-02-25 13:02:09 -08:00
cmdr2
de1d1ad961 Shrink the preview tools buttons to icons-only on a small screen 2023-02-24 21:50:21 +05:30
cmdr2
bd82480fa3 Keep the min-width of a dropdown equal to the width of the input element 2023-02-24 20:08:19 +05:30
cmdr2
fce8b96d3b Tweaks to the styling of the models dropdown 2023-02-24 19:29:25 +05:30
cmdr2
45a2c9f7ef Show icons next to the model folder and files in the dropdown, styling tweaks to increase padding 2023-02-23 22:11:53 +05:30
JeLuF
1023f5f7cc
Slider for preview image size (#767)
* Slider for preview image size
Add a slider to the system settings so that users can configure the max size of thumbnails

* Remove debug output

* Fix var definition

* Move slider to 'display settings' menu

* thumbnail slider CSS
2023-02-22 19:32:00 +05:30
patriceac
09deaefab0
Fix the active selection's display
Yesterday's PR caused a regression on the active brush display, specifically for Sharpness, which is treated differently from the other brushes in the code. This is the fix.
2023-02-20 18:25:57 -08:00
patriceac
282c4cca82
Add support for disabled state to model dropdown (#886)
* Add support for disabled state to model dropdown

As per https://discord.com/channels/1014774730907209781/1021695193499582494/1075068193753804831

The only limitation is that we cannot visually gray out the chevron itself because the corresponding font-awesome icon is a Pro icon (https://fontawesome.com/icons/angle-down?s=duotone&f=classic).

* Gray out the chevron when the control is disabled

* Remove empty line

* Disable the transition on the chevron

Apply effect immediately when the dropdown is enabled/disabled.
2023-02-16 19:29:08 +05:30
AssassinJN
9f5f213cd3
Fix for dropdown widths (#883)
* Fix dropdown location

* change width
2023-02-16 10:35:46 +05:30
JeLuF
9d1dd09a07
'Download all images' button (#765)
* Use standard DOM function

* Add 'download all images' button

---------

Co-authored-by: cmdr2 <secondary.cmdr2@gmail.com>
2023-02-14 19:33:25 +05:30
AssassinJN
5922fd39c5
Fix for searchable model width 2023-02-13 09:31:53 -05:00
patriceac
a801a5d8b6
Searchable models (#786)
* Searchable models

Creates searchable dropdowns for SD, VAE, or HN models. Also adds a reload models button (placed next to SD models, reloads everything including VAE and HN models).

* Fixing the editor pane display

* Revert "Fixing the editor pane display"

This reverts commit de902a6340.

* Move formatting to the CSS file

* Rewritten the siblings functions

I like these much better, and I imagine you will too. :)

* Code cleanup

* Minor tweak in list ordering

Minor tweak to move the root folder's content at the end of the list (similar to the current version).
2023-02-12 14:48:09 +05:30
patriceac
ccf71ed445
Fix the inpainter and image editor display 2023-02-11 21:57:56 -08:00
AssassinJN
f2f3ed71d4
Hide Image buttons hides task (#854)
* hide task when all images are hidden

* Update main.css

* remove console logs

* remove another console log

* Update main.js

* Update main.js
2023-02-10 22:58:07 +05:30
cmdr2
573154633b
Merge pull request #793 from patriceac/patch-20
Fix the tooltip display over image modifier cards
2023-02-10 17:18:46 +05:30
cmdr2
0cbb553564 Follow the theme in the popup dialog box 2023-02-06 15:32:54 +05:30
cmdr2
f4512bb291 Color of close button 2023-02-06 15:19:10 +05:30
cmdr2
99205b4d03 Show an X over an image, instead of a remove button in image options 2023-02-06 15:14:47 +05:30
cmdr2
0b3a35c4b6 Make the tabs container a class, to make it reusable for other tab groups 2023-02-06 13:48:18 +05:30
patriceac
dd4937178f
Fix the tooltip display over image modifier cards 2023-01-24 01:37:37 -08:00