Skip to content

Conversation

@godwiniheuwa
Copy link
Contributor

@godwiniheuwa godwiniheuwa commented Dec 29, 2025

Summary

  • Restores the visual effect (opacity + grayscale) on preview images when a node is bypassed or muted
  • Affects ImagePreview, LivePreview, and VideoPreview components

Problem

When a node is bypassed or muted, the preview image inside it no longer shows the visual effect (grayscale/opacity reduction). This worked in frontend 1.33.5 but regressed in newer versions.

The issue is that while LGraphNode.vue applies opacity to the node container and an overlay for bypass/mute state, the preview image components weren't receiving or applying this state to the actual images.

Solution

Pass the inactive prop (bypassed || muted) from LGraphNode through NodeContent to the preview components (ImagePreview, LivePreview, VideoPreview), and apply opacity-50 grayscale CSS classes when the node is inactive.

Changes

  • LGraphNode.vue: Pass inactive prop to NodeContent and LivePreview
  • NodeContent.vue: Accept and pass inactive prop to child preview components
  • ImagePreview.vue: Accept inactive prop and apply visual effect to image
  • LivePreview.vue: Accept inactive prop and apply visual effect to image
  • VideoPreview.vue: Accept inactive prop and apply visual effect to video

Testing

  1. Add a PreviewImage node and generate an image
  2. Bypass the node (Ctrl+B) - image should become grayed out with reduced opacity
  3. Mute the node - image should become grayed out with reduced opacity
  4. Un-bypass/un-mute - image should return to normal

Fixes #7773

┆Issue is synchronized with this Notion page by Unito

When a node is bypassed or muted, the preview images inside it now show
a visual effect (50% opacity + grayscale) to indicate the inactive state.

This was working in frontend 1.33.5 but regressed in newer versions because
the preview components (ImagePreview, LivePreview, VideoPreview) were not
receiving the bypass/mute state from the parent LGraphNode.

Changes:
- Pass inactive prop from LGraphNode to NodeContent and LivePreview
- Add inactive prop to NodeContent and pass to ImagePreview/VideoPreview
- Apply opacity-50 grayscale classes when inactive in all preview components

Fixes Comfy-Org#7773
Replace Vue array syntax with cn() utility for consistent Tailwind
class merging as per project guidelines.
@godwiniheuwa godwiniheuwa requested a review from a team as a code owner December 29, 2025 17:29
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Dec 29, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 29, 2025

Warning

Rate limit exceeded

@godwiniheuwa has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 12 minutes and 27 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 7b45ad0 and e9aba7b.

📒 Files selected for processing (1)
  • src/renderer/extensions/vueNodes/VideoPreview.vue
📝 Walkthrough

Walkthrough

The pull request introduces an inactive prop throughout the preview component hierarchy, enabling visual feedback when nodes are bypassed or muted. The prop flows from LGraphNode to child components (NodeContent, LivePreview, VideoPreview, ImagePreview), applying opacity and grayscale effects to indicate inactive state.

Changes

Cohort / File(s) Summary
Preview styling components
src/renderer/extensions/vueNodes/VideoPreview.vue, src/renderer/extensions/vueNodes/components/ImagePreview.vue, src/renderer/extensions/vueNodes/components/LivePreview.vue
Added optional inactive?: boolean prop to each component. When true, applies opacity-50 and grayscale CSS classes to their respective media elements (video or image) via conditional class binding using cn utility.
Prop propagation layer
src/renderer/extensions/vueNodes/components/NodeContent.vue
Added optional inactive?: boolean prop and passes it down to VideoPreview and ImagePreview child components via :inactive="props.inactive" binding in both rendering branches.
Node-level state management
src/renderer/extensions/vueNodes/components/LGraphNode.vue
Passes computed inactive prop (derived from bypassed || muted) to both NodeContent and LivePreview components, triggering disabled rendering when node is bypassed or muted.

Possibly related PRs

  • PR #7558: Modifies VideoPreview.vue's video element class binding and loading-related rendering logic, overlapping with the same component and class binding patterns updated in this PR.

