Skip to content

Conversation

@DrJKL
Copy link
Contributor

@DrJKL DrJKL commented Nov 24, 2025

Summary

Keeps the controls and widgets a consistent width, but lets the size be more flexible

Screenshots

┆Issue is synchronized with this Notion page by Unito

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Nov 24, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 24, 2025

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (20)
  • browser_tests/tests/vueNodes/groups/groups.spec.ts-snapshots/vue-groups-create-group-chromium-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/groups/groups.spec.ts-snapshots/vue-groups-fit-to-contents-chromium-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-dragging-link-chromium-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-input-drag-ctrl-alt-chromium-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-input-drag-reuses-origin-chromium-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-reroute-input-drag-chromium-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-reroute-output-shift-drag-chromium-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-shift-output-multi-link-chromium-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-snap-to-node-chromium-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-snap-to-slot-chromium-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/interactions/node/move.spec.ts-snapshots/vue-node-moved-node-chromium-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/nodeStates/bypass.spec.ts-snapshots/vue-node-bypassed-state-chromium-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/nodeStates/colors.spec.ts-snapshots/vue-node-custom-color-blue-chromium-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/nodeStates/colors.spec.ts-snapshots/vue-node-custom-colors-dark-all-colors-chromium-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/nodeStates/colors.spec.ts-snapshots/vue-node-custom-colors-light-all-colors-chromium-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/nodeStates/lod.spec.ts-snapshots/vue-nodes-default-chromium-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/nodeStates/lod.spec.ts-snapshots/vue-nodes-lod-active-chromium-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/nodeStates/lod.spec.ts-snapshots/vue-nodes-lod-inactive-chromium-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/nodeStates/mute.spec.ts-snapshots/vue-node-muted-state-chromium-linux.png is excluded by !**/*.png
  • browser_tests/tests/vueNodes/widgets/load/uploadWidgets.spec.ts-snapshots/vue-nodes-upload-widgets-chromium-linux.png is excluded by !**/*.png

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

📝 Walkthrough

Walkthrough

Two Vue components switch from flexbox to CSS Grid: NodeWidgets.vue introduces a three-column grid (min-content, flexible, auto) and makes widget inputs span two columns; WidgetLayoutField.vue replaces a flex row with a grid (grid-cols-subgrid) and removes a fixed inner width constraint.

Changes

Cohort / File(s) Change Summary
Node widgets layout
src/renderer/extensions/vueNodes/components/NodeWidgets.vue
Replaced outer flex-column with a CSS Grid using columns min-content, flexible center, and auto for widgets; widget containers moved to a grid (including nested subgrid), and widget input element now uses col-span-2.
Widget field layout
src/renderer/extensions/vueNodes/widgets/components/layout/WidgetLayoutField.vue
Replaced outer flex row with grid-cols-subgrid, reduced height from h-[30px] to h-7.5, and removed the inner wrapper's fixed w-20 width while preserving element order and slots.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch drjkl/widget-name-tooltip

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

github-actions bot commented Nov 24, 2025

🎭 Playwright Test Results

Some tests failed

⏰ Completed at: 11/24/2025, 07:11:05 PM UTC

📈 Summary

  • Total Tests: 477
  • Passed: 446 ✅
  • Failed: 18 ❌
  • Flaky: 4 ⚠️
  • Skipped: 9 ⏭️

📊 Test Reports by Browser

  • chromium: View Report • ✅ 437 / ❌ 18 / ⚠️ 4 / ⏭️ 9
  • chromium-2x: View Report • ✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • chromium-0.5x: View Report • ✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • mobile-chrome: View Report • ✅ 6 / ❌ 0 / ⚠️ 0 / ⏭️ 0

🎉 Click on the links above to view detailed test results for each browser configuration.

@github-actions
Copy link

github-actions bot commented Nov 24, 2025

🎨 Storybook Build Status

Build completed successfully!

⏰ Completed at: 11/24/2025, 06:57:23 PM UTC

🔗 Links


🎉 Your Storybook is ready for review!

@github-actions
Copy link

github-actions bot commented Nov 24, 2025

Bundle Size Report

Summary

  • Raw size: 14.2 MB baseline 14.2 MB — 🔴 +112 B
  • Gzip: 2.84 MB baseline 2.84 MB — 🔴 +54 B
  • Brotli: 2.22 MB baseline 2.22 MB — 🔴 +21 B
  • Bundles: 92 current • 92 baseline • 38 added / 38 removed

