Christian Byrne
b72e22f6be
Add Centralized Vue Node Size/Pos Tracking ( #5442 )
...
* add dom element resize observer registry for vue node components
* Update src/renderer/extensions/vueNodes/composables/useVueNodeResizeTracking.ts
Co-authored-by: AustinMroz <austin@comfy.org >
* refactor(vue-nodes): typed TransformState InjectionKey, safer ResizeObserver sizing, centralized slot tracking, and small readability updates
* chore: make TransformState interface non-exported to satisfy knip pre-push
* Revert "chore: make TransformState interface non-exported to satisfy knip pre-push"
This reverts commit 110ecf31da .
* Revert "refactor(vue-nodes): typed TransformState InjectionKey, safer ResizeObserver sizing, centralized slot tracking, and small readability updates"
This reverts commit 428752619c .
* [refactor] Improve resize tracking composable documentation and test utilities
- Rename parameters in useVueElementTracking for clarity (appIdentifier, trackingType)
- Add comprehensive docstring with examples to prevent DOM attribute confusion
- Extract mountLGraphNode test utility to eliminate repetitive mock setup
- Add technical implementation notes documenting optimization decisions
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
* remove typo comment
* convert to functional bounds collection
* remove inline import
* add interfaces for bounds mutations
* remove change log
* fix bounds collection when vue nodes turned off
* fix title offset on y
* move from resize observer to selection toolbox bounds
---------
Co-authored-by: AustinMroz <austin@comfy.org >
Co-authored-by: Benjamin Lu <benjaminlu1107@gmail.com >
Co-authored-by: Claude <noreply@anthropic.com >
2025-09-10 22:38:49 -07:00
Alexander Brown
f6405e9125
Knip: More Pruning ( #5374 )
...
* knip: Don't ignore exports that are only used within a given file
* knip: More pruning after rebase
* knip: Vite plugin config fix
* knip: vitest plugin config
* knip: Playwright config, remove unnecessary ignores.
* knip: Simplify project file enumeration.
* knip: simplify the config file patterns ?(.optional_segment)
* knip: tailwind v4 fix
* knip: A little more, explain some of the deps.
Should be good for this PR.
* knip: remove unused disabling of classMembers.
It's opt-in, which we should probably do.
* knip: floating comments
We should probably delete _one_ of these parallell trees, right?
* knip: Add additional entrypoints
* knip: Restore UserData that's exposed via the types for now.
* knip: Add as an entry file even though knip says it's not necessary.
* knip: re-export functions used by nodes (h/t @christian-byrne)
2025-09-07 01:10:32 -07:00
Chenlei Hu
603825b2a0
[Refactor] Add util to merge input spec ( #2834 )
2025-03-03 15:23:47 -05:00
Chenlei Hu
503341b966
Inline numeric widget configurations ( #2792 )
2025-03-01 18:09:23 -05:00
Chenlei Hu
09ab14ac81
[Type] Disallow type upcasting for node input spec ( #2790 )
2025-03-01 16:58:45 -05:00
Chenlei Hu
cb4a5b88fc
Remove magic 10% scale on numeric widget step ( #2759 )
2025-02-27 16:56:22 -05:00
Chenlei Hu
1d95d639e9
[Refactor] Extract nodeDefSchema from apiSchema ( #2756 )
2025-02-27 13:39:23 -05:00
Chenlei Hu
cdf42d5ad7
[Refactor] Move zod schemas to schemas/ folder ( #2753 )
2025-02-27 13:05:01 -05:00
Chenlei Hu
d4122a7510
[Refactor] useFloatWidget composable ( #2504 )
2025-02-10 22:06:11 -05:00