Pre-merge checks and finishing touches

✅ Passed checks (2 passed)
Check name Status Explanation
Linked Issues check ✅ Passed The pull request successfully implements the objective from issue #7773 by adding an inactive prop to preview components and applying grayscale/opacity styling when nodes are bypassed or muted.
Out of Scope Changes check ✅ Passed All changes are directly scoped to restoring the bypass/mute visual effect on preview components as specified in the linked issue.

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 29, 2025

🎨 Storybook Build Status

loading Build is starting...

⏰ Started at: 12/29/2025, 05:46:56 PM UTC

🚀 Building Storybook

  • 📦 Installing dependencies...
  • 🔧 Building Storybook components...
  • 🌐 Preparing deployment to Cloudflare Pages...

⏱️ Please wait while the Storybook build is in progress...

@github-actions
Copy link

github-actions bot commented Dec 29, 2025

🎭 Playwright Test Results

⚠️ Tests passed with flaky tests

⏰ Completed at: 12/29/2025, 08:29:57 PM UTC

📈 Summary

  • Total Tests: 509
  • Passed: 499 ✅
  • Failed: 0
  • Flaky: 2 ⚠️
  • Skipped: 8 ⏭️

📊 Test Reports by Browser

  • chromium: View Report • ✅ 489 / ❌ 0 / ⚠️ 1 / ⏭️ 8
  • chromium-2x: View Report • ✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • chromium-0.5x: View Report • ✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • mobile-chrome: View Report • ✅ 7 / ❌ 0 / ⚠️ 1 / ⏭️ 0

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

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 33d8cb7 and 7b45ad0.

📒 Files selected for processing (5)
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.vue
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/NodeContent.vue
🧰 Additional context used
📓 Path-based instructions (9)
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/NodeContent.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.vue
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/renderer/extensions/vueNodes/components/NodeContent.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.vue
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/renderer/extensions/vueNodes/components/NodeContent.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.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/NodeContent.vue
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.vue
src/**/*.{vue,ts,tsx}

📄 CodeRabbit inference engine (src/CLAUDE.md)

Follow Vue 3 composition API style guide

Files:

  • src/renderer/extensions/vueNodes/components/NodeContent.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.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/NodeContent.vue
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.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/NodeContent.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.vue
**/*.{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/renderer/extensions/vueNodes/components/NodeContent.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.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/renderer/extensions/vueNodes/components/NodeContent.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.vue
🧠 Learnings (19)
📓 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-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/NodeContent.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.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/NodeContent.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.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/NodeContent.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.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/NodeContent.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.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/NodeContent.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.vue
📚 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/renderer/extensions/vueNodes/components/NodeContent.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.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/NodeContent.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.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/NodeContent.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.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/NodeContent.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/renderer/extensions/vueNodes/components/LGraphNode.vue
  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.vue
📚 Learning: 2025-12-21T06:04:12.562Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-21T06:04:12.562Z
Learning: Applies to **/*.vue : Use Vue 3.5 TypeScript-style default prop declaration with reactive props destructuring; do not use `withDefaults` or runtime props declaration

Applied to files:

  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.vue
📚 Learning: 2025-12-04T21:43:49.363Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7137
File: src/components/rightSidePanel/parameters/TabParameters.vue:10-0
Timestamp: 2025-12-04T21:43:49.363Z
Learning: Vue 3.5+ supports reactive props destructure in <script setup>. Destructuring props directly (e.g., `const { nodes } = defineProps<{ nodes: LGraphNode[] }>()`) maintains reactivity through compiler transformation. This is the recommended modern approach and does not require using `props.x` or `toRef`/`toRefs`.

Applied to files:

  • src/renderer/extensions/vueNodes/components/LivePreview.vue
📚 Learning: 2025-11-24T19:47:02.860Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-11-24T19:47:02.860Z
Learning: Applies to src/**/*.vue : Utilize ref and reactive for reactive state

Applied to files:

  • src/renderer/extensions/vueNodes/components/LivePreview.vue
