Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Fix main after the UI polish: Chinese 'Untitled chat', and the Apps logos aren't a hidden action (#4943)

Milind Soni45e50f3715de
diff --git a/src/components/TaskPicker.test.ts b/src/components/TaskPicker.test.ts
index 19dbc1f752..2f13bb9089 100644
--- a/src/components/TaskPicker.test.ts
+++ b/src/components/TaskPicker.test.ts
@@ -76,9 +76,9 @@ describe("filterTasks", () => {
afterEach(() => { setLocale(previousLocale); });
it.each([
- ["zh", "New thread", "新建对话"],
+ ["zh", "New thread", "未命名对话"],
["zh", "Shared chat", "共享聊天"],
- ["zh-tw", "New thread", "新增對話"],
+ ["zh-tw", "New thread", "未命名對話"],
["zh-tw", "Shared chat", "共享聊天"],
])("matches %s display title for %s while preserving raw search and prefix ranking", async (locale, raw, displayed) => {
expect(await loadLocale(locale)).toBe(locale);
diff --git a/src/components/touch-actions.test.ts b/src/components/touch-actions.test.ts
index fe76b00918..4a577a02f8 100644
--- a/src/components/touch-actions.test.ts
+++ b/src/components/touch-actions.test.ts
@@ -25,6 +25,7 @@ const notActions: Array<{ file: string; snippet: string; why: string }> = [
{ file: "components/bot-panel/PanelHero.tsx", snippet: "whitespace-nowrap rounded-md border border-hairline bg-menu", why: "\"Edit avatar\" tooltip; the avatar button itself is the tap target" },
{ file: "components/ChatView.tsx", snippet: "-ml-2.5 w-0 shrink-0 text-ink-secondary", why: "decorative chevron in the Simple bot pill; the whole pill is the tap target" },
{ file: "components/RoomHeader.tsx", snippet: "-ml-1 w-0 shrink-0 text-ink-secondary", why: "decorative chevron on the Simple room name; the whole name is the tap target" },
+ { file: "components/SidebarConnectApps.tsx", snippet: "opacity-60 grayscale", why: "decorative app logos, already visible at 60% without hover; the whole Apps row is the tap target" },
{ file: "components/PlacesRail.tsx", snippet: "h-2 opacity-0 group-hover/tile:opacity-100", why: "decorative pill beside a rail tile on hover; the tile is the tap target and has its own focus ring" },
];
diff --git a/src/locales/source-hashes.json b/src/locales/source-hashes.json
index 60d2101119..5562699890 100644
--- a/src/locales/source-hashes.json
+++ b/src/locales/source-hashes.json
@@ -41194,7 +41194,8 @@
"server.connect.emailOutgoingNote": "a4a9c913ec6e782b729b668fb53e799b131d0442bcbf43405f332607c7bd482b",
"server.connect.emailOutgoingPlaceholder": "4bb31e7a93129511e0ed4d2e47296f0cc8f602f9c03e61b2f8ddcd7169242c68",
"connect.checking": "ed56f22b046c20ebb7533d3c8200388572b5e2c979f4f3081e9f1c1d858a8cf0",
- "native.connect.localNetwork": "cc56fca3ebf551f882e7a60c6d146c1681ca530531dc80250908d591d2b0000a"
+ "native.connect.localNetwork": "cc56fca3ebf551f882e7a60c6d146c1681ca530531dc80250908d591d2b0000a",
+ "task.untitledChat": "4d4e126c2185da5e86b7478f0f12fc30009339941ef0d8627959aeb4641b6f69"
},
"zh-tw": {
"whop.description": "1a07cf04ef17029448d3781415cbac16d54e66b821907a40d94e0e6349710e70",
@@ -51005,7 +51006,8 @@
"connect.checking": "ed56f22b046c20ebb7533d3c8200388572b5e2c979f4f3081e9f1c1d858a8cf0",
"backup.serverRestarting": "87acdeac7f4a0d79c9991c75c303459ab5fe9ab8171d762f0a92a8368c447ad8",
"backup.serverRestartSlow": "6c3051a9ea04b2e6157c376b2359866c0038915ce7f77064b3e792d38d3cfb9c",
- "native.connect.localNetwork": "cc56fca3ebf551f882e7a60c6d146c1681ca530531dc80250908d591d2b0000a"
+ "native.connect.localNetwork": "cc56fca3ebf551f882e7a60c6d146c1681ca530531dc80250908d591d2b0000a",
+ "task.untitledChat": "4d4e126c2185da5e86b7478f0f12fc30009339941ef0d8627959aeb4641b6f69"
},
"uk": {
"pro.fromPrice": "a48a04a457d60b08b54fc83e7a6c4584ffedb1e23621859084900c8521a3af7b",
diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.json
index ef45072d57..6643c4ce3f 100644
--- a/src/locales/zh-tw.json
+++ b/src/locales/zh-tw.json
@@ -3090,6 +3090,7 @@
"attach.unavailable": "無法使用",
"task.chip": "對話",
"task.newShort": "新增對話",
+ "task.untitledChat": "未命名對話",
"task.sharedChat": "共享聊天",
"task.untitledConversation": "新對話",
"task.matching": "{count} 個符合的對話",
diff --git a/src/locales/zh.json b/src/locales/zh.json
index cb2cb8d8c2..949db0a5f9 100644
--- a/src/locales/zh.json
+++ b/src/locales/zh.json
@@ -2923,6 +2923,7 @@
"attach.unavailable": "不可用",
"task.chip": "对话",
"task.newShort": "新建对话",
+ "task.untitledChat": "未命名对话",
"task.sharedChat": "共享聊天",
"task.untitledConversation": "新对话",
"task.matching": "{count} 个匹配的对话",