Skip to content

Feat/cloud region picker typography - #3012

Closed
seed30 wants to merge 6 commits into
mainfrom
feat/cloud-region-picker-typography
Closed

seed30 wants to merge 6 commits into
mainfrom
feat/cloud-region-picker-typography

Conversation

@seed30

@seed30 seed30 commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

优化「工作台 — 云服务器」页面的地域筛选与整体排版:

  1. 地域选择器重做(RegionPicker 新组件):用控制台风格的下拉面板替换原来的 antd Select,
    包含「最近访问 + 按大区分组的报纸式多栏」布局,每个地域后显示节点数量,
    只有有节点的地域才显示红色圆点。
  2. 节点侧栏折叠手柄:复用共享组件 RailEdgeControl,与对话页侧栏折叠手感一致,
    替换原先标题行里的图标按钮。
  3. 隐藏未授权时的「未授权」灰 Tag:与页面中央的空态引导重复,未授权时不再渲染。
  4. 字号归一:把云服务器页混杂的 7/10/10.5/11/12/12.5px 统一为 12px(辅助信息/标签)
    与 13px(正文/名称/卡片标题)两档,去掉 mono + 全大写 + 低透明度的终端风样式。
  5. 多语言:新增 cloud.region* 中英文案。

Target branch

  • Base is develop (feature / fix — default)
  • Base is main (release/* or hotfix/* only)

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Refactor / chore
  • Release / hotfix

Test plan

验证过的命令(在 Octop/dashboard 下执行):

  • npx tsc -b — 通过(0 error)
  • npx eslint src/pages/Control/CloudHosts/index.tsx src/pages/Control/CloudHosts/components/RegionPicker.tsx — 通过
  • npx prettier --check ... — 通过(已 --write 格式化新文件)
  • NODE_ENV=production NODE_OPTIONS="--max-old-space-size=4096" npm run build — 构建成功
  • make all passes locally — 未运行(发布门槛,含 format-all + lint + typecheck + 全量 test,
    本地按上述更轻量方式逐项替代验证;若要求 CI 同款门槛可补跑)
  • Added/updated tests — 未新增测试;本次为纯 UI/样式改动,
    且 CloudHosts 页面此前无对应单测覆盖

Checklist

  • Updated CHANGELOG.md (if user-facing) — 未更新,需要时我再补一条
  • README / docs updated (if needed) — 无需(纯前端 UI 调整,无 API/配置变更)

liukewia and others added 6 commits November 16, 2026 11:57
….0.3b6

chore: sync main into develop after 1.0.3b6
Issuers with a path component were requesting …/path/.well-known/… (404),
so custom MCP probes never offered OAuth. Build the metadata URL with the
well-known segment between host and path, and keep any query already on
the authorization endpoint when appending OAuth params.
Screenshots are attached on the PR via GitHub user-attachments instead.
…ta-url

fix(connectors): discover path-scoped MCP OAuth metadata per RFC 8414
…hem (#2960)

LangGraph's Postgres checkpoint tables are shared by every agent and host on
a DSN and record no owner. `octop chats gc-orphans --yes` compared the whole
table with one agent's thread list and deleted other agents' live
conversations; `memory slim` deleted checkpoints and namespaces in every
Postgres database an agent pointed at, including ones shared with other
installs.

Postgres is now count-only on both paths:
- gc-orphans counts the control-plane database read-only (no Memory, no
  saver setup), attributes rows by metadata agent_id and checks them against
  every agent's threads. Agents whose DSN is not exactly the control-plane
  conninfo are not scanned. Both appear in `skipped`.
- memory slim's sweep reports `postgres_kept` (orphan threads, stale
  namespaces in octop_memory) and `skipped_databases`. It no longer touches
  the pre-rename harness_memory schema, which still holds unmigrated memory.
- CLI text and the /memory slim status show these counts; gc-orphans output
  goes through the zh/en bundles.
- PG test fixture only swaps the database name and drops every database it
  created.

SQLite behavior is unchanged.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ypography

- Replace the region <Select> with a console-style picker: a "recent +
  area-grouped multicol" panel showing per-region node counts, with a red
  dot only on regions that actually have nodes
- Collapse the node rail via the shared RailEdgeControl handle (same visual
  as the chat sidebar) instead of the header icon button
- Hide the redundant "未授权" tag in the toolbar when the cloud credential
  is not authorized
- Normalize font sizes across the cloud hosts page to 12px/13px tiers,
  dropping the mixed mono/uppercase/low-opacity terminal styling
- Add cloud.region* i18n keys (zh/en)
@github-actions

Copy link
Copy Markdown
Contributor

请把这个变更重新提交到 develop。功能修改和问题修复都要指向 develop,不要直接指向 main。

Please open this change against develop instead of main.

@github-actions github-actions Bot closed this Nov 17, 2026
@seed30 seed30 reopened this Nov 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

请把这个变更重新提交到 develop。功能修改和问题修复都要指向 develop,不要直接指向 main。

Please open this change against develop instead of main.

@github-actions github-actions Bot closed this Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants