Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(issues): remove sidebar PR linking help (#8469)
Jiayuan Zhang9663b4a87b5d
diff --git a/packages/views/issues/components/pull-request-list.tsx b/packages/views/issues/components/pull-request-list.tsxindex 683bf1ba36..aabbb66e2f 100644--- a/packages/views/issues/components/pull-request-list.tsx+++ b/packages/views/issues/components/pull-request-list.tsx@@ -54,15 +54,9 @@ export function PullRequestList({ issueId }: { issueId: string }) {}if (prs.length === 0) {return (- <div className="px-2 text-caption text-muted-foreground">- <p>{t(($) => $.detail.pull_requests_empty_title)}</p>- <details className="mt-1">- <summary className="cursor-pointer rounded-sm py-2 focus-visible:outline-2 focus-visible:outline-ring">- {t(($) => $.detail.pull_requests_help)}- </summary>- <p className="mt-1">{t(($) => $.detail.pull_requests_empty)}</p>- </details>- </div>+ <p className="px-2 text-caption text-muted-foreground">+ {t(($) => $.detail.pull_requests_empty_title)}+ </p>);}diff --git a/packages/views/locales/en/issues.json b/packages/views/locales/en/issues.jsonindex 328fe34c9f..e6c46a3cb8 100644--- a/packages/views/locales/en/issues.json+++ b/packages/views/locales/en/issues.json@@ -386,7 +386,6 @@"quick_action_blocked_body": "“{{name}}” runs as an agent you’re not allowed to trigger. Ask a workspace admin to make that agent available to the team, or to point this action at a shared one.","quick_action_blocked_ok": "Got it","pull_requests_loading": "Loading…",- "pull_requests_empty": "No linked pull requests yet. Put this issue's identifier in a PR's branch name or title, or write it after Closes in the PR body, to auto-link it.","pull_request_state_open": "Open","pull_request_state_draft": "Draft","pull_request_state_merged": "Merged",@@ -459,8 +458,7 @@"project_directory_path_copied_with_branch": "Project directory path copied — work is on {{branch}}","workdir_path_copy_failed": "Failed to copy workdir path","workdir_path_unavailable": "No local workdir yet — issue has not been run by a local agent",- "pull_requests_empty_title": "No linked pull requests.",- "pull_requests_help": "How to link a PR"+ "pull_requests_empty_title": "No linked pull requests."},"timeline": {"loading": "Loading..."diff --git a/packages/views/locales/fr/issues.json b/packages/views/locales/fr/issues.jsonindex 419ad6b1d7..6f4430db3f 100644--- a/packages/views/locales/fr/issues.json+++ b/packages/views/locales/fr/issues.json@@ -386,7 +386,6 @@"quick_action_blocked_body": "« {{name}} » s'exécute sous un agent que vous n'êtes pas autorisé à déclencher. Demandez à un administrateur de l'espace de travail de rendre cet agent accessible à l'équipe, ou de rattacher cette action à un agent partagé.","quick_action_blocked_ok": "Compris","pull_requests_loading": "Chargement…",- "pull_requests_empty": "Aucune pull request associée pour l'instant. Insérez l'identifiant de cette tâche dans le nom de branche ou le titre d'une PR, ou après Closes dans sa description, pour l'associer automatiquement.","pull_request_state_open": "Ouverte","pull_request_state_draft": "Brouillon","pull_request_state_merged": "Fusionnée",@@ -459,8 +458,7 @@"project_directory_path_copied_with_branch": "Chemin du répertoire du projet copié — le travail se trouve sur {{branch}}","workdir_path_copy_failed": "Échec de la copie du chemin du répertoire de travail","workdir_path_unavailable": "Aucun répertoire de travail local — cette tâche n'a pas encore été traitée par un agent local",- "pull_requests_empty_title": "Aucune pull request associée.",- "pull_requests_help": "Comment associer une PR"+ "pull_requests_empty_title": "Aucune pull request associée."},"timeline": {"loading": "Chargement..."diff --git a/packages/views/locales/ja/issues.json b/packages/views/locales/ja/issues.jsonindex 55ce03f7f7..0eff31e6ef 100644--- a/packages/views/locales/ja/issues.json+++ b/packages/views/locales/ja/issues.json@@ -382,7 +382,6 @@"quick_action_blocked_body": "「{{name}}」は、あなたが実行を許可されていないエージェントで動作します。ワークスペース管理者にそのエージェントをチームへ公開してもらうか、共有エージェントへの変更を依頼してください。","quick_action_blocked_ok": "了解","pull_requests_loading": "読み込み中...",- "pull_requests_empty": "まだリンクされた Pull request がありません。このタスクの識別子を PR のブランチ名かタイトルに入れるか、本文で Closes の直後に書くと、自動的にリンクされます。","pull_request_state_open": "オープン","pull_request_state_draft": "ドラフト","pull_request_state_merged": "マージ済み",@@ -454,8 +453,7 @@"project_directory_path_copied_with_branch": "プロジェクトディレクトリのパスをコピーしました — 作業は {{branch}} ブランチにあります","workdir_path_copy_failed": "作業ディレクトリのパスをコピーできませんでした","workdir_path_unavailable": "まだローカルの作業ディレクトリがありません。ローカルエージェントがこのタスクを実行していません",- "pull_requests_empty_title": "関連する PR はありません。",- "pull_requests_help": "PR の関連付け方法"+ "pull_requests_empty_title": "関連する PR はありません。"},"timeline": {"loading": "読み込み中..."diff --git a/packages/views/locales/ko/issues.json b/packages/views/locales/ko/issues.jsonindex 3130f45e15..2943dcf699 100644--- a/packages/views/locales/ko/issues.json+++ b/packages/views/locales/ko/issues.json@@ -382,7 +382,6 @@"quick_action_blocked_body": "“{{name}}”은(는) 트리거 권한이 없는 에이전트로 실행됩니다. 워크스페이스 관리자에게 해당 에이전트를 팀에 공개하거나 공유 에이전트로 변경해 달라고 요청하세요.","quick_action_blocked_ok": "확인","pull_requests_loading": "불러오는 중...",- "pull_requests_empty": "아직 연결된 Pull request가 없습니다. 이 태스크 식별자를 PR 브랜치 이름이나 제목에 넣거나, 본문에서 Closes 바로 뒤에 적으면 자동으로 연결됩니다.","pull_request_state_open": "열림","pull_request_state_draft": "초안","pull_request_state_merged": "병합됨",@@ -454,8 +453,7 @@"project_directory_path_copied_with_branch": "프로젝트 디렉터리 경로를 복사했습니다 — 작업은 {{branch}} 브랜치에 있습니다","workdir_path_copy_failed": "작업 디렉터리 경로를 복사하지 못했습니다","workdir_path_unavailable": "아직 로컬 작업 디렉터리가 없습니다. 로컬 에이전트가 이 태스크를 실행하지 않았습니다",- "pull_requests_empty_title": "연결된 PR이 없습니다.",- "pull_requests_help": "PR 연결 방법"+ "pull_requests_empty_title": "연결된 PR이 없습니다."},"timeline": {"loading": "불러오는 중..."diff --git a/packages/views/locales/zh-Hans/issues.json b/packages/views/locales/zh-Hans/issues.jsonindex e54227a987..428060df70 100644--- a/packages/views/locales/zh-Hans/issues.json+++ b/packages/views/locales/zh-Hans/issues.json@@ -382,7 +382,6 @@"quick_action_blocked_body": "\"{{name}}\"由一个你无权触发的智能体执行。可以请工作区管理员把该智能体开放给团队,或把这条操作改绑一个共享的智能体。","quick_action_blocked_ok": "知道了","pull_requests_loading": "加载中...",- "pull_requests_empty": "还没有关联的 PR。把本任务的 identifier 写进 PR 的分支名或标题,或者在正文里写在 Closes 后面,即可自动关联。","pull_request_state_open": "Open","pull_request_state_draft": "Draft","pull_request_state_merged": "Merged",@@ -454,8 +453,7 @@"workdir_path_unavailable": "暂无本地 workdir — 这个任务还没被本地智能体运行过","unsubscribe_subtree_succeeded": "已取消订阅此任务及其子任务。","subscription_update_failed": "无法更新订阅状态,请重试。",- "pull_requests_empty_title": "暂无关联 PR。",- "pull_requests_help": "如何关联 PR"+ "pull_requests_empty_title": "暂无关联 PR。"},"timeline": {"loading": "加载中…"