Skip to content

fix: replace text-white with theme-aware color tokens#7908

Merged
Myestery merged 2 commits intomainfrom
fix/replace-text-white-with-theme-aware-colors
Jan 9, 2026
Merged

fix: replace text-white with theme-aware color tokens#7908
Myestery merged 2 commits intomainfrom
fix/replace-text-white-with-theme-aware-colors

Conversation

@Myestery
Copy link
Contributor

@Myestery Myestery commented Jan 8, 2026

Summary

  • Replace hardcoded text-white class with theme-aware alternatives to fix invisible text on light themes
  • Update Load3D control backgrounds to use semantic tokens
  • Update dropdown menus to use bg-interface-menu-surface
  • Update overlay backgrounds to use bg-backdrop with opacity

Changes

Component Old New
Text on primary bg text-white text-base-foreground
Dropdown menus bg-black/50 bg-interface-menu-surface
Control panels bg-smoke-700/30 bg-backdrop/30
Loading overlays bg-black bg-opacity-50 bg-backdrop/50
Selected states bg-smoke-600 bg-button-active-surface

Files Modified (14)

  • src/components/TopMenuSection.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/*.vue (12 files)
  • src/renderer/extensions/vueNodes/VideoPreview.vue

Test plan

  • Verify text visibility in light theme
  • Verify text visibility in dark theme
  • Test Load3D viewer controls functionality
  • Test MultiSelect dropdown checkbox visibility

┆Issue is synchronized with this Notion page by Unito

@Myestery Myestery requested review from a team, jtydhr88 and viva-jinyi as code owners January 8, 2026 21:14
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jan 8, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 8, 2026

📝 Walkthrough

Walkthrough

Replaced hardcoded white/black/smoke Tailwind classes with semantic theme tokens (e.g., text-base-foreground, bg-backdrop/30, bg-interface-menu-surface, bg-button-active-surface) across multiple Vue components; no logic or control-flow changes.

Changes

Cohort / File(s) Summary
Theme Color Token Migration — Load3D UI
src/components/load3d/Load3DControls.vue, src/components/load3d/LoadingOverlay.vue, src/components/load3d/controls/AnimationControls.vue, src/components/load3d/controls/CameraControls.vue, src/components/load3d/controls/ExportControls.vue, src/components/load3d/controls/LightControls.vue, src/components/load3d/controls/ModelControls.vue, src/components/load3d/controls/PopupSlider.vue, src/components/load3d/controls/RecordingControls.vue, src/components/load3d/controls/SceneControls.vue, src/components/load3d/controls/ViewerControls.vue
Replaced presentation classes: text-whitetext-base-foreground, bg-black/50bg-interface-menu-surface, bg-smoke-700/30bg-backdrop/30, bg-smoke-600bg-button-active-surface, and similar swaps for icons, labels, and panel backgrounds. No behavioral changes.
Icon & Badge Foreground Updates
src/components/TopMenuSection.vue, src/components/input/MultiSelect.vue
Changed badge/check icon text color from text-whitetext-base-foreground; rendering conditions unchanged (e.g., queuedCount > 0).
Video Preview Error State Styling
src/renderer/extensions/vueNodes/VideoPreview.vue
Replaced smoky/white palette with semantic muted/foreground tokens and added role="alert" to the error container. No control-flow changes.
Manifest / Meta
package.json
Single-line manifest edit.

Possibly related PRs


📜 Recent review details

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1203286 and 86cff5b.

📒 Files selected for processing (14)
  • src/components/TopMenuSection.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/LightControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.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

src/**/*.vue: Use Vue 3 Single File Components (SFCs) with Composition API only; never use Options API
Use <script setup lang="ts"> syntax for component logic
Use Tailwind 4 utility classes for styling; avoid <style> blocks in Vue components
Do not use the dark: Tailwind variant; use semantic values from style.css theme instead (e.g., bg-node-component-surface)
Use cn() utility from @/utils/tailwindUtil for merging class names; never use :class="[]" syntax
Never use !important or the ! prefix for Tailwind classes; find and fix interfering classes instead
Use Tailwind fraction utilities instead of arbitrary percentages (e.g., w-4/5 instead of w-[80%], w-1/2 instead of w-[50%])
Use Vue 3.5 TypeScript style default prop declaration with destructuring; avoid withDefaults and runtime props
Use defineModel for v-model bindings instead of separately defining props and emits
Prefer reactive props destructuring over const props = defineProps<...>
Define slots via template usage, not defineSlots
Use same-name shorthand for slot prop bindings (e.g., :isExpanded instead of :is-expanded="isExpanded")
Use ref for reactive state, computed() for computed properties, and watch/watchEffect for side effects
Avoid using ref and watch t...

Files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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

Leverage VueUse functions for performance-enhancing utilities

Files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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

src/**/*.{ts,tsx,vue}: Use separate import type statements; do not mix inline type imports in the same statement
Sort and group imports by plugin; run pnpm format before committing
Derive component types using vue-component-type-helpers (ComponentProps, ComponentSlots) instead of separate type files
Code should be well-designed with clear names for everything; write code that is expressive and self-documenting
Avoid redundant comments and clean up code as you go; comments should explain why, not what
Ask if there is a simpler way to implement functionality; refactor complex code to simplify it
Minimize nesting depth (e.g., if () { ... } or for () { ... }); watch for arrow anti-pattern
Watch out for code smells and refactor to avoid them
Never use any type; use proper TypeScript types
Never use as any type assertions; fix the underlying type issue instead
Indent with 2 spaces; use single quotes; no trailing semicolons; max line width 80 (per .prettierrc)
Complex type definitions used in multiple related places should be extracted and named for reuse
Implement proper error handling

Files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/components/load3d/controls/LightControls.vue
src/**/*.{vue,ts,tsx}

📄 CodeRabbit inference engine (src/CLAUDE.md)

Follow Vue 3 composition API style guide

Files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/components/load3d/controls/LightControls.vue
src/components/**/*.vue

📄 CodeRabbit inference engine (src/components/CLAUDE.md)

src/components/**/*.vue: Use setup() function in Vue 3 Composition API
Destructure props using Vue 3.5 style in Vue components
Use ref/reactive for state management in Vue 3 Composition API
Implement computed() for derived state in Vue 3 Composition API
Use provide/inject for dependency injection in Vue components
Prefer emit/@event-name for state changes over other communication patterns
Use defineExpose only for imperative operations (such as form.validate(), modal.open())
Replace PrimeVue Dropdown component with Select
Replace PrimeVue OverlayPanel component with Popover
Replace PrimeVue Calendar component with DatePicker
Replace PrimeVue InputSwitch component with ToggleSwitch
Replace PrimeVue Sidebar component with Drawer
Replace PrimeVue Chips component with AutoComplete with multiple enabled
Replace PrimeVue TabMenu component with Tabs without panels
Replace PrimeVue Steps component with Stepper without panels
Replace PrimeVue InlineMessage component with Message
Extract complex conditionals to computed properties
Implement cleanup for async operations in Vue components
Use lifecycle hooks: onMounted, onUpdated in Vue 3 Composition API
Use Teleport/Suspense when needed for component rendering
Define proper props and emits definitions in Vue components

Name Vue components in PascalCase (e.g., MenuHamburger.vue)

Files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/components/load3d/controls/LightControls.vue
src/components/**/*.{vue,css}

📄 CodeRabbit inference engine (src/components/CLAUDE.md)

src/components/**/*.{vue,css}: Use Tailwind CSS only for styling (no custom CSS)
Use the correct tokens from style.css in the design system package

Files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/components/load3d/controls/LightControls.vue
src/components/**/*.{vue,ts,js}

📄 CodeRabbit inference engine (src/components/CLAUDE.md)

src/components/**/*.{vue,ts,js}: Use existing VueUse composables (such as useElementHover) instead of manually managing event listeners
Use useIntersectionObserver for visibility detection instead of custom scroll handlers
Use vue-i18n for ALL UI strings

Files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/components/load3d/controls/LightControls.vue
🧠 Learnings (28)
📓 Common learnings
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-09T00:50:57.103Z
Learning: Applies to src/**/*.vue : Do not use the `dark:` Tailwind variant; use semantic values from `style.css` theme instead (e.g., `bg-node-component-surface`)
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-09T00:50:57.103Z
Learning: Applies to src/**/*.vue : Use Tailwind 4 utility classes for styling; avoid `<style>` blocks in Vue components
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,css} : Use the correct tokens from style.css in the design system package
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-09T00:50:57.103Z
Learning: Applies to src/**/*.vue : Use Tailwind fraction utilities instead of arbitrary percentages (e.g., `w-4/5` instead of `w-[80%]`, `w-1/2` instead of `w-[50%]`)
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-09T00:50:57.103Z
Learning: Applies to src/**/*.vue : Never use `!important` or the `!` prefix for Tailwind classes; find and fix interfering classes instead
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 Tailwind CSS for styling
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,css} : Use Tailwind CSS only for styling (no custom CSS)
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-09T00:50:57.103Z
Learning: Applies to src/**/*.vue : Use `cn()` utility from `@/utils/tailwindUtil` for merging class names; never use `:class="[]"` syntax
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7893
File: src/components/button/IconGroup.vue:5-6
Timestamp: 2026-01-08T02:26:18.357Z
Learning: In Comfy-Org/ComfyUI_frontend, the `cn` utility function from `@/utils/tailwindUtil` uses `tailwind-merge`, which intelligently resolves conflicting Tailwind classes by keeping the last one. When a component uses `cn('base-classes bg-default', propClass)`, if `propClass` contains a conflicting background class, `tailwind-merge` will correctly override `bg-default` with the value from `propClass`. This additive pattern is correct and intentional, following the shadcn-ui convention.
</learning]
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 : Replace PrimeVue InputSwitch component with ToggleSwitch
📚 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 : Replace PrimeVue TabMenu component with Tabs without panels

Applied to files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/Load3DControls.vue
📚 Learning: 2025-12-18T16:03:02.066Z
Learnt from: henrikvilhelmberglund
Repo: Comfy-Org/ComfyUI_frontend PR: 7617
File: src/components/actionbar/ComfyActionbar.vue:301-308
Timestamp: 2025-12-18T16:03:02.066Z
Learning: In the ComfyUI frontend queue system, useQueuePendingTaskCountStore().count indicates the number of tasks in the queue, where count = 1 means a single active/running task and count > 1 means there are pending tasks in addition to the active task. Therefore, in src/components/actionbar/ComfyActionbar.vue, enable the 'Clear Pending Tasks' button only when count > 1 to avoid clearing the currently running task. The active task should be canceled using the 'Cancel current run' button instead. This rule should be enforced via a conditional check on the queue count, with appropriate disabled/aria-disabled states for accessibility, and tests should verify behavior for count = 1 and count > 1.

Applied to files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.vue
📚 Learning: 2026-01-08T02:26:18.357Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7893
File: src/components/button/IconGroup.vue:5-6
Timestamp: 2026-01-08T02:26:18.357Z
Learning: In components that use the cn utility from '@/utils/tailwindUtil' with tailwind-merge, rely on the behavior that conflicting Tailwind classes are resolved by keeping the last one. For example, cn('base-classes bg-default', propClass) will have any conflicting background class from propClass override bg-default. This additive pattern is intentional and aligns with the shadcn-ui convention; ensure you document or review expectations accordingly in Vue components.

Applied to files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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 : Replace PrimeVue OverlayPanel component with Popover

Applied to files:

  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.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 : Replace PrimeVue InputSwitch component with ToggleSwitch

Applied to files:

  • src/components/load3d/controls/PopupSlider.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/LightControls.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 : Replace PrimeVue Steps component with Stepper without panels

Applied to files:

  • src/components/load3d/controls/PopupSlider.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 : Replace PrimeVue Sidebar component with Drawer

Applied to files:

  • src/components/load3d/controls/PopupSlider.vue
📚 Learning: 2025-12-18T20:39:30.137Z
Learnt from: jtydhr88
Repo: Comfy-Org/ComfyUI_frontend PR: 7621
File: src/components/load3d/Load3DScene.vue:4-4
Timestamp: 2025-12-18T20:39:30.137Z
Learning: In src/components/load3d/Load3DScene.vue, the scoped `<style>` block with `!important` declarations for the canvas element is necessary because Three.js dynamically creates the canvas with inline styles, preventing direct application of Tailwind classes. This is a valid exception to the Tailwind-only styling guideline.

Applied to files:

  • src/components/load3d/LoadingOverlay.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.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 : Replace PrimeVue InlineMessage component with Message

Applied to files:

  • src/components/load3d/LoadingOverlay.vue
📚 Learning: 2026-01-09T00:50:57.103Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-09T00:50:57.103Z
Learning: Applies to src/**/*.vue : Do not use the `dark:` Tailwind variant; use semantic values from `style.css` theme instead (e.g., `bg-node-component-surface`)

Applied to files:

  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/LightControls.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 : Replace PrimeVue Dropdown component with Select

Applied to files:

  • src/components/input/MultiSelect.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 : Replace PrimeVue Chips component with AutoComplete with multiple enabled

Applied to files:

  • src/components/input/MultiSelect.vue
📚 Learning: 2025-11-24T19:47:34.324Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:34.324Z
Learning: Applies to src/**/*.{vue,ts,tsx} : Follow Vue 3 composition API style guide

Applied to files:

  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/ExportControls.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 : Follow Vue 3 style guide and naming conventions

Applied to files:

  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/ExportControls.vue
📚 Learning: 2026-01-09T00:50:57.103Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-09T00:50:57.103Z
Learning: Follow Vue 3 style guide and naming conventions

Applied to files:

  • src/components/load3d/Load3DControls.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,css} : Use the correct tokens from style.css in the design system package

Applied to files:

  • src/components/load3d/controls/ExportControls.vue
📚 Learning: 2025-11-24T19:47:34.324Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:34.324Z
Learning: Applies to src/**/{components,composables}/**/*.{ts,tsx,vue} : Use vue-i18n for ALL user-facing strings by adding them to `src/locales/en/main.json`

Applied to files:

  • src/components/load3d/controls/ExportControls.vue
📚 Learning: 2026-01-09T00:50:57.103Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-09T00:50:57.103Z
Learning: Applies to src/**/*.vue : Use `cn()` utility from `@/utils/tailwindUtil` for merging class names; never use `:class="[]"` syntax

Applied to files:

  • src/components/load3d/controls/ModelControls.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/VideoPreview.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: setup
  • GitHub Check: lint-and-format
  • GitHub Check: collect
  • GitHub Check: test
🔇 Additional comments (14)
src/components/input/MultiSelect.vue (1)

163-163: LGTM: Theme-aware token correctly applied.

The check icon color update from text-white to text-base-foreground properly enables theme compatibility, ensuring visibility in both light and dark themes as intended by this PR.

src/components/load3d/controls/AnimationControls.vue (1)

18-18: LGTM: Animation controls styling updated for theme compatibility.

Both the play/pause icon and time display now use text-base-foreground, ensuring proper visibility across themes without affecting control functionality.

Also applies to: 49-49

src/components/load3d/controls/CameraControls.vue (1)

14-14: LGTM: Camera icon theming updated.

The icon color update to text-base-foreground correctly aligns with the theme-aware token migration.

src/components/TopMenuSection.vue (1)

57-57: LGTM: Queue badge styling updated.

The badge text color change to text-base-foreground ensures proper contrast and visibility in both light and dark themes.

src/components/load3d/controls/PopupSlider.vue (1)

11-11: LGTM: Slider popup styling updated with semantic tokens.

Both the icon color (text-base-foreground) and panel background (bg-interface-menu-surface) now use appropriate semantic tokens, ensuring consistent theming across the Load3D controls.

Also applies to: 15-15

src/components/load3d/controls/LightControls.vue (1)

15-15: LGTM: Icon color updated to theme-aware token.

The sun icon color correctly uses text-base-foreground for theme compatibility.

src/components/load3d/controls/SceneControls.vue (1)

11-11: LGTM: Icon colors updated to theme-aware tokens.

All icon colors correctly use text-base-foreground for theme compatibility across the scene control buttons.

Also applies to: 26-26, 51-51, 79-79, 101-101

src/components/load3d/controls/ViewerControls.vue (1)

2-2: LGTM: Container and icon colors updated to theme-aware tokens.

Both the container background (bg-backdrop/30) and expand icon color (text-base-foreground) correctly use semantic tokens for proper theming.

Also applies to: 15-15

src/components/load3d/controls/ExportControls.vue (1)

15-15: LGTM: All color tokens updated correctly.

The download icon, export panel background, and button text all use appropriate semantic tokens (text-base-foreground and bg-interface-menu-surface) for proper theme support.

Also applies to: 19-19, 26-26

src/components/load3d/controls/RecordingControls.vue (1)

2-2: LGTM: All color tokens updated correctly.

The container background, all icon colors, and duration text correctly use semantic tokens (bg-backdrop/30 and text-base-foreground) for proper theme support across recording controls.

Also applies to: 28-28, 45-45, 60-60, 65-65

src/components/load3d/LoadingOverlay.vue (1)

5-5: LGTM! Theme-aware tokens correctly applied.

The changes properly replace hardcoded color values with semantic theme tokens using correct Tailwind v4 slash syntax for opacity.

Also applies to: 9-9

src/renderer/extensions/vueNodes/VideoPreview.vue (1)

23-34: LGTM! Error state styling correctly updated with theme tokens and accessibility improvement.

The addition of role="alert" improves accessibility, and the color token replacements ensure proper theme support across light and dark modes.

src/components/load3d/Load3DControls.vue (1)

3-3: LGTM! Theme tokens correctly applied.

All changed lines properly use semantic theme tokens following Tailwind v4 conventions.

Also applies to: 17-17, 22-22, 32-32, 38-38, 172-172

src/components/load3d/controls/ModelControls.vue (1)

15-15: LGTM! Theme tokens properly applied throughout.

All color token replacements are correct, and the use of the cn() utility for class merging follows project conventions.

