-
Notifications
You must be signed in to change notification settings - Fork 433
Cleanup: Properties Panel #7137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
DrJKL
wants to merge
40
commits into
main
Choose a base branch
from
drjkl/cleanup/sidebar
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+367
−369
Open
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
76639e2
style: Splitter style tailwind conversion part 1
DrJKL fa6820a
cleanup: Fix focus mode in splitter, more idiomatic store/ref use
DrJKL 41f4813
cleanup: Simplify changes in TopMenuSection
DrJKL d9caad4
Consistency: Open the info in the properties panel too.
DrJKL 14b37d8
cleanup: unused action
DrJKL bbf6fab
i18n: Fix Panel title pluralization
DrJKL 82f6add
style: Buttons
DrJKL 2977b3c
fix: Subgraph edit toggle logic
DrJKL 44b14fa
cleanup: Node Info Tab
DrJKL d093a82
cleanup: Parameters Accordions
DrJKL 0779133
cleanup: Search bar, not fully there
DrJKL 2d152c5
cleanup: Parameters and searchbox padding
DrJKL e276b76
cleanup: TabSettings part 1
DrJKL d428e40
fix: Need a simpler way to detect when we can/should re-search
DrJKL 57c90e0
cleanup: TabSettings part 2
DrJKL f9a2d50
Minimap in focus mode, but not in OG Comfy mode
DrJKL f6821cd
Node state fix
DrJKL 5a4f1dd
YAGNI: Accordion item properties
DrJKL 390fbde
Suggested change
DrJKL 247d787
[automated] Update test expectations
invalid-email-address 8b3abd9
cleanup: Button classes.
DrJKL c7d33ed
test: Update the help panel tests
DrJKL 52527e8
Consistently devolved model binding
DrJKL fe47bda
test: Remove old sidebar button expectation.
DrJKL 84f5b21
feat: make node title editable from Properties Panel
DrJKL 076805a
style: margin for searchbox to let the ring show
DrJKL 8e360d5
fix: Sticky header background
DrJKL ef362a8
style: Add minimum height for some widgets
DrJKL d577fa6
Re-add forced refresh. There are some re-render issues still.
DrJKL 37cce6e
test: Minimal properties panel Playwright test
DrJKL df4c23e
test: Test works! Update expectations
DrJKL 2394cfd
Good rabbit suggestion
DrJKL b2ab4d9
test: Add properties panel locator to fixture, scope assertions to it.
DrJKL a2dba09
test: Restructure actionbar locators
DrJKL 475fe28
Fix: Focus mode on the right.
DrJKL 64bbf20
fix: Hide bottom gutter in focus mode
DrJKL af1e410
[automated] Update test expectations
invalid-email-address f0f59b2
Title logic cleanup
DrJKL a5675d3
feat: Handle empty Inputs sections
DrJKL d8d096d
Yeah, I like that better.
DrJKL File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+3.76 KB
(100%)
browser_tests/tests/domWidget.spec.ts-snapshots/focus-mode-on-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
browser_tests/tests/propertiesPanel/propertiesPanel.spec.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| import { expect } from '@playwright/test' | ||
|
|
||
| import { comfyPageFixture as test } from '../../fixtures/ComfyPage' | ||
|
|
||
| test.describe('Properties panel', () => { | ||
| test('opens and updates title based on selection', async ({ comfyPage }) => { | ||
| await comfyPage.actionbar.propertiesButton.click() | ||
|
|
||
| const { propertiesPanel } = comfyPage.menu | ||
|
|
||
| await expect(propertiesPanel.getByText('No node(s) selected')).toBeVisible() | ||
|
|
||
| await comfyPage.selectNodes(['KSampler', 'CLIP Text Encode (Prompt)']) | ||
|
|
||
| await expect(propertiesPanel.getByText('3 nodes selected')).toBeVisible() | ||
|
|
||
| await expect(propertiesPanel.getByText('KSampler')).toHaveCount(1) // Will be 2 in Vue mode | ||
| }) | ||
DrJKL marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| }) | ||
Binary file modified
BIN
+3.07 KB
(110%)
...r_tests/tests/rerouteNode.spec.ts-snapshots/reroute-inserted-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+88 Bytes
(100%)
...odes/groups/groups.spec.ts-snapshots/vue-groups-create-group-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+89 Bytes
(100%)
...s/groups/groups.spec.ts-snapshots/vue-groups-fit-to-contents-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+73 Bytes
(100%)
...canvas/pan.spec.ts-snapshots/vue-nodes-paned-with-touch-mobile-chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+131 Bytes
(100%)
...eractions/canvas/zoom.spec.ts-snapshots/zoomed-in-ctrl-shift-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+137 Bytes
(100%)
...nks/linkInteraction.spec.ts-snapshots/vue-node-dragging-link-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+148 Bytes
(100%)
...nkInteraction.spec.ts-snapshots/vue-node-input-drag-ctrl-alt-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+143 Bytes
(100%)
...eraction.spec.ts-snapshots/vue-node-input-drag-reuses-origin-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+118 Bytes
(100%)
...inkInteraction.spec.ts-snapshots/vue-node-reroute-input-drag-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+135 Bytes
(100%)
...raction.spec.ts-snapshots/vue-node-reroute-output-shift-drag-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+158 Bytes
(100%)
...teraction.spec.ts-snapshots/vue-node-shift-output-multi-link-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+156 Bytes
(100%)
...inks/linkInteraction.spec.ts-snapshots/vue-node-snap-to-node-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+163 Bytes
(100%)
...inks/linkInteraction.spec.ts-snapshots/vue-node-snap-to-slot-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+94 Bytes
(100%)
...interactions/node/move.spec.ts-snapshots/vue-node-moved-node-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+59 Bytes
(100%)
...s/node/move.spec.ts-snapshots/vue-node-moved-node-touch-mobile-chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+102 Bytes
(100%)
.../nodeStates/bypass.spec.ts-snapshots/vue-node-bypassed-state-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+103 Bytes
(100%)
...deStates/colors.spec.ts-snapshots/vue-node-custom-color-blue-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+88 Bytes
(100%)
...ors.spec.ts-snapshots/vue-node-custom-colors-dark-all-colors-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+91 Bytes
(100%)
...Nodes/nodeStates/mute.spec.ts-snapshots/vue-node-muted-state-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+89 Bytes
(100%)
...oad/uploadWidgets.spec.ts-snapshots/vue-nodes-upload-widgets-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.