📚 Learning: 2025-12-21T06:04:12.562Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-21T06:04:12.562Z
Learning: Applies to **/*.vue : Use Vue 3.5+ with TypeScript in `.vue` files, exclusively using Composition API with `<script setup lang="ts">` syntax

Applied to files:

  • src/renderer/extensions/vueNodes/components/LivePreview.vue
📚 Learning: 2025-12-21T06:04:12.562Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-21T06:04:12.562Z
Learning: Applies to **/*.vue : Prefer `computed()` over `ref` with `watch` when deriving values

Applied to files:

  • src/renderer/extensions/vueNodes/components/LivePreview.vue
📚 Learning: 2025-11-24T19:47:02.860Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-11-24T19:47:02.860Z
Learning: Applies to src/**/*.{vue,ts} : Leverage VueUse functions for performance-enhancing styles

Applied to files:

  • src/renderer/extensions/vueNodes/components/LivePreview.vue
📚 Learning: 2025-12-21T06:04:12.562Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-21T06:04:12.562Z
Learning: Applies to **/*.vue : Use `cn()` utility function from `@/utils/tailwindUtil` for merging Tailwind class names; do not use `:class="[]"` syntax

Applied to files:

  • src/renderer/extensions/vueNodes/components/LivePreview.vue
  • src/renderer/extensions/vueNodes/components/ImagePreview.vue
📚 Learning: 2025-11-24T19:47:45.616Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/components/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:45.616Z
Learning: Applies to src/components/**/*.vue : Use ref/reactive for state management in Vue 3 Composition API

Applied to files:

  • src/renderer/extensions/vueNodes/components/LivePreview.vue
📚 Learning: 2025-11-24T19:47:02.860Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-11-24T19:47:02.860Z
Learning: Applies to src/**/*.vue : Use watch and watchEffect for side effects

Applied to files:

  • src/renderer/extensions/vueNodes/components/LivePreview.vue
🔇 Additional comments (4)
src/renderer/extensions/vueNodes/components/NodeContent.vue (1)

8-22: LGTM! Clean prop propagation implementation.

The inactive prop is correctly propagated to both VideoPreview and ImagePreview components, enabling consistent visual feedback for bypassed/muted states across all preview types.

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

21-25: LGTM! Proper use of cn() with object syntax.

The implementation correctly applies the inactive visual effect using the cn() utility with object syntax, which aligns with coding guidelines and provides good readability.

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

46-50: LGTM! Clean implementation with cn() utility.

The inactive state styling is correctly applied using the cn() utility with object syntax, ensuring proper visual feedback when nodes are bypassed or muted.

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

116-128: LGTM! Correct inactive state propagation.

The implementation correctly computes the inactive state from bypassed || muted and propagates it to both NodeContent and LivePreview components. This ensures consistent visual feedback across all preview types when nodes are in bypass or muted mode.

@DrJKL
Copy link
Contributor

DrJKL commented Dec 29, 2025

Want to add Before/After screenshots for this one too?

@github-actions
Copy link

Bundle Size Report

Summary

  • Raw size: 17.3 MB baseline 17.3 MB — 🟢 -584 B
  • Gzip: 3.53 MB baseline 3.53 MB — 🟢 -201 B
  • Brotli: 2.7 MB baseline 2.69 MB — 🔴 +124 B
  • Bundles: 98 current • 98 baseline • 42 added / 42 removed

Category Glance
Graph Workspace 🟢 -562 B (996 kB) · App Entry Points 🟢 -22 B (3.19 MB) · Vendor & Third-Party ⚪ 0 B (9.1 MB) · Other ⚪ 0 B (3.46 MB) · Panels & Settings ⚪ 0 B (296 kB) · UI Components ⚪ 0 B (196 kB) · + 3 more

