psychedelicious
eb976a2ab0
feat(ui): add dynamic prompts string generator (WIP)
2025-01-20 08:57:42 +11:00
psychedelicious
724028d974
feat(ui): port improved string parsing logic from string generator to float & int
2025-01-20 08:57:42 +11:00
psychedelicious
43c98fd99e
feat(ui): add string generator
2025-01-20 08:57:42 +11:00
psychedelicious
58c6c6db53
feat(ui): make string collection component same as number collection
...
Same UI & better perf thanks to a different structure.
2025-01-20 08:57:42 +11:00
psychedelicious
8a41e09de3
feat(ui): seeded random generators
...
- Add JS Mersenne Twister implementation dependency to use as seeded PRNG. This is not a cryptographically secure algorithm.
- Add nullish seed field to float and integer random generators.
- Add UI to control the seed.
- When seed is not set, behaviour is unchanged - the values are randomized when you Invoke. When seed is set, the random distribution is deterministic depending on the seed. In this case, we can display the values to the user.
2025-01-18 08:45:56 +11:00
psychedelicious
a6b207a0d9
fix(ui): string field textarea accidentally readonly
2025-01-17 16:17:13 +11:00
psychedelicious
50de54dcfd
chore(ui): lint
2025-01-17 12:48:58 +11:00
psychedelicious
4c655eeb48
chore(ui): lint
2025-01-17 12:48:58 +11:00
psychedelicious
298abab883
feat(ui): improved generator text area styling
2025-01-17 12:48:58 +11:00
psychedelicious
bd477ded2e
feat(ui): better preview for generators
2025-01-17 12:48:58 +11:00
psychedelicious
0b64d21980
tidy(ui): remove extraneous reset button on generators
2025-01-17 12:48:58 +11:00
psychedelicious
91d5f8537d
feat(ui): add integer & float parse string generators
2025-01-17 12:48:58 +11:00
psychedelicious
e498e1f07c
feat(ui): reworked float/int generators (arithmetic sequence, linear dist, uniform rand dist)
2025-01-17 12:48:58 +11:00
psychedelicious
73a3f195dc
fix(ui): remove nonfunctional button
2025-01-17 12:48:58 +11:00
psychedelicious
8cc790a030
fix(ui): batch size calculations
2025-01-17 12:48:58 +11:00
psychedelicious
57265c8869
feat(ui): rip out generator modal functionality
2025-01-17 12:48:58 +11:00
psychedelicious
d69e90ca5e
feat(ui): support integer generators
2025-01-17 12:48:58 +11:00
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
65dd01bf3a
fix(ui): invoke tooltip for invalid/empty batches
2025-01-17 12:34:54 +11:00
psychedelicious
81fc525f8a
chore(ui): lint
2025-01-17 12:34:54 +11:00
psychedelicious
d2dd5ee408
fix(ui): unclosed JSX tag
2025-01-17 12:34:54 +11:00
psychedelicious
b4b1daeb26
feat(ui): validate all batch nodes have connection
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
30e33d30d5
fix(ui): handle batch group ids of "None" correctly
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
ca1bd254ea
feat(ui): rename "link_id" -> "batch_group_id"
2025-01-17 12:34:54 +11:00
psychedelicious
803ec8e904
feat(ui): add zipped batch collection size validation
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
38e50cc7aa
tidy(ui): abstract out batch detection logic
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
96671d12bd
fix(ui): filter out batch nodes when checking readiness on workflows tab
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
0c5958675a
chore(ui): lint
2025-01-17 12:19:04 +11:00
psychedelicious
912e07f2c8
tidy(ui): use zod typeguard builder util for fields
2025-01-17 12:19:04 +11:00
psychedelicious
4f900b22dc
feat(ui): validate number item multipleOf
2025-01-17 12:19:04 +11:00
psychedelicious
5823532941
feat(ui): validate string item lengths
2025-01-17 12:19:04 +11:00