Category Glance
App Entry Points 🔴 +102 B (3.18 MB) · UI Components 🔴 +10 B (141 kB) · Vendor & Third-Party ⚪ 0 B (5.7 MB) · Other ⚪ 0 B (3.87 MB) · Graph Workspace ⚪ 0 B (941 kB) · Panels & Settings ⚪ 0 B (306 kB) · + 3 more

Per-category breakdown
App Entry Points — 3.18 MB (baseline 3.18 MB) • 🔴 +102 B

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-Bpqd0VEE.js (new) 2.95 MB 🔴 +2.95 MB 🔴 +615 kB 🔴 +467 kB
assets/index-BSSpSoOA.js (removed) 2.95 MB 🟢 -2.95 MB 🟢 -615 kB 🟢 -467 kB
assets/index-CInYZmSH.js (new) 228 kB 🔴 +228 kB 🔴 +48.9 kB 🔴 +40.3 kB
assets/index-iGjzCMU7.js (removed) 228 kB 🟢 -228 kB 🟢 -48.9 kB 🟢 -40.3 kB
assets/index-8BM3VXtj.js (new) 345 B 🔴 +345 B 🔴 +246 B 🔴 +235 B
assets/index-DkTWOOkn.js (removed) 345 B 🟢 -345 B 🟢 -243 B 🟢 -234 B

Status: 3 added / 3 removed

Graph Workspace — 941 kB (baseline 941 kB) • ⚪ 0 B

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-76-UyFeV.js (new) 941 kB 🔴 +941 kB 🔴 +182 kB 🔴 +140 kB
assets/GraphView-C0DhePHt.js (removed) 941 kB 🟢 -941 kB 🟢 -182 kB 🟢 -140 kB

Status: 1 added / 1 removed

Views & Navigation — 7.97 kB (baseline 7.97 kB) • ⚪ 0 B

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/UserSelectView-CvoSJO1K.js (removed) 7.97 kB 🟢 -7.97 kB 🟢 -2.43 kB 🟢 -2.14 kB
assets/UserSelectView-DaSsA-wj.js (new) 7.97 kB 🔴 +7.97 kB 🔴 +2.43 kB 🔴 +2.14 kB

Status: 1 added / 1 removed

Panels & Settings — 306 kB (baseline 306 kB) • ⚪ 0 B

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/CreditsPanel-B0lWp9H3.js (new) 22.9 kB 🔴 +22.9 kB 🔴 +5.46 kB 🔴 +4.78 kB
assets/CreditsPanel-BaIYCHLY.js (removed) 22.9 kB 🟢 -22.9 kB 🟢 -5.46 kB 🟢 -4.78 kB
assets/KeybindingPanel-BTkKUVvP.js (new) 15.1 kB 🔴 +15.1 kB 🔴 +3.73 kB 🔴 +3.28 kB
assets/KeybindingPanel-CYCZNThO.js (removed) 15.1 kB 🟢 -15.1 kB 🟢 -3.73 kB 🟢 -3.28 kB
assets/ExtensionPanel-CsdIMGo-.js (new) 11.9 kB 🔴 +11.9 kB 🔴 +2.79 kB 🔴 +2.45 kB
assets/ExtensionPanel-MS6eK_Xn.js (removed) 11.9 kB 🟢 -11.9 kB 🟢 -2.79 kB 🟢 -2.45 kB
assets/AboutPanel-DiDYHkHN.js (removed) 10.1 kB 🟢 -10.1 kB 🟢 -2.62 kB 🟢 -2.31 kB
assets/AboutPanel-rsNfNKqN.js (new) 10.1 kB 🔴 +10.1 kB 🔴 +2.62 kB 🔴 +2.31 kB
assets/ServerConfigPanel-B0e_HfNk.js (new) 8.02 kB 🔴 +8.02 kB 🔴 +2.12 kB 🔴 +1.87 kB
assets/ServerConfigPanel-Pxohxes7.js (removed) 8.02 kB 🟢 -8.02 kB 🟢 -2.12 kB 🟢 -1.87 kB
assets/UserPanel-BVaWrGe_.js (new) 7.74 kB 🔴 +7.74 kB 🔴 +2.02 kB 🔴 +1.77 kB
assets/UserPanel-CuWGHbPl.js (removed) 7.74 kB 🟢 -7.74 kB 🟢 -2.03 kB 🟢 -1.77 kB
assets/settings-BXTtSH4O.js 33.3 kB 33.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-C9Pzn-NG.js 25.2 kB 25.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-CCy2fA_h.js 27.3 kB 27.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-CQpqEFfl.js 26.6 kB 26.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DHcnxypw.js 21.7 kB 21.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DhFTK9fY.js 25.1 kB 25.1 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DlT4t_ui.js 25.9 kB 25.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DRgSrIdD.js 24.2 kB 24.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-tjkeqiZq.js 21.1 kB 21.1 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 6 added / 6 removed