Also applies to: 19-19, 27-30, 52-52, 56-56, 65-65, 89-89


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 Jan 8, 2026

🎨 Storybook Build Status

Build completed successfully!

⏰ Completed at: 01/09/2026, 01:31:44 AM UTC

🔗 Links


🎉 Your Storybook is ready for review!

@github-actions
Copy link

github-actions bot commented Jan 8, 2026

🎭 Playwright Test Results

⚠️ Tests passed with flaky tests

⏰ Completed at: 01/09/2026, 01:36:59 AM UTC

📈 Summary

  • Total Tests: 513
  • Passed: 504 ✅
  • Failed: 0
  • Flaky: 1 ⚠️
  • Skipped: 8 ⏭️

📊 Test Reports by Browser

  • chromium: View Report • ✅ 492 / ❌ 0 / ⚠️ 1 / ⏭️ 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 Jan 8, 2026

Bundle Size Report

Summary

  • Raw size: 17.6 MB baseline 17.6 MB — 🔴 +466 B
  • Gzip: 3.6 MB baseline 3.6 MB — 🟢 -39 B
  • Brotli: 2.74 MB baseline 2.74 MB — 🟢 -14 B
  • Bundles: 94 current • 94 baseline • 38 added / 38 removed

Category Glance
UI Components 🔴 +377 B (198 kB) · Graph Workspace 🔴 +69 B (1.05 MB) · App Entry Points 🔴 +20 B (3.23 MB) · Vendor & Third-Party ⚪ 0 B (9.19 MB) · Other ⚪ 0 B (3.6 MB) · Panels & Settings ⚪ 0 B (300 kB) · + 3 more

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

Main entry bundles and manifests

File Before After Δ Raw Δ Gzip Δ Brotli
assets/index-D5CiEnXH.js (new) 3.04 MB 🔴 +3.04 MB 🔴 +637 kB 🔴 +484 kB
assets/index-B9U2gLnK.js (removed) 3.04 MB 🟢 -3.04 MB 🟢 -637 kB 🟢 -484 kB
assets/index-Bga3iMRk.js (new) 194 kB 🔴 +194 kB 🔴 +42.3 kB 🔴 +35.2 kB
assets/index-IYyw2btS.js (removed) 194 kB 🟢 -194 kB 🟢 -42.3 kB 🟢 -35.1 kB
assets/index-DmutjGr7.js (new) 345 B 🔴 +345 B 🔴 +244 B 🔴 +232 B
assets/index-Gav2kYXL.js (removed) 345 B 🟢 -345 B 🟢 -245 B 🟢 -203 B

Status: 3 added / 3 removed

Graph Workspace — 1.05 MB (baseline 1.05 MB) • 🔴 +69 B

Graph editor runtime, canvas, workflow orchestration

File Before After Δ Raw Δ Gzip Δ Brotli
assets/GraphView-CCbI6JUF.js (new) 1.05 MB 🔴 +1.05 MB 🔴 +203 kB 🔴 +154 kB
assets/GraphView-C6C9dGrH.js (removed) 1.05 MB 🟢 -1.05 MB 🟢 -203 kB 🟢 -154 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--JtBR1TP.js (new) 6.63 kB 🔴 +6.63 kB 🔴 +2.14 kB 🔴 +1.9 kB
assets/UserSelectView-Cs-Y2b2k.js (removed) 6.63 kB 🟢 -6.63 kB 🟢 -2.14 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-CCPBXq65.js (new) 22.7 kB 🔴 +22.7 kB 🔴 +5.25 kB 🔴 +4.6 kB
assets/LegacyCreditsPanel-DKD-eW4U.js (removed) 22.7 kB 🟢 -22.7 kB 🟢 -5.25 kB 🟢 -4.6 kB
assets/KeybindingPanel-Bm3XQyEp.js (new) 14.8 kB 🔴 +14.8 kB 🔴 +3.57 kB 🔴 +3.13 kB
assets/KeybindingPanel-D3A2fx_8.js (removed) 14.8 kB 🟢 -14.8 kB 🟢 -3.57 kB 🟢 -3.13 kB
assets/ExtensionPanel-6b-4DIA-.js (new) 11.1 kB 🔴 +11.1 kB 🔴 +2.61 kB 🔴 +2.29 kB
assets/ExtensionPanel-dJHEEYfx.js (removed) 11.1 kB 🟢 -11.1 kB 🟢 -2.61 kB 🟢 -2.29 kB
assets/AboutPanel-48RwbLQq.js (removed) 9.16 kB 🟢 -9.16 kB 🟢 -2.46 kB 🟢 -2.21 kB
assets/AboutPanel-DiXAkJih.js (new) 9.16 kB 🔴 +9.16 kB 🔴 +2.46 kB 🔴 +2.21 kB
assets/ServerConfigPanel-BNcjtI0w.js (removed) 7.51 kB 🟢 -7.51 kB 🟢 -2.04 kB 🟢 -1.81 kB
assets/ServerConfigPanel-oIfrf0Ly.js (new) 7.51 kB 🔴 +7.51 kB 🔴 +2.04 kB 🔴 +1.81 kB
assets/UserPanel-gE1cwGGJ.js (removed) 6.88 kB 🟢 -6.88 kB 🟢 -1.79 kB 🟢 -1.57 kB
assets/UserPanel-mMRCYSEN.js (new) 6.88 kB 🔴 +6.88 kB 🔴 +1.79 kB 🔴 +1.56 kB
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-MzsBgiwB.js 21.7 kB 21.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 — 198 kB (baseline 197 kB) • 🔴 +377 B

Reusable component library chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/LazyImage.vue_vue_type_script_setup_true_lang-BkfrddJI.js (removed) 63 kB 🟢 -63 kB 🟢 -12.9 kB 🟢 -11.2 kB
assets/LazyImage.vue_vue_type_script_setup_true_lang-CcbFxVsi.js (new) 63 kB 🔴 +63 kB 🔴 +12.9 kB 🔴 +11.2 kB
assets/Load3D.vue_vue_type_script_setup_true_lang-DjUQJmma.js (new) 56.4 kB 🔴 +56.4 kB 🔴 +8.78 kB 🔴 +7.53 kB
assets/Load3D.vue_vue_type_script_setup_true_lang-D24T--zo.js (removed) 56 kB 🟢 -56 kB 🟢 -8.75 kB 🟢 -7.51 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-BDRhWIsO.js (removed) 49 kB 🟢 -49 kB 🟢 -10.5 kB 🟢 -9.14 kB
assets/WidgetSelect.vue_vue_type_script_setup_true_lang-BmvvUhtb.js (new) 49 kB 🔴 +49 kB 🔴 +10.5 kB 🔴 +9.15 kB
assets/WidgetInputNumber.vue_vue_type_script_setup_true_lang-DiXJsXPS.js (removed) 10.9 kB 🟢 -10.9 kB 🟢 -2.9 kB 🟢 -2.56 kB
assets/WidgetInputNumber.vue_vue_type_script_setup_true_lang-ePdpvxmj.js (new) 10.9 kB 🔴 +10.9 kB 🔴 +2.89 kB 🔴 +2.55 kB
assets/ComfyQueueButton-ClhFJrhY.js (new) 8.83 kB 🔴 +8.83 kB 🔴 +2.58 kB 🔴 +2.3 kB
assets/ComfyQueueButton-CmRbcDTg.js (removed) 8.83 kB 🟢 -8.83 kB 🟢 -2.58 kB 🟢 -2.29 kB
assets/WidgetWithControl.vue_vue_type_script_setup_true_lang-b_begn3N.js (new) 3.72 kB 🔴 +3.72 kB 🔴 +1.45 kB 🔴 +1.32 kB
assets/WidgetWithControl.vue_vue_type_script_setup_true_lang-D7bLHKlK.js (removed) 3.72 kB 🟢 -3.72 kB 🟢 -1.45 kB 🟢 -1.32 kB
assets/WidgetButton-C0sh99YY.js (removed) 2.21 kB 🟢 -2.21 kB 🟢 -995 B 🟢 -897 B
assets/WidgetButton-FrZcsvBV.js (new) 2.21 kB 🔴 +2.21 kB 🔴 +994 B 🔴 +897 B
assets/WidgetLayoutField.vue_vue_type_script_setup_true_lang-B_bq-1WM.js (new) 2.14 kB 🔴 +2.14 kB 🔴 +889 B 🔴 +773 B
assets/WidgetLayoutField.vue_vue_type_script_setup_true_lang-Zr-I7UGE.js (removed) 2.14 kB 🟢 -2.14 kB 🟢 -890 B 🟢 -774 B
assets/UserAvatar.vue_vue_type_script_setup_true_lang-9XQOozXG.js 1.34 kB 1.34 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-BFHYUe0U.js (new) 7.51 kB 🔴 +7.51 kB 🔴 +1.83 kB 🔴 +1.58 kB
assets/keybindingService-Cn5CLy8D.js (removed) 7.51 kB 🟢 -7.51 kB 🟢 -1.83 kB 🟢 -1.59 kB
assets/audioService-DjElrpAp.js (new) 2.2 kB 🔴 +2.2 kB 🔴 +958 B 🔴 +819 B
assets/audioService-DU0_0PWb.js (removed) 2.2 kB 🟢 -2.2 kB 🟢 -960 B 🟢 -827 B
assets/serverConfigStore-C7L6OKtS.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-BrpEOMyy.js (new) 1.41 kB 🔴 +1.41 kB 🔴 +651 B 🔴 +549 B
assets/audioUtils-CIp4X3sB.js (removed) 1.41 kB 🟢 -1.41 kB 🟢 -651 B 🟢 -548 B

