Skip to content

Commit e2157a7

Browse files
authored
Merge pull request #277 from chrisgoringe/dev
Releasing 1.2
2 parents 198e565 + e77cb51 commit e2157a7

21 files changed

+596
-337
lines changed

README.md

+55-37
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ And if you share the workflow with someone else, they get your controller as wel
1515

1616
## Getting started
1717

18-
The Controller is an extra sidebar tab. Like other sidebar tabs, just click it to bring the Controller into view.
18+
The Controller is toggled using a button in the top menu. When the sliders icon is blue, the Controller is active.
1919

20-
![sidebar](images/sidebar.png)
20+
![top](images/top.png)
21+
22+
To create a Controller window, right click on the background and select "New Controller" from the menu (if it isn't there, check the Controller is active!).
2123

2224
At first, the Controller will be empty. To add nodes to it, right-click on the node and in the Controller Panel menu select "Include this node".
2325

@@ -47,27 +49,45 @@ of the original limits the workflow may fail to validate on the server.
4749

4850
You can change the way the scrollwheel interacts with the sliders, and the keys required to edit the limits, in the main settings.
4951

50-
## Getting more organised
52+
## Groups and Tabs
5153

52-
For more complex workflows, you will probably find that there are quite a few nodes that you want to be able to control.
53-
The controller scrolls to accomodate as many nodes as you like, but we can do better than that...
54+
A new controller will show all of the selected nodes - that's what is meant by the 'All' in the top left hand corner.
5455

55-
### Rearrange the nodes
56+
![controllertop](images/controllertop.png)
5657

57-
<img src="images/drag.png" style="padding-right:8px;"/>
58+
If you click on the 'All' you will get a drop down menu of all groups in the workflow
59+
which contain nodes that have been added to the controller. If there are added nodes that
60+
are not in any group, you will also see the pseudo-group 'Ungrouped'.
61+
Select from this menu to choose the group to display.
5862

59-
You can rearrange the node panels in the controller by clicking on the node panel title bar and dragging it up or down.
63+
Alternatively, you can add additional tabs, by clicking on the '+' and selecting from the same menu,
64+
and then switch between them by clicking on the tabs (once you have multiple tabs, clicking on them
65+
doesn't bring up the menu any more). If you want to get rid of a tab, switch to it and then click on the dustbin icon.
6066

61-
### Advanced controls
67+
## The other icons
6268

63-
<img src="images/gears.png" style="padding-right:8px;"/>
69+
The little lightning bolt icon is used to show/hide any nodes that were added as advanced controls.
70+
If there are no advanced control, this icon won't be shown.
6471

65-
If there are nodes that you only occasionally need to interact with, you can designate them as 'advanced controls' when you
66-
add them to the controller. Advanced controls will only be shown if the 'Advanced controls' icon (the gears in the top right hand corner) is blue,
67-
and the node in the workflow gets an open circle in place of the dot in the top right. The gears icon only appears if there are advanced controls to show or hide!
72+
The no-entry sign (circle with slash) is a placeholder - in a forthcoming release it will be
73+
used to toggle the group between active and bypassed.
6874

69-
### Collapse nodes
75+
In the top right there is a minimise button, and a close button which can be used to minimise or close
76+
this controller window. A minimised controller just shows the tab name and the 'X':
77+
78+
![minimised](images/minimised.png)
79+
80+
click the tab name to restore the controller to full size.
81+
82+
## Other things to explore
83+
84+
### Rearrange the nodes
85+
86+
<img src="images/drag.png" style="padding-right:8px;"/>
7087

88+
You can rearrange the node panels in the controller by clicking on the node panel title bar and dragging it up or down.
89+
90+
### Collapse nodes
7191

7292
<img src="images/collapse.png" style="padding-right:8px;"/>
7393

@@ -81,18 +101,6 @@ at the left-hand side of the title bar, click it again to expand.
81101
Multiline text fields and image displays can be rescaled up or down using the resize handle in the bottom right hand corner of the widget.
82102
As you drag the height is shown as an overlay, in case you want to make things the same size.
83103

84-
### Selecting groups
85-
86-
<img src="images/groups.png" style="padding-right:8px;"/>
87-
88-
If you've build a complex workflow you've probably used groups to help you organise the nodes.
89-
Using the drop-down menu at the top of the controller you can choose to just see the nodes in a single group.
90-
So you can quickly flick between the controls for your prompt, your controlnet, your upscaling...
91-
92-
And if you want a node to be visible whatever group is selected, just add it with the 'Include this node in all group views' setting.
93-
94-
## Other cool things
95-
96104
### The workflow is still there
97105

98106
Any time you want to, you can go back to the workflow and work with it directly.
@@ -103,7 +111,8 @@ but you just need to click the refresh button (top right of the Controller) to b
103111

104112
### Images
105113

106-
The Controller works with Load, Save and Preview image nodes, as well as the image previews shown on the sampler node.
114+
The Controller works with Load, Save and Preview image nodes. The image preview nodes also show the interim images shown in the sampler, if you
115+
have that feature turned on.
107116

108117
### Settings
109118

@@ -112,10 +121,10 @@ and settings to control how you can interact with the sliders.
112121

113122
There's also a debug setting that I might ask you to use if you report a problem!
114123

115-
### Controller width
124+
### Resize controller
116125

117-
There is a little drag box at the bottom right of the controller that you can use to make it narrower or wider.
118-
Its width is independant of the other sidebar controls.
126+
There is a little drag box at the bottom right of the controller that you can use to resize it.
127+
You can also move it around by dragging the header.
119128

120129
## Known Limitations
121130

@@ -129,15 +138,24 @@ in future releases, probably starting with rgthree's Power Lora Loader.
129138

130139
Future features will depend on community feedback, but some of the top contenders right now are...
131140

132-
- Visual links between the controller and workflow (click a workflow group to select it in the controller)
133-
- Toggling node and group bypass from the controller
134-
- Multiple controller columns
135-
- Multiple group selection
141+
- Visual links between the controller and workflow (highlight node on hover)
142+
- Toggling bypass
143+
- Selecting which widgets on a node to show
144+
145+
For more details of what's under consideration, take a look at the [issues list](https://github.com/chrisgoringe/cg-controller/issues),
146+
and feel free to add your ideas there, or
147+
jump into the discussion [here](https://github.com/chrisgoringe/cg-controller/discussions/210).
148+
149+
# Bug reports
150+
151+
[Bug reports are very welcome](https://github.com/chrisgoringe/cg-controller/issues).
152+
153+
It's really helpful if you include as much in the way of specific detail as possible, possibly including screenshots or copies of the workflow.
154+
You can also press f12 and look in the javascript console to see if there are any errors with 'cg-controller' in them.
136155

137-
For more details of what's under consideration, take a look [here](https://github.com/chrisgoringe/cg-controller/milestone/21),
138-
and jump into the discussion [here](https://github.com/chrisgoringe/cg-controller/discussions/210).
156+
A screenshot of your Settings/About is a big help too!
139157

140-
[Bug reports or feature requests very welcome](https://github.com/chrisgoringe/cg-controller/issues)
158+
![settings](images/settings.png)
141159

142160
# Credits
143161

__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = "1.0"
1+
VERSION = "1.2"
22
WEB_DIRECTORY = "./js"
33

44
NODE_CLASS_MAPPINGS= {}

images/controllertop.png

2.9 KB
Loading

images/example.png

-283 KB
Loading

images/menu.png

4.62 KB
Loading

images/minimised.png

1.54 KB
Loading

images/settings.png

33.7 KB
Loading

images/top.png

1.32 KB
Loading

js/constants.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ export class Colors {
2525
}
2626

2727
export class Texts {
28-
static ALL_GROUPS = "All Groups"
28+
static ALL_GROUPS = "All"
29+
static UNGROUPED = "Ungrouped"
2930
}
3031

3132
export const BASE_PATH = "extensions/cg-controller"

0 commit comments

Comments
 (0)