UI Components — 141 kB (baseline 141 kB) • 🔴 +10 B

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/Load3D.vue_vue_type_script_setup_true_lang-DNnTjgkf.js (removed) 53.9 kB 🟢 -53.9 kB 🟢 -8.43 kB 🟢 -7.23 kB
assets/Load3D.vue_vue_type_script_setup_true_lang-xlftpRxe.js (new) 53.9 kB 🔴 +53.9 kB 🔴 +8.43 kB 🔴 +7.23 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-B3RzJ2pw.js (removed) 48 kB 🟢 -48 kB 🟢 -10.3 kB 🟢 -8.91 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-VskLVWRA.js (new) 48 kB 🔴 +48 kB 🔴 +10.3 kB 🔴 +8.92 kB
assets/WidgetInputNumber.vue_vue_type_script_setup_true_lang-CNgeVwq5.js (removed) 12.7 kB 🟢 -12.7 kB 🟢 -3.3 kB 🟢 -2.93 kB
assets/WidgetInputNumber.vue_vue_type_script_setup_true_lang-DayUpBFu.js (new) 12.7 kB 🔴 +12.7 kB 🔴 +3.31 kB 🔴 +2.92 kB
assets/ComfyQueueButton-Ba9NP68w.js (removed) 9.22 kB 🟢 -9.22 kB 🟢 -2.5 kB 🟢 -2.2 kB
assets/ComfyQueueButton-DfgBdABG.js (new) 9.22 kB 🔴 +9.22 kB 🔴 +2.5 kB 🔴 +2.2 kB
assets/WidgetLayoutField.vue_vue_type_script_setup_true_lang-CaZMih8W.js (new) 2.15 kB 🔴 +2.15 kB 🔴 +801 B 🔴 +700 B
assets/WidgetLayoutField.vue_vue_type_script_setup_true_lang-DpkSAITF.js (removed) 2.14 kB 🟢 -2.14 kB 🟢 -795 B 🟢 -689 B
assets/MediaTitle.vue_vue_type_script_setup_true_lang-Lz4bLGPe.js (new) 848 B 🔴 +848 B 🔴 +474 B 🔴 +414 B
assets/MediaTitle.vue_vue_type_script_setup_true_lang-vFuiT44b.js (removed) 848 B 🟢 -848 B 🟢 -472 B 🟢 -413 B
assets/LazyImage.vue_vue_type_script_setup_true_lang-Wi-CcgaU.js 10.7 kB 10.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/UserAvatar.vue_vue_type_script_setup_true_lang-D2s8tnS2.js 1.26 kB 1.26 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetButton-CtnTx0SP.js 1.72 kB 1.72 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 6 added / 6 removed

Data & Services — 12.5 kB (baseline 12.5 kB) • ⚪ 0 B

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/keybindingService-CfLbj0os.js (new) 7.51 kB 🔴 +7.51 kB 🔴 +1.83 kB 🔴 +1.58 kB
assets/keybindingService-DtzzwJv9.js (removed) 7.51 kB 🟢 -7.51 kB 🟢 -1.83 kB 🟢 -1.58 kB
assets/audioService-B_okgWlU.js (removed) 2.2 kB 🟢 -2.2 kB 🟢 -959 B 🟢 -824 B
assets/audioService-ZgyXIYlX.js (new) 2.2 kB 🔴 +2.2 kB 🔴 +963 B 🔴 +830 B
assets/serverConfigStore-D2N-YjtJ.js 2.79 kB 2.79 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 2 added / 2 removed

Utilities & Hooks — 2.94 kB (baseline 2.94 kB) • ⚪ 0 B

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/audioUtils-BDE3GhZ_.js (removed) 1.41 kB 🟢 -1.41 kB 🟢 -652 B 🟢 -544 B
assets/audioUtils-CEGz7ZfI.js (new) 1.41 kB 🔴 +1.41 kB 🔴 +653 B 🔴 +551 B
assets/mathUtil-CTARWQ-l.js 1.07 kB 1.07 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeFilterUtil-CXKCRJ-m.js 460 B 460 B ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 1 added / 1 removed