Status: 1 added / 1 removed

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

External libraries and shared vendor chunks

File Before After Δ Raw Δ Gzip Δ Brotli
assets/vendor-chart-CAFSFyru.js 452 kB 452 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-other-CtqoBnhc.js 3.9 MB 3.9 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-primevue-uBII0nI5.js 1.95 MB 1.95 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-three-gKB3jfCi.js 2.08 MB 2.08 MB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-tiptap-DxCePpNw.js 232 kB 232 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/vendor-vue-Btw3Hy_q.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.6 MB (baseline 3.6 MB) • ⚪ 0 B

Bundles that do not match a named category

File Before After Δ Raw Δ Gzip Δ Brotli
assets/SubscriptionRequiredDialogContent-B1J_AMB8.js (new) 29.3 kB 🔴 +29.3 kB 🔴 +6.51 kB 🔴 +5.65 kB
assets/SubscriptionRequiredDialogContent-gKdsq4g7.js (removed) 29.3 kB 🟢 -29.3 kB 🟢 -6.51 kB 🟢 -5.66 kB
assets/WidgetRecordAudio-BCotCbYy.js (new) 20.4 kB 🔴 +20.4 kB 🔴 +5.23 kB 🔴 +4.62 kB
assets/WidgetRecordAudio-D9GzDSuM.js (removed) 20.4 kB 🟢 -20.4 kB 🟢 -5.23 kB 🟢 -4.63 kB
assets/AudioPreviewPlayer-CFK5RyRw.js (removed) 13.3 kB 🟢 -13.3 kB 🟢 -3.35 kB 🟢 -2.99 kB
assets/AudioPreviewPlayer-DG6ciqQO.js (new) 13.3 kB 🔴 +13.3 kB 🔴 +3.35 kB 🔴 +3 kB
assets/ValueControlPopover-BJ9adKao.js (new) 5.49 kB 🔴 +5.49 kB 🔴 +1.71 kB 🔴 +1.52 kB
assets/ValueControlPopover-DLZOIYRs.js (removed) 5.49 kB 🟢 -5.49 kB 🟢 -1.7 kB 🟢 -1.52 kB
assets/WidgetGalleria-DppyaYWX.js (removed) 4.1 kB 🟢 -4.1 kB 🟢 -1.44 kB 🟢 -1.31 kB
assets/WidgetGalleria-DPVwkfNL.js (new) 4.1 kB 🔴 +4.1 kB 🔴 +1.45 kB 🔴 +1.3 kB
assets/WidgetColorPicker-BBIskHpS.js (removed) 3.41 kB 🟢 -3.41 kB 🟢 -1.38 kB 🟢 -1.23 kB
assets/WidgetColorPicker-Bfqqacjv.js (new) 3.41 kB 🔴 +3.41 kB 🔴 +1.38 kB 🔴 +1.23 kB
assets/WidgetTextarea-BgKp-FDt.js (removed) 3.08 kB 🟢 -3.08 kB 🟢 -1.21 kB 🟢 -1.08 kB
assets/WidgetTextarea-BhX62vHD.js (new) 3.08 kB 🔴 +3.08 kB 🔴 +1.21 kB 🔴 +1.08 kB
assets/WidgetMarkdown-2E1dCciJ.js (new) 3.08 kB 🔴 +3.08 kB 🔴 +1.28 kB 🔴 +1.13 kB
assets/WidgetMarkdown-D6ILOoIi.js (removed) 3.08 kB 🟢 -3.08 kB 🟢 -1.28 kB 🟢 -1.12 kB
assets/WidgetAudioUI-CSCu7t52.js (new) 2.89 kB 🔴 +2.89 kB 🔴 +1.16 kB 🔴 +1.06 kB
assets/WidgetAudioUI-DlANTsjm.js (removed) 2.89 kB 🟢 -2.89 kB 🟢 -1.17 kB 🟢 -1.06 kB
assets/WidgetToggleSwitch-7ZEsTkE0.js (removed) 2.66 kB 🟢 -2.66 kB 🟢 -1.13 kB 🟢 -1.03 kB
assets/WidgetToggleSwitch-B9jnH501.js (new) 2.66 kB 🔴 +2.66 kB 🔴 +1.13 kB 🔴 +1.01 kB
assets/WidgetInputText-BlysDJWW.js (new) 1.99 kB 🔴 +1.99 kB 🔴 +918 B 🔴 +851 B
assets/WidgetInputText-C-MMuTqJ.js (removed) 1.99 kB 🟢 -1.99 kB 🟢 -922 B 🟢 -856 B
assets/Media3DTop-CPvQ-xs1.js (new) 1.49 kB 🔴 +1.49 kB 🔴 +764 B 🔴 +654 B
assets/Media3DTop-LgYEoFql.js (removed) 1.49 kB 🟢 -1.49 kB 🟢 -763 B 🟢 -654 B
assets/WidgetSelect-D5RW3Rnk.js (new) 733 B 🔴 +733 B 🔴 +358 B 🔴 +325 B
assets/WidgetSelect-oV-eUiX6.js (removed) 733 B 🟢 -733 B 🟢 -362 B 🟢 -333 B
assets/WidgetInputNumber-_6_k9UBz.js (new) 673 B 🔴 +673 B 🔴 +344 B 🔴 +286 B
assets/WidgetInputNumber-Pqv4Znx9.js (removed) 673 B 🟢 -673 B 🟢 -348 B 🟢 -291 B
assets/Load3D-BaA3G8Eg.js (new) 424 B 🔴 +424 B 🔴 +265 B 🔴 +222 B
assets/Load3D-yzwK4y2A.js (removed) 424 B 🟢 -424 B 🟢 -265 B 🟢 -224 B
assets/WidgetLegacy-B_nj865j.js (removed) 364 B 🟢 -364 B 🟢 -235 B 🟢 -195 B
assets/WidgetLegacy-D7KsUuCS.js (new) 364 B 🔴 +364 B 🔴 +236 B 🔴 +195 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-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-JzWMbEh0.js 91.2 kB 91.2 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-Cig_KuEt.js 1.46 kB 1.46 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaImageTop-CceP_k47.js 1.75 kB 1.75 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/MediaVideoTop-Bm4APiyx.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-BDbge6_f.js 279 kB 279 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-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/OBJLoader2WorkerModule-DTMpvldF.js 109 kB 109 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetChart-d_e6D31f.js 2.48 kB 2.48 kB ⚪ 0 B ⚪ 0 B ⚪ 0 B
assets/WidgetImageCompare-gJXsKU9X.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: 16 added / 16 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: 0

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (3)
src/components/load3d/controls/LightControls.vue (1)

19-19: Inconsistent with PR's theme token migration.

This panel background still uses bg-black/50 instead of a semantic token. Based on the PR objectives and the pattern used in ExportControls.vue (line 19), this should be updated to bg-interface-menu-surface for consistency.

🎨 Proposed fix
       <div
         v-show="showLightIntensity"
-        class="absolute top-0 left-12 rounded-lg bg-black/50 p-4 shadow-lg"
+        class="absolute top-0 left-12 rounded-lg bg-interface-menu-surface p-4 shadow-lg"
         style="width: 150px"
       >

Based on learnings and coding guidelines for using semantic tokens from the design system.

src/components/load3d/Load3DControls.vue (1)

46-46: Inconsistent token usage — update to match Line 3.

Line 46 still uses the old bg-smoke-700/30 class, while Line 3 was updated to bg-backdrop/30. For consistency with the PR's theme-aware token migration, this line should be updated as well.

🎨 Proposed fix
-    <div v-show="activeCategory" class="rounded-lg bg-smoke-700/30">
+    <div v-show="activeCategory" class="rounded-lg bg-backdrop/30">
src/components/load3d/LoadingOverlay.vue (1)

24-41: Refactor spinner to use Tailwind for theme consistency.

