Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
feat(inbox): an Inbox bar under the issue header; drop Mark as done and Pin (MUL-9790) (#11136)
Jiayuan Zhang819dacb38636
diff --git a/apps/docs/components/demos/inbox-demo.tsx b/apps/docs/components/demos/inbox-demo.tsxindex f86bcd90bb..ffad7f9f5b 100644--- a/apps/docs/components/demos/inbox-demo.tsx+++ b/apps/docs/components/demos/inbox-demo.tsx@@ -48,7 +48,6 @@ type Copy = {selectPrompt: string;markRead: string;markUnread: string;- markDone: string;archive: string;archivedToast: string;runFailed: string;@@ -60,7 +59,7 @@ type Copy = {captions: Record<Phase, string>;};-type Phase = "idle" | "start" | "opened" | "archived" | "done" | "menu" | "archivedView";+type Phase = "idle" | "start" | "opened" | "archived" | "archivedAgain" | "menu" | "archivedView";const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {en: {@@ -113,7 +112,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {selectPrompt: "Open a notification from the Inbox",markRead: "Mark as read",markUnread: "Mark as unread",- markDone: "Mark as done",archive: "Archive",archivedToast: "Notification archived",runFailed: "Run failed",@@ -127,8 +125,9 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {opened:"The issue opened at the comment. The notification turned read and stayed in the list. When you're done with it, click Archive (E).",archived:- "The row left the Inbox and the next notification opened: the draft is in. Click Mark as done to finish the issue.",- done: "You marked the issue done, so its notification was archived and the next one opened. Archived notifications are in the section's ⋯ menu. Click ⋯.",+ "The row left the Inbox and the next notification opened: the draft is in. Once you've read it, archive this one too (E). Archiving never changes the issue's status.",+ archivedAgain:+ "That notification left too and the next one opened. The draft stays In Review until you change the issue's Status. Archived notifications are in the section's ⋯ menu. Click ⋯.",menu: "The ⋯ menu holds View archived and the bulk actions. Click View archived.",archivedView:"Archived notifications keep their read state, and you can unarchive any of them here. Use Replay to watch again.",@@ -184,7 +183,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {selectPrompt: "从收件箱打开一条通知",markRead: "标为已读",markUnread: "标为未读",- markDone: "标记为已完成",archive: "归档",archivedToast: "已归档通知",runFailed: "运行失败",@@ -196,8 +194,8 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {idle: "和你有关的通知在工作面板的最上方。",start: "三条未读通知。打开有人 @你 的那一条。",opened: "任务打开并定位到那条评论。通知变为已读,但仍留在列表里。处理完点\"归档\"(E)。",- archived: "这一行离开了收件箱,下一条通知自动打开:初稿到了。点\"标记为已完成\"结束这个任务。",- done: "你把任务标记为已完成,这条通知随之归档,下一条自动打开。已归档的通知在分区的 ⋯ 菜单里。点 ⋯。",+ archived: "这一行离开了收件箱,下一条通知自动打开:初稿到了。看完也点\"归档\"(E)。归档不会改变任务的状态。",+ archivedAgain: "这条通知也归档了,下一条自动打开。初稿仍是审核中,直到你在任务的\"状态\"里修改。已归档的通知在分区的 ⋯ 菜单里。点 ⋯。",menu: "⋯ 菜单里有\"查看已归档\"和批量操作。点\"查看已归档\"。",archivedView: "已归档的通知保留已读状态,可以在这里取消归档。点右上角可以重新演示。",},@@ -252,7 +250,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {selectPrompt: "從收件箱開啟一條通知",markRead: "標為已讀",markUnread: "標為未讀",- markDone: "標記為已完成",archive: "歸檔",archivedToast: "已歸檔通知",runFailed: "執行失敗",@@ -264,8 +261,8 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {idle: "和你有關的通知在工作面板的最上方。",start: "三條未讀通知。開啟有人 @你 的那一條。",opened: "任務開啟並定位到那條評論。通知變為已讀,但仍留在列表裡。處理完點\"歸檔\"(E)。",- archived: "這一列離開了收件箱,下一條通知自動開啟:初稿到了。點\"標記為已完成\"結束這個任務。",- done: "你把任務標記為已完成,這條通知隨之歸檔,下一條自動開啟。已歸檔的通知在分區的 ⋯ 選單裡。點 ⋯。",+ archived: "這一列離開了收件箱,下一條通知自動開啟:初稿到了。看完也點\"歸檔\"(E)。歸檔不會改變任務的狀態。",+ archivedAgain: "這條通知也歸檔了,下一條自動開啟。初稿仍是審查中,直到你在任務的\"狀態\"裡修改。已歸檔的通知在分區的 ⋯ 選單裡。點 ⋯。",menu: "⋯ 選單裡有\"查看已歸檔\"和批次操作。點\"查看已歸檔\"。",archivedView: "已歸檔的通知保留已讀狀態,可以在這裡取消歸檔。點右上角可以重新播放。",},@@ -320,7 +317,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {selectPrompt: "インボックスから通知を開いてください",markRead: "既読にする",markUnread: "未読にする",- markDone: "完了にする",archive: "アーカイブ",archivedToast: "通知をアーカイブしました",runFailed: "実行失敗",@@ -340,8 +336,9 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {opened:"タスクがそのコメントの位置で開きました。通知は既読になりましたが、リストには残っています。対応が済んだら「アーカイブ」(E)をクリックします。",archived:- "行がインボックスから外れ、次の通知が開きました。初稿が届いています。「完了にする」をクリックしてタスクを終えます。",- done: "タスクを完了にしたので通知はアーカイブされ、次の通知が開きました。アーカイブした通知はセクションの ⋯ メニューから見られます。⋯ をクリックします。",+ "行がインボックスから外れ、次の通知が開きました。初稿が届いています。読んだらこれも「アーカイブ」(E)します。アーカイブしてもタスクのステータスは変わりません。",+ archivedAgain:+ "この通知もアーカイブされ、次の通知が開きました。タスクの「ステータス」を変えるまで、初稿はレビュー中のままです。アーカイブした通知はセクションの ⋯ メニューから見られます。⋯ をクリックします。",menu: "⋯ メニューには「アーカイブ済みを表示」と一括操作があります。「アーカイブ済みを表示」をクリックします。",archivedView: "アーカイブした通知は既読のまま残り、ここからアーカイブを解除できます。「もう一度」で最初から見られます。",},@@ -396,7 +393,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {selectPrompt: "인박스에서 알림을 여세요",markRead: "읽음으로 표시",markUnread: "읽지 않음으로 표시",- markDone: "완료로 표시",archive: "보관",archivedToast: "알림을 보관했습니다",runFailed: "실행 실패함",@@ -409,8 +405,10 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {start: "읽지 않은 알림이 3개 있습니다. 누군가 나를 멘션한 알림을 여세요.",opened:"태스크가 그 댓글 위치에서 열렸습니다. 알림은 읽음이 되었지만 목록에 그대로 남아 있습니다. 처리가 끝나면 '보관'(E)을 클릭하세요.",- archived: "행이 인박스에서 빠지고 다음 알림이 열렸습니다. 초안이 도착했습니다. '완료로 표시'를 클릭해 태스크를 끝내세요.",- done: "완료로 표시해서 알림이 보관되고 다음 알림이 열렸습니다. 보관된 알림은 섹션의 ⋯ 메뉴에서 볼 수 있습니다. ⋯을 클릭하세요.",+ archived:+ "행이 인박스에서 빠지고 다음 알림이 열렸습니다. 초안이 도착했습니다. 읽고 나면 이것도 '보관'(E)하세요. 보관해도 태스크의 상태는 바뀌지 않습니다.",+ archivedAgain:+ "이 알림도 보관되고 다음 알림이 열렸습니다. 태스크의 '상태'를 바꾸기 전까지 초안은 리뷰 중으로 남습니다. 보관된 알림은 섹션의 ⋯ 메뉴에서 볼 수 있습니다. ⋯을 클릭하세요.",menu: "⋯ 메뉴에는 '보관된 알림 보기'와 일괄 작업이 있습니다. '보관된 알림 보기'를 클릭하세요.",archivedView: "보관된 알림은 읽음 상태를 유지하고, 여기서 보관을 해제할 수 있습니다. '다시 보기'로 다시 볼 수 있습니다.",},@@ -465,7 +463,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {selectPrompt: "Ouvrez une notification depuis la boîte de réception",markRead: "Marquer comme lu",markUnread: "Marquer comme non lu",- markDone: "Marquer comme terminé",archive: "Archiver",archivedToast: "Notification archivée",runFailed: "Exécution en échec",@@ -485,8 +482,9 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {opened:"La tâche s'est ouverte au commentaire. La notification est devenue lue et reste dans la liste. Une fois qu'elle est traitée, cliquez sur Archiver (E).",archived:- "La ligne a quitté la boîte de réception et la notification suivante s'est ouverte : le premier jet est arrivé. Cliquez sur Marquer comme terminé pour clore la tâche.",- done: "Vous avez marqué la tâche comme terminée : sa notification a été archivée et la suivante s'est ouverte. Les notifications archivées sont dans le menu ⋯ de la section. Cliquez sur ⋯.",+ "La ligne a quitté la boîte de réception et la notification suivante s'est ouverte : le premier jet est arrivé. Une fois lu, archivez-le aussi (E). Archiver ne change jamais le statut de la tâche.",+ archivedAgain:+ "Cette notification est partie à son tour et la suivante s'est ouverte. Le premier jet reste En relecture tant que vous ne changez pas le Statut de la tâche. Les notifications archivées sont dans le menu ⋯ de la section. Cliquez sur ⋯.",menu: "Le menu ⋯ regroupe Voir les archivées et les actions groupées. Cliquez sur Voir les archivées.",archivedView:"Les notifications archivées gardent leur état de lecture et peuvent être désarchivées ici. Utilisez Rejouer pour revoir la démo.",@@ -501,7 +499,7 @@ const ARCHIVED: Record<Step, NoticeId[]> = {start: [],opened: [],archived: ["mention"],- done: ["mention", "draft"],+ archivedAgain: ["mention", "draft"],menu: ["mention", "draft"],archivedView: ["mention", "draft"],};@@ -509,7 +507,7 @@ const READ: Record<Step, NoticeId[]> = {start: ["assigned"],opened: ["assigned", "mention"],archived: ["assigned", "mention", "draft"],- done: ["assigned", "mention", "draft", "failed"],+ archivedAgain: ["assigned", "mention", "draft", "failed"],menu: ["assigned", "mention", "draft", "failed"],archivedView: ["assigned", "mention", "draft", "failed"],};@@ -517,26 +515,25 @@ const OPEN: Record<Step, NoticeId | null> = {start: null,opened: "mention",archived: "draft",- done: "failed",+ archivedAgain: "failed",menu: "failed",archivedView: null,};-type Status = "todo" | "in_progress" | "in_review" | "done";+type Status = "todo" | "in_progress" | "in_review";-function statusOf(id: NoticeId, step: Step): Status {- if (id === "draft") return ARCHIVED[step].includes("draft") ? "done" : "in_review";+function statusOf(id: NoticeId): Status {+ if (id === "draft") return "in_review";return id === "failed" ? "in_progress" : "todo";}/** Leads a row the way the issue's status icon does in the product. */function DemoStatus({ status }: { status: Status }) {- const Icon = { todo: Circle, in_progress: CircleDashed, in_review: CircleDot, done: CircleCheck }[status];+ const Icon = { todo: Circle, in_progress: CircleDashed, in_review: CircleDot }[status];const color = {todo: "text-muted-foreground",in_progress: "text-warning",in_review: "text-success",- done: "text-info",}[status];return <Icon aria-hidden className={cn("size-3.5 shrink-0", color)} />;}@@ -605,12 +602,12 @@ export function InboxDemo() {<SlidersHorizontal className="size-3.5" /></span><span className="relative">- <CoachMark active={visible && phase === "done"} quiet ringClassName="rounded-md">+ <CoachMark active={visible && phase === "archivedAgain"} quiet ringClassName="rounded-md"><buttontype="button"aria-label={t.menuLabel}aria-expanded={phase === "menu"}- disabled={phase !== "done"}+ disabled={phase !== "archivedAgain"}onClick={() => setPhase("menu")}className={cn("flex size-5 items-center justify-center rounded-md text-faint-foreground",@@ -664,7 +661,7 @@ export function InboxDemo() {)}><span className="mt-[3px] flex shrink-0">- <DemoStatus status={statusOf(notice.id, phase)} />+ <DemoStatus status={statusOf(notice.id)} /></span><span className="flex min-w-0 flex-1 flex-col"><span className="flex min-w-0 items-center gap-2 leading-5">@@ -714,10 +711,11 @@ export function InboxDemo() {<HeaderAction label={isRead(selected.id) ? t.markUnread : t.markRead} coach={false}>{isRead(selected.id) ? <CircleDot /> : <Check />}</HeaderAction>- <HeaderAction label={t.markDone} coach={phase === "archived"} onClick={() => setPhase("done")}>- <CircleCheck />- </HeaderAction>- <HeaderAction label={`${t.archive} (E)`} coach={phase === "opened"} onClick={() => setPhase("archived")}>+ <HeaderAction+ label={`${t.archive} (E)`}+ coach={phase === "opened" || phase === "archived"}+ onClick={() => setPhase(phase === "opened" ? "archived" : "archivedAgain")}+ ><Archive /></HeaderAction></span>@@ -755,7 +753,7 @@ export function InboxDemo() {.map((notice) => (<li key={notice.id} className="m-0 flex items-start gap-2 rounded-md px-2 py-1.5"><span className="mt-[3px] flex shrink-0">- <DemoStatus status={statusOf(notice.id, phase)} />+ <DemoStatus status={statusOf(notice.id)} /></span><span className="flex min-w-0 flex-1 flex-col"><span className="truncate text-body leading-5 text-muted-foreground">{notice.title}</span>diff --git a/apps/docs/content/docs/inbox.fr.mdx b/apps/docs/content/docs/inbox.fr.mdxindex 29388fedc9..a8c3492c27 100644--- a/apps/docs/content/docs/inbox.fr.mdx+++ b/apps/docs/content/docs/inbox.fr.mdx@@ -94,11 +94,11 @@ Cliquez sur une ligne pour ouvrir sa tâche au commentaire ou à la demande d'ap<InboxDemo />-Une tâche ouverte depuis la boîte de réception affiche les actions de la boîte de réception dans son en-tête :+Une tâche ouverte depuis la boîte de réception affiche une barre sous son en-tête. Elle indique qui a fait quoi, et quand, puis propose ce qui règle d'habitude la notification :+- **Statut**, **Assigné à** et **Actions rapides** modifient la tâche elle-même, comme ses propriétés. Les actions rapides apparaissent dès que l'espace de travail en a.- **Reporter** (`H`) retire la tâche de votre boîte de réception jusqu'à l'heure choisie et ouvre la suivante. Voir « Reporter une tâche » ci-dessous.-- **Marquer comme terminé** passe la tâche en `done`, archive la notification et ouvre la suivante. La notification est archivée même si **Archiver les tâches que vous terminez** est désactivé. L'action est proposée tant que la tâche n'est ni terminée ni annulée.-- **Archiver** (`E`) archive la notification et ouvre la suivante. L'archivage ne modifie ni ne supprime la tâche.+- **Archiver** (`E`) archive la notification et ouvre la suivante. L'archivage ne modifie ni ne supprime la tâche. Pour clore la tâche, changez plutôt son statut ; si **Archiver les tâches que vous terminez** est activé, sa notification est archivée elle aussi.- **Se désabonner et archiver** (`⇧E`) est proposé sur les tâches qui ne sont pas les vôtres : assignées ni à vous, ni à un agent qui vous appartient. L'action vous désabonne de la tâche, archive la notification et ouvre la suivante. Les mises à jour ordinaires n'arrivent plus dans votre boîte de réception, mais les @mentions, si. Sur une tâche avec des sous-tâches, vous choisissez entre cette tâche seulement et cette tâche avec toutes ses sous-tâches. Pour cette tâche seulement, la confirmation propose **Annuler**, qui rétablit l'abonnement tel qu'il était. Le désabonnement des sous-tâches ne s'annule pas ici ; réabonnez-vous depuis la page de la tâche. La même action se trouve dans la carte au survol et dans le menu contextuel d'une ligne.La suivante est la ligne suivante que la section affiche avec ses filtres actuels : vous parcourez ainsi la boîte de réception sans revenir à la liste.@@ -116,14 +116,14 @@ Le menu ⋯ de la section regroupe **Voir les archivées** et les actions group## Reporter une tâche-Reporter retire une tâche de votre boîte de réception jusqu'à l'heure choisie, puis la fait revenir en haut, non lue. Reportez depuis le bouton réveil dans l'en-tête de la tâche (ou avec `H`), depuis le bouton à côté d'Archiver au survol d'une ligne, ou depuis la carte de survol d'une ligne. Choisissez **1 heure**, **3 heures**, **1 jour**, **3 jours** ou **1 semaine**, ou **Choisir une date et une heure…** pour n'importe quel moment dans l'année. Un report d'un jour ou plus garde l'heure actuelle, sauf s'il est fait entre 22:00 et 6:00 : la tâche revient alors à 9:00. La confirmation permet d'annuler ; annuler un changement d'heure rétablit l'heure précédente.+Reporter retire une tâche de votre boîte de réception jusqu'à l'heure choisie, puis la fait revenir en haut, non lue. Reportez depuis **Reporter** dans la barre de la boîte de réception (ou avec `H`), depuis le bouton à côté d'Archiver au survol d'une ligne, ou depuis la carte de survol d'une ligne. Choisissez **1 heure**, **3 heures**, **1 jour**, **3 jours** ou **1 semaine**, ou **Choisir une date et une heure…** pour n'importe quel moment dans l'année. Un report d'un jour ou plus garde l'heure actuelle, sauf s'il est fait entre 22:00 et 6:00 : la tâche revient alors à 9:00. La confirmation permet d'annuler ; annuler un changement d'heure rétablit l'heure précédente.Tant qu'une tâche est reportée :- ses nouvelles notifications attendent avec elle et ne comptent pas dans le badge non lu. À son retour, la ligne indique **Report terminé** et le nombre de nouveautés arrivées entre-temps ;- elle revient plus tôt si quelqu'un vous mentionne nommément, si elle vous est assignée, si une exécution échoue, si une app demande votre action ou si toutes ses sous-tâches sont terminées. Les mentions `@all` ne la réveillent pas ;- **Tout marquer comme lu** et les actions d'archivage groupé l'ignorent. L'archiver met fin au report, tout comme terminer vous-même la tâche quand **Archiver les tâches que vous terminez** est activé ;-- ouvrir la tâche depuis ailleurs ne la marque pas comme lue et ne met pas fin au report. Son en-tête indique quand elle revient ; ouvrez-le pour la faire revenir maintenant (`H`) ou changer l'heure.+- ouvrir la tâche depuis ailleurs ne la marque pas comme lue et ne met pas fin au report. Sa barre de la boîte de réception indique quand elle revient ; **Changer l'heure** la fait revenir maintenant (`H`) ou choisit une autre heure.Le report est personnel : il ne change que votre boîte de réception. Tout ce que vous avez reporté se trouve dans la vue **Reportés** sous Vues, aussi accessible via **Voir les reportés** dans le menu de la boîte de réception.@@ -131,15 +131,15 @@ Le report est personnel : il ne change que votre boîte de réception. Tout ce qLire une notification ne la retire pas. Une ligne quitte la boîte de réception uniquement :-- quand vous l'archivez, depuis sa ligne, la carte de survol, l'en-tête de la tâche ou une action groupée ;+- quand vous l'archivez, depuis sa ligne, la carte de survol, la barre de la boîte de réception ou une action groupée ;- quand vous reportez sa tâche. C'est temporaire : la tâche revient à l'heure choisie, ou plus tôt si quelque chose a besoin de vous. Voir « Reporter une tâche » ci-dessus ;- quand vous passez vous-même sa tâche à n'importe quel statut des catégories `done` ou `closed`, tant que **Archiver les tâches que vous terminez** est activé (c'est le cas par défaut). Seules vos propres notifications sur cette tâche sont archivées, lues ou non. Quand quelqu'un d'autre ou un agent termine une tâche, ses notifications restent dans votre boîte de réception, pour que vous voyiez la nouvelle ;- quand c'est une notification **Exécution en échec** et que sa tâche passe à un statut qui la rend à une personne : `in_review`, un statut personnalisé de la catégorie `started`, ou n'importe quel statut des catégories `done` ou `closed`. Les notifications Exécution en échec de tout le monde sur cette tâche sont alors archivées, quelle que soit la personne qui a changé le statut, et indépendamment du réglage ci-dessus. `blocked` fait exception : il rend aussi la tâche, mais le travail reste bloqué, donc les échecs précédents méritent encore d'être lus.- quand votre boîte de réception dans l'espace de travail dépasse 2 000 notifications. Elle garde les 2 000 plus récentes et archive peu après les plus anciennes, lues ou non. Une notification revenue d'un report ou restaurée depuis l'archive compte à partir de son retour. Les notifications d'une tâche reportée ne comptent pas et restent en place.-Les fenêtres ouvertes retirent aussitôt une ligne archivée, sauf celle que vous avez ouverte. Quand sa notification quitte la boîte de réception autrement (vous passez la tâche à `done` depuis son statut, une autre fenêtre l'archive, ou une modification la sort des filtres de la section), la ligne reste en surbrillance à sa place et l'en-tête de la tâche indique ce qui s'est passé. **Annuler** fait revenir la notification, et **Suivante** (ou `E`) ouvre la ligne suivante. La ligne disparaît dès que vous passez à autre chose.+Les fenêtres ouvertes retirent aussitôt une ligne archivée, sauf celle que vous avez ouverte. Quand sa notification quitte la boîte de réception autrement (vous passez la tâche à `done` depuis son statut, une autre fenêtre l'archive, ou une modification la sort des filtres de la section), la ligne reste en surbrillance à sa place et la barre de la boîte de réception indique ce qui s'est passé. **Annuler** fait revenir la notification, et **Suivante** (ou `E`) ouvre la ligne suivante. La ligne disparaît dès que vous passez à autre chose.-Quand vous retirez vous-même la ligne ouverte, depuis l'en-tête de la tâche, sa ligne, la carte de survol ou une action groupée qui l'inclut, c'est la ligne suivante qui s'ouvre. S'il n'en reste aucune, la tâche reste ouverte. L'archivage, le passage à terminé et les actions groupées proposent **Annuler**, qui fait revenir les notifications sans changer le statut de la tâche.+Quand vous retirez vous-même la ligne ouverte, depuis la barre de la boîte de réception, sa ligne, la carte de survol ou une action groupée qui l'inclut, c'est la ligne suivante qui s'ouvre. S'il n'en reste aucune, la tâche reste ouverte. L'archivage et les actions groupées proposent **Annuler**, qui fait revenir les notifications sans changer le statut de la tâche.Une notification ultérieure sur la tâche revient dans la boîte de réception.diff --git a/apps/docs/content/docs/inbox.ja.mdx b/apps/docs/content/docs/inbox.ja.mdxindex bc2d3bcb51..582574df4d 100644--- a/apps/docs/content/docs/inbox.ja.mdx+++ b/apps/docs/content/docs/inbox.ja.mdx@@ -94,11 +94,11 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339、30m、3h、1d、1w<InboxDemo />-インボックスから開いたタスクのヘッダーには、インボックスの操作が並びます。+インボックスから開いたタスクには、ヘッダーの下にインボックスバーが表示されます。誰がいつ何をしたかを示し、通知を片付けるための操作が並びます。+- **ステータス**、**担当者**、**クイックアクション** はタスクそのものを変更します。プロパティと同じです。クイックアクションはワークスペースにあるときだけ表示されます。- **スヌーズ**(`H`)は、指定した時間までタスクをインボックスから外し、次の通知を開きます。詳しくは下の「タスクをスヌーズする」を参照してください。-- **完了にする** は、タスクを `done` にし、通知をアーカイブして、次の通知を開きます。**自分が完了したタスクをアーカイブ** がオフでも、この通知はアーカイブされます。タスクがまだ完了またはキャンセルされていないときに表示されます。-- **アーカイブ**(`E`)は、通知をアーカイブして次の通知を開きます。アーカイブしてもタスクは変更・削除されません。+- **アーカイブ**(`E`)は、通知をアーカイブして次の通知を開きます。アーカイブしてもタスクは変更・削除されません。タスクを終えるときはステータスを変えます。**自分が完了したタスクをアーカイブ** がオンなら、その通知もアーカイブされます。- **購読解除してアーカイブ**(`⇧E`)は、自分のタスクではないとき(担当者が自分でも自分のエージェントでもない)に表示されます。タスクの購読を解除し、通知をアーカイブして次の通知を開きます。以降の通常の更新はインボックスに届きませんが、@メンションは引き続き通知されます。サブタスクがある場合は、このタスクのみか、すべてのサブタスクを含めるかを選べます。このタスクのみの場合は確認メッセージの **元に戻す** で購読を元どおりに戻せます。サブタスクごと解除した場合はここでは戻せないので、タスクのページで購読し直してください。ホバーカードと行の右クリックメニューにも同じ操作があります。次の通知とは、セクションが現在のフィルターで表示している次の行のことです。リストに戻らずにインボックスを順に片付けられます。@@ -116,14 +116,14 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339、30m、3h、1d、1w## タスクをスヌーズする-スヌーズすると、タスクは指定した時間までインボックスから外れ、その時間になると未読のまま一番上に戻ります。タスクのヘッダーの目覚まし時計ボタン(または `H`)、行にカーソルを合わせたときにアーカイブの横に出るボタン、または行のホバーカードからスヌーズできます。**1 時間**、**3 時間**、**1 日**、**3 日**、**1 週間** のほか、**日時を選択…** で 1 年以内の任意の日時を選べます。1 日以上のスヌーズは今の時刻のまま戻りますが、22:00〜6:00 にスヌーズした場合は朝 9:00 に戻ります。確認メッセージから元に戻せます。時間を変更した場合は、元の時間に戻ります。+スヌーズすると、タスクは指定した時間までインボックスから外れ、その時間になると未読のまま一番上に戻ります。インボックスバーの **スヌーズ**(または `H`)、行にカーソルを合わせたときにアーカイブの横に出るボタン、または行のホバーカードからスヌーズできます。**1 時間**、**3 時間**、**1 日**、**3 日**、**1 週間** のほか、**日時を選択…** で 1 年以内の任意の日時を選べます。1 日以上のスヌーズは今の時刻のまま戻りますが、22:00〜6:00 にスヌーズした場合は朝 9:00 に戻ります。確認メッセージから元に戻せます。時間を変更した場合は、元の時間に戻ります。スヌーズ中のタスクは次のように扱われます。- 新しい通知も一緒に待機し、未読バッジには数えられません。戻ってきた行には **スヌーズ終了** と、その間に届いた更新の数が表示されます。- 名指しでメンションされたとき、自分に割り当てられたとき、実行が失敗したとき、アプリが操作を求めたとき、すべてのサブタスクが完了したときは早めに戻ります。`@all` へのメンションでは戻りません。- **すべて既読にする** や一括アーカイブはスヌーズ中のタスクをスキップします。アーカイブするとスヌーズは終了します。**自分が完了したタスクをアーカイブ** がオンのときに自分でタスクを完了した場合も同じです。-- ほかの場所からタスクを開いても既読にはならず、スヌーズも終了しません。ヘッダーに戻る時間が表示され、そこから今すぐ戻す(`H`)か時間を変更できます。+- ほかの場所からタスクを開いても既読にはならず、スヌーズも終了しません。インボックスバーに戻る時間が表示され、**時間を変更** から今すぐ戻す(`H`)か別の時間を選べます。スヌーズは自分のインボックスだけに影響します。スヌーズ中のタスクは Views の **スヌーズ中** ビュー、またはインボックスメニューの **スヌーズ中を表示** から確認できます。@@ -131,15 +131,15 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339、30m、3h、1d、1w既読にしても通知はインボックスから消えません。行が外れるのは次の場合だけです。-- 行、ホバーカード、タスクのヘッダー、または一括操作から、あなたがアーカイブしたとき+- 行、ホバーカード、インボックスバー、または一括操作から、あなたがアーカイブしたとき- タスクをスヌーズしたとき。これは一時的で、指定した時間になるか、対応が必要な通知が届くと戻ります。上の「タスクをスヌーズする」を参照してください。- **自分が完了したタスクをアーカイブ** がオン(既定でオン)の状態で、あなた自身がタスクを `done` または `closed` カテゴリのいずれかのステータスにしたとき。アーカイブされるのは、そのタスクに届いたあなた自身の通知だけで、既読かどうかは問いません。ほかの人やエージェントがタスクを完了した場合、その通知はあなたのインボックスに残るので、変化を見逃しません。- 「実行失敗」の通知で、タスクが人に引き継がれるステータスになったとき。対象は `in_review`、`started` カテゴリのカスタムステータス、`done`・`closed` カテゴリのすべてのステータスです。誰がステータスを変えたかにかかわらず、そのタスクの全員分の「実行失敗」の通知がアーカイブされ、上の設定には左右されません。`blocked` は例外です。人に引き継がれはしますが作業は止まったままなので、それまでの失敗の記録はまだ確認する必要があります。- そのワークスペースのインボックスが 2,000 件を超えたとき。新しい 2,000 件を残し、それより古い通知は既読かどうかにかかわらず、少し後に自動でアーカイブされます。スヌーズから戻った通知やアーカイブから戻した通知は、戻った時点の新しさで数えます。スヌーズ中のタスクの通知は数えず、そのまま残ります。-アーカイブされた行は、開いているウィンドウからもすぐに消えます。ただし、いま開いている行は別です。その通知がほかの理由でインボックスから外れたとき(ステータスからタスクを `done` にした、別のウィンドウでアーカイブされた、編集でセクションのフィルターに合わなくなった)、行は元の位置でハイライトされたまま残り、タスクのヘッダーに何が起きたかが表示されます。**元に戻す** で通知が戻り、**次へ**(または `E`)で次の行が開きます。行が消えるのは、ほかへ移ったときです。+アーカイブされた行は、開いているウィンドウからもすぐに消えます。ただし、いま開いている行は別です。その通知がほかの理由でインボックスから外れたとき(ステータスからタスクを `done` にした、別のウィンドウでアーカイブされた、編集でセクションのフィルターに合わなくなった)、行は元の位置でハイライトされたまま残り、インボックスバーに何が起きたかが表示されます。**元に戻す** で通知が戻り、**次へ**(または `E`)で次の行が開きます。行が消えるのは、ほかへ移ったときです。-開いている行を自分で処理したとき(タスクのヘッダー、その行、ホバーカード、その行を含む一括操作)は、代わりに次の行が開きます。残りがなければ、タスクは開いたままです。アーカイブ、完了にする、一括操作の確認には **元に戻す** があり、通知は戻りますが、タスクのステータスはそのままです。+開いている行を自分で処理したとき(インボックスバー、その行、ホバーカード、その行を含む一括操作)は、代わりに次の行が開きます。残りがなければ、タスクは開いたままです。アーカイブと一括操作の確認には **元に戻す** があり、通知は戻りますが、タスクのステータスはそのままです。その後に届いた通知は、再びインボックスに入ります。diff --git a/apps/docs/content/docs/inbox.ko.mdx b/apps/docs/content/docs/inbox.ko.mdxindex 3ee208a4b7..cf124ea567 100644--- a/apps/docs/content/docs/inbox.ko.mdx+++ b/apps/docs/content/docs/inbox.ko.mdx@@ -94,11 +94,11 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339, 30m, 3h, 1d, 1w; uns<InboxDemo />-인박스에서 연 태스크의 헤더에는 인박스 작업이 표시됩니다.+인박스에서 연 태스크에는 헤더 아래에 인박스 바가 표시됩니다. 누가 언제 무엇을 했는지 보여 주고, 알림을 처리하는 작업을 제공합니다.+- **상태**, **담당자**, **퀵 액션**은 태스크 자체를 바꾸며, 속성에서 바꾸는 것과 같습니다. 퀵 액션은 워크스페이스에 있을 때만 나타납니다.- **다시 알림**(`H`)은 지정한 시간까지 태스크를 인박스에서 빼고 다음 알림을 엽니다. 자세한 내용은 아래 '태스크 미루기'를 참고하세요.-- **완료로 표시**는 태스크를 `done`으로 바꾸고, 알림을 보관한 뒤 다음 알림을 엽니다. **내가 완료한 태스크 보관**이 꺼져 있어도 이 알림은 보관됩니다. 태스크가 아직 완료되거나 취소되지 않았을 때만 표시됩니다.-- **보관**(`E`)은 알림을 보관하고 다음 알림을 엽니다. 보관해도 태스크는 변경되거나 삭제되지 않습니다.+- **보관**(`E`)은 알림을 보관하고 다음 알림을 엽니다. 보관해도 태스크는 변경되거나 삭제되지 않습니다. 태스크를 끝내려면 상태를 바꾸세요. **내가 완료한 태스크 보관**이 켜져 있으면 그 알림도 보관됩니다.- **구독 해제 후 보관**(`⇧E`)은 내 태스크가 아닐 때(담당자가 나도, 내 에이전트도 아닐 때) 표시됩니다. 태스크 구독을 해제하고 알림을 보관한 뒤 다음 알림을 엽니다. 이후 일반 업데이트는 인박스에 오지 않지만 @멘션은 계속 알림을 받습니다. 하위 태스크가 있으면 이 태스크만 또는 모든 하위 태스크까지 해제할지 고를 수 있습니다. 이 태스크만 해제했다면 확인 메시지의 **실행 취소**로 구독을 원래대로 되돌릴 수 있습니다. 하위 태스크까지 해제한 경우에는 여기서 되돌릴 수 없으니 태스크 페이지에서 다시 구독하세요. 호버 카드와 행의 우클릭 메뉴에도 같은 동작이 있습니다.다음 알림은 섹션이 현재 필터로 보여 주는 다음 행입니다. 목록으로 돌아가지 않고 인박스를 차례로 처리할 수 있습니다.@@ -116,14 +116,14 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339, 30m, 3h, 1d, 1w; uns## 태스크 미루기-미루기를 하면 태스크가 지정한 시간까지 인박스에서 빠졌다가, 그 시간이 되면 읽지 않은 상태로 맨 위에 돌아옵니다. 태스크 헤더의 알람 시계 버튼(또는 `H`), 행에 마우스를 올렸을 때 보관 버튼 옆에 나타나는 버튼, 또는 행의 호버 카드에서 미룰 수 있습니다. **1시간**, **3시간**, **1일**, **3일**, **1주** 중에서 고르거나, **날짜와 시간 선택…** 메뉴에서 1년 이내의 원하는 시간을 고를 수 있습니다. 하루 이상 미루면 지금 시각 그대로 돌아오지만, 22:00~6:00 사이에 미루면 아침 9:00에 돌아옵니다. 확인 알림에서 실행 취소할 수 있으며, 시간을 바꾼 경우에는 이전 시간으로 되돌아갑니다.+미루기를 하면 태스크가 지정한 시간까지 인박스에서 빠졌다가, 그 시간이 되면 읽지 않은 상태로 맨 위에 돌아옵니다. 인박스 바의 **다시 알림**(또는 `H`), 행에 마우스를 올렸을 때 보관 버튼 옆에 나타나는 버튼, 또는 행의 호버 카드에서 미룰 수 있습니다. **1시간**, **3시간**, **1일**, **3일**, **1주** 중에서 고르거나, **날짜와 시간 선택…** 메뉴에서 1년 이내의 원하는 시간을 고를 수 있습니다. 하루 이상 미루면 지금 시각 그대로 돌아오지만, 22:00~6:00 사이에 미루면 아침 9:00에 돌아옵니다. 확인 알림에서 실행 취소할 수 있으며, 시간을 바꾼 경우에는 이전 시간으로 되돌아갑니다.태스크를 미뤄둔 동안에는:- 새 알림도 함께 기다리며 읽지 않음 배지에 포함되지 않습니다. 돌아온 행에는 **다시 알림 종료**와 그동안 쌓인 업데이트 수가 표시됩니다.- 누군가 이름으로 멘션하거나, 나에게 할당되거나, 실행이 실패하거나, 앱이 작업을 요청하거나, 모든 하위 태스크가 끝나면 일찍 돌아옵니다. `@all` 멘션으로는 돌아오지 않습니다.- **모두 읽음으로 표시**와 일괄 보관은 미뤄둔 태스크를 건너뜁니다. 보관하면 미루기가 끝나며, **내가 완료한 태스크 보관**이 켜진 상태에서 직접 태스크를 완료한 경우도 마찬가지입니다.-- 다른 곳에서 태스크를 열어도 읽음으로 바뀌지 않고 미루기도 끝나지 않습니다. 헤더에 돌아올 시간이 표시되며, 거기서 지금 되돌리거나(`H`) 시간을 바꿀 수 있습니다.+- 다른 곳에서 태스크를 열어도 읽음으로 바뀌지 않고 미루기도 끝나지 않습니다. 인박스 바에 돌아올 시간이 표시되며, **시간 변경**에서 지금 되돌리거나(`H`) 다른 시간을 고를 수 있습니다.미루기는 내 인박스에만 영향을 줍니다. 미뤄둔 태스크는 Views의 **미뤄둔 항목** 뷰나 인박스 메뉴의 **미뤄둔 항목 보기**에서 볼 수 있습니다.@@ -131,15 +131,15 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339, 30m, 3h, 1d, 1w; uns읽어도 알림은 인박스에서 사라지지 않습니다. 행이 빠지는 경우는 다음뿐입니다.-- 행, 마우스 오버 카드, 태스크 헤더, 일괄 작업에서 직접 보관할 때+- 행, 마우스 오버 카드, 인박스 바, 일괄 작업에서 직접 보관할 때- 태스크를 미룰 때. 이 경우는 일시적이며, 지정한 시간이 되거나 내가 처리해야 할 알림이 오면 다시 돌아옵니다. 위의 '태스크 미루기'를 참고하세요.- **내가 완료한 태스크 보관**이 켜져 있는 상태(기본값)에서 내가 직접 태스크를 `done` 또는 `closed` 카테고리의 어떤 상태로 바꿀 때. 그 태스크에 온 내 알림만 읽음 여부와 관계없이 보관됩니다. 다른 사람이나 에이전트가 태스크를 완료하면 그 알림은 내 인박스에 남으므로 변화를 놓치지 않습니다.- "실행 실패함" 알림이고, 태스크가 사람에게 넘어가는 상태가 될 때. 해당 상태는 `in_review`, `started` 카테고리의 사용자 지정 상태, `done`·`closed` 카테고리의 모든 상태입니다. 누가 상태를 바꿨는지와 관계없이 그 태스크의 모든 사람의 "실행 실패함" 알림이 보관되며, 위 설정의 영향을 받지 않습니다. `blocked`는 예외입니다. 사람에게 넘어가기는 하지만 작업이 여전히 막혀 있으므로 지난 실패 기록을 계속 확인해야 합니다.- 그 워크스페이스의 인박스가 알림 2,000개를 넘을 때. 최신 2,000개를 남기고, 그보다 오래된 알림은 읽음 여부와 관계없이 잠시 후 자동으로 보관됩니다. 미루기에서 돌아온 알림과 보관함에서 복원한 알림은 돌아온 시점을 기준으로 셉니다. 미룬 태스크의 알림은 개수에 포함되지 않으며 그대로 남습니다.-보관된 행은 열려 있는 창에서도 바로 사라집니다. 단, 지금 열어 둔 행은 예외입니다. 그 알림이 다른 이유로 인박스에서 빠지면(상태에서 태스크를 `done`으로 바꿨거나, 다른 창에서 보관했거나, 편집으로 섹션 필터에 더 이상 맞지 않게 된 경우) 행은 제자리에서 강조된 채 남고, 태스크 헤더에 무슨 일이 있었는지 표시됩니다. **실행 취소**로 알림을 되돌리고, **다음**(또는 `E`)으로 다음 행을 엽니다. 행은 다른 곳으로 이동할 때 사라집니다.+보관된 행은 열려 있는 창에서도 바로 사라집니다. 단, 지금 열어 둔 행은 예외입니다. 그 알림이 다른 이유로 인박스에서 빠지면(상태에서 태스크를 `done`으로 바꿨거나, 다른 창에서 보관했거나, 편집으로 섹션 필터에 더 이상 맞지 않게 된 경우) 행은 제자리에서 강조된 채 남고, 인박스 바에 무슨 일이 있었는지 표시됩니다. **실행 취소**로 알림을 되돌리고, **다음**(또는 `E`)으로 다음 행을 엽니다. 행은 다른 곳으로 이동할 때 사라집니다.-열어 둔 행을 직접 처리하면(태스크 헤더, 그 행, 호버 카드, 그 행을 포함한 일괄 작업) 대신 다음 행이 열립니다. 남은 행이 없으면 태스크는 열린 채로 있습니다. 보관, 완료로 표시, 일괄 작업의 확인에는 **실행 취소**가 있으며, 알림은 돌아오고 태스크 상태는 그대로 유지됩니다.+열어 둔 행을 직접 처리하면(인박스 바, 그 행, 호버 카드, 그 행을 포함한 일괄 작업) 대신 다음 행이 열립니다. 남은 행이 없으면 태스크는 열린 채로 있습니다. 보관과 일괄 작업의 확인에는 **실행 취소**가 있으며, 알림은 돌아오고 태스크 상태는 그대로 유지됩니다.이후 그 태스크에 새 알림이 오면 다시 인박스에 들어옵니다.diff --git a/apps/docs/content/docs/inbox.mdx b/apps/docs/content/docs/inbox.mdxindex 61a95ec041..5dab3ee3e2 100644--- a/apps/docs/content/docs/inbox.mdx+++ b/apps/docs/content/docs/inbox.mdx@@ -94,11 +94,11 @@ Click a row to open its issue at the comment or app request the notification is<InboxDemo />-An issue opened from the inbox carries the inbox's actions in its header:+An issue opened from the inbox shows a bar under its header. It says who did what, and when, then offers what usually settles the notification:+- **Status**, **Assignee** and **Quick actions** change the issue itself, as its properties do. Quick actions appear once your workspace has some.- **Snooze** (`H`) takes the issue out of your inbox until a time you pick, and opens the next one. See [Snooze an issue](#snooze-an-issue) below.-- **Mark as done** sets the issue to `done`, archives the notification, and opens the next one. It archives the notification even when **Archive issues you complete** is off. It's offered while the issue isn't done or cancelled yet.-- **Archive** (`E`) archives the notification and opens the next one. Archiving doesn't modify or delete the issue.+- **Archive** (`E`) archives the notification and opens the next one. Archiving doesn't modify or delete the issue. To finish the issue, change its status instead; with **Archive issues you complete** on, that archives its notification too.- **Unsubscribe & archive** (`⇧E`) is offered on issues that aren't yours: not assigned to you or to an agent you own. It unsubscribes you from the issue, archives the notification and opens the next one. Ordinary updates stop reaching your inbox, while @mentions still do. On an issue with sub-issues you choose between this issue only and this issue with all its sub-issues. For this issue only, the confirmation offers **Undo**, which restores the subscription as it was. Leaving the sub-issues as well can't be undone there; subscribe again on the issue page instead. The same action is on the hover card and in a row's right-click menu.The next one is the next row the section lists under its current filters, so you can work through the inbox without going back to the list.@@ -116,14 +116,14 @@ The section's ⋯ menu holds **View archived** and the bulk actions:## Snooze an issue-Snooze takes an issue out of your inbox until a time you pick, then brings it back on top, unread. Snooze from the alarm-clock button in the issue header (or press `H`), from the button beside Archive when you hover a row, or from a row's hover card. Pick **1 hour**, **3 hours**, **1 day**, **3 days** or **1 week**, or **Pick a date and time…** for any time within a year. A day or more keeps the current time of day, except that one chosen between 22:00 and 6:00 comes back at 9:00. The confirmation lets you undo; undoing a change of time puts back the previous one.+Snooze takes an issue out of your inbox until a time you pick, then brings it back on top, unread. Snooze from **Snooze** in the issue's inbox bar (or press `H`), from the button beside Archive when you hover a row, or from a row's hover card. Pick **1 hour**, **3 hours**, **1 day**, **3 days** or **1 week**, or **Pick a date and time…** for any time within a year. A day or more keeps the current time of day, except that one chosen between 22:00 and 6:00 comes back at 9:00. The confirmation lets you undo; undoing a change of time puts back the previous one.While an issue is snoozed:- new notifications on it wait with it and don't count toward the unread badge. When it comes back, the row says **Snooze ended** and how many updates arrived meanwhile;- it comes back early when someone mentions you by name, it is assigned to you, a run fails, an app asks for your action, or all its sub-issues finish. `@all` mentions don't wake it;- **Mark all as read** and the archive-all actions leave it alone. Archiving it ends the snooze, and so does completing the issue yourself while **Archive issues you complete** is on;-- opening the issue from anywhere else doesn't read it or end the snooze. Its header shows when it comes back; open that to bring it back now (`H`) or change the time.+- opening the issue from anywhere else doesn't read it or end the snooze. Its inbox bar shows when it comes back; **Change time** there brings it back now (`H`) or picks another time.Snooze is personal: it only changes your own inbox. Everything you've snoozed is in the **Snoozed** view under Views, also reachable from **View snoozed** in the inbox menu.@@ -131,15 +131,15 @@ Snooze is personal: it only changes your own inbox. Everything you've snoozed isReading a notification doesn't remove it. A row leaves the inbox only when:-- you archive it, from its row, the hover card, the issue header, or a bulk action;+- you archive it, from its row, the hover card, the inbox bar, or a bulk action;- you snooze its issue. This one is temporary: the issue comes back at the time you picked, or earlier when something needs you. See [Snooze an issue](#snooze-an-issue);- you move its issue to any status in the `done` or `closed` category yourself, while **Archive issues you complete** is on (it is by default). Only your own notifications on that issue are archived, read or not. When someone else or an agent completes an issue, its notifications stay in your inbox, so you still see the news;- it's a **Run failed** notification and its issue moves to a status that hands it back to a person: `in_review`, a custom status in the `started` category, or any status in the `done` or `closed` category. This archives everyone's Run failed notifications on the issue, whoever moved it, and doesn't depend on the setting above. `blocked` is the exception: it hands the issue over too, but the work is still stuck, so the earlier failures are still worth reading.- your inbox in the workspace goes past 2,000 notifications. It keeps the newest 2,000 and shortly afterwards archives the older ones, read or not. A notification that comes back from a snooze or that you restore from the archive counts from when it came back. Notifications on a snoozed issue don't count and are left alone.-Open windows drop an archived row right away, except the one you have open. When its notification leaves the inbox some other way (you set the issue to `done` from its status, another window archived it, or an edit took it out of the section's filters), the row stays lit where it was and the issue header says what happened. **Undo** brings the notification back, and **Next** (or `E`) opens the next row. The row leaves once you move on.+Open windows drop an archived row right away, except the one you have open. When its notification leaves the inbox some other way (you set the issue to `done` from its status, another window archived it, or an edit took it out of the section's filters), the row stays lit where it was and the inbox bar says what happened. **Undo** brings the notification back, and **Next** (or `E`) opens the next row. The row leaves once you move on.-When you take the open row out yourself, from the issue header, its row, the hover card, or a bulk action that includes it, the next row opens instead. With nothing left to open, the issue stays open. Archiving, marking as done and the bulk actions confirm with **Undo**, which brings the notifications back and leaves the issue's status as it is.+When you take the open row out yourself, from the inbox bar, its row, the hover card, or a bulk action that includes it, the next row opens instead. With nothing left to open, the issue stays open. Archiving and the bulk actions confirm with **Undo**, which brings the notifications back and leaves the issue's status as it is.A later notification on the issue lands in the inbox again.diff --git a/apps/docs/content/docs/inbox.zh-Hant.mdx b/apps/docs/content/docs/inbox.zh-Hant.mdxindex a3dcd8e5bd..05464c29d2 100644--- a/apps/docs/content/docs/inbox.zh-Hant.mdx+++ b/apps/docs/content/docs/inbox.zh-Hant.mdx@@ -94,11 +94,11 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339、30m、3h、1d、1w<InboxDemo />-從收件箱開啟的任務,頁首會帶上收件箱的操作:+從收件箱開啟的任務,頁首下方有一條收件箱列。它先說明誰在什麼時候做了什麼,再給出通常能處理掉這條通知的操作:+- **狀態**、**負責人**和**快捷操作**直接修改任務本身,和屬性裡一樣;工作區有快捷操作時才會出現。- **延後**(`H`)把任務移出收件箱,到你選的時間再回來,並開啟下一條。詳見下方的「延後任務」。-- **標記為已完成**會把任務設為 `done`,歸檔這條通知,並開啟下一條。即使關閉了**自動歸檔我完成的任務**,它也會歸檔這條通知。任務尚未完成或取消時才會出現。-- **歸檔**(`E`)會歸檔這條通知並開啟下一條。歸檔不會修改或刪除任務。+- **歸檔**(`E`)會歸檔這條通知並開啟下一條。歸檔不會修改或刪除任務。要結束任務,請修改它的狀態;開著**自動歸檔我完成的任務**時,這也會歸檔它的通知。- **取消訂閱並歸檔**(`⇧E`):任務不是你的(負責人不是你,也不是你擁有的 AI 代理)時出現。它取消你對這個任務的訂閱,歸檔這條通知並開啟下一條;之後一般動態不再進入收件箱,@你仍會通知。有子任務時可以選擇只退訂這個任務,或連同全部子任務一起退訂。只退訂這個任務時,提示裡可以**復原**,訂閱會按原來的方式恢復;連同子任務一起退訂無法在這裡復原,可以在任務頁面重新訂閱。懸停卡片和列的右鍵選單裡也有這個操作。"下一條"是分區在當前篩選下列出的下一列,因此不用回到列表,就能把收件箱一條條處理完。@@ -116,14 +116,14 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339、30m、3h、1d、1w## 延後任務-延後會把一個任務暫時移出你的收件箱,到你選的時間再回到最上面,並標為未讀。可以在任務頁首點鬧鐘按鈕(或按 `H`),也可以在懸停收件箱列時點歸檔旁邊的按鈕,或在懸停卡片裡點 **延後**。可選 **1 小時**、**3 小時**、**1 天**、**3 天**、**1 週**,或點 **選擇日期和時間…** 選一年內的任意時間。按天延後時保留目前的鐘點;在 22:00 到 6:00 之間延後的,會在早上 9:00 回來。延後後的提示裡可以復原;如果是改了時間,復原會恢復原本的時間。+延後會把一個任務暫時移出你的收件箱,到你選的時間再回到最上面,並標為未讀。可以點收件箱列裡的**延後**(或按 `H`),也可以在懸停收件箱列時點歸檔旁邊的按鈕,或在懸停卡片裡點 **延後**。可選 **1 小時**、**3 小時**、**1 天**、**3 天**、**1 週**,或點 **選擇日期和時間…** 選一年內的任意時間。按天延後時保留目前的鐘點;在 22:00 到 6:00 之間延後的,會在早上 9:00 回來。延後後的提示裡可以復原;如果是改了時間,復原會恢復原本的時間。任務延後期間:- 它的新通知會跟著一起等,不計入未讀角標。回來時,這一列會顯示 **延後到期** 以及期間有多少則動態;- 有人點名 @ 你、它被指派給你、執行失敗、應用程式請求你操作,或全部子任務完成時,它會提前回來。`@all` 提及不會喚醒它;- **全部標為已讀** 和各種全部歸檔操作會跳過它。歸檔它會結束延後;開著 **自動歸檔我完成的任務** 時你自己完成這個任務,也一樣;-- 從別處開啟這個任務不會把它標為已讀,也不會結束延後。任務頁首會顯示它何時回來,點開可以讓它現在回來(`H`)或修改時間。+- 從別處開啟這個任務不會把它標為已讀,也不會結束延後。收件箱列會顯示它何時回來,點**修改時間**可以讓它現在回來(`H`)或換個時間。延後只影響你自己的收件箱。所有延後的任務都在檢視裡的 **已延後** 中,也可以從收件箱選單的 **查看已延後** 進入。@@ -131,15 +131,15 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339、30m、3h、1d、1w通知不會因為已讀而離開收件箱。只有以下幾種情況,一列才會移出:-- 你手動歸檔它:在它所在的列、懸停卡片、任務頁首,或透過批次操作;+- 你手動歸檔它:在它所在的列、懸停卡片、收件箱列,或透過批次操作;- 你延後了它的任務。這是暫時的:到你選的時間,或有需要你處理的通知時,它會回來。見上方的「延後任務」;- 你親自把它的任務改為 `done` 或 `closed` 分類下的任一狀態,且**自動歸檔我完成的任務**處於開啟狀態(預設開啟)。只歸檔你自己在該任務上的通知,無論是否已讀。別人或 AI 代理完成的任務,通知會留在你的收件箱裡,你仍能看到這個變化;- 它是"執行失敗"通知,且任務進入交回給人的狀態:`in_review`、`started` 分類下的自定義狀態,或 `done`、`closed` 分類下的任一狀態。這會歸檔所有人在該任務上的"執行失敗"通知,不論是誰改的狀態,也不受上面的開關影響。`blocked` 例外:它同樣交回給人,但工作還卡著,之前的失敗記錄還要看。- 你在該工作區的收件箱超過 2,000 條通知。收件箱保留最新的 2,000 條,隨後自動歸檔更早的通知,無論是否已讀。從延後中回來或從歸檔中還原的通知,按回來的時間算作新通知。已延後任務上的通知不計入,也不會被歸檔。-開著的視窗會立即移除已歸檔的列,但你正開著的那一列除外。它的通知因為其他原因離開收件箱時(你在狀態裡把任務改為 `done`、別的視窗歸檔了它,或修改後不再符合分區的篩選),這一列會在原位保持高亮,任務頁首會說明發生了什麼:**復原**讓通知回來,**下一條**(或按 `E`)開啟下一列。你離開之後,這一列才會移出。+開著的視窗會立即移除已歸檔的列,但你正開著的那一列除外。它的通知因為其他原因離開收件箱時(你在狀態裡把任務改為 `done`、別的視窗歸檔了它,或修改後不再符合分區的篩選),這一列會在原位保持高亮,收件箱列會說明發生了什麼:**復原**讓通知回來,**下一條**(或按 `E`)開啟下一列。你離開之後,這一列才會移出。-如果是你自己把正開著的這一列處理掉(在任務頁首、它所在的列、懸停卡片,或包含它的批次操作裡),會直接開啟下一列;沒有剩下的列時,任務保持開啟。歸檔、標記為已完成和批次操作的提示裡都可以**復原**:通知會回來,任務的狀態保持不變。+如果是你自己把正開著的這一列處理掉(在收件箱列、它所在的列、懸停卡片,或包含它的批次操作裡),會直接開啟下一列;沒有剩下的列時,任務保持開啟。歸檔和批次操作的提示裡都可以**復原**:通知會回來,任務的狀態保持不變。之後該任務再有新通知,會重新進入收件箱。diff --git a/apps/docs/content/docs/inbox.zh.mdx b/apps/docs/content/docs/inbox.zh.mdxindex 41d594e6d2..745605379f 100644--- a/apps/docs/content/docs/inbox.zh.mdx+++ b/apps/docs/content/docs/inbox.zh.mdx@@ -94,11 +94,11 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339、30m、3h、1d、1w<InboxDemo />-从收件箱打开的任务,页头会带上收件箱的操作:+从收件箱打开的任务,页头下方有一条收件箱栏。它先说明谁在什么时候做了什么,再给出通常能处理掉这条通知的操作:+- **状态**、**负责人**和**快捷操作**直接修改任务本身,和属性里一样;工作区有快捷操作时才会出现。- **延后**(`H`)把任务移出收件箱,到你选的时间再回来,并打开下一条。详见下方的「延后任务」。-- **标记为已完成**会把任务设为 `done`,归档这条通知,并打开下一条。即使关闭了**自动归档我完成的任务**,它也会归档这条通知。任务尚未完成或取消时才会出现。-- **归档**(`E`)会归档这条通知并打开下一条。归档不会修改或删除任务。+- **归档**(`E`)会归档这条通知并打开下一条。归档不会修改或删除任务。要结束任务,请修改它的状态;开着**自动归档我完成的任务**时,这也会归档它的通知。- **取消订阅并归档**(`⇧E`):任务不是你的(负责人不是你,也不是你拥有的智能体)时出现。它取消你对这个任务的订阅,归档这条通知并打开下一条;之后普通动态不再进入收件箱,@你仍会通知。有子任务时可以选择只退订这个任务,或连同全部子任务一起退订。只退订这个任务时,提示里可以**撤销**,订阅会按原来的方式恢复;连同子任务一起退订无法在这里撤销,可以在任务页面重新订阅。悬停卡片和行的右键菜单里也有这个操作。"下一条"是分区在当前筛选下列出的下一行,因此不用回到列表,就能把收件箱一条条处理完。@@ -116,14 +116,14 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339、30m、3h、1d、1w## 延后任务-延后会把一个任务暂时移出你的收件箱,到你选的时间再回到最上面,并标为未读。可以在任务页头点闹钟按钮(或按 `H`),也可以在悬停收件箱行时点归档旁边的按钮,或在悬停卡片里点 **延后**。可选 **1 小时**、**3 小时**、**1 天**、**3 天**、**1 周**,或点 **选择日期和时间…** 选一年内的任意时间。按天延后时保留当前的钟点;在 22:00 到 6:00 之间延后的,会在早上 9:00 回来。延后后的提示里可以撤销;如果是改了时间,撤销会恢复原来的时间。+延后会把一个任务暂时移出你的收件箱,到你选的时间再回到最上面,并标为未读。可以点收件箱栏里的**延后**(或按 `H`),也可以在悬停收件箱行时点归档旁边的按钮,或在悬停卡片里点 **延后**。可选 **1 小时**、**3 小时**、**1 天**、**3 天**、**1 周**,或点 **选择日期和时间…** 选一年内的任意时间。按天延后时保留当前的钟点;在 22:00 到 6:00 之间延后的,会在早上 9:00 回来。延后后的提示里可以撤销;如果是改了时间,撤销会恢复原来的时间。任务延后期间:- 它的新通知会跟着一起等,不计入未读角标。回来时,这一行会显示 **延后到期** 以及期间有多少条动态;- 有人点名 @ 你、它被指派给你、运行失败、应用请求你操作,或全部子任务完成时,它会提前回来。`@all` 提及不会唤醒它;- **全部标为已读** 和各种全部归档操作会跳过它。归档它会结束延后;开着 **自动归档我完成的任务** 时你自己完成这个任务,也一样;-- 从别处打开这个任务不会把它标为已读,也不会结束延后。任务页头会显示它何时回来,点开可以让它现在回来(`H`)或修改时间。+- 从别处打开这个任务不会把它标为已读,也不会结束延后。收件箱栏会显示它何时回来,点**修改时间**可以让它现在回来(`H`)或换个时间。延后只影响你自己的收件箱。所有延后的任务都在视图里的 **已延后** 中,也可以从收件箱菜单的 **查看已延后** 进入。@@ -131,15 +131,15 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339、30m、3h、1d、1w通知不会因为已读而离开收件箱。只有以下几种情况,一行才会移出:-- 你手动归档它:在它所在的行、悬停卡片、任务页头,或通过批量操作;+- 你手动归档它:在它所在的行、悬停卡片、收件箱栏,或通过批量操作;- 你延后了它的任务。这是暂时的:到你选的时间,或有需要你处理的通知时,它会回来。见上方的「延后任务」;- 你亲自把它的任务改为 `done` 或 `closed` 分类下的任一状态,且**自动归档我完成的任务**处于开启状态(默认开启)。只归档你自己在该任务上的通知,无论是否已读。别人或智能体完成的任务,通知会留在你的收件箱里,你仍能看到这个变化;- 它是"运行失败"通知,且任务进入交回给人的状态:`in_review`、`started` 分类下的自定义状态,或 `done`、`closed` 分类下的任一状态。这会归档所有人在该任务上的"运行失败"通知,不论是谁改的状态,也不受上面的开关影响。`blocked` 例外:它同样交回给人,但工作还卡着,之前的失败记录还要看。- 你在该工作区的收件箱超过 2,000 条通知。收件箱保留最新的 2,000 条,随后自动归档更早的通知,无论是否已读。从延后中回来或从归档中还原的通知,按回来的时间算作新通知。已延后任务上的通知不计入,也不会被归档。-打开着的窗口会立即移除已归档的行,但你正打开的那一行除外。它的通知因为其他原因离开收件箱时(你在状态里把任务改为 `done`、别的窗口归档了它,或修改后不再符合分区的筛选),这一行会在原位保持高亮,任务页头会说明发生了什么:**撤销**让通知回来,**下一条**(或按 `E`)打开下一行。你离开之后,这一行才会移出。+打开着的窗口会立即移除已归档的行,但你正打开的那一行除外。它的通知因为其他原因离开收件箱时(你在状态里把任务改为 `done`、别的窗口归档了它,或修改后不再符合分区的筛选),这一行会在原位保持高亮,收件箱栏会说明发生了什么:**撤销**让通知回来,**下一条**(或按 `E`)打开下一行。你离开之后,这一行才会移出。-如果是你自己把正打开的这一行处理掉(在任务页头、它所在的行、悬停卡片,或包含它的批量操作里),会直接打开下一行;没有剩下的行时,任务保持打开。归档、标记为已完成和批量操作的提示里都可以**撤销**:通知会回来,任务的状态保持不变。+如果是你自己把正打开的这一行处理掉(在收件箱栏、它所在的行、悬停卡片,或包含它的批量操作里),会直接打开下一行;没有剩下的行时,任务保持打开。归档和批量操作的提示里都可以**撤销**:通知会回来,任务的状态保持不变。之后该任务再有新通知,会重新进入收件箱。diff --git a/packages/views/inbox/components/inbox-actor.tsx b/packages/views/inbox/components/inbox-actor.tsxnew file mode 100644index 0000000000..ee21c7e39b--- /dev/null+++ b/packages/views/inbox/components/inbox-actor.tsx@@ -0,0 +1,33 @@+"use client";++import type { ReactNode } from "react";+import type { InboxItem } from "@multica/core/types";+import { useActorName } from "@multica/core/workspace/hooks";+import { ActorAvatar } from "../../common/actor-avatar";+import { InboxDetailLabel } from "./inbox-detail-label";++/** Whoever caused the notification; the recipient when nobody did. */+export function InboxActorAvatar({ item, size }: { item: InboxItem; size: "xs" | "sm" }) {+ return (+ <ActorAvatar+ actorType={item.actor_type ?? item.recipient_type}+ actorId={item.actor_id ?? item.recipient_id}+ size={size}+ />+ );+}++/** Who did what: the actor's name, then what the notification says happened. */+export function InboxActorLine({ item, detail }: { item: InboxItem; detail?: ReactNode }) {+ const { getActorName } = useActorName();+ const name =+ item.actor_type && item.actor_type !== "system" && item.actor_id+ ? getActorName(item.actor_type, item.actor_id)+ : null;+ return (+ <>+ {name && <span className="font-medium">{name} </span>}+ {detail ?? <InboxDetailLabel item={item} />}+ </>+ );+}diff --git a/packages/views/inbox/components/inbox-bar.tsx b/packages/views/inbox/components/inbox-bar.tsxnew file mode 100644index 0000000000..6e75ecafb9--- /dev/null+++ b/packages/views/inbox/components/inbox-bar.tsx@@ -0,0 +1,147 @@+"use client";++import type { ComponentProps, ReactNode } from "react";+import { Archive } from "@multica/ui/icons";+import { Button } from "@multica/ui/components/ui/button";+import { TooltipHint } from "@multica/ui/components/common/tooltip-hint";+import { cn } from "@multica/ui/lib/utils";+import type { ShortcutActionId } from "@multica/core/shortcuts";+import type { InboxItem } from "@multica/core/types";+import { ActionShortcutKeycaps } from "../../common/shortcut-keycaps";+import { PAGE_GUTTER } from "../../layout/page-header";+import { useT } from "../../i18n";+import { InboxActorAvatar, InboxActorLine } from "./inbox-actor";+import { useTimeAgo } from "./inbox-list-item";++/**+ * The bar under the header of an issue opened from the Inbox: the one place+ * its notification lives, whatever state that is in. Open, it says why the+ * issue is here and offers what resolves it, the issue's own actions first,+ * then the notification's. Settled (archived, snoozed), it says so, with the+ * way back and the way on, in the same place.+ *+ * Its width follows the panels beside the issue, not the window, so labels+ * give way by the bar's own width (`@container/inbox-bar`): quick actions+ * first, then the notification's actions, the time, and the issue's values.+ */+export function InboxBar({ settled = false, children }: { settled?: boolean; children: ReactNode }) {+ return (+ <div+ role={settled ? "status" : undefined}+ data-inbox-bar={settled ? "settled" : "open"}+ className={cn(+ "@container/inbox-bar flex h-10 shrink-0 items-center gap-1 border-b",+ settled && "bg-muted/40",+ PAGE_GUTTER,+ )}+ >+ {children}+ </div>+ );+}++/**+ * The open notification's bar: why it is here, the issue's actions, and the+ * notification's own (`children`).+ */+export function InboxOpenBar({+ item,+ issueActions,+ children,+}: {+ item: InboxItem;+ /** Left out where the viewer cannot change the issue. */+ issueActions?: ReactNode;+ children: ReactNode;+}) {+ return (+ <InboxBar>+ <InboxBarReason item={item} />+ {issueActions}+ {issueActions && <InboxBarSeparator />}+ {children}+ </InboxBar>+ );+}++/** Who did what, and when. A comment is named, not quoted: the timeline below shows it. */+function InboxBarReason({ item }: { item: InboxItem }) {+ const { t } = useT("inbox");+ const timeAgo = useTimeAgo();+ const detail = item.type === "new_comment" ? t(($) => $.labels.commented) : undefined;+ return (+ <span className="mr-1 flex min-w-0 flex-1 items-center gap-1.5 text-caption text-muted-foreground">+ <span className="flex shrink-0">+ <InboxActorAvatar item={item} size="xs" />+ </span>+ <span className="min-w-0 truncate">+ <InboxActorLine item={item} detail={detail} />+ </span>+ <span className="shrink-0 tabular-nums text-faint-foreground @max-[38rem]/inbox-bar:hidden">· {timeAgo(item.created_at)}</span>+ </span>+ );+}++/** What happened to a settled notification, before the bar's actions. */+export function InboxBarStatus({ icon, label }: { icon: ReactNode; label: ReactNode }) {+ return (+ <span className="mr-1 flex min-w-0 flex-1 items-center gap-1 text-caption text-muted-foreground">+ <span aria-hidden className="flex shrink-0 [&_svg]:size-3.5">+ {icon}+ </span>+ <span className="truncate">{label}</span>+ </span>+ );+}++export function InboxBarSeparator() {+ return <span aria-hidden className="mx-1 h-4 w-px shrink-0 bg-border" />;+}++/**+ * A notification action in the bar, named, with its shortcut beside it. A+ * narrow bar drops the name, then the shortcut; the tooltip keeps both.+ */+export function InboxBarButton({+ icon,+ label,+ shortcut,+ className,+ ...props+}: Omit<ComponentProps<typeof Button>, "children"> & {+ icon: ReactNode;+ label: string;+ shortcut?: ShortcutActionId;+}) {+ return (+ <TooltipHint label={label} shortcut={shortcut && <ActionShortcutKeycaps action={shortcut} />} side="bottom">+ <Button+ variant="ghost"+ size="sm"+ aria-label={label}+ className={cn("shrink-0 text-muted-foreground", className)}+ {...props}+ >+ {icon}+ <span className="@max-[44rem]/inbox-bar:hidden">{label}</span>+ {shortcut && (+ <span className="flex @max-[30rem]/inbox-bar:hidden">+ <ActionShortcutKeycaps action={shortcut} />+ </span>+ )}+ </Button>+ </TooltipHint>+ );+}++export function InboxArchiveButton({ onClick }: { onClick: () => void }) {+ const { t } = useT("inbox");+ return (+ <InboxBarButton+ icon={<Archive />}+ label={t(($) => $.context_menu.archive)}+ shortcut="archiveInboxItem"+ onClick={onClick}+ />+ );+}diff --git a/packages/views/inbox/components/inbox-context-menu.test.tsx b/packages/views/inbox/components/inbox-context-menu.test.tsxindex ad618e65ce..578f11fec4 100644--- a/packages/views/inbox/components/inbox-context-menu.test.tsx+++ b/packages/views/inbox/components/inbox-context-menu.test.tsx@@ -22,7 +22,7 @@ vi.mock("@multica/core/issue-statuses/hooks", () => ({}),}));-vi.mock("../../issues/components", () => ({ StatusIcon: () => null }));+vi.mock("../../issues/components/status-icon", () => ({ StatusIcon: () => null }));vi.mock("../../issues/components/issue-agent-activity-indicator", () => ({IssueAgentActivityIndicator: () => null,}));diff --git a/packages/views/inbox/components/inbox-detail-label.test.tsx b/packages/views/inbox/components/inbox-detail-label.test.tsxindex 84481eebb6..d6dead701d 100644--- a/packages/views/inbox/components/inbox-detail-label.test.tsx+++ b/packages/views/inbox/components/inbox-detail-label.test.tsx@@ -5,10 +5,8 @@ import en from "../../locales/en/inbox.json";import zhHansIssues from "../../locales/zh-Hans/issues.json";import { InboxDetailLabel } from "./inbox-detail-label";-vi.mock("../../issues/components", () => ({- StatusIcon: () => null,- PriorityIcon: () => null,-}));+vi.mock("../../issues/components/status-icon", () => ({ StatusIcon: () => null }));+vi.mock("../../issues/components/priority-icon", () => ({ PriorityIcon: () => null }));vi.mock("@multica/core/workspace/hooks", () => ({useActorName: () => ({ getActorName: () => "Someone" }),}));diff --git a/packages/views/inbox/components/inbox-detail-label.tsx b/packages/views/inbox/components/inbox-detail-label.tsxindex 9e335c8412..1bd6ae8bc5 100644--- a/packages/views/inbox/components/inbox-detail-label.tsx+++ b/packages/views/inbox/components/inbox-detail-label.tsx@@ -3,7 +3,8 @@import { useIssueStatuses } from "@multica/core/issue-statuses/hooks";import { formatDateOnly } from "@multica/core/issues/date";import { useActorName } from "@multica/core/workspace/hooks";-import { StatusIcon, PriorityIcon } from "../../issues/components";+import { StatusIcon } from "../../issues/components/status-icon";+import { PriorityIcon } from "../../issues/components/priority-icon";import type { InboxItem, InboxItemType, IssueStatus, IssuePriority } from "@multica/core/types";import { getQuickCreateOutcomeDetail } from "./inbox-display";import { useLocale, useT } from "../../i18n";diff --git a/packages/views/inbox/components/inbox-kept-actions.tsx b/packages/views/inbox/components/inbox-kept-actions.tsxindex bc5c8f5280..2d7149e249 100644--- a/packages/views/inbox/components/inbox-kept-actions.tsx+++ b/packages/views/inbox/components/inbox-kept-actions.tsx@@ -4,16 +4,15 @@ import type { ReactNode } from "react";import { Archive, ArrowDown, Undo2 } from "@multica/ui/icons";import { Button } from "@multica/ui/components/ui/button";import { TooltipHint } from "@multica/ui/components/common/tooltip-hint";-import { cn } from "@multica/ui/lib/utils";import { useIssueStatuses } from "@multica/core/issue-statuses/hooks";import type { KeptInboxRow } from "@multica/core/inbox/open-row";import type { InboxItem } from "@multica/core/types";import { useLocale, useT } from "../../i18n";import { ActionShortcutKeycaps } from "../../common/shortcut-keycaps";-import { PAGE_GUTTER } from "../../layout/page-header";import { useStatusLabel } from "../../issues/utils/status-label";import { formatSnoozeTime } from "./inbox-snooze-time";import { getInboxDisplayTitle, isAutopilotQuotaNotice } from "./inbox-display";+import { InboxBar, InboxBarStatus } from "./inbox-bar";/*** How a kept row (`keepOpenInboxRow`) says why it is settled: `line` in its@@ -51,11 +50,10 @@ export function useKeptInboxRowText(wsId: string) {}/**- * What the open notification offers once it has left the Inbox on its own- * (its issue reached Done, another window archived it) and stays on screen- * until the user moves on: what happened, the way to undo it, and the next- * notification. `header` sits in the issue header's actions; `strip` is a bar- * under it, for a phone, whose header has no room.+ * What the open notification's bar offers once it has left the Inbox on its+ * own (its issue reached Done, another window archived it) and stays on+ * screen until the user moves on: what happened, the way to undo it, and the+ * next notification.*/export function InboxKeptActions({label,@@ -63,7 +61,6 @@ export function InboxKeptActions({onUndo,next,onNext,- layout,}: {label: ReactNode;/** Defaults to the archive icon. */@@ -72,46 +69,19 @@ export function InboxKeptActions({/** The notification `onNext` opens; without one there is nothing to move on to. */next: InboxItem | null;onNext: () => void;- layout: "header" | "strip";}) {const { t } = useT("inbox");- const undo = onUndo && (- <Button size="sm" variant="ghost" className="text-muted-foreground" onClick={onUndo}>- <Undo2 />- {t(($) => $.toasts.undo)}- </Button>- );- const nextButton = next && <InboxNextButton next={next} onNext={onNext} />;- const status = (- <span className="flex min-w-0 items-center gap-1 text-caption text-muted-foreground">- <span aria-hidden className="flex shrink-0 [&_svg]:size-3.5">- {icon ?? <Archive />}- </span>- <span className="truncate">{label}</span>- </span>- );-- if (layout === "strip") {- return (- <div- role="status"- className={cn("flex h-10 shrink-0 items-center gap-2 border-b bg-muted/40", PAGE_GUTTER)}- >- <span className="flex min-w-0 flex-1">{status}</span>- {undo}- {nextButton}- </div>- );- }return (- <>- <span role="status" className="mr-1 flex min-w-0">- {status}- </span>- {undo}- {nextButton}- <span aria-hidden className="mx-1 h-4 w-px shrink-0 bg-border" />- </>+ <InboxBar settled>+ <InboxBarStatus icon={icon ?? <Archive />} label={label} />+ {onUndo && (+ <Button size="sm" variant="ghost" className="shrink-0 text-muted-foreground" onClick={onUndo}>+ <Undo2 />+ {t(($) => $.toasts.undo)}+ </Button>+ )}+ {next && <InboxNextButton next={next} onNext={onNext} />}+ </InboxBar>);}@@ -120,14 +90,13 @@ export function InboxNextButton({ next, onNext }: { next: InboxItem; onNext: ()const { t } = useT("inbox");const title = isAutopilotQuotaNotice(next.type) ? t(($) => $.types[next.type]) : getInboxDisplayTitle(next);return (- <TooltipHint- label={t(($) => $.kept.next_tooltip, { title })}- shortcut={<ActionShortcutKeycaps action="archiveInboxItem" />}- side="bottom"- >- <Button size="sm" variant="outline" onClick={onNext}>+ <TooltipHint label={t(($) => $.kept.next_tooltip, { title })} side="bottom">+ <Button size="sm" variant="outline" className="shrink-0" onClick={onNext}>{t(($) => $.kept.next)}<ArrowDown />+ <span className="flex @max-[30rem]/inbox-bar:hidden">+ <ActionShortcutKeycaps action="archiveInboxItem" />+ </span></Button></TooltipHint>);diff --git a/packages/views/inbox/components/inbox-list-item.test.tsx b/packages/views/inbox/components/inbox-list-item.test.tsxindex deb3ff7959..bb621e9c6f 100644--- a/packages/views/inbox/components/inbox-list-item.test.tsx+++ b/packages/views/inbox/components/inbox-list-item.test.tsx@@ -19,7 +19,7 @@ vi.mock("@multica/core/issue-statuses/hooks", () => ({useIssueStatuses: () => buildIssueStatusCatalog(catalogEntries),}));-vi.mock("../../issues/components", () => ({+vi.mock("../../issues/components/status-icon", () => ({StatusIcon: ({status,category,diff --git a/packages/views/inbox/components/inbox-list-item.tsx b/packages/views/inbox/components/inbox-list-item.tsxindex 5fb6f92c04..28105de38d 100644--- a/packages/views/inbox/components/inbox-list-item.tsx+++ b/packages/views/inbox/components/inbox-list-item.tsx@@ -1,7 +1,7 @@"use client";import { useIssueStatuses } from "@multica/core/issue-statuses/hooks";-import { StatusIcon } from "../../issues/components";+import { StatusIcon } from "../../issues/components/status-icon";import {IssueAgentActivityIndicator,} from "../../issues/components/issue-agent-activity-indicator";diff --git a/packages/views/inbox/components/inbox-page.tsx b/packages/views/inbox/components/inbox-page.tsxindex c9ef466c84..cdfd7a8d54 100644--- a/packages/views/inbox/components/inbox-page.tsx+++ b/packages/views/inbox/components/inbox-page.tsx@@ -973,7 +973,6 @@ export function InboxPage() {const keptNotice =settledRow && detailItem && inboxRowKey(detailItem) === settledRow.key ? (<InboxKeptActions- layout="strip"label={keptText.notice(settledRow)}icon={settledRow.reason === "snoozed" ? <AlarmClock /> : undefined}onUndo={() =>@@ -1032,12 +1031,14 @@ export function InboxPage() {// longer exists.setSelectedKey("");}}- onDone={() => {+ onArchive={() => {handleArchive(detailItem.id);}}onUnsubscribeArchive={isArchivedView ? undefined : (scope) => handleUnsubscribeArchive(detailItem.id, scope)}+ // The archive lists notifications already dealt with: no bar.+ inboxItem={isArchivedView ? undefined : detailItem}/></IssuePeekHost></ErrorBoundary>diff --git a/packages/views/inbox/components/unsubscribe-archive-button.tsx b/packages/views/inbox/components/unsubscribe-archive-button.tsxindex 438bc3cc86..320bb505d3 100644--- a/packages/views/inbox/components/unsubscribe-archive-button.tsx+++ b/packages/views/inbox/components/unsubscribe-archive-button.tsx@@ -29,7 +29,7 @@ import { ActionShortcutKeycaps } from "../../common/shortcut-keycaps";import { useT } from "../../i18n";/**- * "Unsubscribe & archive" in the header of an issue opened from the Inbox.+ * "Unsubscribe & archive" in the Inbox bar of an issue opened from the Inbox.** Offered only where it is a bystander's way out: the viewer is subscribed,* and the issue is not assigned to them or to an agent they own. Rendersdiff --git a/packages/views/issues/actions/__tests__/issue-inbox-actions.test.tsx b/packages/views/issues/actions/__tests__/issue-inbox-actions.test.tsxindex 9616b76f63..cbf1e1487d 100644--- a/packages/views/issues/actions/__tests__/issue-inbox-actions.test.tsx+++ b/packages/views/issues/actions/__tests__/issue-inbox-actions.test.tsx@@ -1,3 +1,4 @@+import type { ReactNode } from "react";import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";import { act, cleanup, fireEvent, screen, waitFor } from "@testing-library/react";import { QueryClient, QueryClientProvider } from "@tanstack/react-query";@@ -13,7 +14,7 @@ import { agentListOptions } from "@multica/core/workspace/queries";import type { InboxItem, Issue, SnoozedInboxIssue } from "@multica/core/types";import { renderWithI18n } from "../../../test/i18n";import { NavigationProvider, type NavigationAdapter } from "../../../navigation";-import { IssueInboxActions } from "../issue-inbox-actions";+import { IssueInboxBar } from "../issue-inbox-actions";const state = vi.hoisted(() => ({archiveInbox: vi.fn(),@@ -72,16 +73,16 @@ const ROWS = [function setup({rows = ROWS,issueId = "issue-1",- onMarkDone,snoozed = [],theirs = false,+ issueActions,}: {rows?: InboxItem[];issueId?: string;- onMarkDone?: (onSaved: () => void) => void;snoozed?: SnoozedInboxIssue[];/** The viewer follows the issue, and someone else owns it. */theirs?: boolean;+ issueActions?: ReactNode;} = {}) {const nav: NavigationAdapter = {push: vi.fn(),@@ -101,6 +102,8 @@ function setup({getAgentTaskSnapshot: async () => [],// The child list refetches on mount; the unsubscribe button acts directly once it is known.listChildIssues: async () => ({ issues: [] }),+ // The bar's reason line shows the actor's avatar.+ getBaseUrl: () => "",} as unknown as ApiClient);const qc = new QueryClient({defaultOptions: { queries: { retry: false, staleTime: Infinity }, mutations: { retry: false } },@@ -123,7 +126,7 @@ function setup({const page = (id: string | null) => (<QueryClientProvider client={qc}><NavigationProvider value={nav}>- {id ? <IssueInboxActions issueId={id} onMarkDone={onMarkDone} /> : <span>Next issue</span>}+ {id ? <IssueInboxBar issueId={id} issueActions={issueActions} /> : <span>Next issue</span>}</NavigationProvider></QueryClientProvider>);@@ -160,7 +163,7 @@ beforeEach(() => {});afterEach(cleanup);-describe("IssueInboxActions", () => {+describe("IssueInboxBar", () => {it("keeps the last row on a later side-effect archive after snooze fails", async () => {state.snooze.mockRejectedValueOnce(new Error("snooze failed"));const nav = setup({ rows: [ROWS[0]!] });@@ -234,6 +237,21 @@ describe("IssueInboxActions", () => {expect(screen.queryByRole("button", { name: "Archive" })).toBeNull();});+ it("says why the issue is here, then offers the issue's actions before the notification's", () => {+ setup({ issueActions: <button type="button">Set status</button> });+ expect(screen.getByText("Commented")).toBeInTheDocument();+ const issueAction = screen.getByRole("button", { name: "Set status" });+ const snooze = screen.getByRole("button", { name: "Snooze" });+ expect(issueAction.compareDocumentPosition(snooze) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy();+ });++ it("drops the issue's actions once the notification has left the Inbox", async () => {+ const nav = setup({ issueActions: <button type="button">Set status</button> });+ act(() => nav.qc.setQueryData(inboxListOptions("ws").queryKey, [ROWS[1]!]));+ expect(await screen.findByText("Notification archived")).toBeInTheDocument();+ expect(screen.queryByRole("button", { name: "Set status" })).toBeNull();+ });+it("offers snooze in place of a read toggle", () => {setup();expect(screen.queryByRole("button", { name: "Mark as unread" })).toBeNull();@@ -256,7 +274,7 @@ describe("IssueInboxActions", () => {rows: [ROWS[1]!],snoozed: [{ issue_id: "issue-1", item_id: "n-1", snoozed_until: until, snoozed_at: SNOOZED_AT, updates: 0 }],});- expect(screen.getByTitle(/^Back /)).toBeInTheDocument();+ expect(screen.getByRole("status")).toHaveTextContent(/^Back /);expect(screen.queryByRole("button", { name: "Archive" })).toBeNull();fireEvent.keyDown(document, { key: "h", code: "KeyH" });@@ -296,25 +314,6 @@ describe("IssueInboxActions", () => {expect(state.archiveInbox).not.toHaveBeenCalled();});- it("archives once done is saved, with an undo that restores only the notification, and moves on", async () => {- const archive = pendingArchive();- const onMarkDone = vi.fn((onSaved: () => void) => onSaved());- const nav = setup({ onMarkDone });- fireEvent.click(screen.getByRole("button", { name: "Mark as done" }));- await waitFor(() => expect(state.archiveInbox).toHaveBeenCalledWith("n-1"));- expect(nav.push).toHaveBeenCalledWith("/acme/issues/issue-2#comment-c-9");- nav.leave();- await archive.resolve();-- expect(toast.success).toHaveBeenCalledWith("Notification archived", {- action: { label: "Undo", onClick: expect.any(Function) },- });- const undo = vi.mocked(toast.success).mock.calls.at(-1)?.[1] as unknown as { action: { onClick: () => void } };- await act(async () => undo.action.onClick());- expect(state.unarchiveInbox).toHaveBeenCalledWith("n-1");- expect(onMarkDone).toHaveBeenCalledTimes(1);- });-it("returns the row snoozing left once the issue is brought back early", () => {useInboxSelectionStore.setState({ leftRowKeyByWorkspace: { ws: "issue-1" } });const until = new Date(Date.now() + 60 * 60 * 1000).toISOString();@@ -384,34 +383,7 @@ describe("IssueInboxActions", () => {expect(nav.push).toHaveBeenCalledWith("/acme/issues/issue-3");});- it("marks the issue done, then archives and moves on once that is saved", async () => {- let saved: (() => void) | undefined;- const onMarkDone = vi.fn((onSaved: () => void) => { saved = onSaved; });- const nav = setup({ onMarkDone });-- fireEvent.click(screen.getByRole("button", { name: "Mark as done" }));- expect(onMarkDone).toHaveBeenCalledTimes(1);- expect(state.archiveInbox).not.toHaveBeenCalled();- expect(nav.push).not.toHaveBeenCalled();-- act(() => saved!());- expect(nav.push).toHaveBeenCalledWith("/acme/issues/issue-2#comment-c-9");- await waitFor(() => expect(state.archiveInbox).toHaveBeenCalledWith("n-1"));- });-- it("still reports a failed archive after marking done moves on", async () => {- const archive = pendingArchive();- const nav = setup({ onMarkDone: (onSaved) => onSaved() });-- fireEvent.click(screen.getByRole("button", { name: "Mark as done" }));- await waitFor(() => expect(state.archiveInbox).toHaveBeenCalled());- nav.leave();- await archive.reject(new Error("Archive rejected"));-- expect(toast.error).toHaveBeenCalledWith("Archive rejected");- });-- it("offers no done button when the issue cannot be marked done", () => {+ it("leaves the issue's status to its own control", () => {setup();expect(screen.queryByRole("button", { name: "Mark as done" })).toBeNull();});@@ -422,7 +394,7 @@ describe("IssueInboxActions", () => {await waitFor(() => expect(state.archiveInbox).toHaveBeenCalledWith("n-1"));});- // Snooze, archive and unsubscribe share the header; each key does only its own.+ // Snooze, archive and unsubscribe share the bar; each key does only its own.async function setupTheirs() {const nav = setup({ theirs: true });await waitFor(() =>@@ -461,7 +433,7 @@ describe("IssueInboxActions", () => {});});-describe("IssueInboxActions once an action is undone or never saved", () => {+describe("IssueInboxBar once an action is undone", () => {it("keeps the row again after archiving the last row and undoing", async () => {const original = ROWS[0]!;const rows = [original];@@ -481,13 +453,4 @@ describe("IssueInboxActions once an action is undone or never saved", () => {act(() => nav.qc.setQueryData(inboxListOptions("ws").queryKey, []));expect(await screen.findByText("Notification archived")).toBeInTheDocument();});-- it("keeps the row after a failed mark-done followed by a status-side-effect archive", async () => {- const nav = setup({ rows: [ROWS[0]!], onMarkDone: () => {} });- // No success callback: the status write failed and the user stayed here.- fireEvent.click(screen.getByRole("button", { name: "Mark as done" }));- expect(nav.push).not.toHaveBeenCalled();- act(() => nav.qc.setQueryData(inboxListOptions("ws").queryKey, []));- expect(await screen.findByText("Notification archived")).toBeInTheDocument();- });});diff --git a/packages/views/issues/actions/index.ts b/packages/views/issues/actions/index.tsindex 336adee9a8..1c01a9dc34 100644--- a/packages/views/issues/actions/index.ts+++ b/packages/views/issues/actions/index.ts@@ -2,7 +2,7 @@ export { useIssueActions } from "./use-issue-actions";export type { UseIssueActionsResult } from "./use-issue-actions";export { IssueActionsDropdown, useIssuePageMenu } from "./issue-actions-dropdown";export { useArchivedInboxItemId } from "./inbox-restore";-export { IssueInboxActions } from "./issue-inbox-actions";+export { IssueInboxBar } from "./issue-inbox-actions";export {IssueActionsContextMenu,IssueContextMenuProvider,diff --git a/packages/views/issues/actions/issue-inbox-actions.tsx b/packages/views/issues/actions/issue-inbox-actions.tsxindex ef1a646566..3bbfea98b2 100644--- a/packages/views/issues/actions/issue-inbox-actions.tsx+++ b/packages/views/issues/actions/issue-inbox-actions.tsx@@ -2,12 +2,12 @@import { type ReactNode, useEffect, useRef, useState } from "react";import { useQuery } from "@tanstack/react-query";-import { AlarmClock, Archive, ChevronDown, CircleCheck } from "@multica/ui/icons";-import { IconButton } from "@multica/ui/components/common/icon-button";-import { cn } from "@multica/ui/lib/utils";+import { AlarmClock, ChevronDown } from "@multica/ui/icons";+import { Button } from "@multica/ui/components/ui/button";import { useWorkspaceId } from "@multica/core/hooks";import { useModalStore } from "@multica/core/modals";import type { InboxUnsubscribeScope } from "@multica/core/inbox/mutations";+import type { InboxItem } from "@multica/core/types";import { findSnoozedInboxIssue, snoozedInboxOptions } from "@multica/core/inbox/queries";import { nextInboxRow } from "@multica/core/inbox/open-row";import {@@ -17,7 +17,7 @@ import {shortcutMatchesEvent,} from "@multica/core/shortcuts";import { isImeComposing } from "@multica/core/utils";-import { ActionShortcutKeycaps } from "../../common/shortcut-keycaps";+import { InboxArchiveButton, InboxBar, InboxBarButton, InboxBarStatus, InboxOpenBar } from "../../inbox/components/inbox-bar";import { InboxKeptActions, InboxNextButton, useKeptInboxRowText } from "../../inbox/components/inbox-kept-actions";import { InboxSnoozeMenu } from "../../inbox/components/inbox-snooze-menu";import { formatSnoozeTime } from "../../inbox/components/inbox-snooze-time";@@ -35,30 +35,21 @@ import {import { useLocale, useT } from "../../i18n";/**- * The Inbox's actions in the header of an issue opened from the Work panel's- * Inbox section, while the section still lists it. Marking it done,- * snoozing, archiving or unsubscribing opens the next notification the- * section lists, so the Inbox can be worked through without leaving the page.+ * The Inbox bar of an issue opened from the Work panel's Inbox section, while+ * the section still lists it: why it is here, `issueActions` (its status,+ * assignee and quick actions), then the notification's own. Snoozing,+ * archiving or unsubscribing opens the next notification the section lists,+ * so the Inbox can be worked through without leaving the page.*- * Once its notification leaves the Inbox on its own (the issue reached Done,- * another window archived it), the section keeps the row in place and this+ * Once the notification leaves the Inbox on its own (the issue reached Done,+ * another window archived it), the section keeps the row in place and the bar* says so instead, with an undo and the way on to the next notification.*- * A snoozed issue shows when it comes back instead, wherever it is opened,- * with the way to bring it back now or change the time.- *- * `onMarkDone` sets the issue done and calls back once that is saved; it is- * offered while the issue is not done or closed.+ * A snoozed issue's bar says when it comes back instead, wherever it is+ * opened, with the way to bring it back now or change the time.*/-export function IssueInboxActions({- issueId,- onMarkDone,-}: {- issueId: string;- onMarkDone?: (onSaved: () => void) => void;-}) {+export function IssueInboxBar({ issueId, issueActions }: { issueId: string; issueActions?: ReactNode }) {const { t } = useT("inbox");- const { t: tIssues } = useT("issues");const wsId = useWorkspaceId();const { fromInbox } = useSidebarInboxIssue(wsId, issueId);const { rows, kept } = useFilteredInboxRows(wsId, issueId, fromInbox);@@ -96,18 +87,6 @@ export function IssueInboxActions({leave(issueId, next);};- // Done archives the issue's notifications on the server; archiving here as- // well confirms it with an undo, which restores the notification and leaves- // the issue done. Until the status is saved the row stays, so a write that- // fails or never happens leaves it as it was.- const markDone = () => {- if (!item || !onMarkDone) return;- onMarkDone(() => {- void archiveWithUndo(item.id, issueId);- leave(issueId, next);- });- };-const moveOn = () => leave(issueId, next);useMoveOnAfterAutoArchive({ settled, next, onNext: moveOn });@@ -144,15 +123,15 @@ export function IssueInboxActions({if (!item) {if (snoozed) {return (- <SnoozedChip+ <SnoozedBaruntil={new Date(snoozed.snoozed_until)}open={snoozeOpen}onOpenChange={setSnoozeOpen}onSnooze={(until) => snooze({ id: snoozed.item_id }, until)}onUnsnooze={() => unsnooze(snoozed.item_id, issueId)}- >- {settled && next && <InboxNextButton next={next} onNext={moveOn} />}- </SnoozedChip>+ next={settled ? next : null}+ onNext={moveOn}+ />);}if (!settled) return null;@@ -162,75 +141,49 @@ export function IssueInboxActions({onUndo={() => restore(settled.item.id, { quiet: true })}next={next}onNext={moveOn}- layout="header"/>);}return (- <>+ <InboxOpenBar item={item} issueActions={issueActions}><UnsubscribeArchiveButton issueId={issueId} userId={item.recipient_id} onConfirm={unsubscribeItem} />- {onMarkDone && (- <IconButton- label={tIssues(($) => $.detail.mark_done_tooltip)}- tooltipSide="bottom"- className="text-muted-foreground"- onClick={markDone}- >- <CircleCheck />- </IconButton>- )}<InboxSnoozeMenuopen={snoozeOpen}onOpenChange={setSnoozeOpen}onSnooze={snoozeItem}- trigger={- <IconButton- label={t(($) => $.snooze.action)}- shortcut={<ActionShortcutKeycaps action="snoozeInboxItem" />}- tooltipSide="bottom"- className="text-muted-foreground"- >- <AlarmClock />- </IconButton>- }+ trigger={<InboxBarButton icon={<AlarmClock />} label={t(($) => $.snooze.action)} shortcut="snoozeInboxItem" />}/>- <IconButton- label={t(($) => $.context_menu.archive)}- shortcut={<ActionShortcutKeycaps action="archiveInboxItem" />}- tooltipSide="bottom"- className="text-muted-foreground"- onClick={archiveItem}- >- <Archive />- </IconButton>- <span aria-hidden className="mx-1 h-4 w-px shrink-0 bg-border" />- </>+ <InboxArchiveButton onClick={archiveItem} />+ </InboxOpenBar>);}/** When a snoozed issue comes back, with the way to bring it back now or later. */-function SnoozedChip({+function SnoozedBar({until,open,onOpenChange,onSnooze,onUnsnooze,- children,+ next,+ onNext,}: {until: Date;open: boolean;onOpenChange: (open: boolean) => void;onSnooze: (until: Date) => void;onUnsnooze: () => void;- /** After the chip, before the separator. */- children?: ReactNode;+ /** Set while the section keeps the row it snoozed in place. */+ next: InboxItem | null;+ onNext: () => void;}) {const { t } = useT("inbox");const locale = useLocale();const label = t(($) => $.snooze.back_at, { time: formatSnoozeTime(until, new Date(), locale) });return (- <>+ <InboxBar settled>+ <InboxBarStatus icon={<AlarmClock />} label={label} /><InboxSnoozeMenuopen={open}onOpenChange={onOpenChange}@@ -238,22 +191,13 @@ function SnoozedChip({onSnooze={onSnooze}onUnsnooze={onUnsnooze}trigger={- <button- type="button"- title={label}- className={cn(- "inline-flex h-7 max-w-72 min-w-0 items-center gap-1.5 rounded-md border border-border px-2.5 text-caption text-foreground",- "hover:bg-accent focus-visible:outline-2 focus-visible:outline-ring data-popup-open:bg-accent",- )}- >- <AlarmClock className="size-3.5 shrink-0" aria-hidden="true" />- <span className="min-w-0 truncate max-sm:hidden">{label}</span>- <ChevronDown className="size-3 shrink-0 text-muted-foreground" aria-hidden="true" />- </button>+ <Button size="sm" variant="ghost" className="shrink-0 text-muted-foreground">+ {t(($) => $.snooze.change_time)}+ <ChevronDown className="size-3" />+ </Button>}/>- {children}- <span aria-hidden className="mx-1 h-4 w-px shrink-0 bg-border" />- </>+ {next && <InboxNextButton next={next} onNext={onNext} />}+ </InboxBar>);}diff --git a/packages/views/issues/components/inbox-issue-actions.tsx b/packages/views/issues/components/inbox-issue-actions.tsxnew file mode 100644index 0000000000..0a645c2568--- /dev/null+++ b/packages/views/issues/components/inbox-issue-actions.tsx@@ -0,0 +1,97 @@+"use client";++import { ChevronDown, UserRound } from "@multica/ui/icons";+import { Button } from "@multica/ui/components/ui/button";+import { useWorkspaceId } from "@multica/core/hooks";+import { useIssueStatuses } from "@multica/core/issue-statuses/hooks";+import { useActorName } from "@multica/core/workspace/hooks";+import type { Issue, UpdateIssueRequest } from "@multica/core/types";+import { ActorAvatar } from "../../common/actor-avatar";+import { useT } from "../../i18n";+import { useStatusLabel } from "../utils/status-label";+import { AssigneePicker } from "./pickers/assignee-picker";+import { StatusPicker } from "./pickers/status-picker";+import { QuickActionsMenu } from "./quick-actions-section";+import { StatusIcon } from "./status-icon";++/**+ * The issue's own actions in the Inbox bar, the ones that resolve most+ * notifications: its status and assignee, set as the Properties panel sets+ * them, and its quick actions. Each shows its current value, unlike the+ * notification's actions beside it.+ */+export function InboxIssueActions({+ issue,+ onUpdate,+ onMarkDuplicate,+ isDuplicate,+}: {+ issue: Issue;+ onUpdate: (updates: Partial<UpdateIssueRequest>) => void;+ onMarkDuplicate?: () => void;+ isDuplicate?: boolean;+}) {+ const { t } = useT("issues");+ const wsId = useWorkspaceId();+ const { categoryOf, colorOf, iconOf } = useIssueStatuses(wsId);+ const statusLabelOf = useStatusLabel(wsId);+ const { getActorName } = useActorName();+ const chip = <Button variant="ghost" size="sm" className="min-w-0 max-w-48 shrink-0" />;+ const chevron = <ChevronDown className="size-3 shrink-0 text-muted-foreground @max-[30rem]/inbox-bar:hidden" />;+ const assigned = issue.assignee_type && issue.assignee_id ? { type: issue.assignee_type, id: issue.assignee_id } : null;++ return (+ <>+ <StatusPicker+ status={issue.status}+ onUpdate={onUpdate}+ projectId={issue.project_id}+ issue={issue}+ onMarkDuplicate={onMarkDuplicate}+ isDuplicate={isDuplicate}+ align="start"+ tooltip={t(($) => $.detail.prop_status)}+ triggerRender={chip}+ trigger={+ <>+ <StatusIcon+ status={issue.status}+ category={categoryOf(issue.status)}+ color={colorOf(issue.status)}+ icon={iconOf(issue.status)}+ className="size-3.5 shrink-0"+ />+ <span className="truncate @max-[36rem]/inbox-bar:hidden">{statusLabelOf(issue.status)}</span>+ {chevron}+ </>+ }+ />+ <AssigneePicker+ assigneeType={issue.assignee_type}+ assigneeId={issue.assignee_id}+ onUpdate={onUpdate}+ align="start"+ tooltip={t(($) => $.detail.prop_assignee)}+ triggerRender={chip}+ trigger={+ assigned ? (+ <>+ <ActorAvatar actorType={assigned.type} actorId={assigned.id} size="xs" showStatusDot />+ <span className="truncate @max-[36rem]/inbox-bar:hidden">{getActorName(assigned.type, assigned.id)}</span>+ {chevron}+ </>+ ) : (+ <>+ <UserRound className="size-3.5 shrink-0 text-muted-foreground" />+ <span className="truncate text-muted-foreground @max-[36rem]/inbox-bar:hidden">+ {t(($) => $.pickers.assignee.trigger_unassigned)}+ </span>+ {chevron}+ </>+ )+ }+ />+ <QuickActionsMenu issueId={issue.id} />+ </>+ );+}diff --git a/packages/views/issues/components/issue-detail.test.tsx b/packages/views/issues/components/issue-detail.test.tsxindex eff9acf4a0..c182288475 100644--- a/packages/views/issues/components/issue-detail.test.tsx+++ b/packages/views/issues/components/issue-detail.test.tsx@@ -2,7 +2,7 @@ import { forwardRef, useEffect, useRef, useState, useImperativeHandle } from "reimport { describe, it, expect, vi, beforeEach, afterEach } from "vitest";import { act, fireEvent, render, screen, waitFor, within } from "@testing-library/react";import { QueryClient, QueryClientProvider } from "@tanstack/react-query";-import type { AgentTask, Attachment, Issue, IssueStatusEntry, Label, TimelineEntry } from "@multica/core/types";+import type { AgentTask, Attachment, InboxItem, Issue, IssueStatusEntry, Label, TimelineEntry } from "@multica/core/types";import { issueKeys } from "@multica/core/issues/queries";import { issueStatusKeys } from "@multica/core/issue-statuses";import { I18nProvider } from "@multica/core/i18n/react";@@ -16,6 +16,7 @@ import {} from "@multica/core/issues/stores/sub-issue-display-store";import enAgents from "../../locales/en/agents.json";import enCommon from "../../locales/en/common.json";+import enInbox from "../../locales/en/inbox.json";import enIssues from "../../locales/en/issues.json";import { useIssueSidebarSectionsStore } from "@multica/core/issues/stores/issue-sidebar-sections-store";import { useSubIssuesCollapseStore } from "@multica/core/issues/stores/sub-issues-collapse-store";@@ -27,7 +28,7 @@ vi.mock("./issue-wakeup-header-chip", () => ({),}));-const TEST_RESOURCES = { en: { agents: enAgents, common: enCommon, issues: enIssues } };+const TEST_RESOURCES = { en: { agents: enAgents, common: enCommon, inbox: enInbox, issues: enIssues } };const mockViewport = vi.hoisted(() => ({ isMobile: false }));const mockLocalDirectoryHint = vi.hoisted(() => vi.fn());@@ -1609,43 +1610,66 @@ describe("IssueDetail (shared)", () => {.toHaveTextContent(`${mockIssue.identifier} ${mockIssue.title}`);});- describe("header icon buttons", () => {- function renderWithDone() {+ describe("Inbox bar", () => {+ const inboxItem: InboxItem = {+ id: "n-1",+ workspace_id: "ws-1",+ recipient_type: "member",+ recipient_id: "user-1",+ actor_type: "member",+ actor_id: "user-1",+ type: "new_comment",+ severity: "info",+ issue_id: "issue-1",+ title: "Implement authentication",+ body: "Ready for review.",+ issue_status: "in_progress",+ issue_priority: "none",+ read: true,+ archived: false,+ created_at: "2026-01-15T00:00:00Z",+ details: null,+ };+ function renderWithArchive(onArchive: () => void = () => {}, { item = inboxItem as InboxItem | null } = {}) {const queryClient = createTestQueryClient();return render(<I18nProvider locale="en" resources={TEST_RESOURCES}><QueryClientProvider client={queryClient}>- <IssueDetail issueId="issue-1" onDone={() => {}} />+ <IssueDetail issueId="issue-1" onArchive={onArchive} inboxItem={item ?? undefined} /></QueryClientProvider></I18nProvider>,);}- it("names Mark as done and Pin after their tooltips on an open issue", async () => {- renderWithDone();+ it("puts the notification's actions under the header, after why it is here and the issue's own", async () => {+ const { container } = renderWithArchive();- expect(- await screen.findByRole("button", { name: enIssues.detail.mark_done_tooltip }),- ).toBeInTheDocument();- expect(screen.getByRole("button", { name: enIssues.detail.pin_tooltip })).toBeInTheDocument();- expect(- screen.queryByRole("button", { name: enIssues.detail.archive_tooltip }),- ).not.toBeInTheDocument();+ const archive = await screen.findByRole("button", { name: enInbox.context_menu.archive });+ expect(archive.closest("header")).toBeNull();+ const bar = archive.closest<HTMLElement>("[data-inbox-bar]")!;+ expect(within(bar).getByText(enInbox.labels.commented)).toBeInTheDocument();+ expect(within(bar).getByText(enIssues.status.in_progress)).toBeInTheDocument();+ expect(container.querySelector("header")).not.toHaveTextContent(enInbox.context_menu.archive);+ expect(screen.queryByRole("button", { name: "Mark as done" })).not.toBeInTheDocument();});- it("names Archive after its tooltip once the issue is done", async () => {- mockApiObj.getIssue.mockResolvedValue({ ...mockIssue, status: "done" });- renderWithDone();+ it("archives the notification without changing the issue's status", async () => {+ const onArchive = vi.fn();+ renderWithArchive(onArchive);- expect(- await screen.findByRole("button", { name: enIssues.detail.archive_tooltip }),- ).toBeInTheDocument();- expect(- screen.queryByRole("button", { name: enIssues.detail.mark_done_tooltip }),- ).not.toBeInTheDocument();+ fireEvent.click(await screen.findByRole("button", { name: enInbox.context_menu.archive }));+ expect(onArchive).toHaveBeenCalledTimes(1);+ expect(mockApiObj.updateIssue).not.toHaveBeenCalled();+ });++ it("shows no bar for a notification already archived", async () => {+ renderWithArchive(() => {}, { item: null });++ await screen.findByRole("button", { name: enCommon.more_actions });+ expect(screen.queryByRole("button", { name: enInbox.context_menu.archive })).not.toBeInTheDocument();});- it("names the pin toggle Unpin while the issue is pinned", async () => {+ it("keeps pinning in the more-actions menu rather than the header", async () => {mockApiObj.listPins.mockResolvedValue([{id: "pin-1",@@ -1659,11 +1683,12 @@ describe("IssueDetail (shared)", () => {]);renderIssueDetail();+ fireEvent.click(await screen.findByRole("button", { name: enCommon.more_actions }));expect(- await screen.findByRole("button", { name: enIssues.detail.unpin_tooltip }),+ await screen.findByRole("menuitem", { name: enIssues.actions.unpin_from_sidebar }),).toBeInTheDocument();expect(- screen.queryByRole("button", { name: enIssues.detail.pin_tooltip }),+ screen.queryByRole("button", { name: enIssues.actions.unpin_from_sidebar }),).not.toBeInTheDocument();});});diff --git a/packages/views/issues/components/issue-detail.tsx b/packages/views/issues/components/issue-detail.tsxindex cdf836bcfc..e1df87935e 100644--- a/packages/views/issues/components/issue-detail.tsx+++ b/packages/views/issues/components/issue-detail.tsx@@ -18,22 +18,18 @@ import { AppLink, useBackOrReplace } from "../../navigation";import { IssueDuplicateBanner, IssueDuplicatesSection, isDuplicateIssue } from "./issue-duplicates";import {AlertTriangle,- Archive,Calendar,CalendarClock,CalendarDays,ChevronDown,ChevronLeft,ChevronRight,- CircleCheck,FileQuestion,Loader2,Lock,Milestone,MoreHorizontal,PanelRight,- Pin,- PinOff,Plus,SlidersHorizontal,Tag,@@ -80,12 +76,14 @@ import { MemberProfileCard } from "../../members/member-profile-card";import { HoverCard, HoverCardTrigger, HoverCardContent } from "@multica/ui/components/ui/hover-card";import { ActionShortcutKeycaps } from "../../common/shortcut-keycaps";import { UnsubscribeArchiveButton } from "../../inbox/components/unsubscribe-archive-button";+import { InboxArchiveButton, InboxOpenBar } from "../../inbox/components/inbox-bar";+import { InboxIssueActions } from "./inbox-issue-actions";import type { InboxUnsubscribeScope } from "@multica/core/inbox/mutations";import { PropRow } from "../../common/prop-row";import { useIsGuest } from "@multica/core/permissions";import { TimelineHandoff } from "../../workflows/timeline-handoff";import { PropertyIcon } from "../../common/property-icon";-import type { Attachment, Issue, IssueProperty, IssueStatus, IssueStatusCategory, IssuePriority, TimelineEntry, UpdateIssueRequest } from "@multica/core/types";+import type { Attachment, InboxItem, Issue, IssueProperty, IssueStatus, IssueStatusCategory, IssuePriority, TimelineEntry, UpdateIssueRequest } from "@multica/core/types";import { contentReferencesAttachment } from "@multica/core/types";import { isBuiltInIssueStatus } from "@multica/core/issue-statuses";import { commentLandingTarget, isDeletedComment } from "@multica/core/issues/comment-deletion";@@ -104,7 +102,7 @@ import { AssigneePicker } from "./pickers/assignee-picker";import { LabelPicker } from "./pickers/label-picker";import { CustomPropertyValueEditor, CustomPropertyValueDisplay } from "./pickers/custom-property-picker";import { Switch } from "@multica/ui/components/ui/switch";-import { IssueActionsDropdown, useIssuePageMenu, useIssueActions, useArchivedInboxItemId, IssueActionsContextMenu, IssueContextMenuProvider, IssueInboxActions } from "../actions";+import { IssueActionsDropdown, useIssuePageMenu, useIssueActions, useArchivedInboxItemId, IssueActionsContextMenu, IssueContextMenuProvider, IssueInboxBar } from "../actions";import { LabelChip } from "../../labels/label-chip";import { IssueAgentActivityIndicator } from "./issue-agent-activity-indicator";import { SubIssuesAgentWorkingChip } from "./sub-issues-agent-working-chip";@@ -1251,13 +1249,18 @@ function SubIssueDisplayPopover({interface IssueDetailProps {issueId: string;onDelete?: () => void;- /** Called after the issue is marked as done via the toolbar button. */- onDone?: () => void;/**- * The Inbox's "unsubscribe & archive", shown next to Done on issues that- * are not the viewer's own. Only read alongside `onDone`.+ * The Inbox page's Archive in its bar: archives the open notification. The+ * Inbox page owns the bar then; without it, the Work panel's Inbox does.+ */+ onArchive?: () => void;+ /**+ * The Inbox's "unsubscribe & archive", shown next to Archive on issues that+ * are not the viewer's own. Only read alongside `onArchive`.*/onUnsubscribeArchive?: (scope: InboxUnsubscribeScope) => void;+ /** The Inbox page's open notification, whose bar says why it is here. Only read alongside `onArchive`. */+ inboxItem?: InboxItem;defaultSidebarOpen?: boolean;layoutId?: string;/** When set, the issue detail will auto-scroll to this comment and briefly highlight it. */@@ -1296,7 +1299,7 @@ interface IssueDetailProps {variant?: "page" | "peek";/** Peek only: host controls at the end of the header (open full page, close). */trailingActions?: ReactNode;- /** A bar the host shows under the header, above the scrolling body. */+ /** A bar the host shows under the header in place of the Inbox bar, above the scrolling body. */notice?: ReactNode;/*** Read the viewer's inbox notifications on this issue while it is on screen@@ -1517,7 +1520,7 @@ export function IssueDetailSkeleton({// IssueDetail-export function IssueDetail({ issueId, onDelete, onDone, onUnsubscribeArchive, defaultSidebarOpen = true, layoutId = ISSUE_DETAIL_LAYOUT_ID, highlightCommentId: linkedCommentId, highlightRequestToken: linkedRequestToken, highlightRequestPending = false, onHighlightLanded, highlightAppRequestId, leadingAction, variant = "page", trailingActions, notice, readsInbox = true, skipInitialRefetch = false, openDeliverable, onDeliverableLinkDone }: IssueDetailProps) {+export function IssueDetail({ issueId, onDelete, onArchive, onUnsubscribeArchive, inboxItem, defaultSidebarOpen = true, layoutId = ISSUE_DETAIL_LAYOUT_ID, highlightCommentId: linkedCommentId, highlightRequestToken: linkedRequestToken, highlightRequestPending = false, onHighlightLanded, highlightAppRequestId, leadingAction, variant = "page", trailingActions, notice, readsInbox = true, skipInitialRefetch = false, openDeliverable, onDeliverableLinkDone }: IssueDetailProps) {const isPeek = variant === "peek";const { t } = useT("issues");const { t: tCommon } = useT("common");@@ -3005,8 +3008,8 @@ export function IssueDetail({ issueId, onDelete, onDone, onUnsubscribeArchive, d// Called before the `if (!issue)` early return so hook order stays stable.const actions = useIssueActions(issue);const handleUpdateField = actions.updateField;- // The inbox passes `onDone` and owns archive and restore there.- const archivedInboxItemId = useArchivedInboxItemId(id, !onDone);+ // The inbox passes `onArchive` and owns archive and restore there.+ const archivedInboxItemId = useArchivedInboxItemId(id, !onArchive);const pageMenu = useIssuePageMenu();// Labels live in their own query (not on the issue body) — fetch the count@@ -3810,6 +3813,14 @@ export function IssueDetail({ issueId, onDelete, onDone, onUnsubscribeArchive, d// What the header names the issue: the identifier only in a peek, where the// title is right below it; identifier and title on the page.const headerLeafLabel = isPeek ? issue.identifier : `${issue.identifier} ${issue.title}`;+ const inboxIssueActions = guest ? undefined : (+ <InboxIssueActions+ issue={issue}+ onUpdate={handleUpdateField}+ onMarkDuplicate={actions.openMarkDuplicate}+ isDuplicate={isDuplicateIssue(issue)}+ />+ );const detailContent = (<CurrentIssueRenderContextProvider value={currentIssueRenderContext}>@@ -3860,47 +3871,6 @@ export function IssueDetail({ issueId, onDelete, onDone, onUnsubscribeArchive, dIt self-hides when no agent is active. */}{!guest && <IssueAgentHeaderChip issueId={id} onJumpToRun={jumpToRun} />}{!guest && <IssueWakeupHeaderChip issueId={id} onOpen={openWakeups} />}- {!onDone && !isPeek && (- <IssueInboxActions- issueId={id}- onMarkDone={- issueBehavesAsAny(issue, ["done", "closed"])- ? undefined- : (onSaved) => handleUpdateField({ status: "done" }, { onSuccess: onSaved })- }- />- )}- {onDone && onUnsubscribeArchive && (- <UnsubscribeArchiveButton issueId={id} userId={user?.id} onConfirm={onUnsubscribeArchive} />- )}- {onDone && !issueBehavesAsAny(issue, ["done", "closed"]) && (- <IconButton- label={t(($) => $.detail.mark_done_tooltip)}- tooltipSide="bottom"- className="text-muted-foreground"- onClick={() => { handleUpdateField({ status: "done" }); onDone?.(); }}- >- <CircleCheck />- </IconButton>- )}- {onDone && issueBehavesAs(issue, "done") && (- <IconButton- label={t(($) => $.detail.archive_tooltip)}- tooltipSide="bottom"- className="text-muted-foreground"- onClick={() => { onDone(); }}- >- <Archive />- </IconButton>- )}- <IconButton- label={actions.isPinned ? t(($) => $.detail.unpin_tooltip) : t(($) => $.detail.pin_tooltip)}- tooltipSide="bottom"- className={cn("text-muted-foreground", actions.isPinned && "text-foreground")}- onClick={actions.togglePin}- >- {actions.isPinned ? <PinOff /> : <Pin />}- </IconButton>{!guest && <IssueDetailActionsDropdownissue={issue}locateInSidebar={!isPeek}@@ -3938,7 +3908,19 @@ export function IssueDetail({ issueId, onDelete, onDone, onUnsubscribeArchive, d</>}/>- {notice}+ {notice ??+ (onArchive ? (+ inboxItem && (+ <InboxOpenBar item={inboxItem} issueActions={inboxIssueActions}>+ {onUnsubscribeArchive && (+ <UnsubscribeArchiveButton issueId={id} userId={user?.id} onConfirm={onUnsubscribeArchive} />+ )}+ <InboxArchiveButton onClick={onArchive} />+ </InboxOpenBar>+ )+ ) : (+ !isPeek && <IssueInboxBar issueId={id} issueActions={inboxIssueActions} />+ ))}{/* scrollbar-gutter both-edges: with classic (space-taking) scrollbars —macOS with a mouse or "always show", Windows, Linux — the globaldiff --git a/packages/views/issues/components/quick-actions-section.test.tsx b/packages/views/issues/components/quick-actions-section.test.tsxindex e11dfb79a3..1eee4796f4 100644--- a/packages/views/issues/components/quick-actions-section.test.tsx+++ b/packages/views/issues/components/quick-actions-section.test.tsx@@ -2,7 +2,7 @@ import { describe, expect, it, vi, beforeEach } from "vitest";import { fireEvent, screen, waitFor, within } from "@testing-library/react";import type { QuickAction } from "@multica/core/types";import { renderWithI18n } from "../../test/i18n";-import { QuickActionsSection } from "./quick-actions-section";+import { QuickActionsMenu, QuickActionsSection } from "./quick-actions-section";// The section's contract (MUL-5465) is mostly about being HONEST with the// user, so these tests target exactly that: what gets offered, and what the@@ -259,3 +259,45 @@ describe("QuickActionsSection", () => {expect(screen.getByRole("button", { name: /Quick actions 6/i })).toBeVisible();});});++describe("QuickActionsMenu", () => {+ beforeEach(() => {+ runMock.mockReset();+ loading = false;+ queryError = false;+ workspaceId = "ws-1";+ toastCalls.length = 0;+ reasonCode = undefined;+ listData = [action(), action({ id: "qa-2", name: "Old one", status: "archived" })];+ });++ it("renders nothing before the workspace has any actions", () => {+ listData = [];+ renderWithI18n(<QuickActionsMenu issueId="i-1" />);+ expect(screen.queryByRole("button", { name: "Quick actions" })).not.toBeInTheDocument();+ });++ it("lists the active actions and runs one, saying what came of it", async () => {+ runMock.mockResolvedValue(outcome("queued"));+ renderWithI18n(<QuickActionsMenu issueId="i-1" />);++ fireEvent.click(screen.getByRole("button", { name: "Quick actions" }));+ expect(screen.queryByRole("menuitem", { name: /Old one/ })).not.toBeInTheDocument();+ fireEvent.click(await screen.findByRole("menuitem", { name: /Code Review/ }));++ await waitFor(() => expect(runMock).toHaveBeenCalledWith({ quickActionId: "qa-1" }));+ await waitFor(() => expect(toastCalls[0]?.kind).toBe("success"));+ });++ it("explains a refusal in a dialog, as the sidebar does", async () => {+ reasonCode = "invocation_not_allowed";+ runMock.mockRejectedValue(new Error("forbidden"));+ renderWithI18n(<QuickActionsMenu issueId="i-1" />);++ fireEvent.click(screen.getByRole("button", { name: "Quick actions" }));+ fireEvent.click(await screen.findByRole("menuitem", { name: /Code Review/ }));++ await waitFor(() => expect(screen.getByRole("alertdialog")).toBeInTheDocument());+ expect(toastCalls).toHaveLength(0);+ });+});diff --git a/packages/views/issues/components/quick-actions-section.tsx b/packages/views/issues/components/quick-actions-section.tsxindex a50333fd7d..ded254e880 100644--- a/packages/views/issues/components/quick-actions-section.tsx+++ b/packages/views/issues/components/quick-actions-section.tsx@@ -2,7 +2,7 @@import { useMemo, useState } from "react";import { useQuery } from "@tanstack/react-query";-import { Loader2, Zap } from "@multica/ui/icons";+import { ChevronDown, Loader2, Zap } from "@multica/ui/icons";import { toast } from "sonner";import { dispatchReasonCode } from "@multica/core/api";import { useCurrentWorkspace } from "@multica/core/paths";@@ -18,6 +18,14 @@ import {AlertDialogHeader,AlertDialogTitle,} from "@multica/ui/components/ui/alert-dialog";+import { Button } from "@multica/ui/components/ui/button";+import {+ DropdownMenu,+ DropdownMenuContent,+ DropdownMenuItem,+ DropdownMenuTrigger,+} from "@multica/ui/components/ui/dropdown-menu";+import { TooltipHint } from "@multica/ui/components/common/tooltip-hint";import { Tooltip, TooltipContent, TooltipTrigger } from "@multica/ui/components/ui/tooltip";import { cn } from "@multica/ui/lib/utils";import { ActorAvatar } from "../../common/actor-avatar";@@ -81,7 +89,7 @@ export function QuickActionsSection({ issueId }: { issueId: string }) {key={action.id}action={action}issueId={issueId}- onBlocked={() => setBlocked(action)}+ onBlocked={setBlocked}/>))}{hiddenCount > 0 && (@@ -96,23 +104,7 @@ export function QuickActionsSection({ issueId }: { issueId: string }) {</div>) : null}- {/* One message for every refusal. The person reading this dialog and the- person who can fix the binding are different people — the clicker's- next step is the same either way, and the diagnostic detail lives in- settings where the owner will act on it. */}- <AlertDialog open={blocked !== null} onOpenChange={(v) => !v && setBlocked(null)}>- <AlertDialogContent>- <AlertDialogHeader>- <AlertDialogTitle>{t(($) => $.detail.quick_action_blocked_title)}</AlertDialogTitle>- <AlertDialogDescription>- {t(($) => $.detail.quick_action_blocked_body, { name: blocked?.name ?? "" })}- </AlertDialogDescription>- </AlertDialogHeader>- <AlertDialogFooter>- <AlertDialogAction>{t(($) => $.detail.quick_action_blocked_ok)}</AlertDialogAction>- </AlertDialogFooter>- </AlertDialogContent>- </AlertDialog>+ <QuickActionBlockedDialog action={blocked} onClose={() => setBlocked(null)} /></div>);}@@ -150,22 +142,16 @@ export function outcomeMessage(}}-function QuickActionRow({- action,- issueId,- onBlocked,-}: {- action: QuickAction;- issueId: string;- onBlocked: () => void;-}) {+/**+ * Runs a quick action on the issue and says what came of it. A refusal goes+ * to `onBlocked`, which explains it.+ */+function useQuickActionRun(issueId: string, onBlocked: (action: QuickAction) => void) {const { t } = useT("issues");const runMutation = useRunQuickAction(issueId);- const running = runMutation.isPending;- const targetName = action.target_name || t(($) => $.detail.quick_action_target_fallback);-- const handleRun = async () => {+ const run = async (action: QuickAction) => {+ const targetName = action.target_name || t(($) => $.detail.quick_action_target_fallback);try {const comment: Comment = await runMutation.mutateAsync({ quickActionId: action.id });const { message, kind } = outcomeMessage(comment.trigger_outcomes?.[0], targetName, t);@@ -177,19 +163,59 @@ function QuickActionRow({// a transient failure they should retry — it gets the dialog. Everything// else stays a toast.if (dispatchReasonCode(error) === "invocation_not_allowed") {- onBlocked();+ onBlocked(action);return;}toast.error(error instanceof Error ? error.message : String(error));}};+ return { run, running: runMutation.isPending };+}++/*+ * One message for every refusal. The person reading this dialog and the+ * person who can fix the binding are different people — the clicker's next+ * step is the same either way, and the diagnostic detail lives in settings+ * where the owner will act on it.+ */+function QuickActionBlockedDialog({ action, onClose }: { action: QuickAction | null; onClose: () => void }) {+ const { t } = useT("issues");+ return (+ <AlertDialog open={action !== null} onOpenChange={(v) => !v && onClose()}>+ <AlertDialogContent>+ <AlertDialogHeader>+ <AlertDialogTitle>{t(($) => $.detail.quick_action_blocked_title)}</AlertDialogTitle>+ <AlertDialogDescription>+ {t(($) => $.detail.quick_action_blocked_body, { name: action?.name ?? "" })}+ </AlertDialogDescription>+ </AlertDialogHeader>+ <AlertDialogFooter>+ <AlertDialogAction>{t(($) => $.detail.quick_action_blocked_ok)}</AlertDialogAction>+ </AlertDialogFooter>+ </AlertDialogContent>+ </AlertDialog>+ );+}++function QuickActionRow({+ action,+ issueId,+ onBlocked,+}: {+ action: QuickAction;+ issueId: string;+ onBlocked: (action: QuickAction) => void;+}) {+ const { t } = useT("issues");+ const { run, running } = useQuickActionRun(issueId, onBlocked);+ const targetName = action.target_name || t(($) => $.detail.quick_action_target_fallback);const row = (<div><buttontype="button"disabled={running}- onClick={() => void handleRun()}+ onClick={() => void run(action)}className={cn("group flex w-full items-center gap-2 rounded-md px-2 py-2 text-left text-caption transition-colors","hover:bg-accent/50 disabled:cursor-default disabled:opacity-60",@@ -231,3 +257,55 @@ function QuickActionRow({</Tooltip>);}++/**+ * The quick actions behind one button, for the Inbox bar. Nothing configured+ * renders nothing.+ */+export function QuickActionsMenu({ issueId }: { issueId: string }) {+ const { t } = useT("issues");+ const wsId = useCurrentWorkspace()?.id ?? "";+ const [blocked, setBlocked] = useState<QuickAction | null>(null);+ const { run, running } = useQuickActionRun(issueId, setBlocked);+ const { data = [] } = useQuery({+ ...quickActionListOptions(wsId),+ enabled: wsId !== "",+ });+ const actions = useMemo(() => data.filter((a) => a.status === "active"), [data]);+ if (actions.length === 0) return null;++ const label = t(($) => $.detail.section_quick_actions);+ return (+ <>+ <DropdownMenu>+ <TooltipHint label={label} side="bottom">+ <DropdownMenuTrigger+ render={<Button variant="ghost" size="sm" aria-label={label} className="shrink-0" disabled={running} />}+ >+ {running ? <Loader2 className="animate-spin text-muted-foreground" /> : <Zap className="text-muted-foreground" />}+ <span className="@max-[56rem]/inbox-bar:hidden">{label}</span>+ <ChevronDown className="size-3 text-muted-foreground @max-[30rem]/inbox-bar:hidden" />+ </DropdownMenuTrigger>+ </TooltipHint>+ <DropdownMenuContent align="start" className="w-auto min-w-56 max-w-80">+ {actions.map((action) => (+ <DropdownMenuItem key={action.id} onClick={() => void run(action)}>+ <Zap className="h-4 w-4" />+ <span className="min-w-0 flex-1 truncate">{action.name}</span>+ {action.target_name ? (+ <ActorAvatar+ actorType={action.assignee_type === "squad" ? "squad" : "agent"}+ actorId={action.assignee_id}+ size="xs"+ className="ml-4 shrink-0"+ showStatusDot={action.assignee_type === "agent"}+ />+ ) : null}+ </DropdownMenuItem>+ ))}+ </DropdownMenuContent>+ </DropdownMenu>+ <QuickActionBlockedDialog action={blocked} onClose={() => setBlocked(null)} />+ </>+ );+}diff --git a/packages/views/layout/panels/inbox-section.tsx b/packages/views/layout/panels/inbox-section.tsxindex 509b36c202..bd2925cd2e 100644--- a/packages/views/layout/panels/inbox-section.tsx+++ b/packages/views/layout/panels/inbox-section.tsx@@ -37,14 +37,13 @@ import { useInboxSelectionStore } from "@multica/core/inbox/selection-store";import { inboxRowKey, nextInboxRow } from "@multica/core/inbox/open-row";import { useWorkspacePaths } from "@multica/core/paths";import type { InboxItem } from "@multica/core/types";-import { useActorName } from "@multica/core/workspace/hooks";import { AppLink, useNavigation } from "../../navigation";import { useT } from "../../i18n";import { INBOX_TYPE_ICONS } from "../../inbox/components/inbox-filter-options";import { getInboxDisplayTitle, inboxRowHref, isAutopilotQuotaNotice } from "../../inbox/components/inbox-display";import { ARCHIVED_VIEW_PARAM } from "../../inbox/components/inbox-view";-import { ActorAvatar } from "../../common/actor-avatar";-import { InboxDetailLabel, useTypeLabels } from "../../inbox/components/inbox-detail-label";+import { useTypeLabels } from "../../inbox/components/inbox-detail-label";+import { InboxActorAvatar, InboxActorLine } from "../../inbox/components/inbox-actor";import { InboxFilterMenu } from "../../inbox/components/inbox-filter-menu";import { InboxSnoozeMenu } from "../../inbox/components/inbox-snooze-menu";import { useInboxSnooze } from "../../inbox/components/use-inbox-snooze";@@ -876,31 +875,6 @@ function inboxRowTitle(item: InboxItem, typeLabels: ReturnType<typeof useTypeLabreturn isAutopilotQuotaNotice(item.type) ? typeLabels[item.type] : getInboxDisplayTitle(item);}-function InboxActorAvatar({ item, size }: { item: InboxItem; size: "xs" | "sm" }) {- return (- <ActorAvatar- actorType={item.actor_type ?? item.recipient_type}- actorId={item.actor_id ?? item.recipient_id}- size={size}- />- );-}--/** Who did what: the actor's name, then what the notification says happened. */-function InboxActorLine({ item, detail }: { item: InboxItem; detail?: ReactNode }) {- const { getActorName } = useActorName();- const name =- item.actor_type && item.actor_type !== "system" && item.actor_id- ? getActorName(item.actor_type, item.actor_id)- : null;- return (- <>- {name && <span className="font-medium">{name} </span>}- {detail ?? <InboxDetailLabel item={item} />}- </>- );-}-/** The whole notification, shown while a row is hovered. */function InboxRowCard({item,diff --git a/packages/views/layout/panels/work-panel.test.tsx b/packages/views/layout/panels/work-panel.test.tsxindex bc28d375d2..32fec39dc9 100644--- a/packages/views/layout/panels/work-panel.test.tsx+++ b/packages/views/layout/panels/work-panel.test.tsx@@ -31,7 +31,7 @@ import type {} from "@multica/core/types";import { renderWithI18n } from "../../test/i18n";import { NavigationProvider, type NavigationAdapter } from "../../navigation";-import { IssueInboxActions } from "../../issues/actions/issue-inbox-actions";+import { IssueInboxBar } from "../../issues/actions/issue-inbox-actions";import { KeptRowsRelease, WorkPanel } from "./work-panel";const apiMock = vi.hoisted(() => ({ listIssueTableRows: vi.fn(), getIssue: vi.fn() }));@@ -209,7 +209,7 @@ function renderPanel({/* Each desktop tab mounts its own page. */}{desktop && pathname.startsWith("/acme/issues/") && (<div data-testid="issue-header">- <IssueInboxActions key={pathname} issueId={pathname.split("/").at(-1)!} onMarkDone={() => {}} />+ <IssueInboxBar key={pathname} issueId={pathname.split("/").at(-1)!} /></div>)}{sheetOpen && spaceForPath(pathname) === "work" && <WorkPanel />}diff --git a/packages/views/locales/en/inbox.json b/packages/views/locales/en/inbox.jsonindex f334177a87..0379d1807e 100644--- a/packages/views/locales/en/inbox.json+++ b/packages/views/locales/en/inbox.json@@ -48,7 +48,6 @@"list": {"loading_selection": "Loading notification...","empty": "No notifications",- "mark_done_tooltip": "Mark as done","archive_tooltip": "Archive","time": {"just_now": "just now",@@ -126,6 +125,7 @@"set_due_date_to": "Set due date to {{date}}","removed_due_date": "Removed due date","reacted_to_comment": "Reacted {{emoji}} to your comment",+ "commented": "Commented","created_with_agent": "Created with agent: {{identifier}}","failed_with_detail": "Failed: {{detail}}","autopilot_quota_blocked": "Run blocked because the limit was reached",@@ -158,7 +158,6 @@"mark_read_failed": "Failed to mark as read","mark_unread_failed": "Failed to mark as unread","archive_failed": "Failed to archive",- "mark_done_failed": "Failed to mark as done","mark_all_read_failed": "Failed to mark all as read","archive_all_failed": "Failed to archive all","archive_all_read_failed": "Failed to archive read items",diff --git a/packages/views/locales/en/issues.json b/packages/views/locales/en/issues.jsonindex 2b34e75955..812af729a5 100644--- a/packages/views/locales/en/issues.json+++ b/packages/views/locales/en/issues.json@@ -578,10 +578,7 @@"change_subscribers_placeholder": "Change subscribers...","members_group": "Members","agents_group": "Agents",- "mark_done_tooltip": "Mark as done","archive_tooltip": "Archive",- "pin_tooltip": "Pin to sidebar",- "unpin_tooltip": "Unpin from sidebar","quick_jump_label": "Quick navigation","description_nav_label": "Issue description","sub_issues_nav_progress": "{{done}}/{{total}} completed",diff --git a/packages/views/locales/es/inbox.json b/packages/views/locales/es/inbox.jsonindex 40f66788ff..650e9c5958 100644--- a/packages/views/locales/es/inbox.json+++ b/packages/views/locales/es/inbox.json@@ -48,7 +48,6 @@"list": {"loading_selection": "Cargando notificación…","empty": "No hay notificaciones",- "mark_done_tooltip": "Marcar como hecho","archive_tooltip": "Archivar","time": {"just_now": "ahora mismo",@@ -126,6 +125,7 @@"set_due_date_to": "Establecer fecha de entrega en {{date}}","removed_due_date": "Fecha de entrega eliminada","reacted_to_comment": "Reaccionó {{emoji}} a tu comentario",+ "commented": "Comentó","created_with_agent": "Creada con agente: {{identifier}}","failed_with_detail": "Falló: {{detail}}","autopilot_quota_blocked": "Ejecución bloqueada porque se alcanzó el límite",@@ -158,7 +158,6 @@"mark_read_failed": "No se ha podido marcar como leído","mark_unread_failed": "No se ha podido marcar como no leído","archive_failed": "No se ha podido archivar",- "mark_done_failed": "No se ha podido marcar como hecho","mark_all_read_failed": "No se ha podido marcar todo como leído","archive_all_failed": "No se ha podido archivar todo","archive_all_read_failed": "No se ha podido archivar los elementos leídos",diff --git a/packages/views/locales/es/issues.json b/packages/views/locales/es/issues.jsonindex 6d7eb7457b..533c8212b7 100644--- a/packages/views/locales/es/issues.json+++ b/packages/views/locales/es/issues.json@@ -547,10 +547,7 @@"change_subscribers_placeholder": "Cambiar suscriptores...","members_group": "Miembros","agents_group": "Agentes",- "mark_done_tooltip": "Marcar como hecho","archive_tooltip": "Archivar",- "pin_tooltip": "Fijar en la barra lateral",- "unpin_tooltip": "Dejar de fijar de la barra lateral","thread_nav_label": "Ir a la conversación de comentarios","thread_nav_resolved_label": "{{title}} (resuelto)","thread_nav_reply_label": "{{author}}: {{title}}",diff --git a/packages/views/locales/fr/inbox.json b/packages/views/locales/fr/inbox.jsonindex 984bf3cf46..11da7305fe 100644--- a/packages/views/locales/fr/inbox.json+++ b/packages/views/locales/fr/inbox.json@@ -48,7 +48,6 @@"list": {"loading_selection": "Chargement de la notification…","empty": "Aucune notification",- "mark_done_tooltip": "Marquer comme traité","archive_tooltip": "Archiver","time": {"just_now": "à l'instant",@@ -126,6 +125,7 @@"set_due_date_to": "Date d'échéance définie au {{date}}","removed_due_date": "Date d'échéance retirée","reacted_to_comment": "A réagi {{emoji}} à votre commentaire",+ "commented": "A commenté","created_with_agent": "Créé avec un agent : {{identifier}}","failed_with_detail": "Échec : {{detail}}","autopilot_quota_blocked": "Exécution bloquée car la limite a été atteinte",@@ -158,7 +158,6 @@"mark_read_failed": "Échec du marquage comme lu","mark_unread_failed": "Échec du marquage comme non lu","archive_failed": "Échec de l'archivage",- "mark_done_failed": "Échec du marquage comme traité","mark_all_read_failed": "Échec du marquage global comme lu","archive_all_failed": "Échec de l'archivage global","archive_all_read_failed": "Échec de l'archivage des éléments lus",diff --git a/packages/views/locales/fr/issues.json b/packages/views/locales/fr/issues.jsonindex befbdc951d..15f1c63ea7 100644--- a/packages/views/locales/fr/issues.json+++ b/packages/views/locales/fr/issues.json@@ -578,10 +578,7 @@"change_subscribers_placeholder": "Modifier les abonnés...","members_group": "Membres","agents_group": "Agents",- "mark_done_tooltip": "Marquer comme terminé","archive_tooltip": "Archiver",- "pin_tooltip": "Épingler à la barre latérale",- "unpin_tooltip": "Détacher de la barre latérale","quick_jump_label": "Navigation rapide","description_nav_label": "Description de la tâche","sub_issues_nav_progress": "{{done}}/{{total}} terminées",diff --git a/packages/views/locales/ja/inbox.json b/packages/views/locales/ja/inbox.jsonindex 2f3852a2db..c9e088c1f1 100644--- a/packages/views/locales/ja/inbox.json+++ b/packages/views/locales/ja/inbox.json@@ -46,7 +46,6 @@"list": {"loading_selection": "通知を読み込み中…","empty": "通知はありません",- "mark_done_tooltip": "完了にする","archive_tooltip": "アーカイブ","time": {"just_now": "たった今",@@ -124,6 +123,7 @@"set_due_date_to": "期限: {{date}}","removed_due_date": "期限を削除","reacted_to_comment": "あなたのコメントに {{emoji}} のリアクションをしました",+ "commented": "コメントしました","created_with_agent": "エージェントで作成: {{identifier}}","failed_with_detail": "失敗: {{detail}}","autopilot_quota_blocked": "上限に達したため実行をブロックしました",@@ -155,7 +155,6 @@"mark_read_failed": "既読にできませんでした","mark_unread_failed": "未読にできませんでした","archive_failed": "アーカイブできませんでした",- "mark_done_failed": "完了にできませんでした","mark_all_read_failed": "すべて既読にできませんでした","archive_all_failed": "すべてアーカイブできませんでした","archive_all_read_failed": "既読の項目をアーカイブできませんでした",diff --git a/packages/views/locales/ja/issues.json b/packages/views/locales/ja/issues.jsonindex 168160731c..4a3bac0a55 100644--- a/packages/views/locales/ja/issues.json+++ b/packages/views/locales/ja/issues.json@@ -568,10 +568,7 @@"change_subscribers_placeholder": "購読者を変更...","members_group": "メンバー","agents_group": "エージェント",- "mark_done_tooltip": "完了にする","archive_tooltip": "アーカイブ",- "pin_tooltip": "サイドバーにピン留め",- "unpin_tooltip": "サイドバーのピン留めを解除","quick_jump_label": "クイックナビゲーション","description_nav_label": "タスクの説明","sub_issues_nav_progress": "{{done}}/{{total}} 完了",diff --git a/packages/views/locales/ko/inbox.json b/packages/views/locales/ko/inbox.jsonindex 33575ad5bf..a78fca77d1 100644--- a/packages/views/locales/ko/inbox.json+++ b/packages/views/locales/ko/inbox.json@@ -46,7 +46,6 @@"list": {"loading_selection": "알림을 불러오는 중…","empty": "알림이 없습니다",- "mark_done_tooltip": "완료로 표시","archive_tooltip": "보관","time": {"just_now": "방금 전",@@ -124,6 +123,7 @@"set_due_date_to": "마감일: {{date}}","removed_due_date": "마감일 제거됨","reacted_to_comment": "내 댓글에 {{emoji}} 반응을 남겼습니다",+ "commented": "댓글을 남겼습니다","created_with_agent": "에이전트가 생성: {{identifier}}","failed_with_detail": "실패: {{detail}}","autopilot_quota_blocked": "한도에 도달하여 실행이 차단됨",@@ -155,7 +155,6 @@"mark_read_failed": "읽음 표시를 하지 못했습니다","mark_unread_failed": "읽지 않음 표시를 하지 못했습니다","archive_failed": "보관하지 못했습니다",- "mark_done_failed": "완료 표시를 하지 못했습니다","mark_all_read_failed": "모두 읽음으로 표시하지 못했습니다","archive_all_failed": "모두 보관하지 못했습니다","archive_all_read_failed": "읽은 항목을 보관하지 못했습니다",diff --git a/packages/views/locales/ko/issues.json b/packages/views/locales/ko/issues.jsonindex 159ddca45a..ba984ae18e 100644--- a/packages/views/locales/ko/issues.json+++ b/packages/views/locales/ko/issues.json@@ -568,10 +568,7 @@"change_subscribers_placeholder": "구독자 변경...","members_group": "멤버","agents_group": "에이전트",- "mark_done_tooltip": "완료로 표시","archive_tooltip": "보관",- "pin_tooltip": "사이드바에 고정",- "unpin_tooltip": "사이드바 고정 해제","quick_jump_label": "빠른 탐색","description_nav_label": "태스크 설명","sub_issues_nav_progress": "{{done}}/{{total}} 완료",diff --git a/packages/views/locales/ru/inbox.json b/packages/views/locales/ru/inbox.jsonindex ad20cb44d8..f8b148386a 100644--- a/packages/views/locales/ru/inbox.json+++ b/packages/views/locales/ru/inbox.json@@ -52,7 +52,6 @@"list": {"loading_selection": "Загрузка уведомления…","empty": "Нет уведомлений",- "mark_done_tooltip": "Отметить как выполненное","archive_tooltip": "Архивировать","time": {"just_now": "только что",@@ -130,6 +129,7 @@"set_due_date_to": "Установлен срок {{date}}","removed_due_date": "Срок удалён","reacted_to_comment": "Отреагировал(а) {{emoji}} на ваш комментарий",+ "commented": "Оставил(а) комментарий","created_with_agent": "Создано с помощью агента: {{identifier}}","failed_with_detail": "Ошибка: {{detail}}","autopilot_quota_blocked": "Запуск заблокирован, так как достигнут лимит",@@ -164,7 +164,6 @@"mark_read_failed": "Не удалось отметить как прочитанное","mark_unread_failed": "Не удалось отметить как непрочитанное","archive_failed": "Не удалось архивировать",- "mark_done_failed": "Не удалось отметить как выполненное","mark_all_read_failed": "Не удалось отметить всё как прочитанное","archive_all_failed": "Не удалось архивировать всё","archive_all_read_failed": "Не удалось архивировать прочитанные элементы",diff --git a/packages/views/locales/ru/issues.json b/packages/views/locales/ru/issues.jsonindex 4c47fc1a5c..b3018310a8 100644--- a/packages/views/locales/ru/issues.json+++ b/packages/views/locales/ru/issues.json@@ -592,10 +592,7 @@"change_subscribers_placeholder": "Изменить подписчиков...","members_group": "Участники","agents_group": "Агенты",- "mark_done_tooltip": "Отметить как готово","archive_tooltip": "Архивировать",- "pin_tooltip": "Закрепить в боковой панели",- "unpin_tooltip": "Открепить от боковой панели","quick_jump_label": "Быстрая навигация","description_nav_label": "Описание задачи","sub_issues_nav_progress": "Завершено: {{done}}/{{total}}",diff --git a/packages/views/locales/zh-Hans/inbox.json b/packages/views/locales/zh-Hans/inbox.jsonindex 5a7fed85c5..426527bb05 100644--- a/packages/views/locales/zh-Hans/inbox.json+++ b/packages/views/locales/zh-Hans/inbox.json@@ -46,7 +46,6 @@"list": {"loading_selection": "正在加载通知...","empty": "暂无通知",- "mark_done_tooltip": "标为已完成","archive_tooltip": "归档","time": {"just_now": "刚刚",@@ -124,6 +123,7 @@"set_due_date_to": "截止日期设为 {{date}}","removed_due_date": "移除了截止日期","reacted_to_comment": "用 {{emoji}} 回应了你的评论",+ "commented": "评论了","created_with_agent": "通过智能体创建:{{identifier}}","failed_with_detail": "失败:{{detail}}","autopilot_quota_blocked": "执行已被阻止:额度已用完",@@ -155,7 +155,6 @@"mark_read_failed": "标为已读失败","mark_unread_failed": "标为未读失败","archive_failed": "归档失败",- "mark_done_failed": "标为已完成失败","mark_all_read_failed": "全部标为已读失败","archive_all_failed": "归档全部失败","archive_all_read_failed": "归档已读失败",diff --git a/packages/views/locales/zh-Hans/issues.json b/packages/views/locales/zh-Hans/issues.jsonindex 7eeb85b138..d0298eac98 100644--- a/packages/views/locales/zh-Hans/issues.json+++ b/packages/views/locales/zh-Hans/issues.json@@ -566,10 +566,7 @@"change_subscribers_placeholder": "更改订阅者...","members_group": "成员","agents_group": "智能体",- "mark_done_tooltip": "标记为已完成","archive_tooltip": "归档",- "pin_tooltip": "固定到侧边栏",- "unpin_tooltip": "从侧边栏取消固定","quick_jump_label": "快捷跳转","description_nav_label": "任务描述","sub_issues_nav_progress": "已完成 {{done}}/{{total}}",diff --git a/packages/views/locales/zh-Hant/inbox.json b/packages/views/locales/zh-Hant/inbox.jsonindex 4b2e6a43a4..7dc5fd7803 100644--- a/packages/views/locales/zh-Hant/inbox.json+++ b/packages/views/locales/zh-Hant/inbox.json@@ -46,7 +46,6 @@"list": {"loading_selection": "正在載入通知…","empty": "暫無通知",- "mark_done_tooltip": "標為已完成","archive_tooltip": "歸檔","time": {"just_now": "剛剛",@@ -124,6 +123,7 @@"set_due_date_to": "截止日期設為 {{date}}","removed_due_date": "移除了截止日期","reacted_to_comment": "用 {{emoji}} 回應了你的評論",+ "commented": "評論了","created_with_agent": "透過 AI 代理建立:{{identifier}}","failed_with_detail": "失敗:{{detail}}","autopilot_quota_blocked": "執行已被阻止:額度已用完",@@ -155,7 +155,6 @@"mark_read_failed": "標為已讀失敗","mark_unread_failed": "標為未讀失敗","archive_failed": "歸檔失敗",- "mark_done_failed": "標為已完成失敗","mark_all_read_failed": "全部標為已讀失敗","archive_all_failed": "歸檔全部失敗","archive_all_read_failed": "歸檔已讀失敗",diff --git a/packages/views/locales/zh-Hant/issues.json b/packages/views/locales/zh-Hant/issues.jsonindex 490f103ad1..68da04f1ae 100644--- a/packages/views/locales/zh-Hant/issues.json+++ b/packages/views/locales/zh-Hant/issues.json@@ -566,10 +566,7 @@"change_subscribers_placeholder": "更改訂閱者...","members_group": "成員","agents_group": "AI 代理",- "mark_done_tooltip": "標記為已完成","archive_tooltip": "歸檔",- "pin_tooltip": "固定到側邊欄",- "unpin_tooltip": "從側邊欄取消固定","quick_jump_label": "快捷跳轉","description_nav_label": "任務描述","sub_issues_nav_progress": "已完成 {{done}}/{{total}}",