Vendor & Third-Party — 5.7 MB (baseline 5.7 MB) • ⚪ 0 B

External libraries and shared vendor chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/vendor-other-OCBGbKU2.js 3.59 MB 3.59 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-primevue-PESgPnbc.js 517 B 517 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-three-aR6ntw5X.js 1.37 MB 1.37 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-tiptap-CmuD0u4q.js 232 kB 232 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-vue-DhKsTD0i.js 92.6 kB 92.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-xterm-BZLod3g9.js 407 kB 407 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
Other — 3.87 MB (baseline 3.87 MB) • ⚪ 0 B

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/WidgetRecordAudio-B81FoKPY.js (removed) 21.9 kB 🟢 -21.9 kB 🟢 -5.52 kB 🟢 -4.88 kB
assets/WidgetRecordAudio-BErCq4z1.js (new) 21.9 kB 🔴 +21.9 kB 🔴 +5.52 kB 🔴 +4.88 kB
assets/AudioPreviewPlayer-21qieCMS.js (new) 14.9 kB 🔴 +14.9 kB 🔴 +3.69 kB 🔴 +3.3 kB
assets/AudioPreviewPlayer-B9XPu_JM.js (removed) 14.9 kB 🟢 -14.9 kB 🟢 -3.69 kB 🟢 -3.3 kB
assets/WidgetGalleria-BwXumpXw.js (new) 5.56 kB 🔴 +5.56 kB 🔴 +1.74 kB 🔴 +1.54 kB
assets/WidgetGalleria-D6n2VpE7.js (removed) 5.56 kB 🟢 -5.56 kB 🟢 -1.74 kB 🟢 -1.54 kB
assets/WidgetColorPicker-BmXP2PKi.js (new) 4.87 kB 🔴 +4.87 kB 🔴 +1.69 kB 🔴 +1.48 kB
assets/WidgetColorPicker-omCLyOqE.js (removed) 4.87 kB 🟢 -4.87 kB 🟢 -1.69 kB 🟢 -1.48 kB
assets/WidgetMarkdown-BtpiEw-e.js (new) 4.64 kB 🔴 +4.64 kB 🔴 +1.62 kB 🔴 +1.41 kB
assets/WidgetMarkdown-DnlZPWFH.js (removed) 4.64 kB 🟢 -4.64 kB 🟢 -1.62 kB 🟢 -1.41 kB
assets/WidgetAudioUI-D-7W7Dx_.js (new) 4.33 kB 🔴 +4.33 kB 🔴 +1.44 kB 🔴 +1.29 kB
assets/WidgetAudioUI-NNbCNu24.js (removed) 4.33 kB 🟢 -4.33 kB 🟢 -1.44 kB 🟢 -1.29 kB
assets/WidgetTextarea-BLHpvmw4.js (removed) 4.03 kB 🟢 -4.03 kB 🟢 -1.34 kB 🟢 -1.19 kB
assets/WidgetTextarea-DyO2k5NQ.js (new) 4.03 kB 🔴 +4.03 kB 🔴 +1.35 kB 🔴 +1.18 kB
assets/WidgetInputText-BHH7KupW.js (removed) 3.45 kB 🟢 -3.45 kB 🟢 -1.24 kB 🟢 -1.09 kB
assets/WidgetInputText-BxzbOIgH.js (new) 3.45 kB 🔴 +3.45 kB 🔴 +1.24 kB 🔴 +1.09 kB
assets/WidgetToggleSwitch-D8Pa7arK.js (removed) 3.23 kB 🟢 -3.23 kB 🟢 -1.14 kB 🟢 -1.02 kB
assets/WidgetToggleSwitch-jB52uulu.js (new) 3.23 kB 🔴 +3.23 kB 🔴 +1.14 kB 🔴 +1.01 kB
assets/MediaImageBottom-CaIw5UwJ.js (new) 3.05 kB 🔴 +3.05 kB 🔴 +1.05 kB 🔴 +915 B
assets/MediaImageBottom-RHjnjSW3.js (removed) 3.05 kB 🟢 -3.05 kB 🟢 -1.05 kB 🟢 -929 B
assets/MediaAudioBottom-C9W3E81R.js (removed) 3 kB 🟢 -3 kB 🟢 -1.05 kB 🟢 -930 B
assets/MediaAudioBottom-DKpdust6.js (new) 3 kB 🔴 +3 kB 🔴 +1.05 kB 🔴 +920 B
assets/Media3DTop-BearmfGz.js (new) 3 kB 🔴 +3 kB 🔴 +1.08 kB 🔴 +912 B
assets/Media3DTop-DiwYVuGo.js (removed) 3 kB 🟢 -3 kB 🟢 -1.08 kB 🟢 -917 B
assets/MediaVideoBottom-89lkuS42.js (removed) 3 kB 🟢 -3 kB 🟢 -1.05 kB 🟢 -909 B
assets/MediaVideoBottom-Dq26Z3ia.js (new) 3 kB 🔴 +3 kB 🔴 +1.05 kB 🔴 +925 B
assets/Media3DBottom-BTQSOKlO.js (removed) 2.98 kB 🟢 -2.98 kB 🟢 -1.04 kB 🟢 -924 B
assets/Media3DBottom-DEswTeOu.js (new) 2.98 kB 🔴 +2.98 kB 🔴 +1.04 kB 🔴 +927 B
assets/WidgetSelect-CAEnqmv9.js (removed) 2.17 kB 🟢 -2.17 kB 🟢 -674 B 🟢 -571 B
assets/WidgetSelect-ClAjbqwN.js (new) 2.17 kB 🔴 +2.17 kB 🔴 +677 B 🔴 +569 B
assets/WidgetInputNumber-CA4mXNr1.js (removed) 2.12 kB 🟢 -2.12 kB 🟢 -664 B 🟢 -567 B
assets/WidgetInputNumber-HSfoHDLi.js (new) 2.12 kB 🔴 +2.12 kB 🔴 +663 B 🔴 +556 B
assets/Load3D-8mAvgmEp.js (removed) 1.94 kB 🟢 -1.94 kB 🟢 -597 B 🟢 -508 B
assets/Load3D-Cj2CQ-K9.js (new) 1.94 kB 🔴 +1.94 kB 🔴 +596 B 🔴 +539 B
assets/WidgetLegacy-BcgpGjDf.js (new) 1.88 kB 🔴 +1.88 kB 🔴 +561 B 🔴 +472 B
assets/WidgetLegacy-Chztg5ve.js (removed) 1.88 kB 🟢 -1.88 kB 🟢 -561 B 🟢 -502 B
assets/commands-_s-RvhJR.js 13.6 kB 13.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-BuUILW6P.js 13 kB 13 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-BV4R6fLx.js 14.9 kB 14.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CLwPdnT6.js 14.2 kB 14.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CWMchBmd.js 15.9 kB 15.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DazTQhtc.js 12.9 kB 12.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DmWrOe93.js 13.7 kB 13.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DwiH7Kr6.js 13.8 kB 13.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-mS3LCNPn.js 14.5 kB 14.5 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-5lOBdqcC.js 84.5 kB 84.5 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-BOCuaVpE.js 73.4 kB 73.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-ClrEFGUz.js 72.4 kB 72.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-CyNU0iQX.js 99.3 kB 99.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-D7gwLxft.js 114 kB 114 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DC8o4BCt.js 86.8 kB 86.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DKiesCV4.js 94.3 kB 94.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-Hq2q-OtB.js 83.6 kB 83.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-USAlAlnj.js 82 kB 82 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaAudioTop-RTI8pWy9.js 1.42 kB 1.42 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaImageTop-DlKHfEAA.js 1.68 kB 1.68 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaVideoTop-BB0lT7C5.js 2.7 kB 2.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-_Px5dSNW.js 306 kB 306 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-7z21KPoS.js 285 kB 285 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-BWKZzBPK.js 346 kB 346 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CGbgH4Yl.js 320 kB 320 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CjjjdWkV.js 313 kB 313 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CVrNtxvj.js 288 kB 288 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-DLRSA0IK.js 309 kB 309 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-DQV2gnwA.js 372 kB 372 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-ofqLG5vz.js 310 kB 310 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetChart-rDmYEWg5.js 2.39 kB 2.39 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetImageCompare-Ds3K3ULR.js 2.15 kB 2.15 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/widgetPropFilter-BIbGSUAt.js 1.28 kB 1.28 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 18 added / 18 removed

