Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
260 commits
Select commit Hold shift + click to select a range
daba827
Revert "Make button hover indicator small in small mode"
pythongosssss Oct 5, 2025
28d76c1
- change light menu to white
pythongosssss Oct 5, 2025
2877a59
Move FPS info drawing based on sidebar position
pythongosssss Oct 5, 2025
d32fe1d
fix tests
pythongosssss Oct 5, 2025
5f3d4b8
rework resize handling
pythongosssss Oct 8, 2025
719a47a
Make menu sticky so it is aligned with scrollable items
pythongosssss Oct 8, 2025
bc91aee
Add support for legacy custom actions
pythongosssss Oct 8, 2025
8720e46
[automated] Apply ESLint and Prettier fixes
actions-user Oct 8, 2025
7d82a78
hide login in focus mode
pythongosssss Oct 8, 2025
154577f
Merge branch 'pysssss/v3-floating-ui' of https://github.com/Comfy-Org…
pythongosssss Oct 8, 2025
c8b7582
- move top menu to own component
pythongosssss Oct 9, 2025
b8a6b2c
Relocate comfy legacy menu to inside graph container so z-index works
pythongosssss Oct 9, 2025
9f1d8e7
- fix removed provided element
pythongosssss Oct 9, 2025
2ebec8e
Merge remote-tracking branch 'origin/main' into pysssss/v3-floating-ui
pythongosssss Oct 9, 2025
78bde9d
[automated] Apply ESLint and Prettier fixes
actions-user Oct 9, 2025
1fffcbe
- add support for forced connected sidebar setting
pythongosssss Oct 11, 2025
3a3e359
component boilerplate
benceruleanlu Oct 13, 2025
cc49818
First pass starting point
benceruleanlu Oct 13, 2025
3dc9949
Hook to execution store with proper colors
benceruleanlu Oct 13, 2025
dd399e8
Hook to the right colors
benceruleanlu Oct 13, 2025
a5881d6
Remove useless type assertation
benceruleanlu Oct 13, 2025
cea859d
Replace erroneous code with placeholder comment
benceruleanlu Oct 13, 2025
8c03c7d
Add margin between number and its running text
benceruleanlu Oct 13, 2025
e0745cd
Add hover effects
benceruleanlu Oct 14, 2025
8ce643a
Correct mixed up colors
benceruleanlu Oct 14, 2025
2b98d8a
Show on first execution
benceruleanlu Oct 14, 2025
dbb1243
Correct visibility of empty state
benceruleanlu Oct 14, 2025
8e2a8e2
Add expanded state first pass
benceruleanlu Oct 14, 2025
5a6c596
Correct title wording
benceruleanlu Oct 14, 2025
3c0b309
Header changes
benceruleanlu Oct 14, 2025
c16f51c
Header changes again
benceruleanlu Oct 14, 2025
5173ae5
Styling for the empty state
benceruleanlu Oct 14, 2025
b26dcc8
Improve comments
benceruleanlu Oct 14, 2025
7c140b2
Fix styling of active state and add testing hack
benceruleanlu Oct 14, 2025
584478f
Align with design tokens and lucide icons
benceruleanlu Oct 14, 2025
c017344
Fix header styling
benceruleanlu Oct 14, 2025
1590ef7
Fix/implement the top actions for expanded state, fix i18n
benceruleanlu Oct 15, 2025
87bfa32
Fix expanded state's stylings
benceruleanlu Oct 15, 2025
fa34720
Job list WIP
benceruleanlu Oct 15, 2025
f418488
Title fix for completed state and color/padding fix for job row
benceruleanlu Oct 15, 2025
e26697b
Change secondary text for completed state to be generation time
benceruleanlu Oct 15, 2025
8c6caa6
Padding fix for secondary job text
benceruleanlu Oct 15, 2025
b4499aa
Add job buttons
benceruleanlu Oct 15, 2025
7ecce7a
use i18n strings
benceruleanlu Oct 15, 2025
5ca7b37
Replace CSS with TWCSS
benceruleanlu Oct 15, 2025
d312459
Merge remote-tracking branch 'origin/main' into pysssss/v3-floating-ui
pythongosssss Oct 16, 2025
38023af
[automated] Update test expectations
invalid-email-address Oct 16, 2025
633ebf5
Fix test
pythongosssss Oct 16, 2025
ef11cee
Fix tests, library panel covers the node
pythongosssss Oct 16, 2025
50d79c3
Move click position, 10,10 is now tabs
pythongosssss Oct 16, 2025
d1808d4
Merge remote-tracking branch 'origin/pysssss/v3-floating-ui' into bl-…
benceruleanlu Oct 16, 2025
1b0b420
Hook into cloud's initialization state
benceruleanlu Oct 16, 2025
a348762
Merge remote-tracking branch 'origin/main' into bl-execution
benceruleanlu Oct 17, 2025
3459187
Remove useRO dynamic minwidth stupidity
benceruleanlu Oct 17, 2025
69c7459
Add primary text for initialization state.
benceruleanlu Oct 17, 2025
139f283
nit
benceruleanlu Oct 17, 2025
b74f5b1
fix truncation for node name
benceruleanlu Oct 17, 2025
cd9ec56
UNTESTED: multiple workflow execution ws support
benceruleanlu Oct 17, 2025
bc2fecf
Correct queued primary text
benceruleanlu Oct 18, 2025
501c0f4
Add timestamp secondary text
benceruleanlu Oct 18, 2025
d2350e8
Implement the running state of job row item
benceruleanlu Oct 18, 2025
8ec56f9
Add concurrent run indicator
benceruleanlu Oct 18, 2025
118d668
Implement functionality and styling for expanded more button
benceruleanlu Oct 18, 2025
9a3c701
Add more tooltips
benceruleanlu Oct 18, 2025
f9b2ac6
Add job date groupings
benceruleanlu Oct 18, 2025
7c7d725
Implement per workflow filtering functionality
benceruleanlu Oct 18, 2025
8826037
Add shared utils and types
benceruleanlu Oct 20, 2025
40dc10f
Use new utils and helpers
benceruleanlu Oct 20, 2025
567a9ca
Add tooltip and progress composables
benceruleanlu Oct 20, 2025
592c0c7
Use new tooltip and progress composables;
benceruleanlu Oct 20, 2025
3bd60ea
Internationalize date grouping
benceruleanlu Oct 20, 2025
feeae07
Add popover and view button functionality
benceruleanlu Oct 20, 2025
873f58f
Wire up workflow and jobid to popover and styling changes
benceruleanlu Oct 20, 2025
c7c28d4
Fix image icon sizing
benceruleanlu Oct 20, 2025
549c8af
Implement right click and ... job item menu
benceruleanlu Oct 21, 2025
2dca955
Implement job details popover
benceruleanlu Oct 21, 2025
62b2de6
Implement completed state
benceruleanlu Oct 21, 2025
48e197a
nit
benceruleanlu Oct 21, 2025
cfa6f9e
Refactor composables out of QPO
benceruleanlu Oct 21, 2025
9d3a42a
Inline BaseJobRow.vue
benceruleanlu Oct 21, 2025
7772486
nit
benceruleanlu Oct 21, 2025
0481ea7
Extract active and empty
benceruleanlu Oct 21, 2025
2fa3b31
Extract expanded state
benceruleanlu Oct 21, 2025
64fff22
Styling alignment on show assets button
benceruleanlu Oct 21, 2025
f74f70f
Allow clicking on asset preview
benceruleanlu Oct 21, 2025
d33860a
Narrow click target to image only
benceruleanlu Oct 21, 2025
29be942
Add font-inter to buttons
benceruleanlu Oct 21, 2025
2fd244a
Add QueueJobItem stories
benceruleanlu Oct 21, 2025
f7c0d18
Replace queuePopoverStore with local state
benceruleanlu Oct 21, 2025
aed919d
Fix icon and text of added state
benceruleanlu Oct 21, 2025
8a54834
Folder restructuring
benceruleanlu Oct 21, 2025
53d64f2
nit
benceruleanlu Oct 22, 2025
4fefa70
Centralize derivation of job item details
benceruleanlu Oct 22, 2025
522ddf0
fix: surface knip hook output in vscode (#6183)
benceruleanlu Oct 22, 2025
d0dff98
nit
benceruleanlu Oct 22, 2025
a4b0e7d
Add cb for emit on menu
benceruleanlu Oct 22, 2025
f37ac33
Replaces instances of xss with xxs
benceruleanlu Oct 22, 2025
2c7c64b
Implement add to current workflow
benceruleanlu Oct 22, 2025
e700570
Implement download asset button
benceruleanlu Oct 22, 2025
7c4ec41
Styling changes
benceruleanlu Oct 22, 2025
3b853dd
Remove cache busting timestamped url
benceruleanlu Oct 22, 2025
cfcfc69
Readd spacing-lg
benceruleanlu Oct 22, 2025
a2ee22d
Increase width of QPO
benceruleanlu Oct 23, 2025
d57eeb9
feat: Add Media Assets sidebar tab for file management
viva-jinyi Oct 17, 2025
fb43726
refactor: Apply PR #6112 review feedback for Media Assets feature
viva-jinyi Oct 20, 2025
306fbda
chore: unexpected export
viva-jinyi Oct 20, 2025
50e3849
feat: Improve media asset display with file format tags and filename …
viva-jinyi Oct 20, 2025
bbc8096
feat: Add includePublic parameter to getAssetsByTag API
viva-jinyi Oct 22, 2025
b81c89c
fix: test code
viva-jinyi Oct 22, 2025
293a826
refactor: useQueueStore
viva-jinyi Oct 22, 2025
13c5b44
refactor: Apply review feedback for media assets implementation
viva-jinyi Oct 23, 2025
b48636a
Extract AssetsSidebarTab template and improve UI structure (#6164)
viva-jinyi Oct 23, 2025
096240f
Finish job details popover and hook error reporting up with job menu …
benceruleanlu Oct 23, 2025
9f513b0
Implement export job workflow
benceruleanlu Oct 23, 2025
951eb24
Merge remote-tracking branch 'origin/feature/media-asset-sidebar-tab'…
benceruleanlu Oct 23, 2025
8ab2ed5
[automated] Apply ESLint and Prettier fixes
actions-user Oct 23, 2025
3950d68
return failed instead of queued for unknown job state
benceruleanlu Oct 23, 2025
04b7762
execution: use reactive Map for promptId → workflowId; populate via q…
benceruleanlu Oct 23, 2025
c8c7704
minor tuck refactor
benceruleanlu Oct 24, 2025
48915ee
explanatory comment
benceruleanlu Oct 24, 2025
7390e95
feat: Add Media Assets sidebar tab for file management
viva-jinyi Oct 17, 2025
da9531a
refactor: Apply PR #6112 review feedback for Media Assets feature
viva-jinyi Oct 20, 2025
2a06632
chore: unexpected export
viva-jinyi Oct 20, 2025
01419ff
feat: Improve media asset display with file format tags and filename …
viva-jinyi Oct 20, 2025
e0cc4e2
feat: Add includePublic parameter to getAssetsByTag API
viva-jinyi Oct 22, 2025
2f7deae
fix: test code
viva-jinyi Oct 22, 2025
e6215b1
refactor: useQueueStore
viva-jinyi Oct 22, 2025
0afcdba
refactor: Apply review feedback for media assets implementation
viva-jinyi Oct 23, 2025
1e6cdee
Extract AssetsSidebarTab template and improve UI structure (#6164)
viva-jinyi Oct 23, 2025
995f48a
feat: Implement centralized AssetsStore for reactive assets updates
viva-jinyi Oct 24, 2025
0bc5c16
refactor: Apply formatUtil code review feedback and improve type safety
viva-jinyi Oct 24, 2025
7383c0f
[automated] Update test expectations
invalid-email-address Oct 24, 2025
26e9236
feat: Auto-refresh assets on file upload
viva-jinyi Oct 24, 2025
4eac455
fix: Add AssetsStore update trigger to WidgetSelectDropdown uploads
viva-jinyi Oct 24, 2025
ffb6708
Merge remote-tracking branch 'origin/feature/media-asset-sidebar-tab'…
benceruleanlu Oct 24, 2025
4b4ffc1
Merge remote-tracking branch 'origin/main' into bl-execution
benceruleanlu Nov 4, 2025
d274605
knip
benceruleanlu Nov 4, 2025
f2314c8
Feat: Doubleclick to toggle edit for Markdown (litegraph) (#6560)
DrJKL Nov 4, 2025
57c00a2
Style: Pinned, Muted, Bypassed header indicators (#6530)
DrJKL Nov 4, 2025
c511e96
Add .pnpm-store to gitignore (#6566)
benceruleanlu Nov 4, 2025
69f270b
nit
benceruleanlu Nov 4, 2025
d69e30c
[fix] improve FormDropdownMenu scrolling behavior (#6570)
Myestery Nov 4, 2025
0ed5735
feat: Add Open Graph and Twitter meta tags for cloud distribution (#6…
viva-jinyi Nov 4, 2025
35701b1
Fix cloud routing issues caused by incorrect api_base calculation (#6…
viva-jinyi Nov 4, 2025
9069778
hide minimap on mobile by default (#6579)
christian-byrne Nov 4, 2025
ab51f65
fix(vite): use dynamic base URL based on cloud distribution (#6562)
christian-byrne Nov 4, 2025
9e903c8
Remove tracking for firstSeenByPromptId
benceruleanlu Nov 4, 2025
fcfac96
Fix positioning of queue progress overlay
benceruleanlu Nov 5, 2025
b92da1e
Fix mysterious extraneous style changes
benceruleanlu Nov 5, 2025
7e5c8cd
style.css cleanup
benceruleanlu Nov 5, 2025
792d6e0
Remove unused pin.svg
benceruleanlu Nov 5, 2025
fa70c24
Merge remote-tracking branch 'origin/main' into bl-execution
benceruleanlu Nov 5, 2025
1187fca
Add delay to popover appearance
benceruleanlu Nov 5, 2025
97da2fe
Davinci level ux fix
benceruleanlu Nov 5, 2025
9cfb93c
Merge remote-tracking branch 'origin/main' into bl-execution
benceruleanlu Nov 13, 2025
ecfd3f0
Consume new create_time field
benceruleanlu Nov 14, 2025
476948a
devex: Add script to bake in local options for Playwright runs (#6668)
DrJKL Nov 13, 2025
c11ed61
1.32.5 (#6666)
comfy-pr-bot Nov 13, 2025
2955913
ci: add yamllint (#6682)
christian-byrne Nov 13, 2025
d76f3e8
fix: npm link in release notification comment (#6683)
christian-byrne Nov 13, 2025
8b257c9
ci: add backport labels automatically when a new minor version is rel…
christian-byrne Nov 13, 2025
4b69170
feat: Add pagination support for media assets history (#6373)
viva-jinyi Nov 13, 2025
7f0ecf6
[Style] Compact Modern Nodes (#6687)
DrJKL Nov 14, 2025
a2ca4b0
Prune unneeded code
benceruleanlu Nov 14, 2025
e862823
Style: Fix slot colors to pull values from the theme (#6688)
DrJKL Nov 14, 2025
ce1dccd
Merge remote-tracking branch 'origin/main' into bl-execution
benceruleanlu Nov 14, 2025
ea8b56d
test: stub queue overlay in TopMenuSection
benceruleanlu Nov 14, 2025
d4adede
Removed unused UUID files
benceruleanlu Nov 14, 2025
ac7869f
chore: remove stale todo comment
benceruleanlu Nov 14, 2025
b59fa6c
chore: remove unused queue placeholder
benceruleanlu Nov 14, 2025
f57d8a1
nit
benceruleanlu Nov 14, 2025
645a3f6
Cleanup design system style.css
benceruleanlu Nov 14, 2025
742f08d
Fix styling of CompletionSummaryBanner
benceruleanlu Nov 14, 2025
23742ef
Add max height to QPO
benceruleanlu Nov 14, 2025
6477c51
Wire up asset deletion
benceruleanlu Nov 14, 2025
b7da4ef
Hotfix custom icon bug
benceruleanlu Nov 14, 2025
ef42d3c
Restore ServerStartView to main state
benceruleanlu Nov 14, 2025
5d554be
Restore i18n.ts to main state
benceruleanlu Nov 14, 2025
af07155
Remove unused color token
benceruleanlu Nov 14, 2025
40ae089
Wire up removing failed job
benceruleanlu Nov 14, 2025
8b34d85
Refactor useQueueActions away, use command store
benceruleanlu Nov 14, 2025
35f6149
Fix bug where missing create_time with locale change doesn't update d…
benceruleanlu Nov 14, 2025
0dadc14
Remove unused typecast
benceruleanlu Nov 14, 2025
b4b0b83
use estoolkit
benceruleanlu Nov 14, 2025
27d4635
nit
benceruleanlu Nov 15, 2025
773a4d5
Merge remote-tracking branch 'origin/main' into bl-execution
benceruleanlu Nov 15, 2025
8eda5a5
Replace usages of spacing tokens with native tailwind counterparts
benceruleanlu Nov 15, 2025
0d1cb8c
Teleport popovers to fix being captured by scrollable scope
benceruleanlu Nov 15, 2025
f5b9b61
nit
benceruleanlu Nov 15, 2025
a53b84c
Improve typings in QueueOverlayHeader
benceruleanlu Nov 15, 2025
8e75ec5
nits
benceruleanlu Nov 15, 2025
5da439c
Add error handling to QPO
benceruleanlu Nov 15, 2025
0105400
Remove dead state, minor type clarification
benceruleanlu Nov 15, 2025
b4e3f45
Refactor to use v-model
benceruleanlu Nov 15, 2025
3f7a9d1
General improvements
benceruleanlu Nov 15, 2025
96e2a4b
Those who type
benceruleanlu Nov 15, 2025
366805a
Actually make the sort button functional
benceruleanlu Nov 15, 2025
96ec899
Use themed colors, consolidate typings, prune unused code, fixed mism…
benceruleanlu Nov 15, 2025
64c798e
Correct tooltip styling
benceruleanlu Nov 15, 2025
a090e93
Red on hover for cancel queued
benceruleanlu Nov 15, 2025
6bf6006
Don't import compiler macros
benceruleanlu Nov 15, 2025
9ce6733
Fix height of view all jobs button
benceruleanlu Nov 15, 2025
99d39ec
Remove sort by compute hours option and fix dot on change
benceruleanlu Nov 15, 2025
15b50fa
Change sort and filter buttons to be text primary
benceruleanlu Nov 15, 2025
4860c9e
Implement confirmation dialog for clear history
benceruleanlu Nov 15, 2025
c47aa41
Implement N queued
benceruleanlu Nov 15, 2025
69f9e16
Don't change icon color on hover
benceruleanlu Nov 15, 2025
58237bf
Add tooltips for cancel job and clear queue
benceruleanlu Nov 15, 2025
33acde5
Only show failed jobs tab if there are any
benceruleanlu Nov 15, 2025
ce3871c
Fix job item background color
benceruleanlu Nov 15, 2025
7bcb1f7
Remove the see whats new in the confirmation dialog
benceruleanlu Nov 15, 2025
0954d16
Show destructive red on cancel button in job item as well
benceruleanlu Nov 15, 2025
a55c9e0
Hide compute hours used on local
benceruleanlu Nov 15, 2025
85ded82
Fix interrupt/clear button and add tooltips
benceruleanlu Nov 15, 2025
3cad532
Fix context menu background color
benceruleanlu Nov 15, 2025
cd15021
Change file output svg to be currentcolor
benceruleanlu Nov 15, 2025
556312e
Fix delete button and refactor naming and add tooltips
benceruleanlu Nov 16, 2025
0865804
semi-replace empty state with toggle button
benceruleanlu Nov 16, 2025
09ebd5a
Add tooltip for job history
benceruleanlu Nov 16, 2025
008df47
Remove x button on the expanded state header
benceruleanlu Nov 16, 2025
0eb9e44
Remove show assets options in ... expanded header menu
benceruleanlu Nov 16, 2025
bc123e6
Remove unneeded templates
benceruleanlu Nov 16, 2025
9090a2e
use iconbutton
benceruleanlu Nov 16, 2025
dad2ae0
Add component testing for CompletionSummaryBanner
benceruleanlu Nov 16, 2025
3de1c75
Add component testing for QueueOverlayActive
benceruleanlu Nov 16, 2025
bdbdd84
Remove dead code branch and add test for QueueOverlayEmpty
benceruleanlu Nov 16, 2025
e2e87d9
Fix failing node help test
benceruleanlu Nov 16, 2025
79dd286
Add component testing for QueueOverlayHeader
benceruleanlu Nov 16, 2025
f57b32e
Update test expectations
benceruleanlu Nov 16, 2025
2d2588d
Fix failing unit tests
benceruleanlu Nov 16, 2025
5911479
[automated] Update test expectations
invalid-email-address Nov 16, 2025
15faf14
Add unit testing for useCompletionSummary
benceruleanlu Nov 16, 2025
7f115b3
Add unit testing for useJobList
benceruleanlu Nov 16, 2025
9866e10
Add unit testing for useResultGallery
benceruleanlu Nov 16, 2025
95efa3a
Cache relativeTimeFormatter
benceruleanlu Nov 16, 2025
ea3dbab
Add unit testing for useQueueProgress
benceruleanlu Nov 16, 2025
0fbf420
Add unit testing for useJobMenu
benceruleanlu Nov 16, 2025
d153678
Add unit test for JobGroupsList
benceruleanlu Nov 16, 2025
78fc0a0
Refactor JobDetailsPopover, split into two composables, replace and i…
benceruleanlu Nov 16, 2025
881d889
Open assets panel instead of queue sidebar
benceruleanlu Nov 17, 2025
83b15d0
Make view-item open and select in media asset sidebar
benceruleanlu Nov 17, 2025
6824e6b
Merge remote-tracking branch 'origin/main' into bl-execution
benceruleanlu Nov 17, 2025
2ca11ee
[automated] Update test expectations
invalid-email-address Nov 17, 2025
b79bc22
recheck
benceruleanlu Nov 17, 2025
56bb8d8
Add workflow filter gating
benceruleanlu Nov 17, 2025
9a2cf78
Remove queue cancel controls
benceruleanlu Nov 17, 2025
36e5957
Merge remote-tracking branch 'origin/main' into remove-cancel-buttons
benceruleanlu Nov 19, 2025
4c5ffd0
[automated] Update test expectations
invalid-email-address Nov 19, 2025
8298f8a
benceruleanlu Nov 19, 2025
f2eefc6
Reset bad snapshot
benceruleanlu Nov 19, 2025
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 1 addition & 44 deletions src/components/actionbar/ComfyRunButton/ComfyQueueButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,46 +32,12 @@
</template>
</SplitButton>
<BatchCountEdit />
<ButtonGroup class="execution-actions flex flex-nowrap">
<Button
v-tooltip.bottom="{
value: $t('menu.interrupt'),
showDelay: 600
}"
icon="pi pi-times"
:severity="executingPrompt ? 'danger' : 'secondary'"
:disabled="!executingPrompt"
text
:aria-label="$t('menu.interrupt')"
@click="() => commandStore.execute('Comfy.Interrupt')"
/>
<Button
v-tooltip.bottom="{
value: $t('sideToolbar.queueTab.clearPendingTasks'),
showDelay: 600
}"
icon="pi pi-stop"
:severity="hasPendingTasks ? 'danger' : 'secondary'"
:disabled="!hasPendingTasks"
text
:aria-label="$t('sideToolbar.queueTab.clearPendingTasks')"
@click="
() => {
if (queueCountStore.count.value > 1) {
commandStore.execute('Comfy.ClearPendingTasks')
}
queueMode = 'disabled'
}
"
/>
</ButtonGroup>
</div>
</template>

<script setup lang="ts">
import { storeToRefs } from 'pinia'
import Button from 'primevue/button'
import ButtonGroup from 'primevue/buttongroup'
import type { MenuItem } from 'primevue/menuitem'
import SplitButton from 'primevue/splitbutton'
import { computed } from 'vue'
Expand All @@ -80,17 +46,13 @@ import { useI18n } from 'vue-i18n'
import { isCloud } from '@/platform/distribution/types'
import { useTelemetry } from '@/platform/telemetry'
import { useCommandStore } from '@/stores/commandStore'
import {
useQueuePendingTaskCountStore,
useQueueSettingsStore
} from '@/stores/queueStore'
import { useQueueSettingsStore } from '@/stores/queueStore'
import { useWorkspaceStore } from '@/stores/workspaceStore'
import { useMissingNodes } from '@/workbench/extensions/manager/composables/nodePack/useMissingNodes'

import BatchCountEdit from '../BatchCountEdit.vue'

const workspaceStore = useWorkspaceStore()
const queueCountStore = storeToRefs(useQueuePendingTaskCountStore())
const { mode: queueMode, batchCount } = storeToRefs(useQueueSettingsStore())

const { hasMissingNodes } = useMissingNodes()
Expand Down Expand Up @@ -145,11 +107,6 @@ const queueModeMenuItems = computed(() =>
Object.values(queueModeMenuItemLookup.value)
)

const executingPrompt = computed(() => !!queueCountStore.count.value)
const hasPendingTasks = computed(
() => queueCountStore.count.value > 1 || queueMode.value !== 'disabled'
)

const iconClass = computed(() => {
if (hasMissingNodes.value) {
return 'icon-[lucide--triangle-alert]'
Expand Down