Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(rail): give the Docs tile a label that fits in every language (MUL-9958) (#11289)
Jiayuan Zhang5bd6ab5c2f3c
diff --git a/e2e/app-rail-labels-locales.spec.ts b/e2e/app-rail-labels-locales.spec.tsindex 7c59063cc3..25ef937596 100644--- a/e2e/app-rail-labels-locales.spec.ts+++ b/e2e/app-rail-labels-locales.spec.ts@@ -8,10 +8,11 @@ import { TestApiClient } from "./fixtures";// friends were cut to "Autop…" there, so each language's `rail.*` label is a// short name that must fit whole; the full name stays in the tooltip. A// selected tile sets its label in a heavier weight, so every tile is checked-// while it is selected too. Docs is left out while it sits behind the-// `docs_v1` flag. Larger Appearance font sizes are not covered: the label-// grows with them and the tile does not.-const SPACES = ["work", "team", "chat", "autopilots"] as const;+// while it is selected too. The Docs tile renders only with the `docs_v1`+// flag on, so run this with `FF_DOCS_V1=true`, as CI's e2e job does. Larger+// Appearance font sizes are not covered: the label grows with them and the+// tile does not.+const SPACES = ["work", "docs", "team", "chat", "autopilots"] as const;const railLabels = Object.fromEntries(SUPPORTED_LOCALES.map((locale) => {diff --git a/packages/views/locales/es/layout.json b/packages/views/locales/es/layout.jsonindex d7fd782e0e..84d721d347 100644--- a/packages/views/locales/es/layout.json+++ b/packages/views/locales/es/layout.json@@ -124,7 +124,7 @@"copy_workspace_link": "Copiar enlace del espacio de trabajo","workspace_meta_one": "{{slug}} · {{count}} miembro","workspace_meta_other": "{{slug}} · {{count}} miembros",- "docs": "Documentos"+ "docs": "Docs"},"bottom_bar": {"label": "Barra de estado",diff --git a/packages/views/locales/fr/layout.json b/packages/views/locales/fr/layout.jsonindex f226845d66..c16fbfc72e 100644--- a/packages/views/locales/fr/layout.json+++ b/packages/views/locales/fr/layout.json@@ -124,7 +124,7 @@"copy_workspace_link": "Copier le lien de l’espace de travail","workspace_meta_one": "{{slug}} · {{count}} membre","workspace_meta_other": "{{slug}} · {{count}} membres",- "docs": "Documents"+ "docs": "Docs"},"bottom_bar": {"label": "Barre d'état",diff --git a/packages/views/locales/ja/layout.json b/packages/views/locales/ja/layout.jsonindex ea732c4963..98173c2d0a 100644--- a/packages/views/locales/ja/layout.json+++ b/packages/views/locales/ja/layout.json@@ -122,7 +122,7 @@"reset_order": "デフォルトの順序に戻す","copy_workspace_link": "ワークスペースのリンクをコピー","workspace_meta_other": "{{slug}} · メンバー {{count}} 人",- "docs": "ドキュメント"+ "docs": "文書"},"bottom_bar": {"label": "ステータスバー",diff --git a/packages/views/locales/ru/layout.json b/packages/views/locales/ru/layout.jsonindex e7421446b7..f7e29fe3d0 100644--- a/packages/views/locales/ru/layout.json+++ b/packages/views/locales/ru/layout.json@@ -96,7 +96,7 @@"workspace_meta_few": "{{slug}} · {{count}} участника","workspace_meta_many": "{{slug}} · {{count}} участников","workspace_meta_other": "{{slug}} · {{count}} участника",- "docs": "Документы"+ "docs": "Доки"},"bottom_bar": {"label": "Строка состояния",