Skip to content

Commit

Permalink
1.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieyang committed Jan 11, 2025
1 parent 713246b commit dc34315
Show file tree
Hide file tree
Showing 11 changed files with 67 additions and 23 deletions.
9 changes: 9 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [1.6.2] - 2024-01-10
1. optimize: the name of the new layer will now have an auto-incremented id.
2. optimize: list page style optimization.
3. optimize: when the connection fails, if it is 404 or 502, a tips will now be displayed.
4. optimize: add a tips to go to save when the workflow list is empty.
5. optimize: the official link/friend link will now be displayed when not connected.
6. fix: the rgthree group control node does not display text.
7. fix: the problem that the image cannot be sent to the grayscale document.

## [1.6.1] - 2024-12-27
1. feature: show workflows by folder.
2. feature: refresh button in workflow panel
Expand Down
2 changes: 1 addition & 1 deletion javascript/sdppp-a1111.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion javascript/sdppp-comfy.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sdppp",
"version": "1.6.1",
"version": "1.6.2",
"scripts": {
"watch": "nodemon -w typescripts/src -e mjs,js,jsx,mts,ts,tsx,json,css,html -x node typescripts/src/build/index.build.mjs",
"build": "NODE_ENV=production node typescripts/src/build/index.build.mjs && bash typescripts/src/build/package.sh"
Expand Down
2 changes: 1 addition & 1 deletion plugins/photoshop/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions plugins/photoshop/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "sd-ppp",
"name": "SD-PPP",
"version": "1.6.1",
"version": "1.6.2",
"main": "index.html",
"manifestVersion": 5,
"host": {
Expand Down Expand Up @@ -37,7 +37,7 @@
"type": "panel",
"id": "sdppp-connect",
"label": {
"default": "SD-PPP 1.6.1"
"default": "SD-PPP 1.6.2"
},
"minimumSize": {
"width": 300,
Expand Down
58 changes: 47 additions & 11 deletions plugins/photoshop/styles.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
sp-label.error-label {
color: lightcoral;
white-space: normal;
}
.tabbar {
display: flex;
flex: 0 0 auto;
Expand Down Expand Up @@ -41,9 +45,9 @@
color: lightyellow;
}

.status-bar.disconnected,
.status-error {
.status-bar.disconnected {
color: lightcoral;
white-space: normal;
}

.connect-box {
Expand Down Expand Up @@ -79,13 +83,19 @@
width: 400%;
display: flex;
flex-direction: row;
height: 100%;
overflow: hidden;
}
.comfy-list-wrap {
height: 100%;
overflow-y: scroll;
margin-right: -12px;
}

.editor-card {
width: 25%;
margin-right: 8.333%;
height: 100%;
overflow: hidden;
}
.editor-card.webview-container {
display: flex;
Expand All @@ -94,10 +104,13 @@
.workflow-edit-wrap {
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}

.workflow-edit {
overflow-y: auto;
overflow-y: scroll;
scrollbar-width: thin;
overflow-x: hidden;
flex: 1;
padding: 0 5px;
Expand Down Expand Up @@ -151,6 +164,13 @@

.client-list-title {
min-height: 15px;
display: flex;
align-items: center;
flex-direction: column;
margin-top: 10px;
}
.client-list-title h3 {
color: white;
}
.client-list-title-container {
display: flex;
Expand Down Expand Up @@ -218,7 +238,7 @@
cursor: default;
}

.client-list-item:hover .client-list-item-right .tips-icon {
.client-list-item.show-tips .client-list-item-right .tips-icon, .client-list-item:hover .client-list-item-right .tips-icon {
display: inline-flex;
}

Expand Down Expand Up @@ -273,16 +293,32 @@
background-color: #444;
}

.panel-foot {
.about-card {
font-size: 12px;
background-color: rgba(127, 127, 127, .2);
width: 100%;
color: white;
overflow-y: scroll;
}
.about-card h2 {
display: block;
text-align: center;;
}
.about-card-sections {
display: flex;
width: 100%;
margin-bottom: 15px;;
flex-direction: row;
justify-content: space-around;
align-items: center;
padding: 5px 0;
font-size: 12px;
background-color: rgba(127, 127, 127, .2);
}
.panel-foot a {
.about-card-sections:first-child {
margin-top: 15px;
}
.about-card-sections.about-card-title {
flex-direction: column;
}
.about-card a {
color: white;
text-decoration: underline;
}
}
Binary file modified plugins/sd-ppp_PS.ccx
Binary file not shown.
8 changes: 4 additions & 4 deletions plugins/web/comfy.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "sd-ppp"
description = "getting/sending picture from/to Photoshop with a simple connection. Make Photoshop become the workspace of your ComfyUI."
version = "1.6.1"
version = "1.6.2"
license = { file = "LICENSE" }

[project.urls]
Expand Down
1 change: 0 additions & 1 deletion sdppp_python/apis.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ async def b_workflow_action(sid, payload = {}):
async def b_set_widget_value(sid, payload = {}):
if len(sdppp.page_instances) == 0:
return {"error": "Please connect at least one page instance"}

result = await sdppp.sio.call('b_set_widget_value', payload, to=payload['sid'])
return result

Expand Down

0 comments on commit dc34315

Please sign in to comment.