dsh-mcp-connector 0.2.91 → 0.2.92

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 CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  本项目遵循 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/);首个公开版本从 `0.1.0` 开始。
4
4
 
5
+ ## [0.2.92] - 2026-11-01
6
+
7
+ ### Fixed
8
+
9
+ - 修复英文分类标签撑宽整个页面的问题,分类导航限制在独立单行区域,搜索栏和卡片不再随分类横移。
10
+ - 分类宽度不足时显示左右箭头,点击翻看后续分类;两端按钮自动禁用,全部放得下时隐藏箭头。
11
+ - 保留选中分类、焦点与导航位置,支持窗口尺寸变化、中英文提示及减少动态效果偏好。
12
+
13
+ ### Verification
14
+
15
+ - 隔离 Chrome Mock 验证箭头到达两端、选择分类、返回开头、语言切换和窄屏无整页横向溢出;不代表 Windows Desktop 实机验收。
16
+ - 同步重采中英文截图及 GIF,不读取用户 profile、不调用服务商、不重启 DSH。
17
+
5
18
  ## [0.2.91] - 2026-11-01
6
19
 
7
20
  ### Changed
package/README.en.md CHANGED
@@ -114,7 +114,7 @@ As of 2026-10-24, the public Registry publishes 112 connector descriptors. After
114
114
  | Connection diagnostics and last-success cache | |
115
115
  | ![Connection diagnostics](https://raw.githubusercontent.com/duhu2000/dsh-mcp-connector/main/docs/screenshots/en/07-connection-diagnostics.png) | |
116
116
 
117
- <!-- generated:media -->English UI screenshots and GIF were captured from v0.2.91 (2026-11-01), using the credential-free Mock harness. Provider content retains its original language. They demonstrate UI, not real business acceptance; counts are fixtures. See [asset provenance](docs/screenshots/README.md).<!-- /generated:media -->
117
+ <!-- generated:media -->English UI screenshots and GIF were captured from v0.2.92 (2026-11-01), using the credential-free Mock harness. Provider content retains its original language. They demonstrate UI, not real business acceptance; counts are fixtures. See [asset provenance](docs/screenshots/README.md).<!-- /generated:media -->
118
118
 
119
119
  ## Installation
120
120
 
@@ -245,7 +245,7 @@ npm run dev:ui
245
245
 
246
246
  Every Registry merge regenerates `catalog-stats.json`; an hourly workflow in this repository synchronizes the Chinese and English product copy plus a local stats snapshot. The static npm README updates with package releases, while the live badges above read the Registry directly and therefore stay current without another npm release.
247
247
 
248
- <!-- generated:version -->The current public version is [`dsh-mcp-connector@0.2.91`](https://www.npmjs.com/package/dsh-mcp-connector), with [GitHub Release v0.2.91](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.91).<!-- /generated:version -->
248
+ <!-- generated:version -->The current public version is [`dsh-mcp-connector@0.2.92`](https://www.npmjs.com/package/dsh-mcp-connector), with [GitHub Release v0.2.92](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.92).<!-- /generated:version -->
249
249
 
250
250
  See [CHANGELOG.md](CHANGELOG.md) for version history and [docs/DESKTOP-E2E.md](docs/DESKTOP-E2E.md) for the Desktop release checklist.
251
251
 
package/README.md CHANGED
@@ -128,7 +128,7 @@ Desktop 需要完全退出并重新启动应用;Web 需要停止原 `dsh web`
128
128
  | 连接诊断与最后成功缓存 | |
129
129
  | ![连接诊断](https://raw.githubusercontent.com/duhu2000/dsh-mcp-connector/main/docs/screenshots/07-connection-diagnostics.png) | |
130
130
 
131
- <!-- generated:media -->截图与 GIF 采集自 v0.2.91(2026-11-01)无凭据 Mock 页面,展示界面而非真实业务验收;市场数量是测试夹具。来源与更新方法见 [素材说明](docs/screenshots/README.md)。<!-- /generated:media -->
131
+ <!-- generated:media -->截图与 GIF 采集自 v0.2.92(2026-11-01)无凭据 Mock 页面,展示界面而非真实业务验收;市场数量是测试夹具。来源与更新方法见 [素材说明](docs/screenshots/README.md)。<!-- /generated:media -->
132
132
 
133
133
  ## 安装
134
134
 
@@ -252,7 +252,7 @@ npm run dev:ui
252
252
 
253
253
  公共 Registry 每次合并后会生成 `catalog-stats.json`;本仓库的定时工作流每小时同步中英文介绍和统计快照。npm 页面中的静态正文随版本发布更新,上方动态统计徽标则直接读取 Registry,可在不发布新 npm 版本时保持实时数量一致。
254
254
 
255
- <!-- generated:version -->当前公开版本为 [`dsh-mcp-connector@0.2.91`](https://www.npmjs.com/package/dsh-mcp-connector),对应 [GitHub Release v0.2.91](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.91)。<!-- /generated:version -->
255
+ <!-- generated:version -->当前公开版本为 [`dsh-mcp-connector@0.2.92`](https://www.npmjs.com/package/dsh-mcp-connector),对应 [GitHub Release v0.2.92](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.92)。<!-- /generated:version -->
256
256
 
257
257
  版本能力与变更记录见 [CHANGELOG.md](CHANGELOG.md)。
258
258
  Desktop 发版回归见 [docs/DESKTOP-E2E.md](docs/DESKTOP-E2E.md)。
Binary file
@@ -1,6 +1,6 @@
1
1
  # 产品截图与演示的来源及更新
2
2
 
3
- <!-- generated:media -->本组 8 张截图和 GIF 均从 v0.2.91 于 2026-11-01 重新采集,未修改截图中的版本文字。<!-- /generated:media -->
3
+ <!-- generated:media -->本组 8 张截图和 GIF 均从 v0.2.92 于 2026-11-01 重新采集,未修改截图中的版本文字。<!-- /generated:media -->
4
4
 
5
5
  前七张素材由真实产品 UI 的无凭据 Mock harness 渲染:1280×720 浏览器视口、800px 产品面板、桌面两列卡片。顶部保留“无凭据 Mock”标识;目录数、连接数与工具数是演示夹具,不代表生产统计或真实授权、业务验收。不会读取用户 profile、调用服务商或上传业务数据。
6
6
 
@@ -3,8 +3,8 @@
3
3
  "capture": {
4
4
  "locale": "zh-CN",
5
5
  "capturedOn": "2026-11-01",
6
- "sourceVersion": "0.2.91",
7
- "sourceFingerprint": "ed7792e97a044eb471b8598f4ddb2d574165df346c19b060e4adb851a9c605f9",
6
+ "sourceVersion": "0.2.92",
7
+ "sourceFingerprint": "1d23988d53883e785a8d4ce4c10715690c0035424437aa9407ff8e57334562c6",
8
8
  "browserViewport": {
9
9
  "width": 1280,
10
10
  "height": 720
@@ -17,63 +17,63 @@
17
17
  "screenshots": [
18
18
  {
19
19
  "path": "docs/screenshots/01-market-overview.jpg",
20
- "sha256": "597c0d75ba1e4263a7d3b11c062afadb93ed48bfc5382de0ff8fe0ad4639ccd2",
20
+ "sha256": "fe7ca45726188da6d6e6096160b3a7a47988cfd85f7256246d8f81e07dfb5c6e",
21
21
  "width": 1280,
22
22
  "height": 720,
23
23
  "capturedOn": "2026-11-01",
24
- "sourceVersion": "0.2.91"
24
+ "sourceVersion": "0.2.92"
25
25
  },
26
26
  {
27
27
  "path": "docs/screenshots/02-connector-detail.jpg",
28
- "sha256": "39fe9a006e107fde6fed5c3a70734f64bacca53adee1b44725dc540557f9f510",
28
+ "sha256": "83a0cf52174eb0f6a3d47b154112fe144cb0fc1eff8d7e5455d88f2b7589aa0a",
29
29
  "width": 1280,
30
30
  "height": 720,
31
31
  "capturedOn": "2026-11-01",
32
- "sourceVersion": "0.2.91"
32
+ "sourceVersion": "0.2.92"
33
33
  },
34
34
  {
35
35
  "path": "docs/screenshots/03-tool-discovery.jpg",
36
- "sha256": "042a9c6ae5e1b71f8071822ae4b8c0cd1f0007fab1bf1756d7a2ffba498d2d04",
36
+ "sha256": "1777525fe7986f7206458488fad90890dd68f2503f917d7a897255d1e7dd5fb3",
37
37
  "width": 1280,
38
38
  "height": 720,
39
39
  "capturedOn": "2026-11-01",
40
- "sourceVersion": "0.2.91"
40
+ "sourceVersion": "0.2.92"
41
41
  },
42
42
  {
43
43
  "path": "docs/screenshots/04-json-import.jpg",
44
- "sha256": "db3f23724f19a569c109bd1f481a5ac6622ab9de963a5138452d8baf281f9b25",
44
+ "sha256": "d99cf0f8b1424076ae8b8ce7c063e5482d7ae15df120d0b2b868eb2ca680dd8b",
45
45
  "width": 1280,
46
46
  "height": 720,
47
47
  "capturedOn": "2026-11-01",
48
- "sourceVersion": "0.2.91"
48
+ "sourceVersion": "0.2.92"
49
49
  },
50
50
  {
51
51
  "path": "docs/screenshots/05-unified-tool-search.png",
52
- "sha256": "b01b7b342721f6c79c76569d94ad22eda3ff7bd677fb0a8c43f020ed76e28ea2",
52
+ "sha256": "ba2b3b7d7333257a8bd3988d38e288244e986cc504ed798022925d1ae7e34c67",
53
53
  "width": 1280,
54
54
  "height": 720,
55
55
  "capturedOn": "2026-11-01",
56
- "sourceVersion": "0.2.91"
56
+ "sourceVersion": "0.2.92"
57
57
  },
58
58
  {
59
59
  "path": "docs/screenshots/06-tool-parameters.png",
60
- "sha256": "eb4046a24edc827ab4edcd92a11a5fc05e221d7713edfd2e0f24c2325bb869a1",
60
+ "sha256": "a64e17d92d9b5df24101f16a477d9f8dd1312aa835b8ea396d0e13602418e3aa",
61
61
  "width": 1280,
62
62
  "height": 720,
63
63
  "capturedOn": "2026-11-01",
64
- "sourceVersion": "0.2.91"
64
+ "sourceVersion": "0.2.92"
65
65
  },
66
66
  {
67
67
  "path": "docs/screenshots/07-connection-diagnostics.png",
68
- "sha256": "b384e035da757384e593da3942c4cbf49bca65b09cf91a2d72ca19886ca1841c",
68
+ "sha256": "8c807976bf500de00e56cf9790cbc0501a428d6e7b7adaa17c0451cae07bd036",
69
69
  "width": 1280,
70
70
  "height": 720,
71
71
  "capturedOn": "2026-11-01",
72
- "sourceVersion": "0.2.91"
72
+ "sourceVersion": "0.2.92"
73
73
  },
74
74
  {
75
75
  "path": "docs/screenshots/08-ten-recommendations.jpg",
76
- "sha256": "fb5da0c716f3c421f00097672049a015ac26d8403be279af0f0193ab8ff31f22",
76
+ "sha256": "de75b1905fd89ba20287f946c6d371b16a0b302a15302372bb9d9dc86f64ce1d",
77
77
  "width": 1280,
78
78
  "height": 1400,
79
79
  "browserViewport": {
@@ -82,16 +82,16 @@
82
82
  },
83
83
  "panelHeight": 1280,
84
84
  "capturedOn": "2026-11-01",
85
- "sourceVersion": "0.2.91"
85
+ "sourceVersion": "0.2.92"
86
86
  }
87
87
  ],
88
88
  "demo": {
89
89
  "path": "docs/demo.gif",
90
- "sha256": "18beff5a8e078707858041220af311568581be0d92f20a4bfa1cf83d55b61ce8",
90
+ "sha256": "27302a7fd9a111d6d88b62d1e83f7b97297d99ae003d48a112062a77c5998ef2",
91
91
  "width": 960,
92
92
  "height": 540,
93
93
  "capturedOn": "2026-11-01",
94
- "sourceVersion": "0.2.91",
94
+ "sourceVersion": "0.2.92",
95
95
  "durationSeconds": 36
96
96
  }
97
97
  }
@@ -3,8 +3,8 @@
3
3
  "capture": {
4
4
  "locale": "en",
5
5
  "capturedOn": "2026-11-01",
6
- "sourceVersion": "0.2.91",
7
- "sourceFingerprint": "ed7792e97a044eb471b8598f4ddb2d574165df346c19b060e4adb851a9c605f9",
6
+ "sourceVersion": "0.2.92",
7
+ "sourceFingerprint": "1d23988d53883e785a8d4ce4c10715690c0035424437aa9407ff8e57334562c6",
8
8
  "browserViewport": {
9
9
  "width": 1280,
10
10
  "height": 720
@@ -17,63 +17,63 @@
17
17
  "screenshots": [
18
18
  {
19
19
  "path": "docs/screenshots/en/01-market-overview.jpg",
20
- "sha256": "24c122e4cd16c5fed755432091dfa95b9f8bd966e3fb74e13eee5e146cd3d843",
20
+ "sha256": "c41a5214457a11db9ec03faa74e8ef7c061d23bbe7ff0993e20c952dcae1ba47",
21
21
  "width": 1280,
22
22
  "height": 720,
23
23
  "capturedOn": "2026-11-01",
24
- "sourceVersion": "0.2.91"
24
+ "sourceVersion": "0.2.92"
25
25
  },
26
26
  {
27
27
  "path": "docs/screenshots/en/02-connector-detail.jpg",
28
- "sha256": "cdc4b840f305629c2eea88368c0129a74f6021a173d0c3e5a5d47dbc83f26871",
28
+ "sha256": "08d4edce074a03a41aa41a89c037c978a2b5733b5032ba4d66768127f4fecf5a",
29
29
  "width": 1280,
30
30
  "height": 720,
31
31
  "capturedOn": "2026-11-01",
32
- "sourceVersion": "0.2.91"
32
+ "sourceVersion": "0.2.92"
33
33
  },
34
34
  {
35
35
  "path": "docs/screenshots/en/03-tool-discovery.jpg",
36
- "sha256": "1c79fcca98b2bd11d9aa3007dde094efb6f2459e71be1d992a633e350a5ecdf7",
36
+ "sha256": "e00b24393b66704d08735354d72f1f69c0b5594ec9b394c3b0cd3c38423ac238",
37
37
  "width": 1280,
38
38
  "height": 720,
39
39
  "capturedOn": "2026-11-01",
40
- "sourceVersion": "0.2.91"
40
+ "sourceVersion": "0.2.92"
41
41
  },
42
42
  {
43
43
  "path": "docs/screenshots/en/04-json-import.jpg",
44
- "sha256": "bea7fac256b15e8c0fe14239db6ad755bfd92c0b069e085fa586b93f81ee075c",
44
+ "sha256": "c59565b8a857807016b306516c86b6e7ad4bb78621bd8d6119e6aa38effb33ea",
45
45
  "width": 1280,
46
46
  "height": 720,
47
47
  "capturedOn": "2026-11-01",
48
- "sourceVersion": "0.2.91"
48
+ "sourceVersion": "0.2.92"
49
49
  },
50
50
  {
51
51
  "path": "docs/screenshots/en/05-unified-tool-search.png",
52
- "sha256": "53f77a9257408c1bfe1d5457ccfc682d87d14c36ec1a23ce64773a1cb9a3b64e",
52
+ "sha256": "86f94bd6515928bc60af583f8ea272c0926c59b495411ef5d218b9c56f687837",
53
53
  "width": 1280,
54
54
  "height": 720,
55
55
  "capturedOn": "2026-11-01",
56
- "sourceVersion": "0.2.91"
56
+ "sourceVersion": "0.2.92"
57
57
  },
58
58
  {
59
59
  "path": "docs/screenshots/en/06-tool-parameters.png",
60
- "sha256": "aa82fa51e8a6ad9b4131562c295c04428c4eb27e7e5fba1056d040d19b042ae9",
60
+ "sha256": "6d334bb9f85a5851bf7e20dc9f0d2e52f075b1699d14fd1a5a32babfdc156180",
61
61
  "width": 1280,
62
62
  "height": 720,
63
63
  "capturedOn": "2026-11-01",
64
- "sourceVersion": "0.2.91"
64
+ "sourceVersion": "0.2.92"
65
65
  },
66
66
  {
67
67
  "path": "docs/screenshots/en/07-connection-diagnostics.png",
68
- "sha256": "9e6fea076cb251ae29d78d0f6b3d24c414dfc8f81fbf9a3cc8dc481ff3636d3f",
68
+ "sha256": "de3ef9f1cdb9bf4e1ceb9ec96108702cdd5e8de83f095351664ac39b1b2ecc06",
69
69
  "width": 1280,
70
70
  "height": 720,
71
71
  "capturedOn": "2026-11-01",
72
- "sourceVersion": "0.2.91"
72
+ "sourceVersion": "0.2.92"
73
73
  },
74
74
  {
75
75
  "path": "docs/screenshots/en/08-ten-recommendations.jpg",
76
- "sha256": "6e24bb5dfe00c9ac0ba7086626e5dfe6ae2d0539f74327513a2e2f1f9920d4d9",
76
+ "sha256": "b68735143f1d1c6a11d48844cca7889f71fe57f398df193fcfdaffe8a1b0083d",
77
77
  "width": 1280,
78
78
  "height": 1400,
79
79
  "browserViewport": {
@@ -82,16 +82,16 @@
82
82
  },
83
83
  "panelHeight": 1280,
84
84
  "capturedOn": "2026-11-01",
85
- "sourceVersion": "0.2.91"
85
+ "sourceVersion": "0.2.92"
86
86
  }
87
87
  ],
88
88
  "demo": {
89
89
  "path": "docs/screenshots/en/demo.gif",
90
- "sha256": "cc8d00137fd05c3c1da7ebc05f16e241845759be45d845ae306ed9b44303423c",
90
+ "sha256": "6de900393cf571ea49640b12a6c84d82b73da69e53eb2da993f0b24b7ac94da3",
91
91
  "width": 960,
92
92
  "height": 540,
93
93
  "capturedOn": "2026-11-01",
94
- "sourceVersion": "0.2.91",
94
+ "sourceVersion": "0.2.92",
95
95
  "durationSeconds": 36
96
96
  }
97
97
  }
Binary file
@@ -8,7 +8,7 @@
8
8
 
9
9
  | 项目 | 验收要求 |
10
10
  |---|---|
11
- | 前提 | <!-- generated:version -->正式 `dsh-mcp-connector@0.2.91`<!-- /generated:version -->;当前 Workspace;企查查 OAuth 可用;测试账号具有目标企业数据权限 |
11
+ | 前提 | <!-- generated:version -->正式 `dsh-mcp-connector@0.2.92`<!-- /generated:version -->;当前 Workspace;企查查 OAuth 可用;测试账号具有目标企业数据权限 |
12
12
  | 权限/管理员 | 账号权限、组织授权和可见字段由服务商控制;企业组织可能需要管理员开通,当前文档不能替代审批 |
13
13
  | 费用 | 可能受套餐、次数或字段权限影响;MCP连接器无法确认本次费用,调用前在服务商侧核对 |
14
14
  | 运行/数据去向 | 远程 MCP Server;企业名称、查询参数和调用结果经 DSH Host 发送到/返回自 `agent.qcc.com` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-mcp-connector",
3
- "version": "0.2.91",
3
+ "version": "0.2.92",
4
4
  "description": "DeepSeek Harness MCP Connector: connect servers, search tools across active connections, and troubleshoot discovery. Includes a continuously updated catalog; supports OAuth 2.0 PKCE, API keys, Streamable HTTP/stdio, and mcpServers JSON import.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
package/ui/index.html CHANGED
@@ -123,7 +123,10 @@
123
123
  .stats .count { font-size: 13px; color: var(--text-2); }
124
124
  .stats .count strong { color: var(--text); font-weight: 600; }
125
125
  .market-nav { flex: 0 0 100%; min-width: 0; order: 4; }
126
- .market-filters { position: static; display: flex; align-items: center; }
126
+ .market-filters { position: static; min-width: 0; width: 100%; display: flex; align-items: center; gap: 5px; }
127
+ .category-arrow { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; font-size: 20px; }
128
+ .category-arrow:disabled { opacity: .3; cursor: default; }
129
+ .category-arrow[hidden] { display: none; }
127
130
  .filter-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
128
131
  .filter-chip {
129
132
  border: 1px solid var(--line); background: var(--bg); color: var(--text-2);
@@ -131,7 +134,8 @@
131
134
  }
132
135
  .filter-chip:hover { border-color: var(--accent); color: var(--accent); }
133
136
  .filter-chip.active { border-color: var(--accent); background: var(--accent-light); color: var(--accent); font-weight: 600; }
134
- .category-chips { width: 100%; display: flex; gap: 5px; flex-wrap: nowrap; overflow: visible; }
137
+ .category-chips { flex: 1 1 0; min-width: 0; display: flex; gap: 5px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
138
+ .category-chips::-webkit-scrollbar { display: none; }
135
139
  .category-chip { flex: 0 0 auto; padding-inline: 9px; }
136
140
 
137
141
  /* Grouped marketplace */
@@ -466,7 +470,7 @@
466
470
  .injection-select { margin-left: 52px; }
467
471
  .form-row { grid-template-columns: 1fr; gap: 0; }
468
472
  .market-filters { align-items: stretch; }
469
- .category-chips { flex-wrap: wrap; }
473
+ .category-chips { flex-wrap: nowrap; }
470
474
  }
471
475
 
472
476
  .sharing-experience { color: var(--text); font-size: 13px; }
@@ -1101,6 +1105,8 @@
1101
1105
  "工具详情": "Tool details",
1102
1106
  "连接策略": "Connection policy",
1103
1107
  "市场分类导航": "Marketplace category navigation",
1108
+ "查看前面的分类": "Show previous categories",
1109
+ "查看后面的分类": "Show more categories",
1104
1110
  "关闭详情": "Close details",
1105
1111
  "换一批": "Show another batch",
1106
1112
  "撤销最近变更": "Undo the last change",
@@ -2089,13 +2095,43 @@
2089
2095
 
2090
2096
  function marketFilterHtml() {
2091
2097
  const categoryChips = CATEGORIES.map((cat) => `<button class="filter-chip category-chip ${cat.value === marketCategory ? 'active' : ''}" type="button" data-category-filter="${esc(cat.value)}" aria-pressed="${cat.value === marketCategory ? 'true' : 'false'}">${esc(t(cat.label))}</button>`).join('');
2092
- return `<div class="market-filters" role="group" aria-label="${t('市场分类')}"><div class="filter-chips category-chips" role="group" aria-label="${t('按分类筛选')}">${categoryChips}</div></div>`;
2098
+ return `<div class="market-filters" role="group" aria-label="${t('市场分类')}"><button type="button" class="category-arrow" data-category-direction="-1" aria-label="${t('查看前面的分类')}" title="${t('查看前面的分类')}" hidden>‹</button><div class="filter-chips category-chips" role="group" aria-label="${t('按分类筛选')}">${categoryChips}</div><button type="button" class="category-arrow" data-category-direction="1" aria-label="${t('查看后面的分类')}" title="${t('查看后面的分类')}" hidden>›</button></div>`;
2099
+ }
2100
+
2101
+ function updateCategoryArrows() {
2102
+ const rail = $('#market-nav .category-chips');
2103
+ if (!rail) return;
2104
+ const arrows = [...document.querySelectorAll('#market-nav .category-arrow')];
2105
+ // Measure the full available width to avoid arrow visibility oscillating on resize.
2106
+ const available = rail.parentElement.clientWidth;
2107
+ const overflow = rail.scrollWidth > available + 1;
2108
+ arrows.forEach(button => { button.hidden = !overflow; });
2109
+ arrows[0].disabled = rail.scrollLeft <= 1;
2110
+ arrows[1].disabled = rail.scrollLeft + rail.clientWidth >= rail.scrollWidth - 1;
2093
2111
  }
2094
2112
 
2095
2113
  function syncMarketNav() {
2096
2114
  const nav = $('#market-nav');
2115
+ if (view === 'market' && nav.querySelector('.category-chips')) {
2116
+ nav.hidden = false;
2117
+ nav.querySelectorAll('[data-category-filter]').forEach(button => {
2118
+ const active = button.dataset.categoryFilter === marketCategory;
2119
+ button.classList.toggle('active', active);
2120
+ button.setAttribute('aria-pressed', String(active));
2121
+ });
2122
+ updateCategoryArrows();
2123
+ return;
2124
+ }
2125
+ const previousScroll = nav.querySelector('.category-chips')?.scrollLeft || 0;
2097
2126
  nav.hidden = view !== 'market';
2098
2127
  nav.innerHTML = view === 'market' ? marketFilterHtml() : '';
2128
+ const rail = nav.querySelector('.category-chips');
2129
+ if (rail) {
2130
+ updateCategoryArrows();
2131
+ rail.scrollLeft = previousScroll;
2132
+ rail.addEventListener('scroll', updateCategoryArrows, {passive: true});
2133
+ updateCategoryArrows();
2134
+ }
2099
2135
  }
2100
2136
 
2101
2137
  function setTabCount(tab, count) {
@@ -3381,6 +3417,12 @@
3381
3417
 
3382
3418
  $('#add-connection').addEventListener('click', () => openAddConnection('json'));
3383
3419
  $('#market-nav').addEventListener('click', (event) => {
3420
+ const arrow = event.target.closest('[data-category-direction]');
3421
+ if (arrow) {
3422
+ const rail = $('#market-nav .category-chips');
3423
+ rail.scrollBy({left: Number(arrow.dataset.categoryDirection) * Math.max(100, rail.clientWidth * .8), behavior: window.matchMedia('(prefers-reduced-motion: reduce)').matches ? 'instant' : 'smooth'});
3424
+ return;
3425
+ }
3384
3426
  const categoryFilter = event.target.closest('[data-category-filter]');
3385
3427
  if (categoryFilter) {
3386
3428
  marketCategory = categoryFilter.dataset.categoryFilter || '';
@@ -3388,6 +3430,7 @@
3388
3430
  loadMarket({ checkHealth: false });
3389
3431
  }
3390
3432
  });
3433
+ new ResizeObserver(updateCategoryArrows).observe($('#market-nav'));
3391
3434
  main.addEventListener('click', (event) => {
3392
3435
  const sectionToggle = event.target.closest('[data-section-toggle]');
3393
3436
  if (sectionToggle) {