Skip to content

Conversation

@jtydhr88
Copy link
Collaborator

@jtydhr88 jtydhr88 commented Dec 30, 2025

Summary

(Not sure we want it, but try to fix #7755 which makes sense to me)

Remove opacity reduction for bypassed nodes so that links remain hidden underneath instead of showing through. The bypass visual is now indicated only by the color overlay.

Screenshots - litegraph

before
image

after
image

Screenshots - vueNodes

before
image

after
image

┆Issue is synchronized with this Notion page by Unito

@jtydhr88 jtydhr88 requested a review from a team as a code owner December 30, 2025 02:55
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Dec 30, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 30, 2025

Important

Review skipped

Auto reviews are limited based on label configuration.

🚫 Review skipped — only excluded labels are configured. (1)
  • backport

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

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

📝 Walkthrough

Walkthrough

The changes refactor how bypassed nodes are visually indicated in LiteGraph. Node opacity is no longer dynamically reduced for bypassed nodes, and alpha computation no longer accounts for bypass mode. Visual distinction is now achieved solely through a color overlay, with the default bypass color updated from bright magenta to dark purple.

Changes

Cohort / File(s) Summary
Alpha and opacity simplification
src/lib/litegraph/src/LGraphCanvas.ts, src/renderer/extensions/vueNodes/components/LGraphNode.vue
Removed opacity/alpha adjustments for bypassed nodes. getNodeModeAlpha no longer returns reduced alpha (0.2) for bypass mode. nodeOpacity now returns global opacity unconditionally, eliminating the prior halving logic. Color overlay becomes the sole visual indicator.
Bypass color constant update
src/lib/litegraph/src/LiteGraphGlobal.ts
NODE_DEFAULT_BYPASS_COLOR changed from #FF00FF (bright magenta) to #6a246a (dark purple).

Pre-merge checks and finishing touches

✅ Passed checks (2 passed)
Check name Status Explanation
Linked Issues check ✅ Passed The PR addresses issue #7755 by removing opacity reduction for bypassed nodes, allowing connecting links to remain visually hidden beneath nodes rather than showing through.
Out of Scope Changes check ✅ Passed All changes are focused on the bypass node visibility issue: modified node alpha computation, updated bypass color constant, and removed opacity reduction for bypassed nodes.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@github-actions
Copy link

github-actions bot commented Dec 30, 2025

🎭 Playwright Test Results

Some tests failed

⏰ Completed at: 12/30/2025, 03:23:24 AM UTC

📈 Summary

  • Total Tests: 507
  • Passed: 492 ✅
  • Failed: 5 ❌
  • Flaky: 2 ⚠️
  • Skipped: 8 ⏭️

📊 Test Reports by Browser

  • chromium: View Report • ✅ 480 / ❌ 5 / ⚠️ 2 / ⏭️ 8
  • chromium-2x: View Report • ✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • chromium-0.5x: View Report • ✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • mobile-chrome: View Report • ✅ 9 / ❌ 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 Dec 30, 2025

🎨 Storybook Build Status

Build completed successfully!

⏰ Completed at: 12/30/2025, 03:14:15 AM UTC

🔗 Links


🎉 Your Storybook is ready for review!

@github-actions
Copy link

github-actions bot commented Dec 30, 2025

Bundle Size Report

Summary

  • Raw size: 17.3 MB baseline 17.3 MB — 🟢 -133 B
  • Gzip: 3.54 MB baseline 3.54 MB — 🔴 +43 B
  • Brotli: 2.7 MB baseline 2.7 MB — 🔴 +309 B
  • Bundles: 98 current • 98 baseline • 43 added / 43 removed

Category Glance
Graph Workspace 🟢 -87 B (1000 kB) · App Entry Points 🟢 -46 B (3.2 MB) · Vendor & Third-Party ⚪ 0 B (9.1 MB) · Other ⚪ 0 B (3.47 MB) · Panels & Settings ⚪ 0 B (300 kB) · UI Components ⚪ 0 B (199 kB) · + 3 more

Per-category breakdown
App Entry Points — 3.2 MB (baseline 3.2 MB) • 🟢 -46 B

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-BdMsQZiV.js (removed) 3.01 MB 🟢 -3.01 MB 🟢 -633 kB 🟢 -481 kB
assets/index-LYY-8D4N.js (new) 3.01 MB 🔴 +3.01 MB 🔴 +633 kB 🔴 +481 kB
assets/index-C3b90ssZ.js (new) 193 kB 🔴 +193 kB 🔴 +42 kB 🔴 +35 kB
assets/index-Cfps1V_z.js (removed) 193 kB 🟢 -193 kB 🟢 -42 kB 🟢 -35 kB
assets/index-BncAMMb8.js (removed) 345 B 🟢 -345 B 🟢 -242 B 🟢 -208 B
assets/index-wW0_t98X.js (new) 345 B 🔴 +345 B 🔴 +246 B 🔴 +232 B

Status: 3 added / 3 removed

Graph Workspace — 1000 kB (baseline 1000 kB) • 🟢 -87 B

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-Ckdd5S60.js (removed) 1000 kB 🟢 -1000 kB 🟢 -194 kB 🟢 -148 kB
assets/GraphView-BcyKfH_g.js (new) 1000 kB 🔴 +1000 kB 🔴 +194 kB 🔴 +148 kB

Status: 1 added / 1 removed

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

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/UserSelectView-DcGcLwGT.js (removed) 6.63 kB 🟢 -6.63 kB 🟢 -2.15 kB 🟢 -1.9 kB
assets/UserSelectView-oUZr_AOl.js (new) 6.63 kB 🔴 +6.63 kB 🔴 +2.15 kB 🔴 +1.9 kB

Status: 1 added / 1 removed

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

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/LegacyCreditsPanel-BjTRQBq1.js (removed) 22.7 kB 🟢 -22.7 kB 🟢 -5.26 kB 🟢 -4.6 kB
assets/LegacyCreditsPanel-DCrnUR0w.js (new) 22.7 kB 🔴 +22.7 kB 🔴 +5.26 kB 🔴 +4.61 kB
assets/KeybindingPanel-C6bALEqW.js (new) 14.8 kB 🔴 +14.8 kB 🔴 +3.57 kB 🔴 +3.14 kB
assets/KeybindingPanel-LAkPRFfZ.js (removed) 14.8 kB 🟢 -14.8 kB 🟢 -3.57 kB 🟢 -3.13 kB
assets/ExtensionPanel-6DmkYqxV.js (removed) 11.1 kB 🟢 -11.1 kB 🟢 -2.62 kB 🟢 -2.3 kB
assets/ExtensionPanel-Cf5FnUTn.js (new) 11.1 kB 🔴 +11.1 kB 🔴 +2.62 kB 🔴 +2.29 kB
assets/AboutPanel-BCOItoVx.js (new) 9.16 kB 🔴 +9.16 kB 🔴 +2.46 kB 🔴 +2.2 kB
assets/AboutPanel-CUJ9UhUD.js (removed) 9.16 kB 🟢 -9.16 kB 🟢 -2.46 kB 🟢 -2.21 kB
assets/ServerConfigPanel-CW1vIhWz.js (new) 7.51 kB 🔴 +7.51 kB 🔴 +2.05 kB 🔴 +1.81 kB
assets/ServerConfigPanel-DJsvO6CM.js (removed) 7.51 kB 🟢 -7.51 kB 🟢 -2.05 kB 🟢 -1.81 kB
assets/UserPanel-BGBsMjnd.js (removed) 6.88 kB 🟢 -6.88 kB 🟢 -1.79 kB 🟢 -1.57 kB
assets/UserPanel-CAk_69EI.js (new) 6.88 kB 🔴 +6.88 kB 🔴 +1.79 kB 🔴 +1.57 kB
assets/settings-AN2JfZVQ.js 21.7 kB 21.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-BhbWhsRg.js 101 B 101 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-BIdKi-OT.js 26.2 kB 26.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-Bu3OR-lX.js 24.6 kB 24.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-ByL6gy5c.js 25.4 kB 25.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-CjlRFMdL.js 32.8 kB 32.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-DkGwvylK.js 26.9 kB 26.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-Dyd027Dx.js 24.7 kB 24.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-wwBxqLH5.js 21.3 kB 21.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/settings-xx2Yb6R2.js 23.8 kB 23.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 6 added / 6 removed

UI Components — 199 kB (baseline 199 kB) • ⚪ 0 B

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/LazyImage.vue_vue_type_script_setup_true_lang-B4wrtPc4.js (removed) 59.9 kB 🟢 -59.9 kB 🟢 -12.4 kB 🟢 -10.8 kB
assets/LazyImage.vue_vue_type_script_setup_true_lang-N7r-shzO.js (new) 59.9 kB 🔴 +59.9 kB 🔴 +12.4 kB 🔴 +10.8 kB
assets/Load3D.vue_vue_type_script_setup_true_lang-CYJeCBPP.js (new) 56.4 kB 🔴 +56.4 kB 🔴 +8.9 kB 🔴 +7.62 kB
assets/Load3D.vue_vue_type_script_setup_true_lang-CYvmaeRt.js (removed) 56.4 kB 🟢 -56.4 kB 🟢 -8.9 kB 🟢 -7.59 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-CufjCcgu.js (new) 48.8 kB 🔴 +48.8 kB 🔴 +10.5 kB 🔴 +9.15 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-D0OUuujA.js (removed) 48.8 kB 🟢 -48.8 kB 🟢 -10.5 kB 🟢 -9.13 kB
assets/WidgetInputNumber.vue_vue_type_script_setup_true_lang-ng18YPRe.js (new) 14.3 kB 🔴 +14.3 kB 🔴 +3.74 kB 🔴 +3.29 kB
assets/WidgetInputNumber.vue_vue_type_script_setup_true_lang-Qy_eIKKZ.js (removed) 14.3 kB 🟢 -14.3 kB 🟢 -3.73 kB 🟢 -3.29 kB
assets/ComfyQueueButton-2UamM4lj.js (removed) 8.83 kB 🟢 -8.83 kB 🟢 -2.57 kB 🟢 -2.29 kB
assets/ComfyQueueButton-uCFEYIjr.js (new) 8.83 kB 🔴 +8.83 kB 🔴 +2.58 kB 🔴 +2.29 kB
assets/WidgetWithControl.vue_vue_type_script_setup_true_lang-Ckyanoc_.js (removed) 3.72 kB 🟢 -3.72 kB 🟢 -1.45 kB 🟢 -1.31 kB
assets/WidgetWithControl.vue_vue_type_script_setup_true_lang-lvT7Y2BS.js (new) 3.72 kB 🔴 +3.72 kB 🔴 +1.46 kB 🔴 +1.32 kB
assets/WidgetButton-B3628knh.js (removed) 2.21 kB 🟢 -2.21 kB 🟢 -999 B 🟢 -895 B
assets/WidgetButton-CUDvnxjO.js (new) 2.21 kB 🔴 +2.21 kB 🔴 +999 B 🔴 +895 B
assets/WidgetLayoutField.vue_vue_type_script_setup_true_lang-CU1FPVr_.js (removed) 2.14 kB 🟢 -2.14 kB 🟢 -890 B 🟢 -764 B
assets/WidgetLayoutField.vue_vue_type_script_setup_true_lang-kkr9MoDV.js (new) 2.14 kB 🔴 +2.14 kB 🔴 +891 B 🔴 +774 B
assets/MediaTitle.vue_vue_type_script_setup_true_lang-Bu9LRkf7.js (removed) 897 B 🟢 -897 B 🟢 -504 B 🟢 -461 B
assets/MediaTitle.vue_vue_type_script_setup_true_lang-pwpcYBaB.js (new) 897 B 🔴 +897 B 🔴 +503 B 🔴 +442 B
assets/UserAvatar.vue_vue_type_script_setup_true_lang-3ve79e_P.js 1.34 kB 1.34 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 9 added / 9 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-BpraE2Ic.js (removed) 7.51 kB 🟢 -7.51 kB 🟢 -1.83 kB 🟢 -1.57 kB
assets/keybindingService-DX1CfieP.js (new) 7.51 kB 🔴 +7.51 kB 🔴 +1.83 kB 🔴 +1.58 kB
assets/audioService-D1uNVcfH.js (removed) 2.2 kB 🟢 -2.2 kB 🟢 -960 B 🟢 -825 B
assets/audioService-t8Y-h_ZP.js (new) 2.2 kB 🔴 +2.2 kB 🔴 +963 B 🔴 +822 B
assets/serverConfigStore-ClbvVDb_.js 2.83 kB 2.83 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 2 added / 2 removed

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

Helpers, composables, and utility bundles

File Before After Δ Raw Δ Gzip Δ Brotli
assets/audioUtils-DCBJfR1_.js (removed) 1.41 kB 🟢 -1.41 kB 🟢 -652 B 🟢 -542 B
assets/audioUtils-tKNEuRAm.js (new) 1.41 kB 🔴 +1.41 kB 🔴 +653 B 🔴 +546 B

Status: 1 added / 1 removed

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

External libraries and shared vendor chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/vendor-chart-ByLwKL2Y.js 452 kB 452 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-other-DdEHkzYa.js 3.86 MB 3.86 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-primevue-DmDWdkDd.js 1.95 MB 1.95 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-three-DYL0ZbEr.js 2.02 MB 2.02 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-tiptap-B76LFN34.js 232 kB 232 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-vue-BIRc7P93.js 160 kB 160 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-xterm-BF8peZ5_.js 420 kB 420 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
Other — 3.47 MB (baseline 3.47 MB) • ⚪ 0 B

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/SubscriptionRequiredDialogContent-BxB-J_Og.js (removed) 28.5 kB 🟢 -28.5 kB 🟢 -6.29 kB 🟢 -5.46 kB
assets/SubscriptionRequiredDialogContent-DwIIlSAx.js (new) 28.5 kB 🔴 +28.5 kB 🔴 +6.3 kB 🔴 +5.46 kB
assets/WidgetRecordAudio-mrUPuUxI.js (removed) 20.4 kB 🟢 -20.4 kB 🟢 -5.24 kB 🟢 -4.64 kB
assets/WidgetRecordAudio-sjVu_t4G.js (new) 20.4 kB 🔴 +20.4 kB 🔴 +5.24 kB 🔴 +4.64 kB
assets/AudioPreviewPlayer-CK_hEh9w.js (removed) 13.3 kB 🟢 -13.3 kB 🟢 -3.35 kB 🟢 -3.01 kB
assets/AudioPreviewPlayer-DPyFPXdb.js (new) 13.3 kB 🔴 +13.3 kB 🔴 +3.35 kB 🔴 +2.99 kB
assets/ValueControlPopover-CmZL02Rw.js (new) 5.49 kB 🔴 +5.49 kB 🔴 +1.71 kB 🔴 +1.51 kB
assets/ValueControlPopover-Dfz5mxNP.js (removed) 5.49 kB 🟢 -5.49 kB 🟢 -1.71 kB 🟢 -1.51 kB
assets/WidgetGalleria-B1sLGvYB.js (new) 4.1 kB 🔴 +4.1 kB 🔴 +1.45 kB 🔴 +1.3 kB
assets/WidgetGalleria-B1VIRFNF.js (removed) 4.1 kB 🟢 -4.1 kB 🟢 -1.45 kB 🟢 -1.31 kB
assets/WidgetColorPicker-C64J0MTY.js (new) 3.41 kB 🔴 +3.41 kB 🔴 +1.39 kB 🔴 +1.23 kB
assets/WidgetColorPicker-CgHhbOpF.js (removed) 3.41 kB 🟢 -3.41 kB 🟢 -1.38 kB 🟢 -1.23 kB
assets/WidgetTextarea-BtBs287u.js (removed) 3.08 kB 🟢 -3.08 kB 🟢 -1.22 kB 🟢 -1.07 kB
assets/WidgetTextarea-CNeAo90X.js (new) 3.08 kB 🔴 +3.08 kB 🔴 +1.22 kB 🔴 +1.08 kB
assets/WidgetMarkdown-DSRmyo-i.js (removed) 3.08 kB 🟢 -3.08 kB 🟢 -1.28 kB 🟢 -1.13 kB
assets/WidgetMarkdown-TtZFt1ko.js (new) 3.08 kB 🔴 +3.08 kB 🔴 +1.28 kB 🔴 +1.13 kB
assets/WidgetAudioUI-Dgq5xpXq.js (removed) 2.89 kB 🟢 -2.89 kB 🟢 -1.17 kB 🟢 -1.06 kB
assets/WidgetAudioUI-LnlrHQkK.js (new) 2.89 kB 🔴 +2.89 kB 🔴 +1.17 kB 🔴 +1.06 kB
assets/WidgetInputText-BQy89--Y.js (removed) 1.99 kB 🟢 -1.99 kB 🟢 -922 B 🟢 -857 B
assets/WidgetInputText-Cix0gVxv.js (new) 1.99 kB 🔴 +1.99 kB 🔴 +923 B 🔴 +850 B
assets/WidgetToggleSwitch-DJam5Mpd.js (new) 1.76 kB 🔴 +1.76 kB 🔴 +835 B 🔴 +735 B
assets/WidgetToggleSwitch-DXwrrdq1.js (removed) 1.76 kB 🟢 -1.76 kB 🟢 -834 B 🟢 -735 B
assets/MediaImageBottom-4Z2C4YNt.js (new) 1.55 kB 🔴 +1.55 kB 🔴 +733 B 🔴 +637 B
assets/MediaImageBottom-DUG6iOM7.js (removed) 1.55 kB 🟢 -1.55 kB 🟢 -733 B 🟢 -638 B
assets/MediaAudioBottom-D0Tuw4e7.js (new) 1.51 kB 🔴 +1.51 kB 🔴 +733 B 🔴 +644 B
assets/MediaAudioBottom-D98aPzRD.js (removed) 1.51 kB 🟢 -1.51 kB 🟢 -733 B 🟢 -643 B
assets/Media3DBottom-1lXv9e0L.js (new) 1.5 kB 🔴 +1.5 kB 🔴 +731 B 🔴 +645 B
assets/Media3DBottom-SVpn6TuN.js (removed) 1.5 kB 🟢 -1.5 kB 🟢 -732 B 🟢 -642 B
assets/MediaVideoBottom-CxDJL7Us.js (removed) 1.5 kB 🟢 -1.5 kB 🟢 -733 B 🟢 -643 B
assets/MediaVideoBottom-D4wUylwh.js (new) 1.5 kB 🔴 +1.5 kB 🔴 +732 B 🔴 +643 B
assets/Media3DTop-adwQReN2.js (new) 1.49 kB 🔴 +1.49 kB 🔴 +768 B 🔴 +649 B
assets/Media3DTop-BDwcXYTm.js (removed) 1.49 kB 🟢 -1.49 kB 🟢 -769 B 🟢 -652 B
assets/WidgetSelect-CcAlezuE.js (new) 733 B 🔴 +733 B 🔴 +363 B 🔴 +324 B
assets/WidgetSelect-CisUS06V.js (removed) 733 B 🟢 -733 B 🟢 -362 B 🟢 -306 B
assets/WidgetInputNumber-DbryQvRa.js (removed) 673 B 🟢 -673 B 🟢 -347 B 🟢 -282 B
assets/WidgetInputNumber-xfu_cxW2.js (new) 673 B 🔴 +673 B 🔴 +350 B 🔴 +291 B
assets/Load3D-DQu-Vghs.js (removed) 424 B 🟢 -424 B 🟢 -266 B 🟢 -228 B
assets/Load3D-Ll1jXZNA.js (new) 424 B 🔴 +424 B 🔴 +269 B 🔴 +224 B
assets/WidgetLegacy-DrOAmbw0.js (new) 364 B 🔴 +364 B 🔴 +239 B 🔴 +226 B
assets/WidgetLegacy-YLx_reCm.js (removed) 364 B 🟢 -364 B 🟢 -237 B 🟢 -194 B
assets/commands-bTEY9Mp6.js 13.8 kB 13.8 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-BWp4HdfU.js 101 B 101 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CcfGaui5.js 14.4 kB 14.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CisfgZf5.js 13.7 kB 13.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CkU12Foh.js 13 kB 13 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-CoH2DJa6.js 14.2 kB 14.2 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-COSt-Bjx.js 14.9 kB 14.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DalfIW5f.js 15.9 kB 15.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DfTl0eCm.js 13.5 kB 13.5 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/commands-DwSJL865.js 13.7 kB 13.7 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-Bdc58rJq.js 97.1 kB 97.1 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-BRKE6VDs.js 91 kB 91 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-C9ZJBRdI.js 81.5 kB 81.5 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-CAL83XT3.js 84.6 kB 84.6 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-CHLLfvpG.js 82.4 kB 82.4 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-Cw9RZWRY.js 89 B 89 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DDqR5EuX.js 71.3 kB 71.3 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-DLHyaEcz.js 92.1 kB 92.1 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-O7KfJeMO.js 79.9 kB 79.9 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/main-OzGsrlqJ.js 112 kB 112 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaAudioTop-CgldzfMV.js 1.46 kB 1.46 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaImageTop-BmT4ess7.js 1.75 kB 1.75 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaVideoTop-DrDqLo2M.js 2.65 kB 2.65 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-aW9En70v.js 260 kB 260 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-BIckSVgU.js 273 kB 273 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-BiYpVi7D.js 263 kB 263 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-Bw_Jitw_.js 101 B 101 B ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CCEXtYfM.js 243 kB 243 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-CvmVDWYd.js 323 kB 323 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-D_wreoPJ.js 267 kB 267 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-DIAYlJwM.js 246 kB 246 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-Dz-0ZIBN.js 297 kB 297 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/nodeDefs-VZsNmhG7.js 264 kB 264 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetChart-DE0SfMVO.js 2.48 kB 2.48 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetImageCompare-Bvg3Od2A.js 3.18 kB 3.18 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/widgetPropFilter-BIbGSUAt.js 1.28 kB 1.28 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 20 added / 20 removed

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: 1

📜 Review details

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 91ed58a and b5d528c.

📒 Files selected for processing (3)
  • src/lib/litegraph/src/LGraphCanvas.ts
  • src/lib/litegraph/src/LiteGraphGlobal.ts
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
🧰 Additional context used
📓 Path-based instructions (13)
src/**/*.{vue,ts}

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

src/**/*.{vue,ts}: Leverage VueUse functions for performance-enhancing styles
Implement proper error handling
Use vue-i18n in composition API for any string literals. Place new translation entries in src/locales/en/main.json

Files:

  • src/lib/litegraph/src/LGraphCanvas.ts
  • src/lib/litegraph/src/LiteGraphGlobal.ts
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
src/**/*.ts

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

src/**/*.ts: Use es-toolkit for utility functions
Use TypeScript for type safety

Files:

  • src/lib/litegraph/src/LGraphCanvas.ts
  • src/lib/litegraph/src/LiteGraphGlobal.ts
src/**/*.{ts,tsx,vue}

📄 CodeRabbit inference engine (src/CLAUDE.md)

src/**/*.{ts,tsx,vue}: Sanitize HTML with DOMPurify to prevent XSS attacks
Avoid using @ts-expect-error; use proper TypeScript types instead
Use es-toolkit for utility functions instead of other utility libraries
Implement proper TypeScript types throughout the codebase

Files:

  • src/lib/litegraph/src/LGraphCanvas.ts
  • src/lib/litegraph/src/LiteGraphGlobal.ts
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
src/**/*.{vue,ts,tsx}

📄 CodeRabbit inference engine (src/CLAUDE.md)

Follow Vue 3 composition API style guide

Files:

  • src/lib/litegraph/src/LGraphCanvas.ts
  • src/lib/litegraph/src/LiteGraphGlobal.ts
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
src/lib/litegraph/**/*.{js,ts,jsx,tsx}

📄 CodeRabbit inference engine (src/lib/litegraph/CLAUDE.md)

src/lib/litegraph/**/*.{js,ts,jsx,tsx}: Run ESLint instead of manually figuring out whitespace fixes or other trivial style concerns using the pnpm lint:fix command
Take advantage of TypedArray subarray when appropriate
The size and pos properties of Rectangle share the same array buffer (subarray); they may be used to set the rectangle's size and position
Prefer single line if syntax over adding curly braces, when the statement has a very concise expression and concise, single line statement
Do not replace &&= or ||= with = when there is no reason to do so. If you do find a reason to remove either &&= or ||=, leave a comment explaining why the removal occurred
When writing methods, prefer returning idiomatic JavaScript undefined over null

Files:

  • src/lib/litegraph/src/LGraphCanvas.ts
  • src/lib/litegraph/src/LiteGraphGlobal.ts
src/lib/litegraph/**/*.{ts,tsx}

📄 CodeRabbit inference engine (src/lib/litegraph/CLAUDE.md)

Type assertions are an absolute last resort. In almost all cases, they are a crutch that leads to brittle code

Files:

  • src/lib/litegraph/src/LGraphCanvas.ts
  • src/lib/litegraph/src/LiteGraphGlobal.ts
**/*.{ts,tsx,vue}

📄 CodeRabbit inference engine (AGENTS.md)

**/*.{ts,tsx,vue}: Use TypeScript exclusively; do not write new JavaScript code
Use sorted and grouped imports organized by plugin/source
Enforce ESLint rules including Vue + TypeScript rules, disallow floating promises, disallow unused imports, and restrict i18n raw text in templates
Do not use any type or as any type assertions; fix the underlying type issue instead
Write code that is expressive and self-documenting; avoid redundant comments and clean as you go
Keep functions short and functional; minimize nesting and follow the arrow anti-pattern
Avoid mutable state; prefer immutability and assignment at point of declaration
Use function declarations instead of function expressions when possible
Use es-toolkit for utility functions
Implement proper error handling in code

Files:

  • src/lib/litegraph/src/LGraphCanvas.ts
  • src/lib/litegraph/src/LiteGraphGlobal.ts
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
**/*.{ts,tsx,vue,js,jsx,json,css}

📄 CodeRabbit inference engine (AGENTS.md)

Apply Prettier formatting with 2-space indentation, single quotes, no trailing semicolons, and 80-character line width

Files:

  • src/lib/litegraph/src/LGraphCanvas.ts
  • src/lib/litegraph/src/LiteGraphGlobal.ts
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
**/*.{ts,tsx}

📄 CodeRabbit inference engine (AGENTS.md)

Minimize the surface area (exported values) of each module and composable

Files:

  • src/lib/litegraph/src/LGraphCanvas.ts
  • src/lib/litegraph/src/LiteGraphGlobal.ts
src/**/*.vue

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

src/**/*.vue: Use the Vue 3 Composition API instead of the Options API when writing Vue components (exception: when overriding or extending PrimeVue components for compatibility)
Use setup() function for component logic
Utilize ref and reactive for reactive state
Implement computed properties with computed()
Use watch and watchEffect for side effects
Implement lifecycle hooks with onMounted, onUpdated, etc.
Utilize provide/inject for dependency injection
Use vue 3.5 style of default prop declaration
Use Tailwind CSS for styling
Implement proper props and emits definitions
Utilize Vue 3's Teleport component when needed
Use Suspense for async components
Follow Vue 3 style guide and naming conventions

Files:

  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
src/**/{composables,components}/**/*.{ts,tsx,vue}

📄 CodeRabbit inference engine (src/CLAUDE.md)

Clean up subscriptions in state management to prevent memory leaks

Files:

  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
src/**/{components,composables}/**/*.{ts,tsx,vue}

📄 CodeRabbit inference engine (src/CLAUDE.md)

Use vue-i18n for ALL user-facing strings by adding them to src/locales/en/main.json

Files:

  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
**/*.vue

📄 CodeRabbit inference engine (AGENTS.md)

**/*.vue: Use Vue 3.5+ with TypeScript in .vue files, exclusively using Composition API with <script setup lang="ts"> syntax
Use Tailwind 4 for styling in Vue components; avoid <style> blocks
Name Vue components using PascalCase (e.g., MenuHamburger.vue)
Use Vue 3.5 TypeScript-style default prop declaration with reactive props destructuring; do not use withDefaults or runtime props declaration
Prefer computed() over ref with watch when deriving values
Prefer useModel over separately defining prop and emit for two-way binding
Use vue-i18n in composition API for string literals; place new translation entries in src/locales/en/main.json
Use cn() utility function from @/utils/tailwindUtil for merging Tailwind class names; do not use :class="[]" syntax
Do not use the dark: Tailwind variant; use semantic values from the style.css theme instead (e.g., bg-node-component-surface)
Do not use !important or the ! important prefix for Tailwind classes; find and correct interfering !important classes instead
Avoid new usage of PrimeVue components; use VueUse, shadcn/vue, or Reka UI instead
Leverage VueUse functions for performance-enhancing styles in Vue components
Implement proper props and emits definitions in Vue components
Utilize Vue 3's Teleport component when needed
Use Suspense for async components
Follow Vue 3 style guide and naming conventions

Files:

  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
🧠 Learnings (14)
📓 Common learnings
Learnt from: simula-r
Repo: Comfy-Org/ComfyUI_frontend PR: 7252
File: src/renderer/extensions/vueNodes/components/ImagePreview.vue:151-158
Timestamp: 2025-12-11T03:55:57.926Z
Learning: In src/renderer/extensions/vueNodes/components/ImagePreview.vue and LGraphNode.vue, keyboard navigation for image galleries should respond to node-level focus (via keyEvent injection from LGraphNode), not require focus within the image preview wrapper itself. This allows users to navigate the gallery with arrow keys immediately when the node is focused/selected.
📚 Learning: 2025-11-24T19:47:56.371Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/lib/litegraph/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:56.371Z
Learning: Applies to src/lib/litegraph/**/*.{js,ts,jsx,tsx} : Do not replace `&&=` or `||=` with `=` when there is no reason to do so. If you do find a reason to remove either `&&=` or `||=`, leave a comment explaining why the removal occurred

Applied to files:

  • src/lib/litegraph/src/LGraphCanvas.ts
  • src/lib/litegraph/src/LiteGraphGlobal.ts
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
📚 Learning: 2025-12-09T03:39:54.501Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7169
File: src/platform/remote/comfyui/jobs/jobTypes.ts:1-107
Timestamp: 2025-12-09T03:39:54.501Z
Learning: In the ComfyUI_frontend project, Zod is on v3.x. Do not suggest Zod v4 standalone validators (z.uuid, z.ulid, z.cuid2, z.nanoid) until an upgrade to Zod 4 is performed. When reviewing TypeScript files (e.g., src/platform/remote/comfyui/jobs/jobTypes.ts) validate against Zod 3 capabilities and avoid introducing v4-specific features; flag any proposal to upgrade or incorporate v4-only validators and propose staying with compatible 3.x patterns.

Applied to files:

  • src/lib/litegraph/src/LGraphCanvas.ts
  • src/lib/litegraph/src/LiteGraphGlobal.ts
📚 Learning: 2025-12-13T11:03:11.264Z
Learnt from: christian-byrne
Repo: Comfy-Org/ComfyUI_frontend PR: 7416
File: src/stores/imagePreviewStore.ts:5-7
Timestamp: 2025-12-13T11:03:11.264Z
Learning: In the ComfyUI_frontend repository, lint rules require keeping 'import type' statements separate from non-type imports, even if importing from the same module. Do not suggest consolidating them into a single import statement. Ensure type imports remain on their own line (import type { ... } from 'module') and regular imports stay on separate lines.

Applied to files:

  • src/lib/litegraph/src/LGraphCanvas.ts
  • src/lib/litegraph/src/LiteGraphGlobal.ts
📚 Learning: 2025-12-17T00:40:09.635Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7537
File: src/components/ui/button/Button.stories.ts:45-55
Timestamp: 2025-12-17T00:40:09.635Z
Learning: Prefer pure function declarations over function expressions (e.g., use function foo() { ... } instead of const foo = () => { ... }) for pure functions in the repository. Function declarations are more functional-leaning, offer better hoisting clarity, and can improve readability and tooling consistency. Apply this guideline across TypeScript files in Comfy-Org/ComfyUI_frontend, including story and UI component code, except where a function expression is semantically required (e.g., callbacks, higher-order functions with closures).

Applied to files:

  • src/lib/litegraph/src/LGraphCanvas.ts
  • src/lib/litegraph/src/LiteGraphGlobal.ts
📚 Learning: 2025-12-11T12:25:15.470Z
Learnt from: christian-byrne
Repo: Comfy-Org/ComfyUI_frontend PR: 7358
File: src/components/dialog/content/signin/SignUpForm.vue:45-54
Timestamp: 2025-12-11T12:25:15.470Z
Learning: This repository uses CI automation to format code (pnpm format). Do not include manual formatting suggestions in code reviews for Comfy-Org/ComfyUI_frontend. If formatting issues are detected, rely on the CI formatter or re-run pnpm format. Focus reviews on correctness, readability, performance, accessibility, and maintainability rather than style formatting.

Applied to files:

  • src/lib/litegraph/src/LGraphCanvas.ts
  • src/lib/litegraph/src/LiteGraphGlobal.ts
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
📚 Learning: 2025-12-11T03:55:51.755Z
Learnt from: simula-r
Repo: Comfy-Org/ComfyUI_frontend PR: 7252
File: src/renderer/extensions/vueNodes/components/ImagePreview.vue:151-158
Timestamp: 2025-12-11T03:55:51.755Z
Learning: In Vue components under src/renderer/extensions/vueNodes (e.g., ImagePreview.vue and LGraphNode.vue), implement image gallery keyboard navigation so that it responds to the node's focus state rather than requiring focus inside the image preview wrapper. Achieve this by wiring keyEvent handling at the node focus level and injecting or propagating key events (arrow keys) to the gallery when the node is focused/selected. This improves accessibility and aligns navigation with node-level focus behavior.

Applied to files:

  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
📚 Learning: 2025-12-09T03:49:52.828Z
Learnt from: christian-byrne
Repo: Comfy-Org/ComfyUI_frontend PR: 6300
File: src/platform/updates/components/WhatsNewPopup.vue:5-13
Timestamp: 2025-12-09T03:49:52.828Z
Learning: In Vue files across the ComfyUI_frontend repo, when a button is needed, prefer the repo's common button components from src/components/button/ (IconButton.vue, TextButton.vue, IconTextButton.vue) over plain HTML <button> elements. These components wrap PrimeVue with the project’s design system styling. Use only the common button components for consistency and theming, and import them from src/components/button/ as needed.

Applied to files:

  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
📚 Learning: 2025-12-09T21:40:12.361Z
Learnt from: benceruleanlu
Repo: Comfy-Org/ComfyUI_frontend PR: 7297
File: src/components/actionbar/ComfyActionbar.vue:33-43
Timestamp: 2025-12-09T21:40:12.361Z
Learning: In Vue single-file components, allow inline Tailwind CSS class strings for static classes and avoid extracting them into computed properties solely for readability. Prefer keeping static class names inline for simplicity and performance. For dynamic or conditional classes, use Vue bindings (e.g., :class) to compose classes.

Applies to all Vue files in the repository (e.g., src/**/*.vue) where Tailwind utilities are used for static styling.

Applied to files:

  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
📚 Learning: 2025-12-16T22:26:49.463Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7537
File: src/components/ui/button/Button.vue:17-17
Timestamp: 2025-12-16T22:26:49.463Z
Learning: In Vue 3.5+ with <script setup>, when using defineProps<Props>() with partial destructuring (e.g., const { as = 'button', class: customClass = '' } = defineProps<Props>() ), props that are not destructured (e.g., variant, size) stay accessible by name in the template scope. This pattern is valid: you can destructure only a subset of props for convenience while referencing the remaining props directly in template expressions. Apply this guideline to Vue components across the codebase (all .vue files).

Applied to files:

  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
📚 Learning: 2025-12-22T21:36:08.369Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7649
File: src/platform/cloud/subscription/components/PricingTable.vue:185-201
Timestamp: 2025-12-22T21:36:08.369Z
Learning: In Vue components, avoid creating single-use variants for common UI components (e.g., Button and other shared components). Aim for reusable variants that cover multiple use cases. It’s acceptable to temporarily mix variant props with inline Tailwind classes when a styling need is unique to one place, but plan and consolidate into shared, reusable variants as patterns emerge across the codebase.

Applied to files:

  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
📚 Learning: 2025-12-18T02:07:38.870Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7598
File: src/components/sidebar/tabs/AssetsSidebarTab.vue:131-131
Timestamp: 2025-12-18T02:07:38.870Z
Learning: Tailwind CSS v4 safe utilities (e.g., items-center-safe, justify-*-safe, place-*-safe) are allowed in Vue components under src/ and in story files. Do not flag these specific safe variants as invalid when reviewing code in src/**/*.vue or related stories.

Applied to files:

  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
📚 Learning: 2025-12-18T21:15:46.862Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7603
File: src/components/queue/QueueOverlayHeader.vue:49-59
Timestamp: 2025-12-18T21:15:46.862Z
Learning: In the ComfyUI_frontend repository, for Vue components, do not add aria-label to buttons that have visible text content (e.g., buttons containing <span> text). The visible text provides the accessible name. Use aria-label only for elements without visible labels (e.g., icon-only buttons). If a button has no visible label, provide a clear aria-label or associate with an aria-labelledby describing its action.

Applied to files:

  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
📚 Learning: 2025-12-21T01:06:02.786Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7649
File: src/components/graph/selectionToolbox/ColorPickerButton.vue:15-18
Timestamp: 2025-12-21T01:06:02.786Z
Learning: In Comfy-Org/ComfyUI_frontend, in Vue component files, when a filled icon is required (e.g., 'pi pi-circle-fill'), you may mix PrimeIcons with Lucide icons since Lucide lacks filled variants. This mixed usage is acceptable when one icon library does not provide an equivalent filled icon. Apply consistently across Vue components in the src directory where icons are used, and document the rationale when a mixed approach is chosen.

Applied to files:

  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
⏰ 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). (4)
  • GitHub Check: lint-and-format
  • GitHub Check: setup
  • GitHub Check: test
  • GitHub Check: collect