The <style scoped> block uses hardcoded colors (#f3f3f3, #3498db) that don't adapt to the active theme. Since this PR updates color tokens for theme awareness, consider refactoring the spinner to use Tailwind utilities for consistency.

♻️ Proposed Tailwind-based spinner

Replace the template and remove the <style> block:

       <div class="flex flex-col items-center">
-        <div class="spinner" />
+        <div 
+          class="h-12 w-12 animate-spin rounded-full border-4 border-border-subtle border-t-blue-500"
+        />
         <div class="mt-4 text-lg text-base-foreground">
           {{ loadingMessage }}
         </div>
       </div>

Then remove the entire <style scoped> block (lines 24-41).

As per coding guidelines, use Tailwind CSS only for styling.

📜 Review details

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1bde878 and e0cd406.

📒 Files selected for processing (14)
  • src/components/TopMenuSection.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/LightControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
🧰 Additional context used
📓 Path-based instructions (12)
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/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.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/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.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/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.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/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.vue
src/**/*.{vue,ts,tsx}

📄 CodeRabbit inference engine (src/CLAUDE.md)

Follow Vue 3 composition API style guide

Files:

  • src/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.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/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.vue
src/components/**/*.vue

📄 CodeRabbit inference engine (src/components/CLAUDE.md)

src/components/**/*.vue: Use setup() function in Vue 3 Composition API
Destructure props using Vue 3.5 style in Vue components
Use ref/reactive for state management in Vue 3 Composition API
Implement computed() for derived state in Vue 3 Composition API
Use provide/inject for dependency injection in Vue components
Prefer emit/@event-name for state changes over other communication patterns
Use defineExpose only for imperative operations (such as form.validate(), modal.open())
Replace PrimeVue Dropdown component with Select
Replace PrimeVue OverlayPanel component with Popover
Replace PrimeVue Calendar component with DatePicker
Replace PrimeVue InputSwitch component with ToggleSwitch
Replace PrimeVue Sidebar component with Drawer
Replace PrimeVue Chips component with AutoComplete with multiple enabled
Replace PrimeVue TabMenu component with Tabs without panels
Replace PrimeVue Steps component with Stepper without panels
Replace PrimeVue InlineMessage component with Message
Extract complex conditionals to computed properties
Implement cleanup for async operations in Vue components
Use lifecycle hooks: onMounted, onUpdated in Vue 3 Composition API
Use Teleport/Suspense when needed for component rendering
Define proper props and emits definitions in Vue components

Files:

  • src/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.vue
src/components/**/*.{vue,css}

📄 CodeRabbit inference engine (src/components/CLAUDE.md)

src/components/**/*.{vue,css}: Use Tailwind CSS only for styling (no custom CSS)
Use the correct tokens from style.css in the design system package

Files:

  • src/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.vue
src/components/**/*.{vue,ts,js}

📄 CodeRabbit inference engine (src/components/CLAUDE.md)

src/components/**/*.{vue,ts,js}: Use existing VueUse composables (such as useElementHover) instead of manually managing event listeners
Use useIntersectionObserver for visibility detection instead of custom scroll handlers
Use vue-i18n for ALL UI strings

Files:

  • src/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.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/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.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/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.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/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.vue
🧠 Learnings (26)
📓 Common learnings
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,css} : Use the correct tokens from style.css in the design system package
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 : Do not use the `dark:` Tailwind variant; use semantic values from the `style.css` theme instead (e.g., `bg-node-component-surface`)
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 Tailwind 4 for styling in Vue components; avoid `<style>` blocks
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,css} : Use Tailwind CSS only for styling (no custom CSS)
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 Tailwind CSS for styling
📚 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 : Do not use the `dark:` Tailwind variant; use semantic values from the `style.css` theme instead (e.g., `bg-node-component-surface`)

Applied to files:

  • src/components/load3d/controls/LightControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/renderer/extensions/vueNodes/VideoPreview.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/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.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/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.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/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.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/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.vue
📚 Learning: 2026-01-08T02:26:18.357Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7893
File: src/components/button/IconGroup.vue:5-6
Timestamp: 2026-01-08T02:26:18.357Z
Learning: In components that use the cn utility from '@/utils/tailwindUtil' with tailwind-merge, rely on the behavior that conflicting Tailwind classes are resolved by keeping the last one. For example, cn('base-classes bg-default', propClass) will have any conflicting background class from propClass override bg-default. This additive pattern is intentional and aligns with the shadcn-ui convention; ensure you document or review expectations accordingly in Vue components.

Applied to files:

  • src/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.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/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.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/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.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/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.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/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.vue
📚 Learning: 2025-12-18T16:03:02.066Z
Learnt from: henrikvilhelmberglund
Repo: Comfy-Org/ComfyUI_frontend PR: 7617
File: src/components/actionbar/ComfyActionbar.vue:301-308
Timestamp: 2025-12-18T16:03:02.066Z
Learning: In the ComfyUI frontend queue system, useQueuePendingTaskCountStore().count indicates the number of tasks in the queue, where count = 1 means a single active/running task and count > 1 means there are pending tasks in addition to the active task. Therefore, in src/components/actionbar/ComfyActionbar.vue, enable the 'Clear Pending Tasks' button only when count > 1 to avoid clearing the currently running task. The active task should be canceled using the 'Cancel current run' button instead. This rule should be enforced via a conditional check on the queue count, with appropriate disabled/aria-disabled states for accessibility, and tests should verify behavior for count = 1 and count > 1.

Applied to files:

  • src/components/load3d/controls/LightControls.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/ViewerControls.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 : Replace PrimeVue Dropdown component with Select

Applied to files:

  • src/components/input/MultiSelect.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 : Replace PrimeVue InputSwitch component with ToggleSwitch

Applied to files:

  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/PopupSlider.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 : Replace PrimeVue Chips component with AutoComplete with multiple enabled

Applied to files:

  • src/components/input/MultiSelect.vue
📚 Learning: 2025-12-18T20:39:30.137Z
Learnt from: jtydhr88
Repo: Comfy-Org/ComfyUI_frontend PR: 7621
File: src/components/load3d/Load3DScene.vue:4-4
Timestamp: 2025-12-18T20:39:30.137Z
Learning: In src/components/load3d/Load3DScene.vue, the scoped `<style>` block with `!important` declarations for the canvas element is necessary because Three.js dynamically creates the canvas with inline styles, preventing direct application of Tailwind classes. This is a valid exception to the Tailwind-only styling guideline.

Applied to files:

  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/ViewerControls.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 : Follow Vue 3 style guide and naming conventions

Applied to files:

  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/Load3DControls.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 : Follow Vue 3 style guide and naming conventions

Applied to files:

  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/Load3DControls.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,css} : Use the correct tokens from style.css in the design system package

Applied to files:

  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
📚 Learning: 2025-11-24T19:47:34.324Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:34.324Z
Learning: Applies to src/**/*.{vue,ts,tsx} : Follow Vue 3 composition API style guide

Applied to files:

  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/RecordingControls.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/components/load3d/controls/ModelControls.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 : Replace PrimeVue OverlayPanel component with Popover

Applied to files:

  • src/components/load3d/LoadingOverlay.vue
  • src/components/load3d/controls/PopupSlider.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 : Replace PrimeVue InlineMessage component with Message

Applied to files:

  • src/components/load3d/LoadingOverlay.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/VideoPreview.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 : Replace PrimeVue Steps component with Stepper without panels

Applied to files:

  • src/components/load3d/controls/PopupSlider.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 : Replace PrimeVue TabMenu component with Tabs without panels

Applied to files:

  • src/components/load3d/controls/PopupSlider.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). (5)
  • GitHub Check: deploy-and-comment
  • GitHub Check: setup
  • GitHub Check: test
  • GitHub Check: lint-and-format
  • GitHub Check: collect
🔇 Additional comments (14)
src/components/input/MultiSelect.vue (1)

163-163: LGTM! Theme-aware token correctly applied.

The replacement of text-white with text-base-foreground aligns with the PR objectives and ensures the check icon is visible in both light and dark themes.

As per the PR test plan, verify that the checkbox icon has sufficient contrast against the bg-primary-background in both light and dark themes.

src/components/load3d/controls/AnimationControls.vue (1)

18-18: LGTM! Theme token migration applied correctly.

The text color updates from text-white to text-base-foreground correctly implement theme-aware styling for both the play/pause icon and the time display, ensuring proper visibility across light and dark themes.

Based on learnings and coding guidelines for using semantic tokens from the design system.

Also applies to: 49-49

src/components/load3d/controls/LightControls.vue (1)

15-15: LGTM! Icon color updated correctly.

The sun icon color change to text-base-foreground aligns with the theme-aware token migration.

Based on learnings and coding guidelines for using semantic tokens from the design system.

src/components/TopMenuSection.vue (1)

52-52: LGTM! Badge text color updated correctly.

The queue count badge text color change to text-base-foreground ensures proper theme-aware visibility and aligns with the PR's objective of replacing hardcoded white text.

Based on learnings and coding guidelines for using semantic tokens from the design system.

src/renderer/extensions/vueNodes/VideoPreview.vue (1)

23-33: LGTM! Error state styling migrated correctly.

The error state UI appropriately uses bg-muted-background and text-muted-foreground tokens, providing proper theme-aware styling with appropriate visual hierarchy for error messages.

Based on learnings and coding guidelines for using semantic tokens from the design system.

src/components/load3d/controls/ExportControls.vue (1)

15-15: LGTM! Export controls theme tokens applied correctly.

All three styling updates properly implement theme-aware tokens:

  • Icon uses text-base-foreground
  • Panel surface uses bg-interface-menu-surface
  • Button text uses text-base-foreground

These changes ensure consistent theming across light and dark modes.

Based on learnings and coding guidelines for using semantic tokens from the design system.

Also applies to: 19-19, 26-26

src/components/load3d/controls/PopupSlider.vue (1)

11-11: Popup slider theming updates are correct.

The changes properly implement theme-aware styling:

  • Icon color now uses text-base-foreground for theme adaptation
  • Popup background now uses bg-interface-menu-surface semantic token instead of hardcoded translucent black

These align with the PR objective to use semantic surface tokens for dropdown/popup menus.

Also applies to: 15-15

src/components/load3d/controls/SceneControls.vue (1)

11-11: Scene control icon theming is consistently applied.

All five scene control icons (grid, palette, image, globe, times) have been correctly updated from text-white to text-base-foreground, ensuring consistent theme-aware styling across all scene control buttons.

Also applies to: 26-26, 51-51, 79-79, 101-101

src/components/load3d/controls/ViewerControls.vue (1)

2-2: Viewer controls theming correctly implemented.

The changes properly update the viewer controls to use theme-aware tokens:

  • Container background now uses bg-backdrop/30 semantic token (replacing bg-smoke-700/30)
  • Expand icon uses text-base-foreground for theme adaptation

Both changes align with the PR's control panel theming objectives.

Also applies to: 15-15

src/components/load3d/controls/RecordingControls.vue (1)

2-2: Recording controls comprehensively themed.

All recording control UI elements have been correctly updated to use theme-aware tokens:

  • Container background: bg-backdrop/30 (replacing bg-smoke-700/30)
  • Recording toggle, export, and clear icons: text-base-foreground
  • Duration display text: text-base-foreground

This ensures all elements are visible and properly themed in both light and dark modes.

Also applies to: 28-28, 45-45, 60-60, 65-65

src/components/load3d/controls/CameraControls.vue (1)

14-14: Theme-aware icon color update is correct.

The replacement of text-white with text-base-foreground correctly implements theme support for the camera control icon. The semantic token is properly defined in the design system with theme variants (light mode: charcoal-800, dark mode: white).

src/components/load3d/Load3DControls.vue (1)

3-3: LGTM! Theme token updates are correctly applied.

The replacement of hardcoded colors with semantic tokens (bg-backdrop/30, text-base-foreground, bg-interface-menu-surface, bg-button-active-surface) follows the design system guidelines and improves theme consistency.

Based on learnings, using tokens from style.css is the correct approach.

Also applies to: 17-17, 22-22, 32-32, 38-38, 172-172

src/components/load3d/LoadingOverlay.vue (1)

5-5: LGTM! Theme token updates are correctly applied.

The overlay now uses semantic tokens (bg-backdrop/50, text-base-foreground) that adapt to the active theme.

Also applies to: 9-9

src/components/load3d/controls/ModelControls.vue (1)

15-15: LGTM! Theme token migration is correctly implemented.

All color token replacements (text-base-foreground, bg-interface-menu-surface) follow the design system guidelines. The use of cn() utility for composing classes is correct, and the semantic tokens will properly adapt to theme changes.

Based on learnings, using semantic values from style.css without dark: variants is the correct approach.

Also applies to: 19-19, 27-31, 52-52, 56-56, 65-65, 89-89

@Myestery Myestery added the New Browser Test Expectations New browser test screenshot should be set by github action label Jan 8, 2026
@github-actions
Copy link

github-actions bot commented Jan 8, 2026

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 Jan 8, 2026
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
src/renderer/extensions/vueNodes/VideoPreview.vue (1)

106-106: Consider using a semantic token for error state.

The dimensions section uses text-red-400 to indicate video error, while the main error state (lines 23-34) now uses semantic tokens. For consistency and theme compatibility, consider replacing this with a semantic error token.

♻️ Suggested improvement
-      <span v-if="videoError" class="text-red-400">
+      <span v-if="videoError" class="text-destructive-foreground">
         {{ $t('g.errorLoadingVideo') }}
       </span>

Note: Verify the correct semantic token for error text in your design system (e.g., text-destructive-foreground, text-error-foreground, or similar).

📜 Review details

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e0cd406 and 52867fc.

⛔ Files ignored due to path filters (1)
  • browser_tests/tests/vueNodes/widgets/load/uploadWidgets.spec.ts-snapshots/vue-nodes-upload-widgets-chromium-linux.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • src/renderer/extensions/vueNodes/VideoPreview.vue
🧰 Additional context used
📓 Path-based instructions (7)
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/VideoPreview.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/VideoPreview.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/VideoPreview.vue
src/**/*.{vue,ts,tsx}

📄 CodeRabbit inference engine (src/CLAUDE.md)

Follow Vue 3 composition API style guide

Files:

  • src/renderer/extensions/vueNodes/VideoPreview.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/VideoPreview.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/VideoPreview.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/VideoPreview.vue
🧠 Learnings (12)
📓 Common learnings
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,css} : Use the correct tokens from style.css in the design system package
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 : Do not use the `dark:` Tailwind variant; use semantic values from the `style.css` theme instead (e.g., `bg-node-component-surface`)
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 : Do not use `!important` or the `!` important prefix for Tailwind classes; find and correct interfering `!important` classes instead
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 Tailwind 4 for styling in Vue components; avoid `<style>` blocks
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
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 Tailwind CSS for styling
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,css} : Use Tailwind CSS only for styling (no custom CSS)
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7893
File: src/components/button/IconGroup.vue:5-6
Timestamp: 2026-01-08T02:26:18.357Z
Learning: In Comfy-Org/ComfyUI_frontend, the `cn` utility function from `@/utils/tailwindUtil` uses `tailwind-merge`, which intelligently resolves conflicting Tailwind classes by keeping the last one. When a component uses `cn('base-classes bg-default', propClass)`, if `propClass` contains a conflicting background class, `tailwind-merge` will correctly override `bg-default` with the value from `propClass`. This additive pattern is correct and intentional, following the shadcn-ui convention.
</learning]
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:16.031Z
Learning: In the Comfy-Org/ComfyUI_frontend repository, avoid creating single-use variants for the Button component (and other UI components). Variants should be reusable across multiple use cases. It's acceptable to use a mix of variant props and manual Tailwind classes temporarily when a specific styling need exists in only one place, with consolidation deferred to a later phase when patterns emerge.
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 : Replace PrimeVue InputSwitch component with ToggleSwitch
📚 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,css} : Use the correct tokens from style.css in the design system package

Applied to files:

  • src/renderer/extensions/vueNodes/VideoPreview.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/VideoPreview.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/VideoPreview.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/VideoPreview.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/VideoPreview.vue
📚 Learning: 2026-01-08T02:26:18.357Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7893
File: src/components/button/IconGroup.vue:5-6
Timestamp: 2026-01-08T02:26:18.357Z
Learning: In components that use the cn utility from '@/utils/tailwindUtil' with tailwind-merge, rely on the behavior that conflicting Tailwind classes are resolved by keeping the last one. For example, cn('base-classes bg-default', propClass) will have any conflicting background class from propClass override bg-default. This additive pattern is intentional and aligns with the shadcn-ui convention; ensure you document or review expectations accordingly in Vue components.

Applied to files:

  • src/renderer/extensions/vueNodes/VideoPreview.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/VideoPreview.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/VideoPreview.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/VideoPreview.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/VideoPreview.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/VideoPreview.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). (5)
  • GitHub Check: deploy-and-comment
  • GitHub Check: setup
  • GitHub Check: lint-and-format
  • GitHub Check: test
  • GitHub Check: collect
🔇 Additional comments (1)
src/renderer/extensions/vueNodes/VideoPreview.vue (1)

23-34: Correct alignment with ImagePreview error state.

The error state implementation (lines 23-34) is properly aligned with ImagePreview using semantic tokens (bg-muted-background, text-base-foreground) and the role="alert" accessibility attribute. This ensures consistent behavior and appearance across light and dark themes.

@Myestery Myestery added the New Browser Test Expectations New browser test screenshot should be set by github action label Jan 8, 2026
@github-actions github-actions bot removed the New Browser Test Expectations New browser test screenshot should be set by github action label Jan 8, 2026
jtydhr88
jtydhr88 previously approved these changes Jan 9, 2026
Copy link
Collaborator

@jtydhr88 jtydhr88 left a comment

Choose a reason for hiding this comment

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

LGTM

Replace hardcoded `text-white` class with theme-aware alternatives
to fix invisible text on light themes.

Changes:
- UI components: use `text-base-foreground` for text on primary backgrounds
- Load3D controls: use `text-base-foreground` for icons and labels
- VideoPreview: use `text-base-foreground` and `text-muted-foreground`
- Dropdown menus: use `bg-interface-menu-surface` for backgrounds
- Control panels: use `bg-backdrop/30` for semi-transparent backgrounds
- Selected states: use `bg-button-active-surface` for active items
- Loading overlays: use `bg-backdrop/50` for overlay backgrounds
- Add role="alert" for accessibility
- Use text-base-foreground consistently for error text
@Myestery Myestery force-pushed the fix/replace-text-white-with-theme-aware-colors branch from 1203286 to 86cff5b Compare January 9, 2026 01:30
@Myestery Myestery added the New Browser Test Expectations New browser test screenshot should be set by github action label Jan 9, 2026
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (3)
src/components/load3d/controls/LightControls.vue (1)

19-19: Inconsistent: Panel background should use theme-aware token.

Line 19 still uses bg-black/50, which is inconsistent with the PR's goal. According to the PR summary and the pattern in ExportControls.vue, popup panels should use bg-interface-menu-surface for proper theming.

🎨 Proposed fix
       <div
         v-show="showLightIntensity"
-        class="absolute top-0 left-12 rounded-lg bg-black/50 p-4 shadow-lg"
+        class="absolute top-0 left-12 rounded-lg bg-interface-menu-surface p-4 shadow-lg"
         style="width: 150px"
       >
src/components/load3d/controls/SceneControls.vue (1)

7-7: Replace hardcoded ring colors with semantic design system tokens.

Lines 7 and 73 use ring-white/50 for active state indicators. Replace with a theme-aware semantic token from the design system (e.g., ring-node-component-ring or a similar button-specific active state token if available) to ensure the ring color adapts correctly to both light and dark themes.

src/components/load3d/Load3DControls.vue (1)

46-46: Inconsistent background token usage.

Line 46 still uses bg-smoke-700/30 while line 3 was updated to bg-backdrop/30. Both appear to be backdrop containers for control panels and should use the same semantic token for visual consistency.

🎨 Proposed fix for consistency
-    <div v-show="activeCategory" class="rounded-lg bg-smoke-700/30">
+    <div v-show="activeCategory" class="rounded-lg bg-backdrop/30">
📜 Review details

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1203286 and 86cff5b.

📒 Files selected for processing (14)
  • src/components/TopMenuSection.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/LightControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.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

src/**/*.vue: Use Vue 3 Single File Components (SFCs) with Composition API only; never use Options API
Use <script setup lang="ts"> syntax for component logic
Use Tailwind 4 utility classes for styling; avoid <style> blocks in Vue components
Do not use the dark: Tailwind variant; use semantic values from style.css theme instead (e.g., bg-node-component-surface)
Use cn() utility from @/utils/tailwindUtil for merging class names; never use :class="[]" syntax
Never use !important or the ! prefix for Tailwind classes; find and fix interfering classes instead
Use Tailwind fraction utilities instead of arbitrary percentages (e.g., w-4/5 instead of w-[80%], w-1/2 instead of w-[50%])
Use Vue 3.5 TypeScript style default prop declaration with destructuring; avoid withDefaults and runtime props
Use defineModel for v-model bindings instead of separately defining props and emits
Prefer reactive props destructuring over const props = defineProps<...>
Define slots via template usage, not defineSlots
Use same-name shorthand for slot prop bindings (e.g., :isExpanded instead of :is-expanded="isExpanded")
Use ref for reactive state, computed() for computed properties, and watch/watchEffect for side effects
Avoid using ref and watch t...

Files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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

Leverage VueUse functions for performance-enhancing utilities

Files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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

src/**/*.{ts,tsx,vue}: Use separate import type statements; do not mix inline type imports in the same statement
Sort and group imports by plugin; run pnpm format before committing
Derive component types using vue-component-type-helpers (ComponentProps, ComponentSlots) instead of separate type files
Code should be well-designed with clear names for everything; write code that is expressive and self-documenting
Avoid redundant comments and clean up code as you go; comments should explain why, not what
Ask if there is a simpler way to implement functionality; refactor complex code to simplify it
Minimize nesting depth (e.g., if () { ... } or for () { ... }); watch for arrow anti-pattern
Watch out for code smells and refactor to avoid them
Never use any type; use proper TypeScript types
Never use as any type assertions; fix the underlying type issue instead
Indent with 2 spaces; use single quotes; no trailing semicolons; max line width 80 (per .prettierrc)
Complex type definitions used in multiple related places should be extracted and named for reuse
Implement proper error handling

Files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/components/load3d/controls/LightControls.vue
src/**/*.{vue,ts,tsx}

📄 CodeRabbit inference engine (src/CLAUDE.md)

Follow Vue 3 composition API style guide

Files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/components/load3d/controls/LightControls.vue
src/components/**/*.vue

📄 CodeRabbit inference engine (src/components/CLAUDE.md)

src/components/**/*.vue: Use setup() function in Vue 3 Composition API
Destructure props using Vue 3.5 style in Vue components
Use ref/reactive for state management in Vue 3 Composition API
Implement computed() for derived state in Vue 3 Composition API
Use provide/inject for dependency injection in Vue components
Prefer emit/@event-name for state changes over other communication patterns
Use defineExpose only for imperative operations (such as form.validate(), modal.open())
Replace PrimeVue Dropdown component with Select
Replace PrimeVue OverlayPanel component with Popover
Replace PrimeVue Calendar component with DatePicker
Replace PrimeVue InputSwitch component with ToggleSwitch
Replace PrimeVue Sidebar component with Drawer
Replace PrimeVue Chips component with AutoComplete with multiple enabled
Replace PrimeVue TabMenu component with Tabs without panels
Replace PrimeVue Steps component with Stepper without panels
Replace PrimeVue InlineMessage component with Message
Extract complex conditionals to computed properties
Implement cleanup for async operations in Vue components
Use lifecycle hooks: onMounted, onUpdated in Vue 3 Composition API
Use Teleport/Suspense when needed for component rendering
Define proper props and emits definitions in Vue components

Name Vue components in PascalCase (e.g., MenuHamburger.vue)

Files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/components/load3d/controls/LightControls.vue
src/components/**/*.{vue,css}

📄 CodeRabbit inference engine (src/components/CLAUDE.md)

src/components/**/*.{vue,css}: Use Tailwind CSS only for styling (no custom CSS)
Use the correct tokens from style.css in the design system package

Files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/components/load3d/controls/LightControls.vue
src/components/**/*.{vue,ts,js}

📄 CodeRabbit inference engine (src/components/CLAUDE.md)

src/components/**/*.{vue,ts,js}: Use existing VueUse composables (such as useElementHover) instead of manually managing event listeners
Use useIntersectionObserver for visibility detection instead of custom scroll handlers
Use vue-i18n for ALL UI strings

Files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/components/load3d/controls/LightControls.vue
🧠 Learnings (28)
📓 Common learnings
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-09T00:50:57.103Z
Learning: Applies to src/**/*.vue : Do not use the `dark:` Tailwind variant; use semantic values from `style.css` theme instead (e.g., `bg-node-component-surface`)
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-09T00:50:57.103Z
Learning: Applies to src/**/*.vue : Use Tailwind 4 utility classes for styling; avoid `<style>` blocks in Vue components
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,css} : Use the correct tokens from style.css in the design system package
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-09T00:50:57.103Z
Learning: Applies to src/**/*.vue : Use Tailwind fraction utilities instead of arbitrary percentages (e.g., `w-4/5` instead of `w-[80%]`, `w-1/2` instead of `w-[50%]`)
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-09T00:50:57.103Z
Learning: Applies to src/**/*.vue : Never use `!important` or the `!` prefix for Tailwind classes; find and fix interfering classes instead
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 Tailwind CSS for styling
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,css} : Use Tailwind CSS only for styling (no custom CSS)
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-09T00:50:57.103Z
Learning: Applies to src/**/*.vue : Use `cn()` utility from `@/utils/tailwindUtil` for merging class names; never use `:class="[]"` syntax
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7893
File: src/components/button/IconGroup.vue:5-6
Timestamp: 2026-01-08T02:26:18.357Z
Learning: In Comfy-Org/ComfyUI_frontend, the `cn` utility function from `@/utils/tailwindUtil` uses `tailwind-merge`, which intelligently resolves conflicting Tailwind classes by keeping the last one. When a component uses `cn('base-classes bg-default', propClass)`, if `propClass` contains a conflicting background class, `tailwind-merge` will correctly override `bg-default` with the value from `propClass`. This additive pattern is correct and intentional, following the shadcn-ui convention.
</learning]
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 : Replace PrimeVue InputSwitch component with ToggleSwitch
📚 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 : Replace PrimeVue TabMenu component with Tabs without panels

Applied to files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/Load3DControls.vue
📚 Learning: 2025-12-18T16:03:02.066Z
Learnt from: henrikvilhelmberglund
Repo: Comfy-Org/ComfyUI_frontend PR: 7617
File: src/components/actionbar/ComfyActionbar.vue:301-308
Timestamp: 2025-12-18T16:03:02.066Z
Learning: In the ComfyUI frontend queue system, useQueuePendingTaskCountStore().count indicates the number of tasks in the queue, where count = 1 means a single active/running task and count > 1 means there are pending tasks in addition to the active task. Therefore, in src/components/actionbar/ComfyActionbar.vue, enable the 'Clear Pending Tasks' button only when count > 1 to avoid clearing the currently running task. The active task should be canceled using the 'Cancel current run' button instead. This rule should be enforced via a conditional check on the queue count, with appropriate disabled/aria-disabled states for accessibility, and tests should verify behavior for count = 1 and count > 1.

Applied to files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.vue
📚 Learning: 2026-01-08T02:26:18.357Z
Learnt from: DrJKL
Repo: Comfy-Org/ComfyUI_frontend PR: 7893
File: src/components/button/IconGroup.vue:5-6
Timestamp: 2026-01-08T02:26:18.357Z
Learning: In components that use the cn utility from '@/utils/tailwindUtil' with tailwind-merge, rely on the behavior that conflicting Tailwind classes are resolved by keeping the last one. For example, cn('base-classes bg-default', propClass) will have any conflicting background class from propClass override bg-default. This additive pattern is intentional and aligns with the shadcn-ui convention; ensure you document or review expectations accordingly in Vue components.

Applied to files:

  • src/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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/components/TopMenuSection.vue
  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/AnimationControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.vue
  • src/renderer/extensions/vueNodes/VideoPreview.vue
  • src/components/load3d/controls/LightControls.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 : Replace PrimeVue OverlayPanel component with Popover

Applied to files:

  • src/components/load3d/controls/PopupSlider.vue
  • src/components/load3d/LoadingOverlay.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 : Replace PrimeVue InputSwitch component with ToggleSwitch

Applied to files:

  • src/components/load3d/controls/PopupSlider.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/controls/LightControls.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 : Replace PrimeVue Steps component with Stepper without panels

Applied to files:

  • src/components/load3d/controls/PopupSlider.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 : Replace PrimeVue Sidebar component with Drawer

Applied to files:

  • src/components/load3d/controls/PopupSlider.vue
📚 Learning: 2025-12-18T20:39:30.137Z
Learnt from: jtydhr88
Repo: Comfy-Org/ComfyUI_frontend PR: 7621
File: src/components/load3d/Load3DScene.vue:4-4
Timestamp: 2025-12-18T20:39:30.137Z
Learning: In src/components/load3d/Load3DScene.vue, the scoped `<style>` block with `!important` declarations for the canvas element is necessary because Three.js dynamically creates the canvas with inline styles, preventing direct application of Tailwind classes. This is a valid exception to the Tailwind-only styling guideline.

Applied to files:

  • src/components/load3d/LoadingOverlay.vue
  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/CameraControls.vue
  • src/components/load3d/controls/ModelControls.vue
  • src/components/load3d/controls/ViewerControls.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 : Replace PrimeVue InlineMessage component with Message

Applied to files:

  • src/components/load3d/LoadingOverlay.vue
📚 Learning: 2026-01-09T00:50:57.103Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-09T00:50:57.103Z
Learning: Applies to src/**/*.vue : Do not use the `dark:` Tailwind variant; use semantic values from `style.css` theme instead (e.g., `bg-node-component-surface`)

Applied to files:

  • src/components/load3d/LoadingOverlay.vue
  • src/components/input/MultiSelect.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/SceneControls.vue
  • src/components/load3d/controls/ExportControls.vue
  • src/components/load3d/controls/LightControls.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 : Replace PrimeVue Dropdown component with Select

Applied to files:

  • src/components/input/MultiSelect.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 : Replace PrimeVue Chips component with AutoComplete with multiple enabled

Applied to files:

  • src/components/input/MultiSelect.vue
📚 Learning: 2025-11-24T19:47:34.324Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:34.324Z
Learning: Applies to src/**/*.{vue,ts,tsx} : Follow Vue 3 composition API style guide

Applied to files:

  • src/components/load3d/controls/RecordingControls.vue
  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/ExportControls.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 : Follow Vue 3 style guide and naming conventions

Applied to files:

  • src/components/load3d/Load3DControls.vue
  • src/components/load3d/controls/ExportControls.vue
📚 Learning: 2026-01-09T00:50:57.103Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-09T00:50:57.103Z
Learning: Follow Vue 3 style guide and naming conventions

Applied to files:

  • src/components/load3d/Load3DControls.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,css} : Use the correct tokens from style.css in the design system package

Applied to files:

  • src/components/load3d/controls/ExportControls.vue
📚 Learning: 2025-11-24T19:47:34.324Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: src/CLAUDE.md:0-0
Timestamp: 2025-11-24T19:47:34.324Z
Learning: Applies to src/**/{components,composables}/**/*.{ts,tsx,vue} : Use vue-i18n for ALL user-facing strings by adding them to `src/locales/en/main.json`

Applied to files:

  • src/components/load3d/controls/ExportControls.vue
📚 Learning: 2026-01-09T00:50:57.103Z
Learnt from: CR
Repo: Comfy-Org/ComfyUI_frontend PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-09T00:50:57.103Z
Learning: Applies to src/**/*.vue : Use `cn()` utility from `@/utils/tailwindUtil` for merging class names; never use `:class="[]"` syntax

Applied to files:

  • src/components/load3d/controls/ModelControls.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/VideoPreview.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: setup
  • GitHub Check: lint-and-format
  • GitHub Check: collect
  • GitHub Check: test
🔇 Additional comments (14)
src/components/input/MultiSelect.vue (1)

163-163: LGTM: Theme-aware token correctly applied.

The check icon color update from text-white to text-base-foreground properly enables theme compatibility, ensuring visibility in both light and dark themes as intended by this PR.

src/components/load3d/controls/AnimationControls.vue (1)

18-18: LGTM: Animation controls styling updated for theme compatibility.

Both the play/pause icon and time display now use text-base-foreground, ensuring proper visibility across themes without affecting control functionality.

Also applies to: 49-49

src/components/load3d/controls/CameraControls.vue (1)

14-14: LGTM: Camera icon theming updated.

The icon color update to text-base-foreground correctly aligns with the theme-aware token migration.

src/components/TopMenuSection.vue (1)

57-57: LGTM: Queue badge styling updated.

The badge text color change to text-base-foreground ensures proper contrast and visibility in both light and dark themes.

src/components/load3d/controls/PopupSlider.vue (1)

11-11: LGTM: Slider popup styling updated with semantic tokens.

Both the icon color (text-base-foreground) and panel background (bg-interface-menu-surface) now use appropriate semantic tokens, ensuring consistent theming across the Load3D controls.

Also applies to: 15-15

src/components/load3d/controls/LightControls.vue (1)

15-15: LGTM: Icon color updated to theme-aware token.

The sun icon color correctly uses text-base-foreground for theme compatibility.

src/components/load3d/controls/SceneControls.vue (1)

11-11: LGTM: Icon colors updated to theme-aware tokens.

All icon colors correctly use text-base-foreground for theme compatibility across the scene control buttons.

Also applies to: 26-26, 51-51, 79-79, 101-101

src/components/load3d/controls/ViewerControls.vue (1)

2-2: LGTM: Container and icon colors updated to theme-aware tokens.

Both the container background (bg-backdrop/30) and expand icon color (text-base-foreground) correctly use semantic tokens for proper theming.

Also applies to: 15-15

src/components/load3d/controls/ExportControls.vue (1)

15-15: LGTM: All color tokens updated correctly.

The download icon, export panel background, and button text all use appropriate semantic tokens (text-base-foreground and bg-interface-menu-surface) for proper theme support.

Also applies to: 19-19, 26-26

src/components/load3d/controls/RecordingControls.vue (1)

2-2: LGTM: All color tokens updated correctly.

The container background, all icon colors, and duration text correctly use semantic tokens (bg-backdrop/30 and text-base-foreground) for proper theme support across recording controls.

Also applies to: 28-28, 45-45, 60-60, 65-65

src/components/load3d/LoadingOverlay.vue (1)

5-5: LGTM! Theme-aware tokens correctly applied.

The changes properly replace hardcoded color values with semantic theme tokens using correct Tailwind v4 slash syntax for opacity.

Also applies to: 9-9

src/renderer/extensions/vueNodes/VideoPreview.vue (1)

23-34: LGTM! Error state styling correctly updated with theme tokens and accessibility improvement.

The addition of role="alert" improves accessibility, and the color token replacements ensure proper theme support across light and dark modes.

src/components/load3d/Load3DControls.vue (1)

3-3: LGTM! Theme tokens correctly applied.

All changed lines properly use semantic theme tokens following Tailwind v4 conventions.

Also applies to: 17-17, 22-22, 32-32, 38-38, 172-172

src/components/load3d/controls/ModelControls.vue (1)

15-15: LGTM! Theme tokens properly applied throughout.

All color token replacements are correct, and the use of the cn() utility for class merging follows project conventions.

Also applies to: 19-19, 27-30, 52-52, 56-56, 65-65, 89-89

@Myestery Myestery enabled auto-merge (squash) January 9, 2026 01:39
@github-actions github-actions bot removed the New Browser Test Expectations New browser test screenshot should be set by github action label Jan 9, 2026
@Myestery Myestery disabled auto-merge January 9, 2026 01:40
@Myestery Myestery merged commit 9e434a1 into main Jan 9, 2026
35 checks passed
@Myestery Myestery deleted the fix/replace-text-white-with-theme-aware-colors branch January 9, 2026 01:40
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.

3 participants