@michengai/dsh-im-connect 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -2
- package/CHANGELOG.zh-CN.md +6 -2
- package/client.js +7 -2
- package/lib/client.js +7 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.7 - 2026-10-19
|
|
4
|
+
|
|
5
|
+
- Fix the Add account / Account settings dialog not scrolling when its content is taller than the window: once the dialog is capped to the viewport, the content area scrolls normally with the wheel or a trackpad, keeping the QR code and the Cancel / Confirm buttons reachable (Issue #40).
|
|
6
|
+
|
|
3
7
|
## 1.0.6 - 2026-10-19
|
|
4
8
|
|
|
5
|
-
- Fix
|
|
6
|
-
-
|
|
9
|
+
- Fix the "IM Assistant" icon in Settings disappearing when a third-party skin is enabled; the icon now follows the host theme and layout.
|
|
10
|
+
- Improve the Quick setup / Manual setup switch in the bind dialog: screen readers now identify both setup panels correctly, channels with only one setup method no longer present a misleading tab control, and the selection indicator aligns with the labels.
|
|
7
11
|
|
|
8
12
|
## 1.0.5 - 2026-10-19
|
|
9
13
|
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -4,10 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
以下记录近期发布的版本。Git 标签与 GitHub Release 现已和这些条目同步;历史条目继续保留原始发布提交链接。
|
|
6
6
|
|
|
7
|
+
## 1.0.7 - 2026-10-19
|
|
8
|
+
|
|
9
|
+
- 修复「添加账号 / 账号设置」弹窗内容超出窗口高度时无法滚动的问题:弹窗高度受视口限制后,内容区可以正常用滚轮或滑动手动滚动,底部的二维码和取消 / 确定按钮保持可见(Issue #40)。
|
|
10
|
+
|
|
7
11
|
## 1.0.6 - 2026-10-19
|
|
8
12
|
|
|
9
|
-
-
|
|
10
|
-
-
|
|
13
|
+
- 修复设置页「IM 助理」图标在启用第三方皮肤时消失的问题,图标现在会跟随宿主主题与布局正常显示。
|
|
14
|
+
- 优化绑定弹窗的「快捷绑定 / 手动配置」切换:读屏可正确识别两个配置面板,仅支持一种绑定方式的渠道不再向读屏暴露误导性的页签控件,选中指示条与文字对齐更准确。
|
|
11
15
|
|
|
12
16
|
## 1.0.5 - 2026-10-19
|
|
13
17
|
|
package/client.js
CHANGED
|
@@ -159,7 +159,7 @@ window.__ModuleLoader__.load({
|
|
|
159
159
|
}, label);
|
|
160
160
|
}
|
|
161
161
|
function Modal(props) {
|
|
162
|
-
const { open, title, onCancel, onOk, okText, cancelText, okButtonProps, confirmLoading, width = 640, zIndex = 1100, children, footer, className, keyboard, maskClosable, closeLabel, description } = props;
|
|
162
|
+
const { open, title, onCancel, onOk, okText, cancelText, okButtonProps, confirmLoading, width = 640, zIndex = 1100, children, footer, className, contentClassName, keyboard, maskClosable, closeLabel, description } = props;
|
|
163
163
|
const requestClose = onCancel || props.onClose;
|
|
164
164
|
const closeRef = useRef(requestClose);
|
|
165
165
|
closeRef.current = requestClose;
|
|
@@ -203,6 +203,8 @@ window.__ModuleLoader__.load({
|
|
|
203
203
|
onClose: handleClose,
|
|
204
204
|
closeLabel: closeLabel || "Close",
|
|
205
205
|
className,
|
|
206
|
+
// 宿主 Modal 把内容区裁在视口内;标记 content 区,让它在超长时滚动。
|
|
207
|
+
contentClassName: ["ima-modal-content", contentClassName].filter(Boolean).join(" "),
|
|
206
208
|
footer: footerNode,
|
|
207
209
|
...hostDescription,
|
|
208
210
|
}, children);
|
|
@@ -1012,7 +1014,10 @@ window.__ModuleLoader__.load({
|
|
|
1012
1014
|
.ima-diagnostic-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ima-inspector-title-row .ima-tag{margin-inline-end:0}.ima-bind-modal .ima-feedback{margin-bottom:12px}.ima-connection-check{display:grid;gap:6px;padding:12px;border:1px solid var(--ima-line);border-radius:8px;font-size:12px;line-height:1.6;overflow-wrap:anywhere;color:var(--ima-muted)}.ima-connection-check strong{color:var(--ima-text)}.ima-diagnostic-item{padding:8px 0;border-top:1px solid var(--ima-line)}
|
|
1013
1015
|
.ima-inspector-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;margin-top:16px!important;padding-top:16px!important;padding-bottom:4px!important}
|
|
1014
1016
|
.ima-account-modal .ima-inspector{padding:0 0 16px 0}
|
|
1015
|
-
.ima-bind-modal,.ima-account-modal{width:min(720px,100%) !important;max-height:100
|
|
1017
|
+
.ima-bind-modal,.ima-account-modal{width:min(720px,100%) !important;max-height:100%;min-height:0}
|
|
1018
|
+
/* 宿主 Modal 只把 dialog 限制在视口内,内容区默认不滚动,长内容会被裁掉;
|
|
1019
|
+
把宿主的 content 区设为滚动容器,footer 保持在容器外可见。 */
|
|
1020
|
+
.ima-bind-modal>.ima-modal-content,.ima-account-modal>.ima-modal-content{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
|
|
1016
1021
|
.ima-account-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;width:100%;box-sizing:border-box}
|
|
1017
1022
|
.ima-account-settings.compact{grid-template-columns:1fr}
|
|
1018
1023
|
.ima-picker-field{display:flex;min-width:0;width:100%;flex-direction:column;gap:6px;box-sizing:border-box}
|
package/lib/client.js
CHANGED
|
@@ -480,7 +480,7 @@ function observePluginUpdate(options) {
|
|
|
480
480
|
}, label);
|
|
481
481
|
}
|
|
482
482
|
function Modal(props) {
|
|
483
|
-
const { open, title, onCancel, onOk, okText, cancelText, okButtonProps, confirmLoading, width = 640, zIndex = 1100, children, footer, className, keyboard, maskClosable, closeLabel, description } = props;
|
|
483
|
+
const { open, title, onCancel, onOk, okText, cancelText, okButtonProps, confirmLoading, width = 640, zIndex = 1100, children, footer, className, contentClassName, keyboard, maskClosable, closeLabel, description } = props;
|
|
484
484
|
const requestClose = onCancel || props.onClose;
|
|
485
485
|
const closeRef = useRef(requestClose);
|
|
486
486
|
closeRef.current = requestClose;
|
|
@@ -524,6 +524,8 @@ function observePluginUpdate(options) {
|
|
|
524
524
|
onClose: handleClose,
|
|
525
525
|
closeLabel: closeLabel || "Close",
|
|
526
526
|
className,
|
|
527
|
+
// 宿主 Modal 把内容区裁在视口内;标记 content 区,让它在超长时滚动。
|
|
528
|
+
contentClassName: ["ima-modal-content", contentClassName].filter(Boolean).join(" "),
|
|
527
529
|
footer: footerNode,
|
|
528
530
|
...hostDescription,
|
|
529
531
|
}, children);
|
|
@@ -1333,7 +1335,10 @@ function observePluginUpdate(options) {
|
|
|
1333
1335
|
.ima-diagnostic-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ima-inspector-title-row .ima-tag{margin-inline-end:0}.ima-bind-modal .ima-feedback{margin-bottom:12px}.ima-connection-check{display:grid;gap:6px;padding:12px;border:1px solid var(--ima-line);border-radius:8px;font-size:12px;line-height:1.6;overflow-wrap:anywhere;color:var(--ima-muted)}.ima-connection-check strong{color:var(--ima-text)}.ima-diagnostic-item{padding:8px 0;border-top:1px solid var(--ima-line)}
|
|
1334
1336
|
.ima-inspector-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;margin-top:16px!important;padding-top:16px!important;padding-bottom:4px!important}
|
|
1335
1337
|
.ima-account-modal .ima-inspector{padding:0 0 16px 0}
|
|
1336
|
-
.ima-bind-modal,.ima-account-modal{width:min(720px,100%) !important;max-height:100
|
|
1338
|
+
.ima-bind-modal,.ima-account-modal{width:min(720px,100%) !important;max-height:100%;min-height:0}
|
|
1339
|
+
/* 宿主 Modal 只把 dialog 限制在视口内,内容区默认不滚动,长内容会被裁掉;
|
|
1340
|
+
把宿主的 content 区设为滚动容器,footer 保持在容器外可见。 */
|
|
1341
|
+
.ima-bind-modal>.ima-modal-content,.ima-account-modal>.ima-modal-content{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
|
|
1337
1342
|
.ima-account-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;width:100%;box-sizing:border-box}
|
|
1338
1343
|
.ima-account-settings.compact{grid-template-columns:1fr}
|
|
1339
1344
|
.ima-picker-field{display:flex;min-width:0;width:100%;flex-direction:column;gap:6px;box-sizing:border-box}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@michengai/dsh-im-connect",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "DSH IM Connect — 将主流即时通讯平台接入本机 DeepSeek Harness · Connect major messaging platforms to local DeepSeek Harness agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "pnpm@11.22.0",
|