🔇 Additional comments (2)
src/lib/litegraph/src/LiteGraphGlobal.ts (1)

63-63: Bypass color constant change aligns with overlay-based visuals

Updating NODE_DEFAULT_BYPASS_COLOR to '#6a246a' is a safe, localized change and matches the shift to a color-only bypass indicator. No behavioral or API concerns from this file alone.

src/lib/litegraph/src/LGraphCanvas.ts (1)

5777-5782: Bypass no longer affects node alpha; confirm intent for NEVER mode

getNodeModeAlpha now only special-cases LGraphEventMode.NEVER (alpha 0.4), using editor_alpha for all other modes, including BYPASS. This cleanly stops bypassed nodes from becoming translucent and exposing links underneath, consistent with the PR goal of hiding links under bypassed nodes.

One behavioral note: nodes in NEVER mode remain semi‑transparent, so connections beneath them will still be partially visible. If the expectation from issue #7755 is that all nodes (not just bypassed ones) should fully occlude links, you may want to revisit whether NEVER nodes should also render at full alpha.

Comment on lines +246 to 249
// Note: We no longer reduce opacity for bypassed/muted nodes.
// Using only the color overlay (before:bg-bypass/60) ensures links
// remain hidden underneath the node instead of showing through.
return globalOpacity
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

