psychedelicious
36b3089d5d
feat(ui): tweak dnd element buttons styling
2025-02-21 12:24:03 +11:00
psychedelicious
6c4d002bd6
feat(ui): hide reset node field value button when value is unchanged
2025-02-21 12:24:03 +11:00
psychedelicious
b2cfa137a3
feat(ui): when migrating pre-builder workflows, hide description for node fields by default, matching prev behaviour
2025-02-21 12:24:03 +11:00
psychedelicious
9d57bc1697
feat(ui): node text areas resizable
...
There's a reactflow issue that prevents the size from being applied when a workflow is loaded, but at least you can resize the fields.
2025-02-21 12:24:03 +11:00
psychedelicious
e6db36d0c4
feat(ui): hide the root container frame and header
2025-02-21 12:24:03 +11:00
psychedelicious
78832e546a
feat(ui): restore plus sign button to add node field to form
2025-02-21 12:24:03 +11:00
psychedelicious
6cfeadb33b
feat(ui): add fake dnd node field element w/ info tooltip
2025-02-21 12:24:03 +11:00
psychedelicious
d1d3971ee3
feat(ui): make index optional when adding elements, update tests
2025-02-21 12:24:03 +11:00
psychedelicious
e9ce259d43
feat(ui): smaller buttons for builder dnd elements
2025-02-21 12:24:03 +11:00
psychedelicious
34d988063f
feat(ui): change reset button to menu
2025-02-21 12:24:03 +11:00
psychedelicious
e2bdbfe721
fix(ui): use getIsFormEmpty util when validating workflow
2025-02-21 12:24:03 +11:00
psychedelicious
fe7e1958ea
fix(ui): fall back to empty form if invalid during validation
2025-02-21 12:24:03 +11:00
psychedelicious
cf8f18e690
feat(ui): add getIsFormEmpty util & tests
2025-02-21 12:24:03 +11:00
psychedelicious
da7b31b2a8
fix(app): add form to Workflow pydantic schema so it gets saved
2025-02-21 12:24:03 +11:00
psychedelicious
fb82664944
fix(ui): update linear view field migration logic to work w/ new data structure
2025-02-21 12:24:03 +11:00
psychedelicious
58ae9ed8a5
feat(ui): add form structure validation and tests
2025-02-21 12:24:03 +11:00
psychedelicious
d142a94b67
chore(ui): knip
2025-02-21 12:24:03 +11:00
psychedelicious
c8135126f2
fix(ui): use "native" reactflow interaction class names
2025-02-21 12:24:03 +11:00
psychedelicious
560910ed2f
feat(ui): workflows panel redesign WIP
2025-02-21 12:24:03 +11:00
psychedelicious
b78ac40a22
feat(ui): workflows panel redesign WIP
2025-02-21 12:24:03 +11:00
psychedelicious
9ecafc8706
feat(ui): workflows panel redesign WIP
2025-02-21 12:24:03 +11:00
psychedelicious
871cb54988
feat(ui): panel resize handles have grab icon
2025-02-21 12:24:03 +11:00
psychedelicious
e3069ad336
fix(ui): remove ancient node selection logic that created duplicate node selection actions
2025-02-21 12:24:03 +11:00
psychedelicious
28027702dd
feat(ui): add useZoomToNode hook
2025-02-21 12:24:03 +11:00
psychedelicious
d72840620a
feat(ui): remove extraneous formElementNodeFieldInitialValueChanged action
2025-02-21 12:24:03 +11:00
psychedelicious
4f2de2674e
feat(ui): remove extraneous formContainerChildrenReordered action
2025-02-21 12:24:03 +11:00
psychedelicious
340c9c0697
feat(ui): make builder heading a bit smaller
2025-02-21 12:24:03 +11:00
psychedelicious
f77549dc4f
feat(ui): use constants for reactflow opt-out classNames
2025-02-20 14:25:51 +11:00
psychedelicious
5653352ae8
feat(ui): double click to zoom to node
...
Requires a bit of fanagling to ensure the double click doesn't interfer w/ other stuff
2025-02-20 14:25:51 +11:00
psychedelicious
f1bc2ea962
fix(ui): allow pasting of collapsed edges
2025-02-20 14:25:51 +11:00
psychedelicious
2a9f7b2e38
feat(ui): abstract node/field validation logic, use error color for node title when node has errors
2025-02-20 14:25:51 +11:00
psychedelicious
c379d76844
feat(ui): add "unsafe" version of field instance selector
2025-02-20 14:25:51 +11:00
psychedelicious
6496fcdcbd
feat(ui): make field names draggable, not the whole field name "bar"
2025-02-20 14:25:51 +11:00
psychedelicious
812b8fddd6
feat(ui): slimmer image component
2025-02-20 14:25:51 +11:00
psychedelicious
dc9165dfc1
chore(ui): bump vitest to latest
...
All but the core `vitest` package were updated recently. Tests still ran but the test UI dashboard didn't. After updating, all tests still run, seems fine.
Also tested building in app and package mode.
2025-02-20 09:08:24 +11:00
psychedelicious
59826438f6
fix(ui): failing test cases for form manip utils
2025-02-20 09:08:24 +11:00
psychedelicious
87cd52241d
tests(ui): coverage for form-manipulation.ts
2025-02-20 09:08:24 +11:00
psychedelicious
7506b0e7ae
feat(ui): require parentId when adding form elements
2025-02-20 09:08:24 +11:00
psychedelicious
4b29a2f395
refactor(ui): validateWorkflow takes a single object as arg
2025-02-20 09:08:24 +11:00
psychedelicious
3bcaa42309
tidy(ui): more file/variable organisation
2025-02-20 09:08:24 +11:00
psychedelicious
8e14cdb8b6
feat(ui): make dnd hooks never throw
...
Just log errors.
2025-02-20 09:08:24 +11:00
psychedelicious
9ef6e52ad8
tidy(ui): organize & document builder dnd logic
2025-02-20 09:08:24 +11:00
psychedelicious
148bd70a24
refactor(ui): revert to using single tree for form data
2025-02-20 09:08:24 +11:00
psychedelicious
1461c88c12
lint model
2025-02-20 09:08:24 +11:00
psychedelicious
bcfeae94d2
fix(ui): node title shows text cursor
2025-02-20 09:08:24 +11:00
psychedelicious
40eedfebf7
fix(ui): zoom reset on first interaction
...
Closes #7648
2025-02-20 09:08:24 +11:00
psychedelicious
d0a231d59e
fix(ui): model field types not recognized as such during workflow validation and field styling
2025-02-20 09:08:24 +11:00
Mary Hipp
4bba7de070
fix omnipresent pencil
2025-02-19 09:52:37 -05:00
psychedelicious
e1f2b232c8
feat(ui): color picker improvements
...
- Support transparency w/ color picker. To do this, we need to hide the bg layer before sampling. In testing, this has a negligible performance impact.
- Add an RGBA value readout next to the color picker ring.
2025-02-18 15:38:50 +11:00
psychedelicious
2c5b0195fc
fix(ui): straight lines drawn with shift-click get cut off when canvas moved between clicks
...
Need to opt-out of the clipping logic when using shift-click to not cut off the line.
2025-02-18 15:38:50 +11:00