Commit Graph

6239 Commits

Author SHA1 Message Date
Austin Mroz
5cf57ff8e8 Add click handler to DropZone 2026-01-05 13:41:49 -08:00
Austin Mroz
24500415cf Fix swapping from linear to normal workflow
There was an attempted fitView with 0 visible area
Not super happy with location of fix
- FitView shouldn't cause total loss of functionality if called from
  invalid state
- As previously discussed, this fitview call should probably be moved to
  only apply on newly loaded workflow, not restored workflows
2026-01-05 11:40:45 -08:00
Austin Mroz
7cf8e89f44 Filter linear outputs to current workflow 2026-01-05 10:42:51 -08:00
Austin Mroz
1d611e857c Add resolution indicator for video previews
Attempting to future proof things a little here.
I'm conflicted on current implementation vs slot based implementation
(which also requires a siblingElement lookup) vs dedicated components
for each type media being previewed
2026-01-05 09:34:43 -08:00
Austin Mroz
44bd2469ef Fix bad enum 2025-12-31 17:59:50 -08:00
Austin Mroz
a780efb5ff Add linear indicator to workflow tab 2025-12-31 17:56:14 -08:00
Austin Mroz
e652944586 Sidebar cleanup, toggle as feature flag 2025-12-31 17:47:29 -08:00
Austin Mroz
dbd1c30c98 3d support 2025-12-31 13:13:58 -08:00
Austin Mroz
0addee8fb1 Improve mediaType handling 2025-12-31 12:20:44 -08:00
Austin Mroz
eee096120a Preview dimensions for images
Need to put some further thought into handling other types

Adding a global ref here is bad.
Creating stub components for each preview type is bad
Each preview type needs different handling for calculation of it's
dimensions/type
2025-12-31 11:41:07 -08:00
Austin Mroz
38479c4a40 Persist enabling of linear mode to workflow 2025-12-31 11:17:05 -08:00
Austin Mroz
8f83468eaa Round linear toggle, fix scoll reset padding 2025-12-31 11:15:47 -08:00
Austin Mroz
d1dd276335 Allow center image to expand beyond initial size 2025-12-31 11:02:56 -08:00
Austin Mroz
9202b80ee2 Inset border, default dropIndicator for LoadImage 2025-12-30 22:04:37 -08:00
Austin Mroz
1151350ee4 Drag/drop support for linear mode
Causes some border woes which need fixing
2025-12-30 21:09:05 -08:00
Austin Mroz
09021b605c Disable display of markdown/note nodes 2025-12-30 19:51:47 -08:00
Austin Mroz
3cbdc30517 Allow navigating history with up/down keys 2025-12-30 19:48:13 -08:00
Austin Mroz
cdb422fefc Placeholder support for text output
Since text outputs are not currently exposed in history, there's not way
to test this and the label doesn't actually exist
2025-12-30 19:14:44 -08:00
Austin Mroz
b145566a7f Placeholder icons for non-image outputs 2025-12-30 18:30:54 -08:00
Austin Mroz
76c722c656 Support right sidebar 2025-12-30 17:02:57 -08:00
Austin Mroz
aa6a0580ec Analog scrolling for touchpad 2025-12-30 16:38:48 -08:00
Austin Mroz
a9e5989a3a Add Popover component,with extra options
Extra options are implemented through commands that seem to not
function. Further investigation is needed
2025-12-30 15:30:29 -08:00
Austin Mroz
c7d1869e41 Preview and rerun cleanup 2025-12-30 10:09:49 -08:00
Austin Mroz
df974e56a2 Implement reuse and rerun buttons 2025-12-29 14:34:57 -08:00
Austin Mroz
79bd8a4dd2 Update histroy for new outputs, spinner for active
A spinner is now displayed when  a job is actively executing
- Spinner has slightly incorrect sizing
- Only one spinner is displayed regardless of output count

