dsh-aupdate 0.8.6 → 0.8.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/client.js +12 -7
- package/package.json +1 -1
package/client.js
CHANGED
|
@@ -728,7 +728,7 @@ window.__ModuleLoader__.load({
|
|
|
728
728
|
.dsh-au-pkgrow:hover{background:var(--dsw-alias-bg-mask-1,rgba(128,128,128,.08))}
|
|
729
729
|
.dsh-au-pkgname{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
730
730
|
.dsh-au-pkgver{flex:0 0 auto;margin-left:auto;font-size:11px;color:var(--dsw-alias-label-caption,rgba(128,128,128,.85));font-variant-numeric:tabular-nums}
|
|
731
|
-
.dsh-au-log{margin:0;padding:8px 10px;border-radius:10px;border:1px solid var(--dsw-alias-border-l1,rgba(128,128,128,.22));background:var(--dsw-alias-bg-layer-2,rgba(128,128,128,.06));font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;line-height:1.6;max-height:
|
|
731
|
+
.dsh-au-log{margin:0;padding:8px 10px;border-radius:10px;border:1px solid var(--dsw-alias-border-l1,rgba(128,128,128,.22));background:var(--dsw-alias-bg-layer-2,rgba(128,128,128,.06));font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;line-height:1.6;max-height:200px;overflow:auto;white-space:pre-wrap;word-break:break-word}
|
|
732
732
|
.dsh-au-logtime{color:var(--dsw-alias-label-caption,rgba(128,128,128,.8));font-variant-numeric:tabular-nums}
|
|
733
733
|
.dsh-au-logtext{color:inherit}
|
|
734
734
|
|
|
@@ -2065,10 +2065,7 @@ window.__ModuleLoader__.load({
|
|
|
2065
2065
|
h('h3', { className: S.title }, T.versionsTitle),
|
|
2066
2066
|
h('p', { className: S.sub }, T.versionsSubtitle),
|
|
2067
2067
|
),
|
|
2068
|
-
//
|
|
2069
|
-
// 「检查并安装」,同一页里放两个功能相同的按钮只会让人犹豫点哪个。
|
|
2070
|
-
h(LastRunCard, { state: state, attention: attention, busy: busy !== '' }),
|
|
2071
|
-
// 工具条
|
|
2068
|
+
// 工具条在最上面:这一页的第一件事就是「查一下 / 装一下」,先给操作再看数据。
|
|
2072
2069
|
h('div', { className: S.card },
|
|
2073
2070
|
h('div', { className: S.vhead },
|
|
2074
2071
|
h('input', {
|
|
@@ -2100,6 +2097,8 @@ window.__ModuleLoader__.load({
|
|
|
2100
2097
|
hint ? h('span', { className: S.status }, hint) : null,
|
|
2101
2098
|
loadError ? h('p', { className: S.err }, loadError) : null,
|
|
2102
2099
|
),
|
|
2100
|
+
// 现状跟在工具条后面:操作之后紧接着就是它的结果,顺序和人的动作一致。
|
|
2101
|
+
h(LastRunCard, { state: state, attention: attention, busy: busy !== '' }),
|
|
2103
2102
|
// 注册表:预设三档 + 自定义,每行能单独测。
|
|
2104
2103
|
showSources
|
|
2105
2104
|
? h('div', { className: S.card },
|
|
@@ -2147,7 +2146,13 @@ window.__ModuleLoader__.load({
|
|
|
2147
2146
|
: null,
|
|
2148
2147
|
// 设置内嵌:不用为了改一处设置离开这一页。
|
|
2149
2148
|
showSettings
|
|
2150
|
-
? h('div', { className: S.card },
|
|
2149
|
+
? h('div', { className: S.card },
|
|
2150
|
+
h(AutoUpdateCard),
|
|
2151
|
+
// 最底部再给一个收起入口:表单很长,从顶部滑走之后不用再滚回去找按钮。
|
|
2152
|
+
h('div', { className: S.actions },
|
|
2153
|
+
h('button', { type: 'button', className: S.btn, onClick: () => setShowSettings(false) }, T.versionsHideSettings),
|
|
2154
|
+
),
|
|
2155
|
+
)
|
|
2151
2156
|
: null,
|
|
2152
2157
|
// 包列表:勾选 → 升级选中;展开 → 全部版本 → 切过去。
|
|
2153
2158
|
h('div', { className: S.card },
|
|
@@ -2221,7 +2226,7 @@ window.__ModuleLoader__.load({
|
|
|
2221
2226
|
// Star 条在最底下:它不参与操作,读完页面顺手露一下就够了。
|
|
2222
2227
|
h('a', {
|
|
2223
2228
|
className: 'dsh-au-star',
|
|
2224
|
-
href:
|
|
2229
|
+
href: REPO_URL,
|
|
2225
2230
|
target: '_blank',
|
|
2226
2231
|
rel: 'noopener noreferrer',
|
|
2227
2232
|
},
|
package/package.json
CHANGED