-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ui): redesign followups #5368
Commits on Jan 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e9e05c3 - Browse repository at this point
Copy the full SHA e9e05c3View commit details -
feat(ui): use make label widths grow
Fixes issue where translations overflowed due to hardcoded widths.
Configuration menu - View commit details
-
Copy full SHA for 3dc0320 - Browse repository at this point
Copy the full SHA 3dc0320View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6508373 - Browse repository at this point
Copy the full SHA 6508373View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4baffeb - Browse repository at this point
Copy the full SHA 4baffebView commit details -
feat(ui): add createLruSelector
This uses the previous implementation of the memoization function in reselect. It's possible for the new weakmap-based memoization to cause memory leaks in certain scenarios, so we will avoid it for now.
Configuration menu - View commit details
-
Copy full SHA for 9b9003d - Browse repository at this point
Copy the full SHA 9b9003dView commit details -
feat(ui): use pubsub to for globalcontextmenuclose
Far more efficient than the crude redux incrementor thing.
Configuration menu - View commit details
-
Copy full SHA for e38a241 - Browse repository at this point
Copy the full SHA e38a241View commit details -
feat(ui): misc perf/rerender improvements
More efficient selectors, memoized/stable references to objects, lazy popover/menu rendering.
Configuration menu - View commit details
-
Copy full SHA for 844276e - Browse repository at this point
Copy the full SHA 844276eView commit details -
feat(ui): disable
onlyRenderVisibleElements
on FlowThis can cause stuttering when nodes are being moved in and out of the viewport. I think it's better to improve rendering/perf in other ways.
Configuration menu - View commit details
-
Copy full SHA for b9d431b - Browse repository at this point
Copy the full SHA b9d431bView commit details -
feat(ui): misc canvas perf improvements
- disable listening when not needed - use useMemo for gridlines
Configuration menu - View commit details
-
Copy full SHA for 278c67a - Browse repository at this point
Copy the full SHA 278c67aView commit details -
Configuration menu - View commit details
-
Copy full SHA for eabb436 - Browse repository at this point
Copy the full SHA eabb436View commit details -
Configuration menu - View commit details
-
Copy full SHA for e19f1ee - Browse repository at this point
Copy the full SHA e19f1eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 24cfc5b - Browse repository at this point
Copy the full SHA 24cfc5bView commit details -
Includes vite v5 - only change needed is to set .mts for vite config files.
Configuration menu - View commit details
-
Copy full SHA for 9f30098 - Browse repository at this point
Copy the full SHA 9f30098View commit details -
feat(ui): use nanostores for useMouseOverNode
This greatly reduces the weight of the event handlers.
Configuration menu - View commit details
-
Copy full SHA for 3c3d933 - Browse repository at this point
Copy the full SHA 3c3d933View commit details -
fix(ui): focus add node popover on open
Need an extra ref to pass to the InvSelect component.
Configuration menu - View commit details
-
Copy full SHA for f32ea52 - Browse repository at this point
Copy the full SHA f32ea52View commit details -
feat(ui): optimized useMouseOverNode
Manually hook into pubsub to eliminate extraneous rerenders on hook change
Configuration menu - View commit details
-
Copy full SHA for d4151f5 - Browse repository at this point
Copy the full SHA d4151f5View commit details -
fix(ui): fix workflow library new workflow/settings closing
Need to make the menu not lazy. A better solution is to refactor how the settings works, rendering it in a different part of the component tree
Configuration menu - View commit details
-
Copy full SHA for 0acc758 - Browse repository at this point
Copy the full SHA 0acc758View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66caf25 - Browse repository at this point
Copy the full SHA 66caf25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19fff8d - Browse repository at this point
Copy the full SHA 19fff8dView commit details -
feat(ui): move canvas interaction state to nanostores
This drastically reduces the computation needed when moving the cursor. It also correctly separates ephemeral interaction state from redux, where it is not needed. Also removed some unused canvas state.
Configuration menu - View commit details
-
Copy full SHA for fd42d1b - Browse repository at this point
Copy the full SHA fd42d1bView commit details -
feat(ui): store node templates in separate slice
Flattens the `nodes` slice. May offer minor perf improvements in addition to just being cleaner.
Configuration menu - View commit details
-
Copy full SHA for 95e9b07 - Browse repository at this point
Copy the full SHA 95e9b07View commit details -
feat(ui): split dnd overlay to separate component
This reduces top-level rerenders when zooming in and out on workflow editor
Configuration menu - View commit details
-
Copy full SHA for 3e8df08 - Browse repository at this point
Copy the full SHA 3e8df08View commit details -
feat(ui): optimized workflow building
- Store workflow in nanostore as singleton instead of building for each consumer - Debounce the build (already was indirectly debounced) - When the workflow is needed, imperatively grab it from the nanostores, instead of letting react handle it via reactivity
Configuration menu - View commit details
-
Copy full SHA for 375ca9d - Browse repository at this point
Copy the full SHA 375ca9dView commit details -
feat(ui): update useGlobalModifiers to store each key independently
This reduces rerenders when the user presses a modifier key.
Configuration menu - View commit details
-
Copy full SHA for 4e13a9f - Browse repository at this point
Copy the full SHA 4e13a9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8241043 - Browse repository at this point
Copy the full SHA 8241043View commit details -
feat(ui): use lruMemoize for argsMemoize on selectors
This provides a small performance improvement, on the order of a few ms per interaction.
Configuration menu - View commit details
-
Copy full SHA for fa5e81c - Browse repository at this point
Copy the full SHA fa5e81cView commit details -
fix(ui): InvContextMenu.placement = 'auto-end'
This ensures the context menus don't get cut off when the window size is very small.
Configuration menu - View commit details
-
Copy full SHA for 04df52b - Browse repository at this point
Copy the full SHA 04df52bView commit details -
Configuration menu - View commit details
-
Copy full SHA for dfd9c44 - Browse repository at this point
Copy the full SHA dfd9c44View commit details -
fix(ui): fix dynamic prompts with single prompt
Closes #5292 The special handling for single prompt is totally extraneous and caused a bug.
Configuration menu - View commit details
-
Copy full SHA for 4045103 - Browse repository at this point
Copy the full SHA 4045103View commit details -
Configuration menu - View commit details
-
Copy full SHA for e81476e - Browse repository at this point
Copy the full SHA e81476eView commit details