Per-category breakdown
App Entry Points — 3.19 MB (baseline 3.19 MB) • 🟢 -22 B

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-3iiGxahs.js (removed) 3 MB 🟢 -3 MB 🟢 -632 kB 🟢 -480 kB
assets/index-B4lPN0ob.js (new) 3 MB 🔴 +3 MB 🔴 +632 kB 🔴 +481 kB
assets/index-vqT-O16e.js (removed) 193 kB 🟢 -193 kB 🟢 -42 kB 🟢 -35 kB
assets/index-YauvSXeV.js (new) 193 kB 🔴 +193 kB 🔴 +42 kB 🔴 +35 kB
assets/index-Bjx8WRGO.js (new) 345 B 🔴 +345 B 🔴 +245 B 🔴 +212 B
assets/index-CZIdRw18.js (removed) 345 B 🟢 -345 B 🟢 -245 B 🟢 -230 B

Status: 3 added / 3 removed

Graph Workspace — 996 kB (baseline 997 kB) • 🟢 -562 B

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-Cs05yaBE.js (removed) 997 kB 🟢 -997 kB 🟢 -195 kB 🟢 -148 kB
assets/GraphView-Cb8IAL7-.js (new) 996 kB 🔴 +996 kB 🔴 +194 kB 🔴 +148 kB

Status: 1 added / 1 removed

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

Top-level views, pages, and routed surfaces

File Before After Δ Raw Δ Gzip Δ Brotli
assets/UserSelectView-HOWYD3_q.js (removed) 6.54 kB 🟢 -6.54 kB 🟢 -2.14 kB 🟢 -1.89 kB
assets/UserSelectView-tUVsYFC8.js (new) 6.54 kB 🔴 +6.54 kB 🔴 +2.14 kB 🔴 +1.89 kB

Status: 1 added / 1 removed

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

Configuration panels, inspectors, and settings screens

File Before After Δ Raw Δ Gzip Δ Brotli
assets/LegacyCreditsPanel-C7hSOHeR.js (new) 21.4 kB 🔴 +21.4 kB 🔴 +5.16 kB 🔴 +4.51 kB
assets/LegacyCreditsPanel-zXpXlULk.js (removed) 21.4 kB 🟢 -21.4 kB 🟢 -5.16 kB 🟢 -4.51 kB
assets/KeybindingPanel-BEzEB7mN.js (new) 13.6 kB 🔴 +13.6 kB 🔴 +3.42 kB 🔴 +3.01 kB
assets/KeybindingPanel-D0vfjoYV.js (removed) 13.6 kB 🟢 -13.6 kB 🟢 -3.42 kB 🟢 -3.01 kB
assets/ExtensionPanel-C0BjlI4V.js (removed) 10.8 kB 🟢 -10.8 kB 🟢 -2.57 kB 🟢 -2.24 kB
assets/ExtensionPanel-DUtSUCG3.js (new) 10.8 kB 🔴 +10.8 kB 🔴 +2.57 kB 🔴 +2.24 kB
assets/AboutPanel--8prmEVT.js (new) 9.16 kB 🔴 +9.16 kB 🔴 +2.46 kB 🔴 +2.21 kB
assets/AboutPanel-Blql_ydz.js (removed) 9.16 kB 🟢 -9.16 kB 🟢 -2.46 kB 🟢 -2.2 kB
assets/ServerConfigPanel-CH3d1ygV.js (removed) 7.07 kB 🟢 -7.07 kB 🟢 -1.98 kB 🟢 -1.76 kB
assets/ServerConfigPanel-DwBIe9Uo.js (new) 7.07 kB 🔴 +7.07 kB 🔴 +1.98 kB 🔴 +1.76 kB
assets/UserPanel-BXuafmdQ.js (new) 6.23 kB 🔴 +6.23 kB 🔴 +1.72 kB 🔴 +1.5 kB
assets/UserPanel-DbWY_-7E.js (removed) 6.23 kB 🟢 -6.23 kB 🟢 -1.72 kB 🟢 -1.5 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 — 196 kB (baseline 196 kB) • ⚪ 0 B

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/LazyImage.vue_vue_type_script_setup_true_lang-BAiYzlw_.js (removed) 59.9 kB 🟢 -59.9 kB 🟢 -12.4 kB 🟢 -10.8 kB
assets/LazyImage.vue_vue_type_script_setup_true_lang-By-LUBls.js (new) 59.9 kB 🔴 +59.9 kB 🔴 +12.4 kB 🔴 +10.8 kB
assets/Load3D.vue_vue_type_script_setup_true_lang-Cb6llCfS.js (new) 54.3 kB 🔴 +54.3 kB 🔴 +8.62 kB 🔴 +7.43 kB
assets/Load3D.vue_vue_type_script_setup_true_lang-CHlOID9X.js (removed) 54.3 kB 🟢 -54.3 kB 🟢 -8.62 kB 🟢 -7.42 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-B2FhCPit.js (removed) 48.8 kB 🟢 -48.8 kB 🟢 -10.5 kB 🟢 -9.13 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-Ckywf48w.js (new) 48.8 kB 🔴 +48.8 kB 🔴 +10.5 kB 🔴 +9.13 kB
assets/WidgetInputNumber.vue_vue_type_script_setup_true_lang-BjCTFV4p.js (removed) 14.3 kB 🟢 -14.3 kB 🟢 -3.74 kB 🟢 -3.29 kB
assets/WidgetInputNumber.vue_vue_type_script_setup_true_lang-eTy06b08.js (new) 14.3 kB 🔴 +14.3 kB 🔴 +3.73 kB 🔴 +3.29 kB
assets/ComfyQueueButton-B9q75tPt.js (removed) 8.45 kB 🟢 -8.45 kB 🟢 -2.46 kB 🟢 -2.19 kB
assets/ComfyQueueButton-Bt55jkt-.js (new) 8.45 kB 🔴 +8.45 kB 🔴 +2.46 kB 🔴 +2.2 kB
assets/WidgetWithControl.vue_vue_type_script_setup_true_lang-_tdrQ9_s.js (new) 3.68 kB 🔴 +3.68 kB 🔴 +1.45 kB 🔴 +1.3 kB
assets/WidgetWithControl.vue_vue_type_script_setup_true_lang-DFOVJ_U2.js (removed) 3.68 kB 🟢 -3.68 kB 🟢 -1.45 kB 🟢 -1.3 kB
assets/WidgetLayoutField.vue_vue_type_script_setup_true_lang-BYQWKGq3.js (removed) 2.14 kB 🟢 -2.14 kB 🟢 -890 B 🟢 -768 B
assets/WidgetLayoutField.vue_vue_type_script_setup_true_lang-F5_vcBa-.js (new) 2.14 kB 🔴 +2.14 kB 🔴 +888 B 🔴 +763 B
assets/MediaTitle.vue_vue_type_script_setup_true_lang-B2FDA3jh.js (removed) 897 B 🟢 -897 B 🟢 -503 B 🟢 -435 B
assets/MediaTitle.vue_vue_type_script_setup_true_lang-DFbaHcmb.js (new) 897 B 🔴 +897 B 🔴 +503 B 🔴 +464 B
assets/UserAvatar.vue_vue_type_script_setup_true_lang-B6P2AFxg.js 1.34 kB 1.34 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetButton-CD0L1KzN.js 2.04 kB 2.04 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B

Status: 8 added / 8 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-DId5ax2z.js (new) 7.51 kB 🔴 +7.51 kB 🔴 +1.83 kB 🔴 +1.57 kB
assets/keybindingService-eQQQ8MT_.js (removed) 7.51 kB 🟢 -7.51 kB 🟢 -1.83 kB 🟢 -1.57 kB
assets/audioService-Df6aLBPs.js (new) 2.2 kB 🔴 +2.2 kB 🔴 +961 B 🔴 +823 B
assets/audioService-DOAInZiL.js (removed) 2.2 kB 🟢 -2.2 kB 🟢 -960 B 🟢 -826 B
assets/serverConfigStore-CNSmwya1.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-DUXwix2Z.js (new) 1.41 kB 🔴 +1.41 kB 🔴 +652 B 🔴 +547 B
assets/audioUtils-q_SXW_lU.js (removed) 1.41 kB 🟢 -1.41 kB 🟢 -650 B 🟢 -551 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-DOvov576.js 452 kB 452 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-other-BKKxyZwz.js 3.86 MB 3.86 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-primevue-Btu8cl1B.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-CUNFo3Ub.js 232 kB 232 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-vue-BlzIh1pE.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.46 MB (baseline 3.46 MB) • ⚪ 0 B

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/SubscriptionRequiredDialogContent-Bx-eAU3D.js (removed) 28 kB 🟢 -28 kB 🟢 -6.27 kB 🟢 -5.44 kB
assets/SubscriptionRequiredDialogContent-lv-Keq2y.js (new) 28 kB 🔴 +28 kB 🔴 +6.27 kB 🔴 +5.44 kB
assets/WidgetRecordAudio-BfA8kFUB.js (removed) 20.4 kB 🟢 -20.4 kB 🟢 -5.23 kB 🟢 -4.63 kB
assets/WidgetRecordAudio-CIqrus9w.js (new) 20.4 kB 🔴 +20.4 kB 🔴 +5.23 kB 🔴 +4.64 kB
assets/AudioPreviewPlayer-Cz99DYCO.js (removed) 13.3 kB 🟢 -13.3 kB 🟢 -3.35 kB 🟢 -2.99 kB
assets/AudioPreviewPlayer-RI7XZPmE.js (new) 13.3 kB 🔴 +13.3 kB 🔴 +3.34 kB 🔴 +3.01 kB
assets/ValueControlPopover-7EkltuvG.js (removed) 5.49 kB 🟢 -5.49 kB 🟢 -1.7 kB 🟢 -1.52 kB
assets/ValueControlPopover-D6ihCej-.js (new) 5.49 kB 🔴 +5.49 kB 🔴 +1.7 kB 🔴 +1.51 kB
assets/WidgetGalleria-CQaZQZeG.js (new) 4.1 kB 🔴 +4.1 kB 🔴 +1.44 kB 🔴 +1.3 kB
assets/WidgetGalleria-CrMtOw2U.js (removed) 4.1 kB 🟢 -4.1 kB 🟢 -1.44 kB 🟢 -1.3 kB
assets/WidgetColorPicker-BFXAGwN3.js (new) 3.41 kB 🔴 +3.41 kB 🔴 +1.38 kB 🔴 +1.23 kB
assets/WidgetColorPicker-CCSW9QE3.js (removed) 3.41 kB 🟢 -3.41 kB 🟢 -1.38 kB 🟢 -1.23 kB
assets/WidgetTextarea-aBW0G9Mr.js (new) 3.08 kB 🔴 +3.08 kB 🔴 +1.21 kB 🔴 +1.06 kB
assets/WidgetTextarea-B2Lj4MN0.js (removed) 3.08 kB 🟢 -3.08 kB 🟢 -1.21 kB 🟢 -1.08 kB
assets/WidgetMarkdown-BWhfE0Lz.js (removed) 3.08 kB 🟢 -3.08 kB 🟢 -1.28 kB 🟢 -1.12 kB
assets/WidgetMarkdown-CjVKrvsH.js (new) 3.08 kB 🔴 +3.08 kB 🔴 +1.28 kB 🔴 +1.12 kB
assets/WidgetAudioUI-DE7Ak7rY.js (new) 2.89 kB 🔴 +2.89 kB 🔴 +1.16 kB 🔴 +1.05 kB
assets/WidgetAudioUI-R-7i6bp6.js (removed) 2.89 kB 🟢 -2.89 kB 🟢 -1.17 kB 🟢 -1.06 kB
assets/WidgetInputText-a7bZ2SN7.js (new) 1.99 kB 🔴 +1.99 kB 🔴 +916 B 🔴 +851 B
assets/WidgetInputText-BdSGBcop.js (removed) 1.99 kB 🟢 -1.99 kB 🟢 -917 B 🟢 -845 B
assets/WidgetToggleSwitch-cBG7850P.js (removed) 1.76 kB 🟢 -1.76 kB 🟢 -834 B 🟢 -734 B
assets/WidgetToggleSwitch-XLROqRc5.js (new) 1.76 kB 🔴 +1.76 kB 🔴 +831 B 🔴 +732 B
assets/MediaImageBottom-B6zPKc3c.js (new) 1.55 kB 🔴 +1.55 kB 🔴 +731 B 🔴 +637 B
assets/MediaImageBottom-r9-__MhP.js (removed) 1.55 kB 🟢 -1.55 kB 🟢 -731 B 🟢 -634 B
assets/MediaAudioBottom-BGkVLhJC.js (removed) 1.51 kB 🟢 -1.51 kB 🟢 -734 B 🟢 -645 B
assets/MediaAudioBottom-CnwSTPq5.js (new) 1.51 kB 🔴 +1.51 kB 🔴 +730 B 🔴 +642 B
assets/Media3DBottom-B36ZwvKk.js (new) 1.5 kB 🔴 +1.5 kB 🔴 +731 B 🔴 +645 B
assets/Media3DBottom-DtPDcWxt.js (removed) 1.5 kB 🟢 -1.5 kB 🟢 -728 B 🟢 -648 B
assets/MediaVideoBottom-Bs-8CM6U.js (removed) 1.5 kB 🟢 -1.5 kB 🟢 -732 B 🟢 -644 B
assets/MediaVideoBottom-USMILMLV.js (new) 1.5 kB 🔴 +1.5 kB 🔴 +729 B 🔴 +642 B
assets/Media3DTop-BT13Gjaa.js (new) 1.49 kB 🔴 +1.49 kB 🔴 +760 B 🔴 +651 B
assets/Media3DTop-Qh3aNJk0.js (removed) 1.49 kB 🟢 -1.49 kB 🟢 -765 B 🟢 -647 B
assets/WidgetSelect-DitvqEtN.js (removed) 733 B 🟢 -733 B 🟢 -359 B 🟢 -318 B
assets/WidgetSelect-Wrz3dkmm.js (new) 733 B 🔴 +733 B 🔴 +359 B 🔴 +322 B
assets/WidgetInputNumber-CuQUOb0j.js (removed) 673 B 🟢 -673 B 🟢 -347 B 🟢 -296 B
assets/WidgetInputNumber-WpujoRHn.js (new) 673 B 🔴 +673 B 🔴 +345 B 🔴 +289 B
assets/Load3D-DNBwIEDG.js (removed) 424 B 🟢 -424 B 🟢 -267 B 🟢 -223 B
assets/Load3D-DOJvoX0l.js (new) 424 B 🔴 +424 B 🔴 +267 B 🔴 +223 B
assets/WidgetLegacy-BrkN5WQD.js (removed) 364 B 🟢 -364 B 🟢 -237 B 🟢 -227 B
assets/WidgetLegacy-BULvcZnS.js (new) 364 B 🔴 +364 B 🔴 +238 B 🔴 +224 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-Bu3Uau7e.js 1.46 kB 1.46 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaImageTop-DTAowaFC.js 1.75 kB 1.75 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaVideoTop-BqwS3WNi.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-B3VlzWCa.js 2.48 kB 2.48 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetImageCompare-C_Tqin9v.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
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.

The actual code changes here look reasonable, but they misunderstand the issue described in #7773.

#7773 describes a visual regression in litegraph caused by #7394: In being deferred, the image preview draw fails to apply the reduced opacity.
Directly addressing this is probably a fairly simple fix, but there have been several related bugs (#7627, #7687) which leave me questioning if there's a better option than playing whack-a-mole.

For reference, a comparison of the changes made by this PR:

Before After
before after

@godwiniheuwa
Copy link
Contributor Author

godwiniheuwa commented Dec 31, 2025

I see, so the requirement is making the node look like the ones in given video on mute/bypass. Is that correct @AustinMroz ?

530497296-ea4a9b7b-a776-4cee-8458-a1e7b36944a6.mp4

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

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"bypass" and "mute" effect for img preview

4 participants