Myestery
Myestery previously approved these changes Nov 24, 2025
<div class="flex h-[30px] min-w-0 items-center justify-between gap-1">
<div class="relative flex h-full min-w-0 w-20 items-center">
<div
class="grid grid-cols-subgrid h-[30px] min-w-0 items-center justify-between gap-1"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: could we could use h-7.5 here

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
src/renderer/extensions/vueNodes/components/NodeWidgets.vue (2)

22-22: flex-1 property is ineffective on grid items.

The conditional class has-[.widget-expands]:flex-1 applies a flex property to a grid item, which has no effect since this element is a child of the grid container on line 9. The items-stretch class already handles stretching in the grid context.

This appears to be a leftover from the previous flexbox implementation and can be removed.

Apply this diff to remove the ineffective flex property:

-      class="lg-node-widget group col-span-full grid grid-cols-subgrid items-stretch has-[.widget-expands]:flex-1"
+      class="lg-node-widget group col-span-full grid grid-cols-subgrid items-stretch"

55-55: flex-1 property has no effect on grid items.

The flex-1 class is applied to a grid item and won't affect the grid layout. Grid items are sized by the grid container's column definitions, not flex properties.

Unless the widget components internally require this class for their own layout, this appears to be a leftover from the flexbox implementation and can be removed.

Apply this diff if the widget components don't rely on the flex-1 class:

-        class="flex-1 col-span-2"
+        class="col-span-2"
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ffc17c0 and f85d020.

📒 Files selected for processing (2)
  • src/renderer/extensions/vueNodes/components/NodeWidgets.vue (3 hunks)
  • src/renderer/extensions/vueNodes/widgets/components/layout/WidgetLayoutField.vue (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
  • GitHub Check: deploy-and-comment
  • GitHub Check: setup
  • GitHub Check: test
  • GitHub Check: lint-and-format
  • GitHub Check: collect
🔇 Additional comments (3)
src/renderer/extensions/vueNodes/widgets/components/layout/WidgetLayoutField.vue (2)

17-17: Width constraint removal aligns with flexible layout goals.

The removal of the fixed w-20 constraint in favor of grid-based sizing is consistent with the PR objective of maintaining consistent widths while allowing more flexible overall sizing. The parent grid column definition (minmax(80px,max-content)) now controls the width constraint.


14-16: The justify-between usage is correct and necessary; however, verify browser support policy for grid-cols-subgrid.

The justify-between property appropriately spreads the two layout children across the grid width—the label/icon to the start and the slot content to the end. This is intentional layout behavior, not unnecessary styling. The gap-1 property controls spacing between items, not their distribution.

Regarding browser compatibility: @comfyorg/design-system browser-support requirements are undocumented. Since this codebase defines no explicit browserslist and relies on an external design-system package for Tailwind configuration, confirm your application's minimum browser versions support grid-cols-subgrid (Chrome 117+, Safari 16+, Firefox 71+). If not yet confirmed, coordinate with the design-system team or add an explicit browserslist configuration to this repository.

src/renderer/extensions/vueNodes/components/NodeWidgets.vue (1)

9-9: Grid column definition looks well-structured.

The three-column grid layout with min-content, minmax(80px,max-content), and minmax(125px,auto) appropriately allocates space for the input slot dot, labels, and widget inputs respectively. This aligns with the PR's goal of consistent widget widths with flexible overall sizing.

Myestery
Myestery previously approved these changes Nov 24, 2025
AustinMroz
AustinMroz previously approved these changes Nov 24, 2025
Copy link
Collaborator

@AustinMroz AustinMroz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a minor regression with padding on the right side of widgets getting eaten at small sizes, but the change here is beautiful and works great.
image

@DrJKL DrJKL added the New Browser Test Expectations New browser test screenshot should be set by github action label Nov 24, 2025
@github-actions
Copy link

Updating Playwright Expectations

@github-actions github-actions bot dismissed stale reviews from AustinMroz and Myestery via 41ea467 November 24, 2025 19:29
@github-actions github-actions bot removed the New Browser Test Expectations New browser test screenshot should be set by github action label Nov 24, 2025
@DrJKL DrJKL requested review from AustinMroz and Myestery November 24, 2025 19:33
@DrJKL
Copy link
Contributor Author

DrJKL commented Nov 24, 2025

Will need to fix the textarea sizing again. Not a trivial task.

@DrJKL DrJKL merged commit c06a727 into main Nov 24, 2025
3 checks passed
@DrJKL DrJKL deleted the drjkl/widget-name-tooltip branch November 24, 2025 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants