blessedcoolant
6fdeeb8ce8
Merge branch 'main' into pr/4352
2023-08-29 12:40:01 +12:00
blessedcoolant
9993e4b02e
fix: lint errors
2023-08-29 12:37:09 +12:00
blessedcoolant
e6b677873a
chore: Regen schema
2023-08-29 12:20:55 +12:00
blessedcoolant
d0c74822eb
resolve: Merge conflicts
2023-08-29 12:08:00 +12:00
blessedcoolant
383d008529
Merge branch 'main' into feat/nodes-phase-5
2023-08-29 12:05:28 +12:00
blessedcoolant
577464091c
fix: SDXL LoRA's not working with seamless
2023-08-29 06:44:18 +12:00
blessedcoolant
aaae471910
fix: SDXL Canvas Inpaint & Outpaint being broken
2023-08-29 05:42:00 +12:00
blessedcoolant
56ed76fd95
fix: useMultiSelect file named incorrectly
2023-08-29 05:19:51 +12:00
blessedcoolant
5133825efb
fix: Incorrect plug in Dynamic Prompt Graph
2023-08-29 05:17:46 +12:00
blessedcoolant
50a266e064
feat: Add Seamless to Inpaint & Outpaint
2023-08-29 05:11:22 +12:00
blessedcoolant
87bb4d8f6e
fix: Seamless not working with SDXL on Canvas
2023-08-29 04:52:41 +12:00
blessedcoolant
fcb60a7a59
chore: Update var names that were not updated
2023-08-29 04:33:22 +12:00
blessedcoolant
b5dac99411
feat: Add Seamless To Canvas Text To Image / Image To Image + SDXL + Refiner
2023-08-29 04:26:11 +12:00
blessedcoolant
a08d22587b
fix: Incorrect node ID's for Seamless plugging
2023-08-29 04:21:11 +12:00
blessedcoolant
0ea67050f1
fix: Seamless not correctly plugged to SDXL Denoise Latents
2023-08-29 04:18:45 +12:00
blessedcoolant
594e547c3b
feat: Add Seamless to T2I / I2I / SDXL T2I / I2I + Refiner
2023-08-29 04:01:04 +12:00
blessedcoolant
3c37245804
Merge branch 'main' into maryhipp/preselected-image
2023-08-29 01:12:09 +12:00
blessedcoolant
e60af40c8d
chore: lint fixes
2023-08-29 01:11:55 +12:00
mickr777
00ca9b027a
Update CurrentImageNode.tsx
2023-08-28 19:15:53 +10:00
mickr777
e81e17ccb6
Merge branch 'main' into nextprevcurrentimagenode
2023-08-28 18:05:33 +10:00
mickr777
38851ae19a
Merge branch 'main' into nextprevcurrentimagenode
2023-08-27 19:50:39 +10:00
blessedcoolant
71c3955530
feat: Add Scale Before Processing To Canvas Txt2Img / Img2Img (w/ SDXL)
2023-08-27 08:26:23 +12:00
blessedcoolant
b18695df6f
fix: Update color of denoise mask socket
...
The previous red look too much like the error color.
2023-08-27 06:16:13 +12:00
blessedcoolant
521da555d6
feat: Update color of Denoise Mask socket
2023-08-27 06:09:02 +12:00
blessedcoolant
c923d094c6
rename: Inpaint Mask to Denoise Mask
2023-08-27 05:50:13 +12:00
blessedcoolant
226721ce51
feat: Setup UnifiedCanvas to work with new InpaintMaskField
2023-08-27 03:50:29 +12:00
blessedcoolant
af3e316cee
chore: Regen schema
2023-08-27 03:12:03 +12:00
blessedcoolant
382a55afd3
fix: merge conflicts
2023-08-27 03:07:42 +12:00
blessedcoolant
e9633a3adb
Merge branch 'main' into fix/inpaint_gen
2023-08-27 02:54:19 +12:00
Lincoln Stein
0bf5fee1b2
correct solution to crash
2023-08-24 23:16:03 -04:00
Lincoln Stein
8114fc7bc2
UI tweak to column select
2023-08-24 23:16:03 -04:00
Mary Hipp
d52a096607
enable preselected image actions
2023-08-24 13:29:53 -04:00
Mary Hipp
44b6adfb9f
cleanup
2023-08-25 00:09:16 +10:00
Mary Hipp
466a819f06
render created_by in UI if its present
2023-08-25 00:09:16 +10:00
psychedelicious
0c5736d9c9
feat(ui): cache image metadata for 24 hours
2023-08-24 22:12:13 +10:00
psychedelicious
7d1942e9f0
feat: workflow saving and loading
2023-08-24 21:42:32 +10:00
mickr777
5d8cd62e44
Update CurrentImageNode.tsx
2023-08-24 19:20:35 +10:00
mickr777
b6dc5c0fee
Run Prettier
2023-08-24 18:45:38 +10:00
mickr777
c1b8e4b501
Add Next/Prev Buttons CurrentImageNode.tsx
2023-08-24 18:31:27 +10:00
psychedelicious
7f6fdf5d39
feat(ui): hide lama infill
2023-08-23 23:05:29 -04:00
psychedelicious
40e6dd8464
feat(ui): use seed + 1 for second inpaint/outpaint pass
2023-08-23 23:05:29 -04:00
psychedelicious
2f11936db0
fix(ui): use seed + 1 for inpaint/outpaint second pass
2023-08-23 23:05:29 -04:00
blessedcoolant
f45ea1145d
fix: LoRA's not working with new canvas refine
2023-08-23 23:05:29 -04:00
blessedcoolant
49892faee4
experimental: LaMa Infill
2023-08-23 23:05:29 -04:00
blessedcoolant
7bb876a79b
feat: Add Refiner Pass to Canvas Inpainting
2023-08-23 23:05:29 -04:00
blessedcoolant
f89be8c685
cleanup: Some minor cleanup
2023-08-23 23:05:29 -04:00
blessedcoolant
7e4009a58e
chore: Rename canvas refine elements to have more apt names
2023-08-23 23:05:29 -04:00
blessedcoolant
5141e82f88
fix: Remove paste back from inpainting too
2023-08-23 23:05:29 -04:00
blessedcoolant
8277bfab5e
feat: Add Refiner Pass to SDXL Outpainting
...
Also fix Scale Before Processing
2023-08-23 23:05:29 -04:00
blessedcoolant
0af8a0e84b
feat: Replace Seam Painting with Refine Pass for Outpainting
2023-08-23 23:05:29 -04:00
blessedcoolant
9bafe4a94f
fix: Paste Back Not Respecting Inpainted Mask
2023-08-23 23:05:29 -04:00
psychedelicious
111322b015
fix(ui): fix staging area shadow
...
It was too strong
2023-08-23 23:06:42 +10:00
psychedelicious
859c155e7f
fix(ui): fix IAICollapse
styling
2023-08-23 23:06:42 +10:00
psychedelicious
955fef35aa
chore(ui): remove cruft related to old canvas scaling method
2023-08-23 23:06:42 +10:00
psychedelicious
6efa953172
fix(ui): fix canvas scaling
2023-08-23 23:06:42 +10:00
psychedelicious
06ac16a77d
feat(ui): style minimap
2023-08-23 23:06:42 +10:00
psychedelicious
05c939d41e
feat(ui): remove canvas beta layout
2023-08-23 23:06:42 +10:00
psychedelicious
cfee02b753
feat(ui): align invoke buttons
2023-08-23 23:06:42 +10:00
blessedcoolant
4f088252db
fix: Restyle the WorkflowPanel
2023-08-23 23:06:42 +10:00
blessedcoolant
ca3e826a14
feat: Make the in progress dark mode colors golden
2023-08-23 23:06:42 +10:00
psychedelicious
0cb886b915
feat(ui): node buttons and shadow
2023-08-23 23:06:42 +10:00
blessedcoolant
2ec8fd3dc7
feat: Make the active processing node light up
2023-08-23 23:06:42 +10:00
psychedelicious
90abd0fe49
fix(ui): position floating buttons
2023-08-23 23:06:42 +10:00
psychedelicious
3651cf7ee2
wip buttons
2023-08-23 23:06:42 +10:00
blessedcoolant
8eca3bbbcd
chore: Remove Pinned Hotkeys from Hotkeys Modal
2023-08-23 23:06:42 +10:00
psychedelicious
73318c2847
feat(ui): remove floating panels, move all to resizable panels
...
There is a console error we can ignore when toggling gallery panel on canvas - this will be resolved in the next release of the resizable library
2023-08-23 23:06:42 +10:00
psychedelicious
6d10e40c9b
feat(ui): add selection mode toggle
2023-08-23 23:06:42 +10:00
blessedcoolant
5cf9b75d77
fix: Remove / as hotkey for add node and add tooltip
2023-08-23 23:06:42 +10:00
blessedcoolant
d4463674cf
fix: Move add node hotkey to the right component
2023-08-23 23:06:42 +10:00
psychedelicious
ce7172d78c
feat(ui): add workflow saving/loading (wip)
...
Adds loading workflows with exhaustive validation via `zod`.
There is a load button but no dedicated save/load UI yet. Also need to add versioning to the workflow format itself.
2023-08-23 23:06:42 +10:00
psychedelicious
38b2dedc1d
feat(ui): use new ui_order
to sort fields; connection-only fields in grid
2023-08-23 23:06:42 +10:00
psychedelicious
cd73085eb9
feat(nodes): add ui_order
node field attribute
...
used by UI to sort fields in workflow editor
2023-08-23 23:06:42 +10:00
psychedelicious
2497aa5cd8
feat(ui): improve node schema parsing and add outputType
to templates
2023-08-23 23:06:42 +10:00
psychedelicious
089ada8cd1
chore(ui): typegen
2023-08-23 23:06:42 +10:00
psychedelicious
35d14fc0f9
fix(ui): simplify typegen script
...
i had this committed earlier but lost it somehow
2023-08-23 23:06:42 +10:00
psychedelicious
b79bca2c14
build(ui): fix up lint scripts (way faster now)
2023-08-23 23:06:42 +10:00
psychedelicious
7b97754271
chore(ui): update all packages
...
- only breaking change was in `openapi-fetch`, easy fix
- also looks like prettier/eslint is a bit more comprehensive? caught a couple extra things
2023-08-23 23:06:42 +10:00
Lincoln Stein
3f7ac556c6
Merge branch 'main' into refactor/rename-performance-options
2023-08-21 22:29:34 -04:00
psychedelicious
4da861e980
chore: clean up .gitignore
2023-08-22 10:02:03 +10:00
blessedcoolant
7b2079cf83
feat: Add hotkey for Add Nodes (Shift+A)
...
Standard with other tools like Blender
2023-08-22 03:31:29 +12:00
psychedelicious
01738deb23
feat(ui): add eslint rules
...
- `curly` requires conditionals to use curly braces
- `react/jsx-curly-brace-presence` requires string props to *not* have curly braces
2023-08-21 19:17:36 +10:00
psychedelicious
fbff22c94b
feat(ui): memoize all components
2023-08-21 19:17:36 +10:00
psychedelicious
5c305b1eeb
feat(ui): add app error boundary
...
Should catch all app crashes
2023-08-21 19:17:36 +10:00
psychedelicious
990b6b5f6a
feat(ui): useful tooltips on invoke button
2023-08-21 19:17:36 +10:00
psychedelicious
2dfcba8654
fix(ui): fix graphs using old field names
2023-08-21 19:17:36 +10:00
psychedelicious
6d111aac90
fix(ui): fix node opacity slider hitbox
2023-08-21 19:17:36 +10:00
psychedelicious
f9fc89b3c5
feat(ui): nodes scheduler type default value -> "euler"
2023-08-21 19:17:36 +10:00
psychedelicious
ab76d54c10
feat(ui): update node schema parsing
...
simplified logic thanks to backend changes
2023-08-21 19:17:36 +10:00
psychedelicious
56245a7406
chore(ui): regen types
2023-08-21 19:17:36 +10:00
psychedelicious
4ac41bc4b1
feat(ui): adding node selects new node exclusively
2023-08-21 19:17:36 +10:00
psychedelicious
4be4fc6731
feat(ui): rework add node select
...
- `space` and `/` open floating add node select
- improved filter logic (partial word matches)
2023-08-21 19:17:36 +10:00
psychedelicious
a9fdc77edd
feat(ui): rename node editor to workflow editor
2023-08-21 19:17:36 +10:00
psychedelicious
385765faec
fix(ui): fix missing tags on template parse
2023-08-21 19:17:36 +10:00
psychedelicious
adb05cde5b
feat(ui): simple partial search for nodes
2023-08-21 19:17:36 +10:00
psychedelicious
211e8203f8
feat(ui): organise nodes files
...
- also remove old `.gitignore` of `inputs/` which wasn't used and was ignoring a frontend folder
2023-08-21 19:17:36 +10:00
psychedelicious
165c57c001
feat(ui): add select all to workflow editor
2023-08-21 19:17:36 +10:00
psychedelicious
2514af79a0
feat(ui): crude node outputs display
...
Resets on invoke. Nothing fancy for the UI yet, just simple text (for numbers and strings) or image. For other output types, the output in JSON.
2023-08-21 19:17:36 +10:00
psychedelicious
f952f8f685
feat(ui): add typegen customisation for invocation outputs
...
The `type` property is required on all of them, but because this is defined in pydantic as a Literal, it is not required in the OpenAPI schema. Easier to fix this by changing the generated types than fiddling around with pydantic.
2023-08-21 19:17:36 +10:00
psychedelicious
519bcb38c1
feat(ui): node delete, copy, paste
2023-08-21 19:17:36 +10:00
psychedelicious
567d46b646
feat(ui): delete key works on workflow editor
2023-08-21 19:17:36 +10:00
psychedelicious
030802295b
feat(ui): reset only specific nodes/cnet that use images
...
Previously if an image was used in nodes and you deleted it, it would reset all of node editor. Same for controlnet.
Now it only resets the specific nodes or controlnets that used that image.
2023-08-21 19:17:36 +10:00
psychedelicious
a495c8c156
feat(ui): misc cleanups
2023-08-21 19:17:36 +10:00
psychedelicious
ae6db67068
feat(ui): add width to mantine selects
2023-08-21 19:17:36 +10:00
psychedelicious
98431b3de4
feat: add Scheduler
as field type
...
- update node schemas
- add `UIType.Scheduler`
- add field type to schema parser, input components
2023-08-21 19:17:36 +10:00
psychedelicious
210a3f9aa7
feat(ui): make mantine single selects *exactly* the same size as chakra ones
2023-08-21 19:17:36 +10:00
psychedelicious
9332ce639c
fix(ui): fix node mouse interactions
...
Add "nodrag", "nowheel" and "nopan" class names in interactable elements, as neeeded. This fixes the mouse interactions and also makes the node draggable from anywhere without needing shift.
Also fixes ctrl/cmd multi-select to support deselecting.
2023-08-21 19:17:36 +10:00
psychedelicious
84cf8bdc08
feat(ui): field context menu, add/remove from linear ui
2023-08-21 19:17:36 +10:00
psychedelicious
64a6aa0293
fix(ui): move BoardContextMenu
to use IAIContextMenu
2023-08-21 19:17:36 +10:00
psychedelicious
5ae14bffba
fix(ui): clear exposedFields when resetting graph
2023-08-21 19:17:36 +10:00
Lincoln Stein
8e6d88e98c
resolve merge conflicts
2023-08-20 15:26:52 -04:00
psychedelicious
3c43594c26
Merge branch 'main' into fix/inpaint_gen
2023-08-18 15:57:48 +10:00
Martin Kristiansen
537ae2f901
Resolving merge conflicts for flake8
2023-08-18 15:52:04 +10:00
psychedelicious
f6db9da06c
chore(ui): rename file to not cause madge to fail
2023-08-18 13:20:29 +10:00
psychedelicious
a17dbd7df6
feat(ui): improve error toast messages
2023-08-18 13:20:29 +10:00
Lincoln Stein
e9a294f733
Merge branch 'main' into fix/inpaint_gen
2023-08-17 16:13:33 -04:00
Lincoln Stein
b69f26c85c
add support for "balanced" attention slice size
2023-08-17 16:11:09 -04:00
Lincoln Stein
23b4e1cea0
Merge branch 'main' into refactor/rename-performance-options
2023-08-17 14:43:00 -04:00
Lincoln Stein
ed38eaa10c
refactor InvokeAIAppConfig
2023-08-17 13:47:26 -04:00
blessedcoolant
b213335316
feat: Add InpaintMask Field type
2023-08-18 04:54:23 +12:00
blessedcoolant
8923201fdf
Merge branch 'main' into seam-painting
2023-08-17 21:21:44 +12:00
mickr777
226409107b
Fix for Image Deletion issue
2023-08-17 17:18:11 +10:00
blessedcoolant
975586bb40
Merge branch 'main' into seam-painting
2023-08-17 01:05:42 +12:00
psychedelicious
a7ba142ad9
feat(ui): set min zoom on nodes to 0.1
2023-08-16 23:04:36 +10:00
psychedelicious
0d36bab6cc
fix(ui): do not rerender top panel buttons
2023-08-16 23:04:36 +10:00
psychedelicious
c2e7f62701
fix(ui): do not rerender edges
2023-08-16 23:04:36 +10:00
psychedelicious
1f194e3688
chore(ui): lint
2023-08-16 23:04:36 +10:00
psychedelicious
f9b8b5cff2
fix(ui): improve node rendering performance
...
Previously the editor was using prop-drilling node data and templates to get values deep into nodes. This ended up causing very noticeable performance degradation. For example, any text entry fields were super laggy.
Refactor the whole thing to use memoized selectors via hooks. The hooks are mostly very narrow, returning only the data needed.
Data objects are never passed down, only node id and field name - sometimes the field kind ('input' or 'output').
The end result is a *much* smoother node editor with very minimal rerenders.
2023-08-16 23:04:36 +10:00
psychedelicious
f7c92e1eff
fix(ui): disable awkward resize animation for <Flow />
2023-08-16 23:04:36 +10:00
psychedelicious
70b8c3dfea
fix(ui): fix context menu on workflow editor
...
There is a tricky mouse event interaction between chakra's `useOutsideClick()` hook (used by chakra `<Menu />`) and reactflow. The hook doesn't work when you click the main reactflow area.
To get around this, I've used a dirty hack, copy-pasting the simple context menu component we use, and extending it slightly to respond to a global `contextMenusClosed` redux action.
2023-08-16 23:04:36 +10:00
psychedelicious
43b30355e4
feat: make primitive node titles consistent
2023-08-16 23:04:36 +10:00
blessedcoolant
9cbaefaa81
feat: Add Seam Painting to SDXL
2023-08-16 19:46:48 +12:00
blessedcoolant
cc7c6e5d41
feat: Add Seam Painting with Scale Before
2023-08-16 19:35:03 +12:00
blessedcoolant
f2ee8a3da8
wip: Basic Seam Painting (only normal models) (no scale)
2023-08-16 17:26:23 +12:00
blessedcoolant
e98d7a52d4
feat: Add Seam Painting Options
2023-08-16 17:25:55 +12:00
psychedelicious
611e241ca7
chore(ui): regen types
2023-08-16 12:07:34 +10:00
psychedelicious
6df4af2c79
chore: lint
2023-08-16 12:07:34 +10:00
psychedelicious
0f8606914e
feat(ui): remove shouldShowDeleteButton
...
- remove this state entirely
- use `state.hotkeys.shift` directly to hide and show the icon on gallery
- also formatting
2023-08-16 12:07:34 +10:00
psychedelicious
5b1099193d
fix(ui): restore reset button in node image component
2023-08-16 12:07:34 +10:00
psychedelicious
230131646f
feat(ui): use imageDTOs
instead of images
in starring queries
2023-08-16 12:07:34 +10:00
psychedelicious
60c2c877d7
fix: add response model for star/unstar routes
...
- also implement pessimistic updates for starring, only changing the images that were successfully updated by backend
- some autoformat changes crept in
2023-08-16 12:07:34 +10:00
psychedelicious
315a056686
feat(ui): show Star All
if selection is a mix of starred and unstarred
2023-08-16 12:07:34 +10:00
Mary Hipp
08dc265e09
add listener to update selection list with change in star status
2023-08-16 12:07:34 +10:00
Mary Hipp
029a95550e
rename pin to star, add multiselect and remove single image update api
2023-08-16 12:07:34 +10:00
Mary Hipp
a512fdc0f6
update IAIDndImage to use children for icons, add UI for shift+delete to delete images from gallery
2023-08-16 12:07:34 +10:00
Mary Hipp
767a612746
(ui) WIP trying to get all cache scenarios working smoothly, fix assets
2023-08-16 12:07:34 +10:00
Mary Hipp
0a71d6baa1
(ui) update cache to render pinned images alongside unpinned correctly, as well as changes in pinnedness
2023-08-16 12:07:34 +10:00
Mary Hipp
37be827e17
(ui) hook up toggle pin mutation with context menu for single image
2023-08-16 12:07:34 +10:00
psychedelicious
2b7dd3e236
feat: add missing primitive collections
...
- add missing primitive collections
- remove `Seed` and `LoRAField` (they don't exist)
2023-08-16 09:54:38 +10:00
psychedelicious
fa884134d9
feat: rename ui_type_hint
to ui_type
...
Just a bit more succinct while not losing any clarity.
2023-08-16 09:54:38 +10:00
blessedcoolant
18006cab9a
chore: Regen frontend types
2023-08-16 09:54:38 +10:00