History tracking change makes me very unhappy. I want to clean this up
to correctly leverage vue reactivity in the future, but required
functionality comes first
2025-12-29 11:16:58 -08:00
Austin Mroz
5e740c6efe Re-enable previews in naive way 2025-12-29 10:14:38 -08:00
Austin Mroz
0beebd0302 Display audio outputs, div cleanup 2025-12-29 09:52:33 -08:00
Austin Mroz
63ad1b289b Reset zoom on preview change 2025-12-27 19:09:23 -08:00
Austin Mroz
7051b5e491 Center zoom on mouse 2025-12-27 18:35:29 -08:00
Austin Mroz
a7a7ea348f Minor fixes: video size, no job toast on enter 2025-12-23 20:30:24 -08:00
Austin Mroz
a96e0dec0c Initial pan/zoom implementation 2025-12-23 17:52:18 -08:00
Austin Mroz
1f17f5f1b5 Popover cleanup - a working queue indicator 2025-12-23 15:49:04 -08:00
Austin Mroz
49ede05221 Skeleton queue button changes 2025-12-23 15:49:04 -08:00
Austin Mroz
d5d995de80 Initial main panel video support 2025-12-23 15:49:04 -08:00
Austin Mroz
75cc8b8b59 Toggle button cleanup
Experimented with ToggleGroups, but it was too much effort and YAGNI

Add icon and descriptions for other media types
2025-12-23 15:49:04 -08:00
Austin Mroz
b77f028097 Prune unused export 2025-12-23 15:49:04 -08:00
Austin Mroz
4cb0eb6fec Setup infinite scroll for outputs 2025-12-23 15:49:04 -08:00
Austin Mroz
d1b4ec44df Fix node reactivity in linear mode 2025-12-23 15:49:04 -08:00
Austin Mroz
1c007d650d Add sidebar
Conflicted on this one. Will likely argue for inlining history
2025-12-23 15:49:04 -08:00
Austin Mroz
24523a5397 Ugly growth hack 2025-12-23 15:49:04 -08:00
Austin Mroz
7ef03de7fb Add icon for image mediatype 2025-12-23 15:49:04 -08:00
Austin Mroz
842043999c Scoll into view for history panel
Functional, but I don't like the implementation specifics,
will return to later
2025-12-23 15:49:04 -08:00
Austin Mroz
461ee6c6d6 Side panel cleanup 2025-12-23 15:49:04 -08:00
Austin Mroz
302990ca9b Buttons, new and old 2025-12-23 15:49:03 -08:00
Austin Mroz
a35b87354f Add generation info display 2025-12-23 15:49:03 -08:00
Austin Mroz
735a60e6d7 Allow resizing history 2025-12-23 15:49:03 -08:00
Austin Mroz
5455c85a29 Initial scorll implementation 2025-12-23 15:49:03 -08:00
Austin Mroz
323649557f WIP sidebar update 2025-12-23 15:49:03 -08:00
AustinMroz
f9b58904d9 Ensure widgets always get a single callback (#7579)
The other side of reactivity. Ensure that vue mode always registers a
callback on litegraph nodes and never registers more than one.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-7579-Ensure-widgets-always-get-a-single-callback-2cc6d73d365081e2a488c38ae394efc0)
by [Unito](https://www.unito.io)
2025-12-23 15:48:01 -08:00
Terry Jia
25b9c51237 fix: correct Vue node selection box detection accuracy (#7741)
## Summary
Remove double-counting of NODE_TITLE_HEIGHT in layout sync. The title
height was being added both in useLayoutSync and in LiteGraph's
measure() function, causing boundingRect to be 30px taller than actual
DOM.

This caused selection box to detect nodes ~30px below their actual
bottom.

fix https://github.com/Comfy-Org/ComfyUI_frontend/issues/7580

## Screenshots (if applicable)
before


https://github.com/user-attachments/assets/babf0b9d-174e-4ec3-a3bb-18e4f9d88d09

after


https://github.com/user-attachments/assets/4f9989a5-4d3c-4303-bd1b-70ca70cb8f15

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-7741-fix-correct-Vue-node-selection-box-detection-accuracy-2d26d73d3650817cbe80f98a3bf1abf1)
by [Unito](https://www.unito.io)

---------

Co-authored-by: github-actions <github-actions@github.com>
2025-12-23 17:36:06 -05:00