psychedelicious
f345fde512
fix(ui): use utils to get default float generator values
2025-01-17 12:48:58 +11:00
psychedelicious
4400bc69f2
feat(ui): don't show generator preview for random generators
2025-01-17 12:48:58 +11:00
psychedelicious
10f2c0dc9a
feat(ui): support generator nodes (wip)
...
- Add `batch` property to field type object to differentiate between executable nodes and batch/generator nodes.
- Support for float generators
2025-01-17 12:48:58 +11:00
psychedelicious
2bbcd42036
chore(ui): knip
2025-01-17 12:34:54 +11:00
psychedelicious
d2dd5ee408
fix(ui): unclosed JSX tag
2025-01-17 12:34:54 +11:00
psychedelicious
90c4c10e14
feat(ui): show batch group in node title
2025-01-17 12:34:54 +11:00
psychedelicious
3df3be6c34
tweak(ui): enum field selects have size="sm"
2025-01-17 12:34:54 +11:00
psychedelicious
f9cee42a06
tweak(ui): node editor layout padding
2025-01-17 12:34:54 +11:00
psychedelicious
9265716b07
chore(ui): lint
2025-01-17 12:19:04 +11:00
psychedelicious
9dcbe3cc8f
tweak(ui): number collection styling
2025-01-17 12:19:04 +11:00
psychedelicious
30165f66c3
feat(ui): string collection batch items are input not textarea
2025-01-17 12:19:04 +11:00
psychedelicious
deb70edc75
fix(ui): translation key
2025-01-17 12:19:04 +11:00
psychedelicious
d82d990b23
feat(ui): add number range generators
2025-01-17 12:19:04 +11:00
psychedelicious
2c64b60d32
Revert "feat(ui): rough out number generators for number collection fields"
...
This reverts commit 41cc6f1f96bca2a51727f21bd727ca48eab669bc.
2025-01-17 12:19:04 +11:00
psychedelicious
4e8c6d931d
Revert "feat(ui): number collection generator supports floats"
...
This reverts commit 9da3339b513de9575ffbf6ce880b3097217b199d.
2025-01-17 12:19:04 +11:00
psychedelicious
9049e6e0f3
Revert "feat(ui): more batch generator stuff"
...
This reverts commit 111a29c7b4fc6b5062a0a37ce704a6508ff58dd8.
2025-01-17 12:19:04 +11:00
psychedelicious
3cb5f8536b
feat(ui): more batch generator stuff
2025-01-17 12:19:04 +11:00
psychedelicious
d63ff560d6
feat(ui): number collection generator supports floats
2025-01-17 12:19:04 +11:00
psychedelicious
acceac8304
fix(ui): do not set number collection field to undefined when removing last item
2025-01-17 12:19:04 +11:00
psychedelicious
584601d03f
perf(ui): memoize selector in workflows
2025-01-17 12:19:04 +11:00
psychedelicious
b1c4ec0888
feat(ui): rough out number generators for number collection fields
2025-01-17 12:19:04 +11:00
psychedelicious
bfe6d98cba
feat(ui): support float batches
2025-01-17 12:19:04 +11:00
psychedelicious
b212332b3e
feat(ui): support integer batches
2025-01-17 12:19:04 +11:00
psychedelicious
b52b271dc4
feat(ui): support string batches
2025-01-17 12:19:04 +11:00
psychedelicious
e077fe8046
refactor(ui): streamline image field collection input logic, support multiple images w/ same name in collection
2025-01-17 12:19:04 +11:00
psychedelicious
368957b208
tweak(ui): image field collection input component styling
2025-01-17 12:19:04 +11:00
Brandon Rising
246b59f148
Run pnpm fix, regenerate schema
2024-12-17 07:28:45 -05:00
Brandon Rising
046d19446c
Rename Structural Lora to Control Lora
2024-12-17 07:28:45 -05:00
Brandon Rising
f3b253987f
Initial setup for flux tools control loras
2024-12-17 07:28:45 -05:00
psychedelicious
c70f4404c4
fix(ui): special node icon tooltip
2024-11-19 14:29:09 -08:00
psychedelicious
91d981a49e
fix(ui): reactflow drag interactions with custom scrollbar
2024-11-18 19:12:27 -08:00
psychedelicious
24f61d21b2
feat(ui): make image field collection scrollable
2024-11-18 19:12:27 -08:00
psychedelicious
eb9a4177c5
feat(ui): allow removing individual images from batch
2024-11-18 19:12:27 -08:00
psychedelicious
3c43351a5b
feat(ui): add reset to default value button to field title
2024-11-18 19:12:27 -08:00
psychedelicious
b1359b6dff
feat(ui): update field validation logic to handle collection sizes
2024-11-18 19:12:27 -08:00
psychedelicious
1e969f938f
feat(ui): autosize image collection field grid
2024-11-18 19:12:27 -08:00
psychedelicious
c813fa3fc0
feat(ui): support min and max length for image collections
2024-11-18 19:12:27 -08:00
psychedelicious
616c0f11e1
feat(ui): image batching in workflows
...
- Add special handling for `ImageBatchInvocation`
- Add input component for image collections, supporting multi-image upload and dnd
- Minor rework of some hooks for accessing node data
2024-11-18 19:12:27 -08:00
psychedelicious
c5b8efe03b
fix(ui): unable to use text inputs within draggable
2024-11-15 10:25:30 +11:00
psychedelicious
c37251d6f7
tweak(ui): workflow linear field styling
2024-11-08 07:39:09 +11:00
psychedelicious
2854210162
fix(ui): dnd autoscroll on elements w/ custom scrollbar
...
Have to do a bit of fanagling to get it to work and get `pragmatic-drag-and-drop` to not complain.
2024-11-08 07:39:09 +11:00
psychedelicious
5545b980af
fix(ui): workflow field sorting doesn't use unique identifier for fields
2024-11-08 07:39:09 +11:00
psychedelicious
2d974f670c
feat(ui): restore missing upload buttons
2024-11-08 07:39:09 +11:00
psychedelicious
5361b6e014
refactor(ui): image actions sep of concerns
2024-11-08 07:39:09 +11:00
psychedelicious
92f660018b
refactor(ui): dnd actions to image actions
...
We don't need a "dnd" image system. We need a "image action" system. We need to execute specific flows with images from various "origins":
- internal dnd e.g. from gallery
- external dnd e.g. user drags an image file into the browser
- direct file upload e.g. user clicks an upload button
- some other internal app button e.g. a context menu
The actions are now generalized to better support these various use-cases.
2024-11-08 07:39:09 +11:00
psychedelicious
1afc2cba4e
feat(ui): support different labels for external drop targets (e.g. uploads)
2024-11-08 07:39:09 +11:00
psychedelicious
ee8359242c
feat(ui): more dnd cleanup and tidy
2024-11-08 07:39:09 +11:00
psychedelicious
f0c80a8d7a
tidy(ui): dnd stuff
2024-11-08 07:39:09 +11:00
psychedelicious
8da9e7c1f6
fix(ui): min height for workflow image field drop target
2024-11-08 07:39:09 +11:00
psychedelicious
6d7a486e5b
feat(ui): restore dnd to workflow fields
2024-11-08 07:39:09 +11:00