Skip to content

Conversation

@DrJKL
Copy link
Contributor

@DrJKL DrJKL commented Nov 13, 2025

Summary

Simple and clean is the way that we're making the nodes tonight.

Changes

  • What: Smaller minimum widths for nodes and labels
  • What: Smaller font for the labels
  • What: Removed outlines for widgets
  • What: Fixes a text/background issue with buttons on widgets
  • What: Smaller header
  • What: Less padding within the node itself

Review Focus

Check out the new styles and how they align with the Designs.

Screenshots

Before After
image image

┆Issue is synchronized with this Notion page by Unito

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Nov 13, 2025
@github-actions
Copy link

github-actions bot commented Nov 13, 2025

🎨 Storybook Build Status

Build completed successfully!

⏰ Completed at: 11/13/2025, 11:49:35 PM UTC

🔗 Links


🎉 Your Storybook is ready for review!

@github-actions
Copy link

github-actions bot commented Nov 13, 2025

🎭 Playwright Test Results

Some tests failed

⏰ Completed at: 11/14/2025, 12:03:59 AM UTC

📈 Summary

  • Total Tests: 477
  • Passed: 422 ✅
  • Failed: 22 ❌
  • Flaky: 3 ⚠️
  • Skipped: 30 ⏭️

📊 Test Reports by Browser

  • chromium: View Report • ✅ 417 / ❌ 20 / ⚠️ 3 / ⏭️ 30
  • chromium-2x: View Report • ✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • chromium-0.5x: View Report • ✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • mobile-chrome: View Report • ✅ 2 / ❌ 2 / ⚠️ 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 13, 2025

Bundle Size Report

Summary

  • Raw size: 13.6 MB baseline 13.6 MB — 🟢 -551 B
  • Gzip: 2.72 MB baseline 2.72 MB — 🟢 -22 B
  • Brotli: 2.14 MB baseline 2.14 MB — 🟢 -229 B
  • Bundles: 89 current • 89 baseline • 35 added / 35 removed

Category Glance
Other 🟢 -388 B (3.92 MB) · App Entry Points 🟢 -113 B (2.94 MB) · UI Components 🟢 -50 B (266 kB) · Vendor & Third-Party ⚪ 0 B (5.32 MB) · Graph Workspace ⚪ 0 B (799 kB) · Panels & Settings ⚪ 0 B (306 kB) · + 3 more

Per-category breakdown
App Entry Points — 2.94 MB (baseline 2.94 MB) • 🟢 -113 B

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-DzOMgN8K.js (new) 2.55 MB 🔴 +2.55 MB 🔴 +536 kB 🔴 +408 kB
assets/index-DTVuSnUI.js (removed) 2.55 MB 🟢 -2.55 MB 🟢 -536 kB 🟢 -408 kB
assets/index-BodTEwUr.js (removed) 386 kB 🟢 -386 kB 🟢 -77.9 kB 🟢 -63.2 kB
assets/index-ChFOPu2R.js (new) 386 kB 🔴 +386 kB 🔴 +77.9 kB 🔴 +63.2 kB
assets/index-C8IFmGXE.js (removed) 1.75 kB 🟢 -1.75 kB 🟢 -579 B 🟢 -488 B
assets/index-tBsheUlJ.js (new) 1.75 kB 🔴 +1.75 kB 🔴 +575 B 🔴 +487 B
assets/index-Dk8Bans8.js (removed) 476 B 🟢 -476 B 🟢 -285 B 🟢 -240 B
assets/index-MNVRMsnT.js (new) 345 B 🔴 +345 B 🔴 +244 B 🔴 +199 B

Status: 4 added / 4 removed

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

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-BnvvO6Rd.js (new) 799 kB 🔴 +799 kB 🔴 +156 kB 🔴 +120 kB
assets/GraphView-DaWFYPuJ.js (removed) 799 kB 🟢 -799 kB 🟢 -156 kB 🟢 -120 kB

