psychedelicious
406fc58889
feat(ui): migrate to pragmatic-drag-and-drop (wip 4)
2024-11-08 07:39:09 +11:00
psychedelicious
cf67d084fd
feat(ui): migrate to pragmatic-drag-and-drop (wip 3)
2024-11-08 07:39:09 +11:00
psychedelicious
24d3c22017
fix(ui): temp fix for stuck tooltips
2024-11-04 07:11:20 -05:00
Mary Hipp
8f28903c81
remove extra slash in workflow share link
2024-10-17 08:02:27 +11:00
Mary Hipp
b33dbfc95f
prefix share link with window location
2024-10-11 17:25:58 -04:00
psychedelicious
69773a791d
feat(ui): use useAssertSingleton for all singleton modals
...
footgun insurance
2024-10-10 15:49:09 +11:00
psychedelicious
99e88e601d
fix(ui): edge case where you get stuck w/ the workflow list menu open, or it opens unexpectedly
...
- When resetting workflows, retain the current mode state
- Remove the useEffect that reacted to the `isCleanEditor` flag to prevent getting menu getting locked open
2024-10-10 15:49:09 +11:00
psychedelicious
4050f7deae
feat(ui): make workflow support link work like a link
2024-10-10 15:49:09 +11:00
psychedelicious
aa34dbe1e1
feat(ui): "CopyWorkflowLinkModal" -> "ShareWorkflowModal"
2024-10-10 15:49:09 +11:00
psychedelicious
ac2476c63c
fix(ui): use modal overlay for workflow share modal
2024-10-10 15:49:09 +11:00
psychedelicious
3b38b69192
feat(ui): split out copy workflow link dialog logic into singleton
2024-10-10 15:49:09 +11:00
psychedelicious
2c601438eb
feat(ui): split out delete workflow dialog logic into singleton
2024-10-10 15:49:09 +11:00
psychedelicious
1d7a264050
feat(ui): workflow share icon only for non-user workflows
2024-10-10 15:49:09 +11:00
psychedelicious
c494e0642a
feat(ui): split out new workflow dialog logic, use it in list menu, restore new workflow dialog
2024-10-10 15:49:09 +11:00
psychedelicious
849b9e8d86
fix(ui): duplicate copy workflow link modals
...
The component state is a global singleton, but each workflow had an instance of the modal. So when you open one, they _all_ opened.
2024-10-10 15:49:09 +11:00
psychedelicious
751eb59afa
fix(ui): issues with workflow list state
...
- Tooltips on buttons for a list item getting stuck
- List item action buttons should not propagate clicks
2024-10-10 15:49:09 +11:00
psychedelicious
f537cf1916
fix(ui): downloading workflow loads it
2024-10-10 15:49:09 +11:00
psychedelicious
0cc6f67bb1
feat(ui): use buildUseDisclosure for workflow list menu
2024-10-10 15:49:09 +11:00
psychedelicious
b2bf03fd37
feat(ui): use own useDisclosure for workflow delete confirm dialog
2024-10-10 15:49:09 +11:00
psychedelicious
9c82cc7fcb
feat(ui): use buildUseDisclosure for workflow copy link modal
2024-10-10 15:49:09 +11:00
Mary Hipp
3c46522595
feat(ui): add option to copy share link for workflows if projectURL is defined (commercial)
2024-10-10 08:42:37 +11:00
Mary Hipp Rogers
0d7edbce25
add missing translations ( #7073 )
...
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local >
2024-10-08 20:07:00 -04:00
psychedelicious
ffecd83815
fix(ui): typo
2024-10-09 07:32:01 +11:00
psychedelicious
f1c538fafc
fix(ui): workflow sort popover behaviour
2024-10-09 07:32:01 +11:00
Mary Hipp
ed88b096f3
(ui) update so that default list does not sort
2024-10-09 07:32:01 +11:00
Mary Hipp
a28cabdf97
restore sorting UI for workflow library
2024-10-09 07:32:01 +11:00
Mary Hipp
db25be3ba2
(ui): add opened/created/updated details to tooltip, default sort by opened (OSS) and created (non-OSS)
2024-10-09 07:32:01 +11:00
Mary Hipp
05d9ba8fa0
PR review feedback
2024-10-08 10:08:50 -04:00
psychedelicious
7882e9beae
feat(ui): WorkflowListItem simplify layout
2024-10-08 10:08:50 -04:00
Mary Hipp
7c9779b496
(ui) handle empty state
2024-10-08 10:08:50 -04:00
Mary Hipp
5832228fea
lint and cleanup
2024-10-08 10:08:50 -04:00
Mary Hipp
1d32e70a75
(ui): clean up old workflow library
2024-10-08 10:08:50 -04:00
Mary Hipp
9092280583
(ui) new menu list of workflows
2024-10-08 10:08:50 -04:00
psychedelicious
eee4175e4d
Revert "fix(ui): Apple Pencil requires onPointerUp instead of onClick"
...
This reverts commit 2a90f4f59e .
2024-10-07 10:05:20 +11:00
psychedelicious
2a90f4f59e
fix(ui): Apple Pencil requires onPointerUp instead of onClick
...
With `onClick`, elements w/ a tooltip require a double-tap.
2024-10-04 07:44:40 -04:00
psychedelicious
8b9b64d21c
feat(ui): improved resize handle styles
...
Simplify the handle component and use the provided data attributes to style the handles correctly.
Fixes a styling issue where you if you hover at the T-junction between two handles, only one brightens up.
2024-09-25 11:13:06 +10:00
psychedelicious
e88d4aa0e8
fix(ui): working panel size persistence
2024-09-11 14:15:16 +10:00
psychedelicious
e8335fe7c4
feat(ui): revise generation mode logic
...
- Canvas generation mode is replace with a boolean `sendToCanvas` flag. When off, images generated on the canvas go to the gallery. When on, they get added to the staging area.
- When an image result is received, if its destination is the canvas, staging is automatically started.
- Updated queue list to show the destination column.
- Added `IconSwitch` component to represent binary choices, used for the new `sendToCanvas` flag and image viewer toggle.
- Remove the queue actions menu in `QueueControls`. Move the queue count badge to the cancel button.
- Redo layout of `QueueControls` to prevent duplicate queue count badges.
- Fix issue where gallery and options panels could show thru transparent regions of queue tab.
- Disable panel hotkeys when on mm/queue tabs.
2024-09-06 22:56:24 +10:00
psychedelicious
89ff9b8b88
perf(ui): optimize all selectors 2
...
Mostly selector optimization. Still a few places to tidy up but I'll get to that later.
2024-09-06 22:56:24 +10:00
psychedelicious
20961215e7
chore(ui): eslint
2024-09-06 22:56:24 +10:00
psychedelicious
038a482ef0
feat(ui): rework visibility conditions for image viewer
2024-06-02 15:30:00 +10:00
psychedelicious
a983f27aad
fix(ui): update types
2024-05-30 12:03:38 +10:00
psychedelicious
5a4d10467b
feat(ui): use updated types
2024-05-30 12:03:38 +10:00
psychedelicious
bf4310ca71
fix(ui): errors when node template or field template doesn't exist
...
Some asserts were bubbling up in places where they shouldn't have, causing errors when a node has a field without a matching template, or vice-versa.
To resolve this without sacrificing the runtime safety provided by asserts, a `InvocationFieldCheck` component now wraps all field components. This component renders a fallback when a field doesn't exist, so the inner components can safely use the asserts.
2024-05-21 11:22:08 +10:00
psychedelicious
cea1874e00
perf(ui): memoize WorkflowName selectors
2024-05-19 20:14:01 +10:00
psychedelicious
26029108f7
feat(ui): rework node and edge mutation logic
...
Remove our DIY'd reducers, consolidating all node and edge mutations to use `edgesChanged` and `nodesChanged`, which are called by reactflow. This makes the API for manipulating nodes and edges less tangly and error-prone.
2024-05-19 20:14:01 +10:00
psychedelicious
ad8778df6c
feat(ui): extract node execution state from nodesSlice
...
This state is ephemeral and not undoable.
2024-05-17 13:24:23 +10:00
psychedelicious
6cf5b402c6
feat(ui): remove extraneous selectedEdges and selectedNodes state
2024-05-17 13:24:23 +10:00
psychedelicious
f6a44681a8
feat(ui): move invocation templates out of redux (wip)
2024-05-17 13:24:23 +10:00
Lars Kappert
c2b79ce14c
Replace @knipignore with paths config
2024-04-15 09:14:49 +10:00