web: friendlier first screen for people without a server

- Connect dialog no longer prefills "localhost" (always rejected on the
  public gateway); empty field with an example placeholder instead.
- Empty channel tree on desktop gets a Connect button and, outside the demo,
  a "No server? Try the demo" link.
- While a connection is being set up the tree shows a spinner,
  "Connecting to <host>…" and a Cancel button instead of "Not connected".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
MoepchiandClaude Opus 5.5 committed 2026-11-20 03:39:51 +00:00
1 parent 4afab66d6b
commit e96eb62d90
8 files changed
+75 -2

No files matched your search

+3
View File
@@ -56,6 +56,7 @@
"away.setGlobalStatus": "设置全局离开状态",
"connect.title": "连接",
"connect.serverAddress": "服务器昵称或地址:",
"connect.hostPlaceholder": "例如 ts.example.com:9987",
"connect.serverPassword": "服务器密码:",
"connect.nickname": "昵称:",
"connect.phoneticNickname": "昵称读音:",
@@ -368,6 +369,8 @@
"tree.search": "搜索频道和用户",
"tree.label": "频道",
"tree.notConnected": "未连接",
"tree.connectingTo": "正在连接到 {host}…",
"tree.tryDemo": "没有服务器?试试演示版",
"tree.clickToSelect": "单击选择,双击加入",
"tree.clickToJoin": "双击加入",
"tree.joinNotConnected": "未连接 — 无法切换频道",