Status: 1 added / 1 removed

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

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/UserSelectView-BoNrBreq.js (new) 8 kB 🔴 +8 kB 🔴 +2.43 kB 🔴 +2.13 kB
assets/UserSelectView-D1dneB6m.js (removed) 8 kB 🟢 -8 kB 🟢 -2.43 kB 🟢 -2.13 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-DhWf87r_.js (new) 22.9 kB 🔴 +22.9 kB 🔴 +5.43 kB 🔴 +4.75 kB
assets/CreditsPanel-DTDwGiTB.js (removed) 22.9 kB 🟢 -22.9 kB 🟢 -5.43 kB 🟢 -4.76 kB
assets/KeybindingPanel-D32vypFM.js (new) 15.1 kB 🔴 +15.1 kB 🔴 +3.73 kB 🔴 +3.29 kB
assets/KeybindingPanel-DJhSpXS5.js (removed) 15.1 kB 🟢 -15.1 kB 🟢 -3.73 kB 🟢 -3.28 kB
assets/ExtensionPanel-5d_ngbi1.js (removed) 11.9 kB 🟢 -11.9 kB 🟢 -2.79 kB 🟢 -2.45 kB
assets/ExtensionPanel-dkvlK4q8.js (new) 11.9 kB 🔴 +11.9 kB 🔴 +2.79 kB 🔴 +2.45 kB
assets/AboutPanel-CrYV7tVG.js (new) 10.1 kB 🔴 +10.1 kB 🔴 +2.63 kB 🔴 +2.33 kB
assets/AboutPanel-DpS1NbHz.js (removed) 10.1 kB 🟢 -10.1 kB 🟢 -2.62 kB 🟢 -2.32 kB
assets/ServerConfigPanel-B4OOOr4p.js (new) 8.05 kB 🔴 +8.05 kB 🔴 +2.12 kB 🔴 +1.88 kB
assets/ServerConfigPanel-T4Iadx2n.js (removed) 8.05 kB 🟢 -8.05 kB 🟢 -2.12 kB 🟢 -1.88 kB
assets/UserPanel-Ck4j7smr.js (new) 7.76 kB 🔴 +7.76 kB 🔴 +2.02 kB 🔴 +1.77 kB
assets/UserPanel-CTgkKVZR.js (removed) 7.76 kB 🟢 -7.76 kB 🟢 -2.02 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 — 266 kB (baseline 266 kB) • 🟢 -50 B

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/Load3D.vue_vue_type_script_setup_true_lang-_wIKR3R0.js (new) 185 kB 🔴 +185 kB 🔴 +31.9 kB 🔴 +25.9 kB
assets/Load3D.vue_vue_type_script_setup_true_lang-CaYCI1dH.js (removed) 185 kB 🟢 -185 kB 🟢 -31.9 kB 🟢 -25.9 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-ByS2hFJt.js (removed) 48 kB 🟢 -48 kB 🟢 -10.4 kB 🟢 -9.01 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-Bsi4SFGo.js (new) 47.9 kB 🔴 +47.9 kB 🔴 +10.4 kB 🔴 +9 kB
assets/ComfyQueueButton-C58rHcTi.js (removed) 11.1 kB 🟢 -11.1 kB 🟢 -2.78 kB 🟢 -2.46 kB
assets/ComfyQueueButton-crb1Yh1y.js (new) 11.1 kB 🔴 +11.1 kB 🔴 +2.78 kB 🔴 +2.46 kB
assets/WidgetSelectButton-BmT-_UQD.js (removed) 6.56 kB 🟢 -6.56 kB 🟢 -1.94 kB 🟢 -1.7 kB
assets/WidgetSelectButton-DHBu8Oko.js (new) 6.56 kB 🔴 +6.56 kB 🔴 +1.94 kB 🔴 +1.7 kB
assets/WidgetLayoutField.vue_vue_type_script_setup_true_lang-iIdZ5lK5.js (removed) 2.17 kB 🟢 -2.17 kB 🟢 -822 B 🟢 -722 B
assets/WidgetLayoutField.vue_vue_type_script_setup_true_lang-COaUG5uy.js (new) 2.16 kB 🔴 +2.16 kB 🔴 +811 B 🔴 +701 B
assets/LazyImage.vue_vue_type_script_setup_true_lang-CYFSl-yC.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-ByrPd5jr.js 1.62 kB 1.62 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 5 added / 5 removed

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

Stores, services, APIs, and repositories