cat -n src/renderer/extensions/vueNodes/components/LGraphNode.vue | head -80

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 3186


🏁 Script executed:

cat -n src/renderer/extensions/vueNodes/components/LGraphNode.vue | tail -200

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 7250


🏁 Script executed:

rg -n --type=css -C2 'bypass|muted' src/ --max-count=20

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 420


🏁 Script executed:

# Find nodeOpacity computed property around line 246
sed -n '240,260p' src/renderer/extensions/vueNodes/components/LGraphNode.vue

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 927


🏁 Script executed:

# Search for theme/Tailwind color definitions for bypass and muted
find src -name "*.css" -o -name "*.ts" -o -name "tailwind*" | head -20

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 867


🏁 Script executed:

# Look for style.css or theme configuration files
fd -e css style -t f src/

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 94


🏁 Script executed:

# Search for bypass and muted color definitions in style.css
cat src/assets/css/style.css | grep -i -A2 -B2 'bypass\|muted'

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 52


🏁 Script executed:

# Search for Tailwind configuration and color definitions
fd tailwind -t f src/ -o -name "*.config.*" -o -name "theme*"

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 300


🏁 Script executed:

# Search CSS variables in style.css for bypass and muted
rg --type=css 'bypass|muted|--bg-' src/assets/css/style.css | head -30

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 52


🏁 Script executed:

# Read the entire style.css to check for color definitions
wc -l src/assets/css/style.css

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 96


🏁 Script executed:

# Search for CSS variable definitions more broadly
cat src/assets/css/style.css | head -200

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 118


🏁 Script executed:

# Find all color-related definitions in CSS
rg 'bg-bypass|bg-muted|bypass|muted' --type=css -i

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 1067


🏁 Script executed:

# Check Tailwind configuration for color mappings
find . -name "tailwind.config.*" -o -name "tailwind.config.ts" | head -5

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 134


🏁 Script executed:

# Search for Tailwind config files in the repository
fd "tailwind.config" -t f

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 130


🏁 Script executed:

# Look for how Tailwind colors are configured
rg "extend.*colors|bg-bypass|bg-muted" --type=ts --type=js

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 976


🏁 Script executed:

# Read the main Tailwind config
cat tailwind.config.ts

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 233


🏁 Script executed:

# Read the design-system Tailwind config
cat packages/design-system/tailwind.config.ts | head -100

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 563


🏁 Script executed:

# Check the bypass test to understand how muted nodes should work
cat browser_tests/tests/vueNodes/nodeStates/bypass.spec.ts

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 2008


🏁 Script executed:

# Search for muted node state handling in tests
find browser_tests -name "*.spec.ts" -o -name "*.test.ts" | xargs grep -l "muted" 2>/dev/null

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 160


🏁 Script executed:

# Check if bg-muted is actually used anywhere in the codebase
rg "bg-muted[^-]" --type=vue --type=ts

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 97


🏁 Script executed:

# Look for how muted nodes were handled in git history or old code
rg "nodeOpacity|muted.*opacity" --type=ts --type=vue -B5 -A5

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 97


🏁 Script executed:

# Check if there's a muted state in nodeData
rg "nodeData\.muted|\.muted" src/renderer/extensions/vueNodes/ --type=ts --type=vue

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 97


🏁 Script executed:

# Check the muted node state test
cat browser_tests/tests/vueNodes/nodeStates/mute.spec.ts

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 1798


🏁 Script executed:

# Search for muted nodes in the codebase
rg "muted" src/renderer/extensions/vueNodes/ -A2 -B2

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 6678


🏁 Script executed:

# Look for the muted property definition
rg "\.muted\s*=" src/renderer/extensions/vueNodes/components/LGraphNode.vue -B3 -A3

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 52


🏁 Script executed:

# Check if there's visual distinction setup for muted nodes anywhere
rg "muted.*class\|muted.*before\|muted.*overlay" src/renderer/extensions/vueNodes/ -i

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 52


🏁 Script executed:

# Check if bg-muted is defined in design-system CSS
grep -r "bg-muted\|color-muted" packages/design-system/src/css/ 2>/dev/null

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 568


🏁 Script executed:

# Look for the LGraphEventMode to understand the muted state
rg "LGraphEventMode" src/ -B2 -A8

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 48889


🏁 Script executed:

# Check if tests are currently passing or if this change broke them
rg "MUTE_OPACITY\|mute.spec" browser_tests/ -l

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 52


🏁 Script executed:

# Check what the LGraphCanvas code shows for muted node opacity handling
grep -n "LGraphEventMode.NEVER\|0.4\|0.5" src/lib/litegraph/src/LGraphCanvas.ts -B2 -A2

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 6281


🏁 Script executed:

# Search for any bg-muted color definition
rg "bg-muted|--muted" packages/design-system/ --type=css

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 611


🏁 Script executed:

# Verify if there's a separate Tailwind config for colors
cat packages/design-system/src/css/style.css | head -100

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 2394


🏁 Script executed:

# Final verification: check if the mute test is expected to fail or if this is intentional
git log --oneline -5 browser_tests/tests/vueNodes/nodeStates/mute.spec.ts

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 122


🏁 Script executed:

# Check if there's any recent commit that changed nodeOpacity
git log --oneline -10 src/renderer/extensions/vueNodes/components/LGraphNode.vue | head -20

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 122


🏁 Script executed:

# Check the full commit to understand the intent
git show b5d528c8 --stat

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 50383


🏁 Script executed:

# See the exact changes to the mute test
git show b5d528c8 -- browser_tests/tests/vueNodes/nodeStates/mute.spec.ts

Repository: Comfy-Org/ComfyUI_frontend

Length of output: 2279


Critical: Muted nodes lose visual distinction and break the mute test.

The nodeOpacity computed property at lines 246-249 removes opacity reduction for muted nodes entirely. However, the mute test added in this same commit (browser_tests/tests/vueNodes/nodeStates/mute.spec.ts) explicitly expects muted nodes to have opacity: 0.5. This mismatch will cause test failures.

Additionally, muted nodes at lines 27-28 receive no color overlay (unlike bypassed nodes at line 25 which get before:bg-bypass/60), leaving them with no visual indication now that opacity reduction is removed.

Add a visual indicator for muted nodes—either restore opacity reduction for muted state or add a color overlay like bypassed nodes. The theme color --color-bypass is defined but bg-muted is not available as a Tailwind class; use the existing CSS variable --muted-background instead.

🤖 Prompt for AI Agents
In src/renderer/extensions/vueNodes/components/LGraphNode.vue around lines
246-249 and the node class logic at lines ~25-28, the nodeOpacity computed
removed the 0.5 opacity for muted nodes and muted nodes also lack a color
overlay; change nodeOpacity to return globalOpacity * 0.5 when the node is muted
(so muted nodes have opacity: 0.5 under default globalOpacity), and add a muted
color overlay similar to bypassed nodes by applying a before
pseudo-element/background that uses the CSS variable --muted-background (e.g.
mirror the before:bg-bypass/60 approach but reference var(--muted-background)
with appropriate opacity) so muted nodes regain a visual indicator and tests
expecting opacity: 0.5 pass.

@DrJKL DrJKL added the Design Used to request Product feedback on design decisions label Dec 30, 2025
@jtydhr88 jtydhr88 added the New Browser Test Expectations New browser test screenshot should be set by github action label Dec 30, 2025
@github-actions
Copy link

Updating Playwright Expectations

@PabloWiedemann
Copy link

What problem is this solving?

@jtydhr88
Copy link
Collaborator Author

jtydhr88 commented Dec 31, 2025

@PabloWiedemann Normally, the line is under the node.
However, when the node is bypassed, the line becomes visible because we added transparency to the bypass. check my screenshot.
This can be problematic for certain users, such as in the scenario described in the issue I mentioned.
This PR removes opacity of node to make sure the line could be always invisible and under the nodes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Design Used to request Product feedback on design decisions New Browser Test Expectations New browser test screenshot should be set by github action size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

what can i say.

4 participants