Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
ignore-workspace-root-check=true
catalog-mode=prefer
public-hoist-pattern[]=@parcel/watcher
1,807 changes: 759 additions & 1,048 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ catalog:
'@trivago/prettier-plugin-sort-imports': ^5.2.0
'@types/fs-extra': ^11.0.4
'@types/jsdom': ^21.1.7
'@types/node': ^20.19.0
'@types/node': ^24.1.0
'@types/semver': ^7.7.0
'@types/three': ^0.169.0
'@vitejs/plugin-vue': ^6.0.0
Expand All @@ -61,16 +61,16 @@ catalog:
firebase: ^11.6.0
globals: ^15.9.0
happy-dom: ^15.11.0
husky: ^9.0.11
jiti: 2.4.2
husky: ^9.1.7
jiti: 2.6.1
jsdom: ^26.1.0
knip: ^5.62.0
lint-staged: ^15.5.2
knip: ^5.75.1
lint-staged: ^16.2.7
markdown-table: ^3.0.4
mixpanel-browser: ^2.71.0
nx: 22.2.6
oxlint: ^1.32.0
oxlint-tsgolint: ^0.8.4
oxlint: ^1.33.0
oxlint-tsgolint: ^0.9.1
picocolors: ^1.1.1
pinia: ^2.1.7
postcss-html: ^1.8.0
Expand All @@ -92,7 +92,7 @@ catalog:
unplugin-icons: ^0.22.0
unplugin-typegpu: 0.8.0
unplugin-vue-components: ^0.28.0
vite: ^7.0.0
vite: ^7.3.0
vite-plugin-dts: ^4.5.4
vite-plugin-html: ^3.2.2
vite-plugin-vue-devtools: ^8.0.0
Expand Down
2 changes: 0 additions & 2 deletions src/components/common/LazyImage.vue
Copy link
Contributor

Choose a reason for hiding this comment

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

Which dep update allowed us to now recognize these cases as unused vars? Pretty interesting.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm pretty sure it was vue-tsc

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
/>
<img
v-if="cachedSrc"
ref="imageRef"
:src="cachedSrc"
:alt="alt"
draggable="false"
Expand Down Expand Up @@ -61,7 +60,6 @@ const {
}>()

const containerRef = ref<HTMLElement | null>(null)
const imageRef = ref<HTMLImageElement | null>(null)
const isIntersecting = ref(false)
const isImageLoaded = ref(false)
const hasError = ref(false)
Expand Down
2 changes: 0 additions & 2 deletions src/components/graph/modals/ZoomControlsModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
class="zoomInputContainer flex items-center gap-1 rounded bg-input-surface p-2"
>
<InputNumber
ref="zoomInput"
:default-value="canvasStore.appScalePercentage"
:min="1"
:max="1000"
Expand Down Expand Up @@ -130,7 +129,6 @@ const zoomOutCommandText = computed(() =>
const zoomToFitCommandText = computed(() =>
formatKeySequence(commandStore.getCommand('Comfy.Canvas.FitView'))
)
const zoomInput = ref<InstanceType<typeof InputNumber> | null>(null)
const zoomInputContainer = ref<HTMLDivElement | null>(null)

watch(
Expand Down
3 changes: 0 additions & 3 deletions src/components/load3d/Load3D.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
>
<Load3DScene
v-if="node"
ref="load3DSceneRef"
:initialize-load3d="initializeLoad3d"
:cleanup="cleanup"
:loading="loading"
Expand Down Expand Up @@ -100,8 +99,6 @@ if (isComponentWidget(props.widget)) {
})
}

const load3DSceneRef = ref<InstanceType<typeof Load3DScene> | null>(null)

const {
// configs
sceneConfig,
Expand Down
7 changes: 1 addition & 6 deletions src/components/load3d/Load3DScene.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@
@dragleave.stop="handleDragLeave"
@drop.prevent.stop="handleDrop"
>
<LoadingOverlay
ref="loadingOverlayRef"
:loading="loading"
:loading-message="loadingMessage"
/>
<LoadingOverlay :loading="loading" :loading-message="loadingMessage" />
<div
v-if="!isPreview && isDragging"
class="pointer-events-none absolute inset-0 z-50 flex items-center justify-center bg-black/60 backdrop-blur-sm"
Expand Down Expand Up @@ -48,7 +44,6 @@ const props = defineProps<{
}>()

const container = ref<HTMLElement | null>(null)
const loadingOverlayRef = ref<InstanceType<typeof LoadingOverlay> | null>(null)

const { isDragging, dragMessage, handleDragOver, handleDragLeave, handleDrop } =
useLoad3dDrag({
Expand Down
3 changes: 1 addition & 2 deletions src/components/load3d/Load3dViewerContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@mouseenter="viewer.handleMouseEnter"
@mouseleave="viewer.handleMouseLeave"
>
<div ref="mainContentRef" class="relative flex-1">
<div class="relative flex-1">
<div
ref="containerRef"
class="absolute h-full w-full"
Expand Down Expand Up @@ -105,7 +105,6 @@ const props = defineProps<{

const viewerContentRef = ref<HTMLDivElement>()
const containerRef = ref<HTMLDivElement>()
const mainContentRef = ref<HTMLDivElement>()
const maximized = ref(false)
const mutationObserver = ref<MutationObserver | null>(null)

Expand Down
2 changes: 0 additions & 2 deletions src/components/sidebar/ComfyMenuButton.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<template>
<div
ref="menuButtonRef"
v-tooltip="{
value: t('sideToolbar.labels.menu'),
showDelay: 300,
Expand Down Expand Up @@ -137,7 +136,6 @@ const settingStore = useSettingStore()
const menuRef = ref<
({ dirty: boolean } & TieredMenuMethods & TieredMenuState) | null
>(null)
const menuButtonRef = ref<HTMLElement | null>(null)

const nodes2Enabled = computed({
get: () => settingStore.get('Comfy.VueNodes.Enabled') ?? false,
Expand Down
2 changes: 0 additions & 2 deletions src/components/sidebar/SideToolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
}"
>
<div
ref="contentMeasureRef"
:class="
isOverflowing
? 'side-tool-bar-container overflow-y-auto'
Expand Down Expand Up @@ -80,7 +79,6 @@ const userStore = useUserStore()
const commandStore = useCommandStore()
const canvasStore = useCanvasStore()
const sideToolbarRef = ref<HTMLElement>()
const contentMeasureRef = ref<HTMLElement>()
const topToolbarRef = ref<HTMLElement>()
const bottomToolbarRef = ref<HTMLElement>()

Expand Down
10 changes: 1 addition & 9 deletions src/renderer/extensions/minimap/MiniMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
/>

<div
ref="containerRef"
class="litegraph-minimap relative border border-interface-stroke bg-comfy-menu-bg shadow-interface"
:style="containerStyles"
>
Expand Down Expand Up @@ -51,12 +50,7 @@
}"
/>

<canvas
ref="canvasRef"
:width="width"
:height="height"
class="minimap-canvas"
/>
<canvas :width="width" :height="height" class="minimap-canvas" />

<div class="minimap-viewport" :style="viewportStyles" />

Expand Down Expand Up @@ -89,8 +83,6 @@ const minimapRef = ref<HTMLDivElement>()
const {
initialized,
visible,
containerRef,
canvasRef,
containerStyles,
viewportStyles,
width,
Expand Down
Loading