File Before After Δ Raw Δ Gzip Δ Brotli
assets/keybindingService-BFc9q1SQ.js (new) 7.6 kB 🔴 +7.6 kB 🔴 +1.84 kB 🔴 +1.59 kB
assets/keybindingService-CYKhFnpC.js (removed) 7.6 kB 🟢 -7.6 kB 🟢 -1.84 kB 🟢 -1.59 kB
assets/audioService-CbG27dG1.js (removed) 2.2 kB 🟢 -2.2 kB 🟢 -962 B 🟢 -824 B
assets/audioService-R53232NO.js (new) 2.2 kB 🔴 +2.2 kB 🔴 +964 B 🔴 +824 B
assets/serverConfigStore-CSC1Jwyz.js 2.79 kB 2.79 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 2 added / 2 removed

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

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/audioUtils-C7YceFgA.js (new) 1.41 kB 🔴 +1.41 kB 🔴 +653 B 🔴 +547 B
assets/audioUtils-eP5O8uiC.js (removed) 1.41 kB 🟢 -1.41 kB 🟢 -651 B 🟢 -547 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
assets/useTransformCompatOverlayProps-YaCpDdzr.js 486 B 486 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/useWidgetValue-IC6pgigJ.js 2.45 kB 2.45 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 1 added / 1 removed

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

External libraries and shared vendor chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/vendor-other-DC3ww4lS.js 3.22 MB 3.22 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-D5vdTa2Y.js 232 kB 232 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-vue-C80SsSPi.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.92 MB (baseline 3.92 MB) • 🟢 -388 B

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/WidgetRecordAudio-CBkhrPes.js (removed) 22.1 kB 🟢 -22.1 kB 🟢 -5.57 kB 🟢 -4.93 kB
assets/WidgetRecordAudio-tCaalgw_.js (new) 22.1 kB 🔴 +22.1 kB 🔴 +5.57 kB 🔴 +4.92 kB
assets/AudioPreviewPlayer-BLmWSGGk.js (removed) 14.9 kB 🟢 -14.9 kB 🟢 -3.71 kB 🟢 -3.31 kB
assets/AudioPreviewPlayer-Ci5N1_3f.js (new) 14.9 kB 🔴 +14.9 kB 🔴 +3.71 kB 🔴 +3.31 kB
assets/WidgetInputNumber-CmspwEkH.js (removed) 14.8 kB 🟢 -14.8 kB 🟢 -3.77 kB 🟢 -3.33 kB
assets/WidgetInputNumber-C_GumUu0.js (new) 14.6 kB 🔴 +14.6 kB 🔴 +3.77 kB 🔴 +3.35 kB
assets/WidgetGalleria-CtoTvHFH.js (new) 5.59 kB 🔴 +5.59 kB 🔴 +1.74 kB 🔴 +1.54 kB
assets/WidgetGalleria-CUqiNqjI.js (removed) 5.59 kB 🟢 -5.59 kB 🟢 -1.74 kB 🟢 -1.54 kB
assets/WidgetColorPicker-DiDazEyf.js (removed) 4.87 kB 🟢 -4.87 kB 🟢 -1.67 kB 🟢 -1.47 kB
assets/WidgetColorPicker-XBlNn6dg.js (new) 4.87 kB 🔴 +4.87 kB 🔴 +1.67 kB 🔴 +1.46 kB
assets/WidgetMarkdown-DTJj-U2J.js (removed) 4.85 kB 🟢 -4.85 kB 🟢 -1.69 kB 🟢 -1.46 kB
assets/WidgetMarkdown-pIjwFObH.js (new) 4.85 kB 🔴 +4.85 kB 🔴 +1.69 kB 🔴 +1.46 kB
assets/WidgetAudioUI-BPNJ0eUJ.js (new) 4.45 kB 🔴 +4.45 kB 🔴 +1.48 kB 🔴 +1.32 kB
assets/WidgetAudioUI-Cs_fgmny.js (removed) 4.45 kB 🟢 -4.45 kB 🟢 -1.48 kB 🟢 -1.32 kB
assets/WidgetMultiSelect-BdrB8VX9.js (removed) 4.26 kB 🟢 -4.26 kB 🟢 -1.44 kB 🟢 -1.26 kB
assets/WidgetMultiSelect-G_5WEFcA.js (new) 4.26 kB 🔴 +4.26 kB 🔴 +1.44 kB 🔴 +1.26 kB
assets/WidgetTreeSelect-C1kEXnKw.js (removed) 3.99 kB 🟢 -3.99 kB 🟢 -1.36 kB 🟢 -1.2 kB
assets/WidgetTreeSelect-DGnd8AKI.js (new) 3.99 kB 🔴 +3.99 kB 🔴 +1.37 kB 🔴 +1.19 kB
assets/WidgetTextarea-BaC0jmqe.js (removed) 3.7 kB 🟢 -3.7 kB 🟢 -1.28 kB 🟢 -1.12 kB
assets/WidgetTextarea-DEHeaez5.js (new) 3.7 kB 🔴 +3.7 kB 🔴 +1.28 kB 🔴 +1.12 kB
assets/WidgetInputText-BH0GChiL.js (new) 3.62 kB 🔴 +3.62 kB 🔴 +1.26 kB 🔴 +1.12 kB
assets/WidgetInputText-DA3vLzfu.js (removed) 3.62 kB 🟢 -3.62 kB 🟢 -1.26 kB 🟢 -1.12 kB
assets/WidgetToggleSwitch-CmpC-kf8.js (removed) 3.59 kB 🟢 -3.59 kB 🟢 -1.23 kB 🟢 -1.1 kB
assets/WidgetToggleSwitch-Cu44NbXL.js (new) 3.49 kB 🔴 +3.49 kB 🔴 +1.21 kB 🔴 +1.06 kB
assets/WidgetSelect-Be-WgVcl.js (removed) 2.29 kB 🟢 -2.29 kB 🟢 -716 B 🟢 -615 B
assets/WidgetSelect-BjYvZKAb.js (new) 2.29 kB 🔴 +2.29 kB 🔴 +718 B 🔴 +608 B
assets/Load3D-B0bJPSE9.js (removed) 2.01 kB 🟢 -2.01 kB 🟢 -606 B 🟢 -511 B
assets/Load3D-CfsrjhMj.js (new) 2.01 kB 🔴 +2.01 kB 🔴 +607 B 🔴 +514 B
assets/WidgetLegacy-BUlnma2e.js (removed) 1.91 kB 🟢 -1.91 kB 🟢 -556 B 🟢 -499 B
assets/WidgetLegacy-CTRukZOi.js (new) 1.91 kB 🔴 +1.91 kB 🔴 +557 B 🔴 +466 B
assets/commands-_6uSNVYB.js 14.9 kB 14.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-BaAvtVOT.js 14.7 kB 14.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-BRKOlMPq.js 15.4 kB 15.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-C1kmJUO0.js 14.9 kB 14.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CHLkz7NH.js 17.4 kB 17.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-cLsDwHMQ.js 14 kB 14 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-Ct50VUT9.js 16.2 kB 16.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DOEnM922.js 14.1 kB 14.1 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-Ds4Sq2CW.js 15.7 kB 15.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-BjHbZI-o.js 97.5 kB 97.5 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-BsmSUEg9.js 75.9 kB 75.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-C1dqVsBC.js 103 kB 103 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-CTcPPkuZ.js 87.4 kB 87.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-CwX98cQA.js 89.7 kB 89.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DFyT7zKX.js 84.8 kB 84.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DHvyJYQT.js 74.9 kB 74.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-ruI2u5eb.js 118 kB 118 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-UdMyOcTd.js 86.4 kB 86.4 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-4dlndULn.js 2.44 kB 2.44 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetFileUpload-Cx6dGznS.js 11.9 kB 11.9 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: 15 added / 15 removed

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

Updating Playwright Expectations

@github-actions github-actions bot removed the New Browser Test Expectations New browser test screenshot should be set by github action label Nov 13, 2025
AustinMroz
AustinMroz previously approved these changes Nov 13, 2025
@DrJKL DrJKL added the New Browser Test Expectations New browser test screenshot should be set by github action label Nov 14, 2025
@AustinMroz
Copy link
Collaborator

Changes look great. Some minor notes:

  • Truncated widget labels, like sampler_name remain truncated even if the node width is increased
    • This functionality was imperfect anyways since it resulted in misalignment of node widgets
image
  • Legacy canvas widgets now clip slightly into inputs/outputs
image

Copy link
Contributor

@christian-byrne christian-byrne left a comment

Choose a reason for hiding this comment

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

LGTM!

@github-actions github-actions bot dismissed stale reviews from christian-byrne and AustinMroz via 2d3ca9f November 14, 2025 00:25
@github-actions github-actions bot removed the New Browser Test Expectations New browser test screenshot should be set by github action label Nov 14, 2025
@DrJKL
Copy link
Contributor Author

DrJKL commented Nov 14, 2025

@AustinMroz The label truncation is going to be tricky, but I think I have a good idea for it.
The legacy widget piece I'll follow up on.

@DrJKL DrJKL merged commit adfd2e5 into main Nov 14, 2025
2 checks passed
@DrJKL DrJKL deleted the drjkl/vue/compact-nodes branch November 14, 2025 00:32
benceruleanlu pushed a commit that referenced this pull request Nov 14, 2025
## Summary

Simple and clean is the way that we're making the nodes tonight.

## Changes

- **What**: Smaller minimum widths for nodes and labels
- **What**: Smaller font for the labels
- **What**: Removed outlines for widgets
- **What**: Fixes a text/background issue with buttons on widgets
- **What**: Smaller header
- **What**: Less padding within the node itself

## Review Focus

Check out the new styles and how they align with the Designs.

## Screenshots

| Before | After |
| --- | --- |
| <img width="542" height="486" alt="image"
src="https://github.com/user-attachments/assets/41fe9801-7a43-49ac-87fc-36d3b2ee82fb"
/> | <img width="411" height="388" alt="image"
src="https://github.com/user-attachments/assets/a7c21120-bf67-4039-86b3-c348bcc4341b"
/> |

<!-- Add screenshots or video recording to help explain your changes -->

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-6687-Style-Compact-Modern-Nodes-2aa6d73d365081c48db3c5491c556dc9)
by [Unito](https://www.unito.io)

---------

Co-authored-by: github-actions <[email protected]>
christian-byrne pushed a commit that referenced this pull request Nov 18, 2025
#6731)

## Summary

### Problem:
After [vue node compacting
PR](#6687) the white
space within the node has been greatly reduced, lowering the min
intrinsic size, thus allowing us to reduce the amount we need to scale
up via ensureCorrectLayoutScale(), therefore increasing readability of
nodes. Great!

However, a side effect of reducing the scale factor means nodes with
larger min content will not be scaled up enough causing nodes to be too
large in many cases.

For example, if the min intrinsic width is very long due to input
length:
<img width="807" height="519" alt="image"
src="https://github.com/user-attachments/assets/a6ea3852-bed5-49b2-b10e-c2e65c6450b2"
/>

### Solution:
Allow for nodes to be resized less than their intrinsic min width. And
truncate widget inputs like many other node UIs do.

IMPORTANT: when a node is added via search or other, it will still get a
min size based on its intrinsic content it just wont be the min width!
So best of both worlds.

<img width="670" height="551" alt="image"
src="https://github.com/user-attachments/assets/f4f5ec8c-037e-472f-a5a1-d8a59a87c0b0"
/>


this means we choose a default min width and clamp resize to it. This
also means we have to remove the arbitrary min width values that were
sprinkled around the vue node widgets. They are not needed because
instead of min width, they can take up full width and inherit the sizing
from the node min width! This makes nodes like little browser windows
and widgets are just responsive elements with in. Much more natural imo.

### Bonus
- Set ensureCorrectLayouScale() to scale factor of 1.2 which means vue
nodes are now only being set 20% bigger than LG. That covers for the
height difference we cant change!
- Fix ensureCorrectLayouScale() to offset y position for groups / better
alignment
- Get rid of arbitrary inflexible min width like min-[417px] which
shouldnt have been used the first place
- Make Select and Input overlay portals width set to their content


## Changes

**What**: 
- Node resizing behavior
- Node widget min width
- Widget input and slot truncation
- Misc arbitrary styling that should have been fluid

## Screenshots (if applicable)


https://github.com/user-attachments/assets/3ea4b8fe-565a-47f7-b3ab-6cef56cecde5


https://github.com/user-attachments/assets/2fe1e1a0-a9dc-4000-b865-ce2d8c7f3606


┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-6731-fix-arbitrary-styles-min-size-content-ensure-layout-calc-trunc-2af6d73d365081eab507c2f1638a4194)
by [Unito](https://www.unito.io)

---------

Co-authored-by: github-actions <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants