mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 18:52:19 +00:00
Merge branch 'main' into sno-setup-frontend
This commit is contained in:
14
.github/workflows/claude-pr-review.yml
vendored
14
.github/workflows/claude-pr-review.yml
vendored
@@ -73,10 +73,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
label_trigger: "claude-review"
|
label_trigger: "claude-review"
|
||||||
prompt: |
|
prompt: |
|
||||||
Read the file .claude/commands/comprehensive-pr-review.md and follow ALL the instructions exactly.
|
Read the file .claude/commands/comprehensive-pr-review.md and follow ALL the instructions exactly.
|
||||||
|
|
||||||
CRITICAL: You must post individual inline comments using the gh api commands shown in the file.
|
CRITICAL: You must post individual inline comments using the gh api commands shown in the file.
|
||||||
DO NOT create a summary comment.
|
DO NOT create a summary comment.
|
||||||
Each issue must be posted as a separate inline comment on the specific line of code.
|
Each issue must be posted as a separate inline comment on the specific line of code.
|
||||||
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||||
claude_args: "--max-turns 256 --allowedTools 'Bash(git:*),Bash(gh api:*),Bash(gh pr:*),Bash(gh repo:*),Bash(jq:*),Bash(echo:*),Read,Write,Edit,Glob,Grep,WebFetch'"
|
claude_args: "--max-turns 256 --allowedTools 'Bash(git:*),Bash(gh api:*),Bash(gh pr:*),Bash(gh repo:*),Bash(jq:*),Bash(echo:*),Read,Write,Edit,Glob,Grep,WebFetch'"
|
||||||
@@ -86,3 +86,9 @@ jobs:
|
|||||||
COMMIT_SHA: ${{ github.event.pull_request.head.sha }}
|
COMMIT_SHA: ${{ github.event.pull_request.head.sha }}
|
||||||
BASE_SHA: ${{ github.event.pull_request.base.sha }}
|
BASE_SHA: ${{ github.event.pull_request.base.sha }}
|
||||||
REPOSITORY: ${{ github.repository }}
|
REPOSITORY: ${{ github.repository }}
|
||||||
|
|
||||||
|
- name: Remove claude-review label
|
||||||
|
if: always()
|
||||||
|
run: gh pr edit ${{ github.event.pull_request.number }} --remove-label "claude-review"
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -645,13 +645,10 @@ button.comfy-close-menu-btn {
|
|||||||
}
|
}
|
||||||
|
|
||||||
span.drag-handle {
|
span.drag-handle {
|
||||||
width: 10px;
|
|
||||||
height: 20px;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
line-height: 5px;
|
line-height: 5px;
|
||||||
padding: 3px 4px;
|
padding: 3px 4px;
|
||||||
cursor: move;
|
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin-top: -0.4em;
|
margin-top: -0.4em;
|
||||||
margin-left: -0.2em;
|
margin-left: -0.2em;
|
||||||
|
|||||||
@@ -5,7 +5,15 @@
|
|||||||
:class="{ 'is-dragging': isDragging, 'is-docked': isDocked }"
|
:class="{ 'is-dragging': isDragging, 'is-docked': isDocked }"
|
||||||
>
|
>
|
||||||
<div ref="panelRef" class="actionbar-content flex items-center select-none">
|
<div ref="panelRef" class="actionbar-content flex items-center select-none">
|
||||||
<span ref="dragHandleRef" class="drag-handle cursor-move mr-2" />
|
<span
|
||||||
|
ref="dragHandleRef"
|
||||||
|
:class="
|
||||||
|
cn(
|
||||||
|
'drag-handle cursor-grab w-3 h-max mr-2',
|
||||||
|
isDragging && 'cursor-grabbing'
|
||||||
|
)
|
||||||
|
"
|
||||||
|
/>
|
||||||
<ComfyQueueButton />
|
<ComfyQueueButton />
|
||||||
</div>
|
</div>
|
||||||
</Panel>
|
</Panel>
|
||||||
@@ -26,6 +34,7 @@ import type { Ref } from 'vue'
|
|||||||
import { computed, inject, nextTick, onMounted, ref, watch } from 'vue'
|
import { computed, inject, nextTick, onMounted, ref, watch } from 'vue'
|
||||||
|
|
||||||
import { useSettingStore } from '@/platform/settings/settingStore'
|
import { useSettingStore } from '@/platform/settings/settingStore'
|
||||||
|
import { cn } from '@/utils/tailwindUtil'
|
||||||
|
|
||||||
import ComfyQueueButton from './ComfyQueueButton.vue'
|
import ComfyQueueButton from './ComfyQueueButton.vue'
|
||||||
|
|
||||||
@@ -257,8 +266,4 @@ watch([isDragging, isOverlappingWithTopMenu], ([dragging, overlapping]) => {
|
|||||||
:deep(.p-panel-header) {
|
:deep(.p-panel-header) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.drag-handle {
|
|
||||||
@apply w-3 h-max;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
@mouseleave="() => handleMouseLeave()"
|
@mouseleave="() => handleMouseLeave()"
|
||||||
@click="handleClick"
|
@click="handleClick"
|
||||||
>
|
>
|
||||||
<i class="icon-[lucide--play] fill-path-white w-4 h-4" />
|
<i class="icon-[lucide--play] text-white size-4" />
|
||||||
</Button>
|
</Button>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -64,9 +64,3 @@ const handleClick = async () => {
|
|||||||
await commandStore.execute('Comfy.QueueSelectedOutputNodes')
|
await commandStore.execute('Comfy.QueueSelectedOutputNodes')
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style scoped>
|
|
||||||
:deep.fill-path-white > path {
|
|
||||||
fill: white;
|
|
||||||
stroke: unset;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
v-else
|
v-else
|
||||||
:class="
|
:class="
|
||||||
cn(
|
cn(
|
||||||
'lg-node-header p-4 rounded-t-2xl cursor-move w-full bg-node-component-header-surface text-node-component-header',
|
'lg-node-header p-4 rounded-t-2xl w-full bg-node-component-header-surface text-node-component-header',
|
||||||
collapsed && 'rounded-2xl'
|
collapsed && 'rounded-2xl'
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user