Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
feat(inbox): float the notification's actions above the composer, round Jump to latest (MUL-9995) (#11340)
Jiayuan Zhang005a6de5cddf
diff --git a/apps/docs/components/demos/inbox-demo.tsx b/apps/docs/components/demos/inbox-demo.tsxindex cab999cedd..fc84a10cff 100644--- a/apps/docs/components/demos/inbox-demo.tsx+++ b/apps/docs/components/demos/inbox-demo.tsx@@ -12,6 +12,7 @@ import {CircleDashed,CircleDot,Filter,+ MoreHorizontal,SlidersHorizontal,X,} from "@multica/ui/icons";@@ -28,8 +29,6 @@ type Notice = {title: string;actor: string;agent: boolean;- /** Who did what, under the title. */- detail: string;time: string;/** What the issue shows when the notification is opened. */body: string;@@ -45,7 +44,7 @@ type Copy = {/** Newest first, as the section lists them. */notices: Notice[];selectPrompt: string;- /** The Inbox bar under the issue's header. */+ /** The Inbox's floating group above the composer. */snooze: string;/** The assignee of the issues that aren't an agent's. */you: string;@@ -74,7 +73,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "Sort out March expense claims",actor: "Lei Li",agent: false,- detail: "Mentioned you",time: "5m",mention: "@You",body: "Two March invoices are still missing. Can you send them by Friday?",@@ -85,7 +83,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "Write the November campaign post",actor: "Writing helper",agent: true,- detail: "The first draft is in the comments.",time: "20m",body: "The first draft is ready. Pick one of the two titles and I'll finish it.",},@@ -95,7 +92,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "Update the customer service FAQ",actor: "Ops helper",agent: true,- detail: "Run failed",time: "1h",body: "Ops helper's run failed before it finished.",},@@ -105,7 +101,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "Prepare the quarterly supplier review",actor: "Lei Li",agent: false,- detail: "Assigned to you",time: "3h",body: "",},@@ -144,7 +139,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "整理三月报销单",actor: "李雷",agent: false,- detail: "提及了你",time: "5 分钟",mention: "@你",body: "三月还差两张发票,周五前能补上吗?",@@ -155,7 +149,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "写 11 月活动推文",actor: "文案助手",agent: true,- detail: "初稿放在评论里了。",time: "20 分钟",body: "初稿写好了。两个标题选一个,我来收尾。",},@@ -165,7 +158,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "更新客服常见问题",actor: "运营助手",agent: true,- detail: "运行失败",time: "1 小时",body: "运营助手的运行没有完成。",},@@ -175,7 +167,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "准备季度供应商评估",actor: "李雷",agent: false,- detail: "分配给你",time: "3 小时",body: "",},@@ -212,7 +203,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "整理三月報銷單",actor: "李雷",agent: false,- detail: "提及了你",time: "5 分鐘",mention: "@你",body: "三月還差兩張發票,週五前能補上嗎?",@@ -223,7 +213,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "寫 11 月活動推文",actor: "文案助手",agent: true,- detail: "初稿放在評論裡了。",time: "20 分鐘",body: "初稿寫好了。兩個標題選一個,我來收尾。",},@@ -233,7 +222,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "更新客服常見問題",actor: "營運助手",agent: true,- detail: "執行失敗",time: "1 小時",body: "營運助手的執行沒有完成。",},@@ -243,7 +231,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "準備季度供應商評估",actor: "李雷",agent: false,- detail: "分配給你",time: "3 小時",body: "",},@@ -280,7 +267,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "3 月の経費精算を整理する",actor: "李雷",agent: false,- detail: "メンションされました",time: "5分",mention: "@あなた",body: "3 月分の領収書がまだ 2 枚足りません。金曜までに出してもらえますか?",@@ -291,7 +277,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "11 月のキャンペーン投稿を書く",actor: "ライティングアシスタント",agent: true,- detail: "初稿をコメントに載せました。",time: "20分",body: "初稿ができました。タイトル案を 2 つから選んでもらえれば仕上げます。",},@@ -301,7 +286,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "カスタマーサポートの FAQ を更新する",actor: "運用アシスタント",agent: true,- detail: "実行失敗",time: "1時間",body: "運用アシスタントの実行は、終わる前に失敗しました。",},@@ -311,7 +295,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "四半期のサプライヤー評価を準備する",actor: "李雷",agent: false,- detail: "あなた に割り当て",time: "3時間",body: "",},@@ -350,7 +333,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "3월 경비 청구 정리",actor: "리레이",agent: false,- detail: "멘션됨",time: "5분",mention: "@나",body: "3월 영수증이 아직 두 장 빠져 있어요. 금요일까지 보내 주실 수 있나요?",@@ -361,7 +343,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "11월 캠페인 게시물 작성",actor: "글쓰기 도우미",agent: true,- detail: "초안을 댓글에 올렸습니다.",time: "20분",body: "초안이 준비됐습니다. 제목 두 가지 중 하나를 골라 주시면 마무리하겠습니다.",},@@ -371,7 +352,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "고객 지원 FAQ 업데이트",actor: "운영 도우미",agent: true,- detail: "실행 실패함",time: "1시간",body: "운영 도우미의 실행이 끝나기 전에 실패했습니다.",},@@ -381,7 +361,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "분기별 공급업체 평가 준비",actor: "리레이",agent: false,- detail: "나에게 할당",time: "3시간",body: "",},@@ -420,7 +399,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "Régulariser les notes de frais de mars",actor: "Lei Li",agent: false,- detail: "Vous a mentionné",time: "5 min",mention: "@Vous",body: "Il manque encore deux factures de mars. Pouvez-vous les envoyer d'ici vendredi ?",@@ -431,7 +409,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "Rédiger le post de la campagne de novembre",actor: "Assistant rédaction",agent: true,- detail: "Le premier jet est dans les commentaires.",time: "20 min",body: "Le premier jet est prêt. Choisissez l'un des deux titres et je le termine.",},@@ -441,7 +418,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "Mettre à jour la FAQ du service client",actor: "Assistant ops",agent: true,- detail: "Exécution en échec",time: "1 h",body: "L'exécution d'Assistant ops a échoué avant la fin.",},@@ -451,7 +427,6 @@ const copy: { en: Copy } & Partial<Record<Lang, Copy>> = {title: "Préparer la revue trimestrielle des fournisseurs",actor: "Lei Li",agent: false,- detail: "Assigné à vous",time: "3 h",body: "",},@@ -539,37 +514,58 @@ function RowAvatar({ name, agent }: { name: string; agent: boolean }) {);}-/** A control in the Inbox bar; unless `pinned`, its label gives way when the bar is narrow. */+/**+ * A control in the Inbox's floating group. When the group is narrow its+ * shortcut gives way, with the issue's labels, then the rest of the labels;+ * a `pinned` control keeps both.+ */function BarButton({icon,label,shortcut,muted = true,pinned = false,+ issue = false,+ primary = false,onClick,}: {icon: ReactNode;- label: string;+ label?: string;shortcut?: string;muted?: boolean;pinned?: boolean;+ issue?: boolean;+ primary?: boolean;onClick?: () => void;}) {return (<Buttontype="button"- variant="ghost"+ variant={primary ? "default" : "ghost"}size="xs"aria-label={label}title={label}disabled={!onClick}onClick={onClick}- className={cn("shrink-0 gap-1 px-1.5 disabled:opacity-100 [&_svg]:size-3.5", muted && "text-muted-foreground")}+ className={cn(+ "shrink-0 gap-1 px-1.5 disabled:opacity-100 [&_svg]:size-3.5",+ muted && !primary && "text-muted-foreground",+ )}>{icon}- <span className={cn(!pinned && "@max-[30rem]/bar:hidden")}>{label}</span>+ {label && (+ <span className={cn(!pinned && (issue ? "@max-[30rem]/bar:hidden" : "@max-[18rem]/bar:hidden"))}>+ {label}+ </span>+ )}{shortcut && (- <kbd className="rounded border bg-muted px-1 font-mono text-[0.625rem] leading-4 text-muted-foreground @max-[24rem]/bar:hidden">+ <kbd+ className={cn(+ "rounded border px-1 font-mono text-[0.625rem] leading-4",+ !pinned && "@max-[30rem]/bar:hidden",+ primary ? "border-current/25 bg-current/14" : "bg-muted text-muted-foreground",+ )}+ >{shortcut}</kbd>)}@@ -578,8 +574,9 @@ function BarButton({}/**- * The bar under an issue opened from the Inbox: who did what and when, the- * issue's status and assignee, then the notification's Snooze and Archive.+ * The group floating above the composer of an issue opened from the Inbox:+ * the issue's status and assignee, then the notification's own actions, the+ * rarer ones behind ⋯, with Archive last.*/function InboxBar({notice,@@ -595,20 +592,14 @@ function InboxBar({const status = statusOf(notice.id);const assignee = notice.agent ? notice.actor : copy.you;return (- <div className="@container/bar flex h-9 items-center gap-0.5 border-b px-3">- <span className="mr-1 flex min-w-0 flex-1 items-center gap-1.5 text-caption text-muted-foreground">- <RowAvatar name={notice.actor} agent={notice.agent} />- <span className="min-w-0 truncate">- <span className="font-medium text-foreground">{notice.actor}</span> {notice.detail}- </span>- <span className="shrink-0 tabular-nums text-faint-foreground @max-[30rem]/bar:hidden">· {notice.time}</span>- </span>- <BarButton icon={<DemoStatus status={status} />} label={copy.statuses[status]} muted={false} />- <BarButton icon={<RowAvatar name={assignee} agent={notice.agent} />} label={assignee} muted={false} />+ <div className="flex min-w-0 max-w-full items-center gap-0.5 rounded-lg border bg-background px-1.5 py-1 shadow-lg">+ <BarButton icon={<DemoStatus status={status} />} label={copy.statuses[status]} muted={false} issue />+ <BarButton icon={<RowAvatar name={assignee} agent={notice.agent} />} label={assignee} muted={false} issue /><span aria-hidden className="mx-1 h-4 w-px shrink-0 bg-border" />+ <BarButton icon={<MoreHorizontal />} /><BarButton icon={<AlarmClock />} label={copy.snooze} shortcut="H" />- <CoachMark active={coach} side="bottom" align="end" ringClassName="rounded-md">- <BarButton icon={<Archive />} label={copy.archive} shortcut="E" pinned onClick={coach ? onArchive : undefined} />+ <CoachMark active={coach} side="top" align="end" ringClassName="rounded-md">+ <BarButton icon={<Archive />} label={copy.archive} shortcut="E" pinned primary onClick={coach ? onArchive : undefined} /></CoachMark></div>);@@ -742,18 +733,10 @@ export function InboxDemo() {const detail = selected ? (<div key={selected.id} className="flex min-w-0 flex-1 flex-col motion-safe:animate-in motion-safe:fade-in"><div className="flex h-10 items-center gap-1.5 border-b px-3 text-caption">- <span className="shrink-0 text-muted-foreground">{t.inbox}</span>- <ChevronRight aria-hidden className="size-3 shrink-0 text-faint-foreground" /><span className="shrink-0 text-muted-foreground">{selected.issue}</span><span className="min-w-0 flex-1 truncate text-label font-medium">{selected.title}</span></div>- <InboxBar- notice={selected}- copy={t}- coach={phase === "opened" || phase === "archived"}- onArchive={() => setPhase(phase === "opened" ? "archived" : "archivedAgain")}- />- <div className="flex flex-col gap-2 p-3">+ <div className="flex flex-1 flex-col gap-2 p-3">{selected.id === "failed" ? (<><div className="flex items-center gap-2 text-body">@@ -773,6 +756,15 @@ export function InboxDemo() {</DemoComment>)}</div>+ <div className="@container/bar flex justify-center px-3 pb-2">+ <InboxBar+ notice={selected}+ copy={t}+ coach={phase === "opened" || phase === "archived"}+ onArchive={() => setPhase(phase === "opened" ? "archived" : "archivedAgain")}+ />+ </div>+ <div aria-hidden className="mx-3 mb-3 h-12 rounded-lg border bg-card" /></div>) : (<div className="flex min-h-32 flex-1 items-center justify-center p-4 text-caption text-muted-foreground">diff --git a/apps/docs/content/docs/inbox.fr.mdx b/apps/docs/content/docs/inbox.fr.mdxindex f8e91e0293..b7d88689af 100644--- a/apps/docs/content/docs/inbox.fr.mdx+++ b/apps/docs/content/docs/inbox.fr.mdx@@ -90,17 +90,20 @@ Une exécution d'agent autorisée utilise son identifiant d'exécution pour tout## Traiter les notifications-Cliquez sur une ligne pour ouvrir la notification sur la page Boîte de réception, au commentaire dont elle parle. Toutes les notifications s'ouvrent là, y compris celles sans tâche, comme les mises en pause d'automatisation et les résultats de création rapide. La ligne reste en surbrillance tant que la notification est ouverte, et un nouveau clic vous ramène à cet endroit. L'ouvrir la marque comme lue, et la ligne reste dans la liste. Au-dessus de la tâche, **Boîte de réception** ramène à la liste, et **Ouvrir la page de la tâche** (↗) ouvre la tâche sur sa propre page, sans la barre de la boîte de réception.+Cliquez sur une ligne pour ouvrir la notification sur la page Boîte de réception, au commentaire dont elle parle. Toutes les notifications s'ouvrent là, y compris celles sans tâche, comme les mises en pause d'automatisation et les résultats de création rapide. La ligne reste en surbrillance tant que la notification est ouverte, et un nouveau clic vous ramène à cet endroit. L'ouvrir la marque comme lue, et la ligne reste dans la liste. Dans l'en-tête de la tâche, **Ouvrir la page de la tâche** (↗) ouvre la tâche sur sa propre page, sans les actions de la boîte de réception ; sur un téléphone, la flèche de retour ramène à la liste.<InboxDemo />-La tâche 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 :+Un groupe d'actions flotte au-dessus de la zone de commentaire, centré sur la tâche. Il propose ce qui règle d'habitude la notification, d'abord les actions de la tâche, puis celles de la notification, chacune avec son raccourci à côté :- **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.-- **Marquer comme non lu / Marquer comme lu** (`U`) bascule l'état de lecture de la notification ouverte sans la fermer.+- **⋯** regroupe les actions moins fréquentes :+ - **Marquer comme non lu / Marquer comme lu** (`U`) bascule l'état de lecture de la notification ouverte sans la fermer.+ - **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, le menu propose deux choix, cette tâche seulement ou cette tâche avec toutes ses sous-tâches, et `⇧E` l'ouvre directement sur ces choix. 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.- **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.-- **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 ; par défaut, sa notification est archivée elle aussi (voir plus bas quand une notification quitte la boîte de réception).-- **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.+- **Archiver** (`E`), le bouton plein à droite, 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 ; par défaut, sa notification est archivée elle aussi (voir plus bas quand une notification quitte la boîte de réception).++Quand la fenêtre est étroite, les raccourcis s'effacent d'abord, puis les noms ; survolez un bouton pour voir les deux.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. Appuyez sur `J` et `K` pour passer à la notification suivante ou précédente dans l'onglet actif sans archiver.@@ -113,18 +116,18 @@ Dans l'onglet **Boîte de réception**, le menu ⋯ de la section regroupe les a- **Archiver les éléments terminés**, pour les tâches des catégories `done` ou `closed` ;- **Tout archiver** (demande confirmation avant d'archiver toutes les notifications actives ; les tâches reportées ne sont pas touchées).-L'onglet **Archivées** liste les notifications archivées. D'autres éléments se chargent au fil du défilement, et les filtres s'appliquent à l'ensemble des archives, y compris aux éléments pas encore chargés. Les notifications archivées conservent leur état de lecture : **Remettre dans la boîte de réception**, sur la ligne ou dans la barre d'une notification ouverte (ou `E`), en rétablit une exactement comme vous l'aviez laissée.+L'onglet **Archivées** liste les notifications archivées. D'autres éléments se chargent au fil du défilement, et les filtres s'appliquent à l'ensemble des archives, y compris aux éléments pas encore chargés. Les notifications archivées conservent leur état de lecture : **Remettre dans la boîte de réception**, sur la ligne ou dans le groupe au-dessus d'une notification ouverte (ou `E`), en rétablit une exactement comme vous l'aviez laissée.## 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 **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 (`Z`) ; 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 le groupe au-dessus 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 (`Z`) ; 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 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 traitez** compte la fin de la tâche (c'est le cas par défaut) ;-- ouvrir directement la page de la tâche ne la marque pas comme lue et ne met pas fin au report. Ouverte depuis l'onglet **Reportés**, sa barre indique quand elle revient ; **Changer l'heure** la fait revenir maintenant (`H`) ou choisit une autre heure.+- ouvrir directement la page de la tâche ne la marque pas comme lue et ne met pas fin au report. Ouverte depuis l'onglet **Reportés**, son groupe 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 l'onglet **Reportés**, où le bouton de chaque ligne le fait revenir maintenant.@@ -134,15 +137,15 @@ Si l'onglet **Reportés** ne se charge pas, sélectionnez **Réessayer**. Les éLire 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, la barre de la boîte de réception ou une action groupée ;+- quand vous l'archivez, depuis sa ligne, la carte de survol, le groupe au-dessus de la tâche 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 traitez vous-même sa tâche, selon le réglage **Archiver les tâches que vous traitez** dans **Paramètres → Notifications**. Le choix par défaut, **Quand vous la terminez ou déclenchez un agent**, compte le passage de la tâche à un statut `done` ou `closed`, ainsi que toute action qui confie réellement du travail à un agent : un commentaire, une action rapide ou un message en cours d'exécution ; l'assignation à un agent ou une escouade hors `backlog` ; la sortie du `backlog` (y compris vers `todo`) d'une tâche assignée à un agent ou une escouade ; l'entrée dans une colonne de flux dotée d'un agent ; une relance ; ou le déclenchement manuel d'un réveil. Organiser la tâche sans réveiller d'agent — passer une tâche non assignée de `backlog` à `todo`, assigner un agent dans `backlog`, retirer l'assigné, poster un commentaire `/note`, désactiver le déclenchement ou rencontrer un environnement bloqué — laisse la notification en place. **Quand vous la terminez** ne compte que `done` et `closed`, **Jamais** désactive l'archivage automatique, et **Personnalisé** choisit les actions une à une, y compris répondre, faire avancer le statut, réassigner ou changer la priorité, le projet, les dates ou les libellés, désactivés 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 fait de même, 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 d'elle-même (vous passez la tâche à `done` depuis son statut, vous déclenchez un agent, 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é. Quand vous déclenchez un agent, la barre affiche l'agent en cours d'exécution et précise que la tâche reviendra dans votre boîte de réception en cas de nouvelle activité, tandis que la ligne de la barre latérale se met à jour sur place jusqu'à votre départ. Quand un autre changement fait depuis la barre archive la notification, la barre le nomme, par exemple *Statut passé à En cours · Notification archivée*, et garde **Statut**, **Assigné à** et **Actions rapides** pour la suite. **Annuler** (ou `Z`) fait revenir la notification, et **Suivante** (ou `E`) ouvre la ligne suivante. La ligne disparaît dès que vous passez à autre chose, et la tâche en cours reste visible sous **Vues → En cours**. Si c'était la dernière notification de votre boîte de réception, la barre affiche plutôt **Boîte de réception vide** avec le nombre de tâches reportées, et propose **Aller à Mon travail** à la place de **Suivante** ; `E` ouvre la boîte de réception vide.+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 d'elle-même (vous passez la tâche à `done` depuis son statut, vous déclenchez un agent, une autre fenêtre l'archive, ou une modification la sort des filtres de la section), la ligne reste en surbrillance à sa place et le groupe au-dessus de la tâche indique **Archivée**. Survolez-le pour savoir pourquoi et ce qui suit, par exemple *Statut passé à En cours · Revient dans la boîte de réception en cas de nouvelle activité*. Quand vous déclenchez un agent, l'en-tête de la tâche montre qu'il est au travail, tandis que la ligne de la barre latérale se met à jour sur place jusqu'à votre départ. Quand un changement fait depuis le groupe archive la notification, le groupe garde **Statut**, **Assigné à** et **Actions rapides** pour la suite. **Annuler** (`Z`) fait revenir la notification, et **Suivante** (`E`), devenu le bouton plein, ouvre la ligne suivante. La ligne disparaît dès que vous passez à autre chose, et la tâche en cours reste visible sous **Vues → En cours**. Si c'était la dernière notification de votre boîte de réception, le groupe affiche plutôt **Boîte de réception vide** avec le nombre de tâches reportées, et propose **Aller à Mon travail** à la place de **Suivante** ; `E` ouvre la boîte de réception vide.-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 page de la boîte de réception s'ouvre sur **Boîte de réception vide**. Elle rappelle ce que vous venez de faire, avec **Annuler** (ou `Z`) pour revenir en arrière, et indique combien de tâches sont reportées et quand la prochaine revient. Quand des filtres masquaient le reste de votre boîte de réception, elle indique plutôt combien de notifications restent et propose **Effacer les filtres et continuer**. Revenir en arrière ramène à la tâche. L'archivage et les actions groupées proposent **Annuler**, qui fait revenir les notifications sans changer le statut de la tâche. Les confirmations qui proposent **Annuler**, pour l'archivage, le report comme le désabonnement, restent 10 secondes ; tant que l'une d'elles est affichée, `Z` annule cette dernière action.+Quand vous retirez vous-même la ligne ouverte, depuis le groupe au-dessus 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 page de la boîte de réception s'ouvre sur **Boîte de réception vide**. Elle rappelle ce que vous venez de faire, avec **Annuler** (ou `Z`) pour revenir en arrière, et indique combien de tâches sont reportées et quand la prochaine revient. Quand des filtres masquaient le reste de votre boîte de réception, elle indique plutôt combien de notifications restent et propose **Effacer les filtres et continuer**. Revenir en arrière ramène à la tâche. L'archivage et les actions groupées proposent **Annuler**, qui fait revenir les notifications sans changer le statut de la tâche. Les confirmations qui proposent **Annuler**, pour l'archivage, le report comme le désabonnement, restent 10 secondes ; tant que l'une d'elles est affichée, `Z` annule cette dernière action.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 5b266e5268..9966d243a9 100644--- a/apps/docs/content/docs/inbox.ja.mdx+++ b/apps/docs/content/docs/inbox.ja.mdx@@ -90,17 +90,20 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339、30m、3h、1d、1w## 通知の処理-行をクリックすると、インボックスページでその通知が開き、対象のコメントの位置に移動します。オートパイロットの一時停止やエージェント経由の作成結果など、タスクのない通知も含め、すべての通知がここで開きます。開いている間、その行はハイライトされたままで、もう一度クリックするとその位置に戻ります。開くと通知は既読になりますが、行はリストに残ります。タスクの上の **インボックス** からリストに戻れ、**タスクページで開く**(↗)でタスクを単独のページで開けます。そのページにはインボックスバーは表示されません。+行をクリックすると、インボックスページでその通知が開き、対象のコメントの位置に移動します。オートパイロットの一時停止やエージェント経由の作成結果など、タスクのない通知も含め、すべての通知がここで開きます。開いている間、その行はハイライトされたままで、もう一度クリックするとその位置に戻ります。開くと通知は既読になりますが、行はリストに残ります。タスクのヘッダーの **タスクページで開く**(↗)でタスクを単独のページで開けます。そのページにはインボックスの操作は表示されません。スマートフォンでは戻る矢印でリストに戻ります。<InboxDemo />-タスクのヘッダーの下にはインボックスバーが表示されます。誰がいつ何をしたかを示し、通知を片付けるための操作が並びます。+コメント欄の上に、操作のグループが中央に浮かんで表示されます。通知を片付けるための操作が、タスク自体のもの、通知のものの順に並び、それぞれの横にショートカットが表示されます。- **ステータス**、**担当者**、**クイックアクション** はタスクそのものを変更します。プロパティと同じです。クイックアクションはワークスペースにあるときだけ表示されます。-- **未読にする / 既読にする**(`U`)は、開いている通知を閉じずにその場で未読・既読を切り替えます。+- **⋯** には使用頻度の低い操作が入っています。+ - **未読にする / 既読にする**(`U`)は、開いている通知を閉じずにその場で未読・既読を切り替えます。+ - **購読解除してアーカイブ**(`⇧E`)は、自分のタスクではないとき(担当者が自分でも自分のエージェントでもない)に表示されます。タスクの購読を解除し、通知をアーカイブして次の通知を開きます。以降の通常の更新はインボックスに届きませんが、@メンションは引き続き通知されます。サブタスクがある場合は、メニューに「このタスクのみ」と「すべてのサブタスクを含める」の 2 つが並び、`⇧E` でその選択肢を開いた状態のメニューが開きます。このタスクのみの場合は確認メッセージの **元に戻す** で購読を元どおりに戻せます。サブタスクごと解除した場合はここでは戻せないので、タスクのページで購読し直してください。ホバーカードと行の右クリックメニューにも同じ操作があります。- **スヌーズ**(`H`)は、指定した時間までタスクをインボックスから外し、次の通知を開きます。詳しくは下の「タスクをスヌーズする」を参照してください。-- **アーカイブ**(`E`)は、通知をアーカイブして次の通知を開きます。アーカイブしてもタスクは変更・削除されません。タスクを終えるときはステータスを変えます。既定ではそれで通知もアーカイブされます(下の「通知がインボックスから外れるとき」を参照)。-- **購読解除してアーカイブ**(`⇧E`)は、自分のタスクではないとき(担当者が自分でも自分のエージェントでもない)に表示されます。タスクの購読を解除し、通知をアーカイブして次の通知を開きます。以降の通常の更新はインボックスに届きませんが、@メンションは引き続き通知されます。サブタスクがある場合は、このタスクのみか、すべてのサブタスクを含めるかを選べます。このタスクのみの場合は確認メッセージの **元に戻す** で購読を元どおりに戻せます。サブタスクごと解除した場合はここでは戻せないので、タスクのページで購読し直してください。ホバーカードと行の右クリックメニューにも同じ操作があります。+- **アーカイブ**(`E`)は右端の塗りつぶしボタンで、通知をアーカイブして次の通知を開きます。アーカイブしてもタスクは変更・削除されません。タスクを終えるときはステータスを変えます。既定ではそれで通知もアーカイブされます(下の「通知がインボックスから外れるとき」を参照)。++ウィンドウが狭いときは、まずショートカット、次に名前が省かれます。ボタンにカーソルを合わせると両方が表示されます。次の通知とは、セクションが現在のフィルターで表示している次の行のことです。リストに戻らずにインボックスを順に片付けられます。`J` / `K` を押すと、アーカイブせずに現在のタブの前後へ移動できます。@@ -113,18 +116,18 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339、30m、3h、1d、1w- **完了した項目をアーカイブ**(`done` または `closed` カテゴリのタスクの通知)- **すべてアーカイブ**(実行前に確認ダイアログが表示され、アクティブな通知のみをアーカイブします。スヌーズ中のタスクはそのまま残ります)-**アーカイブ済み** タブには、アーカイブした通知がスクロールに合わせて読み込まれます。フィルターは、まだ読み込まれていない通知も含め、アーカイブ全体に適用されます。アーカイブ済みの通知は既読状態を保持するため、行または開いた通知のバーにある **インボックスに戻す**(または `E`)で元のまま戻ります。+**アーカイブ済み** タブには、アーカイブした通知がスクロールに合わせて読み込まれます。フィルターは、まだ読み込まれていない通知も含め、アーカイブ全体に適用されます。アーカイブ済みの通知は既読状態を保持するため、行または開いた通知の上の操作グループにある **インボックスに戻す**(または `E`)で元のまま戻ります。## タスクをスヌーズする-スヌーズすると、タスクは指定した時間までインボックスから外れ、その時間になると未読のまま一番上に戻ります。インボックスバーの **スヌーズ**(または `H`)、行にカーソルを合わせたときにアーカイブの横に出るボタン、または行のホバーカードからスヌーズできます。**1 時間**、**3 時間**、**1 日**、**3 日**、**1 週間** のほか、**日時を選択…** で 1 年以内の任意の日時を選べます。1 日以上のスヌーズは今の時刻のまま戻りますが、22:00〜6:00 にスヌーズした場合は朝 9:00 に戻ります。確認メッセージから元に戻せます(`Z`)。時間を変更した場合は、元の時間に戻ります。+スヌーズすると、タスクは指定した時間までインボックスから外れ、その時間になると未読のまま一番上に戻ります。タスクの上の操作グループにある **スヌーズ**(または `H`)、行にカーソルを合わせたときにアーカイブの横に出るボタン、または行のホバーカードからスヌーズできます。**1 時間**、**3 時間**、**1 日**、**3 日**、**1 週間** のほか、**日時を選択…** で 1 年以内の任意の日時を選べます。1 日以上のスヌーズは今の時刻のまま戻りますが、22:00〜6:00 にスヌーズした場合は朝 9:00 に戻ります。確認メッセージから元に戻せます(`Z`)。時間を変更した場合は、元の時間に戻ります。スヌーズ中のタスクは次のように扱われます。- 新しい通知も一緒に待機し、未読バッジには数えられません。戻ってきた行には **スヌーズ終了** と、その間に届いた更新の数が表示されます。- 名指しでメンションされたとき、自分に割り当てられたとき、実行が失敗したとき、すべてのサブタスクが完了したときは早めに戻ります。`@all` へのメンションでは戻りません。- **すべて既読にする** や一括アーカイブはスヌーズ中のタスクをスキップします。アーカイブするとスヌーズは終了します。**自分が対応したタスクをアーカイブ** が完了を含む(既定で含む)ときに自分でタスクを完了した場合も同じです。-- タスクページから直接開いても既読にはならず、スヌーズも終了しません。**スヌーズ中** タブから開くとバーに戻る時間が表示され、**時間を変更** から今すぐ戻す(`H`)か別の時間を選べます。+- タスクページから直接開いても既読にはならず、スヌーズも終了しません。**スヌーズ中** タブから開くと操作グループに戻る時間が表示され、**時間を変更** から今すぐ戻す(`H`)か別の時間を選べます。スヌーズは自分のインボックスだけに影響します。スヌーズ中のタスクは **スヌーズ中** タブにあり、各行のボタンで今すぐ戻せます。@@ -134,15 +137,15 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339、30m、3h、1d、1w既読にしても通知はインボックスから消えません。行が外れるのは次の場合だけです。-- 行、ホバーカード、インボックスバー、または一括操作から、あなたがアーカイブしたとき+- 行、ホバーカード、タスクの上の操作グループ、または一括操作から、あなたがアーカイブしたとき- タスクをスヌーズしたとき。これは一時的で、指定した時間になるか、対応が必要な通知が届くと戻ります。上の「タスクをスヌーズする」を参照してください。- あなた自身がタスクに対応したとき。何を対応とみなすかは **設定 → 通知** の **自分が対応したタスクをアーカイブ** で決まります。既定の **完了またはエージェントを起動したとき** では、タスクを `done`・`closed` カテゴリのステータスにすることと、実際にエージェントへ作業を渡す操作(エージェントを起動するコメント・クイックアクション・実行中への追記、`backlog` 以外でのエージェントやスクワッドへの割り当て、エージェントやスクワッド担当タスクの `backlog` からの昇格、`todo` を含む、エージェント担当のワークフロー列への移動、再実行、手動ウェイクアップ)が対象です。エージェントを起こさない整理(未割り当ての `backlog` → `todo`、`backlog` での事前割り当て、割り当て解除、`/note` コメント、トリガー抑止、ランタイム不可によるブロックなど)はアーカイブされません。**完了したとき** は `done` と `closed` だけ、**しない** で自動アーカイブはオフ、**カスタム** では操作を 1 つずつ選べ、既定では対象外の返信・ステータス前進・担当者変更・優先度・プロジェクト・日付・ラベルの変更も選べます。アーカイブされるのは、そのタスクに届いたあなた自身の通知だけで、既読かどうかは問いません。ほかの人やエージェントが同じ操作をした場合、その通知はあなたのインボックスに残るので、変化を見逃しません。- 「実行失敗」の通知で、タスクが人に引き継がれるステータスになったとき。対象は `in_review`、`started` カテゴリのカスタムステータス、`done`・`closed` カテゴリのすべてのステータスです。誰がステータスを変えたかにかかわらず、そのタスクの全員分の「実行失敗」の通知がアーカイブされ、上の設定には左右されません。`blocked` は例外です。人に引き継がれはしますが作業は止まったままなので、それまでの失敗の記録はまだ確認する必要があります。- そのワークスペースのインボックスが 2,000 件を超えたとき。新しい 2,000 件を残し、それより古い通知は既読かどうかにかかわらず、少し後に自動でアーカイブされます。スヌーズから戻った通知やアーカイブから戻した通知は、戻った時点の新しさで数えます。スヌーズ中のタスクの通知は数えず、そのまま残ります。-アーカイブされた行は、開いているウィンドウからもすぐに消えます。ただし、いま開いている行は別です。その通知が自動でインボックスから外れたとき(ステータスからタスクを `done` にした、エージェントを起動した、別のウィンドウでアーカイブされた、編集でセクションのフィルターに合わなくなった)、行は元の位置でハイライトされたまま残り、インボックスバーに何が起きたかが表示されます。エージェントを起動したときは、バーに実行中のエージェントと「新しい動きがあるとインボックスに戻ります」が表示され、サイドバーの行も移動するまでその場で更新されます。バーの **ステータス**、**担当者**、**クイックアクション** で変更して通知がアーカイブされたときは、「進行中 に変更 · 通知をアーカイブしました」のようにその操作が示され、これらの操作はバーに残るので続けて変更できます。**元に戻す**(または `Z`)で通知が戻り、**次へ**(または `E`)で次の行が開きます。行が消えるのはほかへ移ったときで、実行中のタスクは **ビュー → 実行中** で引き続き確認できます。それがインボックスの最後の通知だった場合、バーには代わりに **インボックスは空です** とスヌーズ中のタスク数が表示され、**次へ** の代わりに **自分の作業へ** が出ます。`E` で空になったインボックスが開きます。+アーカイブされた行は、開いているウィンドウからもすぐに消えます。ただし、いま開いている行は別です。その通知が自動でインボックスから外れたとき(ステータスからタスクを `done` にした、エージェントを起動した、別のウィンドウでアーカイブされた、編集でセクションのフィルターに合わなくなった)、行は元の位置でハイライトされたまま残り、操作グループに **アーカイブ済み** と表示されます。カーソルを合わせると、理由とこの先どうなるかが「進行中 に変更 · 新しい動きがあるとインボックスに戻ります」のように表示されます。エージェントを起動したときは、タスクのヘッダーに作業中であることが表示され、サイドバーの行も移動するまでその場で更新されます。操作グループの **ステータス**、**担当者**、**クイックアクション** で変更して通知がアーカイブされたときも、これらの操作はグループに残るので続けて変更できます。**元に戻す**(`Z`)で通知が戻り、塗りつぶしボタンになった **次へ**(`E`)で次の行が開きます。行が消えるのはほかへ移ったときで、実行中のタスクは **ビュー → 実行中** で引き続き確認できます。それがインボックスの最後の通知だった場合、操作グループには代わりに **インボックスは空です** とスヌーズ中のタスク数が表示され、**次へ** の代わりに **自分の作業へ** が出ます。`E` で空になったインボックスが開きます。-開いている行を自分で処理したとき(インボックスバー、その行、ホバーカード、その行を含む一括操作)は、代わりに次の行が開きます。残りがなければ、インボックスのページが開き、**インボックスは空です** と表示されます。直前の操作が示されて **元に戻す**(または `Z`)で取り戻せるほか、スヌーズ中のタスク数と次に戻る時刻が表示されます。フィルターでほかの通知が隠れているだけのときは、残りの件数と **フィルターを解除して続ける** が代わりに表示されます。戻るとタスクに戻れます。アーカイブと一括操作の確認には **元に戻す** があり、通知は戻りますが、タスクのステータスはそのままです。**元に戻す** のある確認メッセージ(アーカイブ、スヌーズ、購読解除のいずれも)は 10 秒間表示され、表示中に `Z` を押すとその操作を取り消せます。+開いている行を自分で処理したとき(操作グループ、その行、ホバーカード、その行を含む一括操作)は、代わりに次の行が開きます。残りがなければ、インボックスのページが開き、**インボックスは空です** と表示されます。直前の操作が示されて **元に戻す**(または `Z`)で取り戻せるほか、スヌーズ中のタスク数と次に戻る時刻が表示されます。フィルターでほかの通知が隠れているだけのときは、残りの件数と **フィルターを解除して続ける** が代わりに表示されます。戻るとタスクに戻れます。アーカイブと一括操作の確認には **元に戻す** があり、通知は戻りますが、タスクのステータスはそのままです。**元に戻す** のある確認メッセージ(アーカイブ、スヌーズ、購読解除のいずれも)は 10 秒間表示され、表示中に `Z` を押すとその操作を取り消せます。その後に届いた通知は、再びインボックスに入ります。diff --git a/apps/docs/content/docs/inbox.ko.mdx b/apps/docs/content/docs/inbox.ko.mdxindex aa6b30e587..4cdf2dd613 100644--- a/apps/docs/content/docs/inbox.ko.mdx+++ b/apps/docs/content/docs/inbox.ko.mdx@@ -90,17 +90,20 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339, 30m, 3h, 1d, 1w; uns## 알림 처리-행을 클릭하면 인박스 페이지에서 그 알림이 열리고, 알림이 가리키는 댓글 위치로 이동합니다. 자동화 일시 중지나 빠른 생성 결과처럼 태스크가 없는 알림을 포함해 모든 알림이 여기서 열립니다. 열려 있는 동안 그 행은 강조된 채로 남고, 다시 클릭하면 그 위치로 돌아갑니다. 열면 알림은 읽음으로 바뀌지만 행은 목록에 그대로 남습니다. 태스크 위의 **인박스**로 목록에 돌아갈 수 있고, **태스크 페이지에서 열기**(↗)는 태스크를 별도 페이지에서 엽니다. 그 페이지에는 인박스 바가 표시되지 않습니다.+행을 클릭하면 인박스 페이지에서 그 알림이 열리고, 알림이 가리키는 댓글 위치로 이동합니다. 자동화 일시 중지나 빠른 생성 결과처럼 태스크가 없는 알림을 포함해 모든 알림이 여기서 열립니다. 열려 있는 동안 그 행은 강조된 채로 남고, 다시 클릭하면 그 위치로 돌아갑니다. 열면 알림은 읽음으로 바뀌지만 행은 목록에 그대로 남습니다. 태스크 헤더의 **태스크 페이지에서 열기**(↗)는 태스크를 별도 페이지에서 엽니다. 그 페이지에는 인박스 작업이 표시되지 않습니다. 휴대폰에서는 뒤로 화살표로 목록에 돌아갑니다.<InboxDemo />-태스크 헤더 아래에는 인박스 바가 표시됩니다. 누가 언제 무엇을 했는지 보여 주고, 알림을 처리하는 작업을 제공합니다.+댓글 입력창 위 가운데에 작업 그룹이 떠 있습니다. 알림을 처리하는 작업이 태스크 자체의 작업, 알림의 작업 순으로 놓이고, 각 작업 옆에 단축키가 표시됩니다.- **상태**, **담당자**, **퀵 액션**은 태스크 자체를 바꾸며, 속성에서 바꾸는 것과 같습니다. 퀵 액션은 워크스페이스에 있을 때만 나타납니다.-- **읽지 않음으로 표시 / 읽음으로 표시**(`U`)는 열어 둔 알림을 닫지 않고 그 자리에서 읽음 상태를 전환합니다.+- **⋯** 메뉴에는 자주 쓰지 않는 작업이 있습니다.+ - **읽지 않음으로 표시 / 읽음으로 표시**(`U`)는 열어 둔 알림을 닫지 않고 그 자리에서 읽음 상태를 전환합니다.+ - **구독 해제 후 보관**(`⇧E`)은 내 태스크가 아닐 때(담당자가 나도, 내 에이전트도 아닐 때) 표시됩니다. 태스크 구독을 해제하고 알림을 보관한 뒤 다음 알림을 엽니다. 이후 일반 업데이트는 인박스에 오지 않지만 @멘션은 계속 알림을 받습니다. 하위 태스크가 있으면 메뉴에 이 태스크만, 모든 하위 태스크까지의 두 가지 선택지가 나오고, `⇧E`를 누르면 그 선택지가 보이는 상태로 메뉴가 열립니다. 이 태스크만 해제했다면 확인 메시지의 **실행 취소**로 구독을 원래대로 되돌릴 수 있습니다. 하위 태스크까지 해제한 경우에는 여기서 되돌릴 수 없으니 태스크 페이지에서 다시 구독하세요. 호버 카드와 행의 우클릭 메뉴에도 같은 동작이 있습니다.- **다시 알림**(`H`)은 지정한 시간까지 태스크를 인박스에서 빼고 다음 알림을 엽니다. 자세한 내용은 아래 '태스크 미루기'를 참고하세요.-- **보관**(`E`)은 알림을 보관하고 다음 알림을 엽니다. 보관해도 태스크는 변경되거나 삭제되지 않습니다. 태스크를 끝내려면 상태를 바꾸세요. 기본적으로 그 알림도 함께 보관됩니다(아래 '알림이 인박스에서 빠지는 경우' 참고).-- **구독 해제 후 보관**(`⇧E`)은 내 태스크가 아닐 때(담당자가 나도, 내 에이전트도 아닐 때) 표시됩니다. 태스크 구독을 해제하고 알림을 보관한 뒤 다음 알림을 엽니다. 이후 일반 업데이트는 인박스에 오지 않지만 @멘션은 계속 알림을 받습니다. 하위 태스크가 있으면 이 태스크만 또는 모든 하위 태스크까지 해제할지 고를 수 있습니다. 이 태스크만 해제했다면 확인 메시지의 **실행 취소**로 구독을 원래대로 되돌릴 수 있습니다. 하위 태스크까지 해제한 경우에는 여기서 되돌릴 수 없으니 태스크 페이지에서 다시 구독하세요. 호버 카드와 행의 우클릭 메뉴에도 같은 동작이 있습니다.+- **보관**(`E`)은 오른쪽 끝의 채워진 버튼으로, 알림을 보관하고 다음 알림을 엽니다. 보관해도 태스크는 변경되거나 삭제되지 않습니다. 태스크를 끝내려면 상태를 바꾸세요. 기본적으로 그 알림도 함께 보관됩니다(아래 '알림이 인박스에서 빠지는 경우' 참고).++창이 좁으면 단축키가 먼저, 그다음 이름이 숨겨집니다. 버튼에 마우스를 올리면 둘 다 볼 수 있습니다.다음 알림은 섹션이 현재 필터로 보여 주는 다음 행입니다. 목록으로 돌아가지 않고 인박스를 차례로 처리할 수 있습니다. `J`와 `K`를 누르면 보관하지 않고 현재 탭의 다음·이전 알림으로 이동합니다.@@ -113,18 +116,18 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339, 30m, 3h, 1d, 1w; uns- **완료된 항목 보관**: `done` 또는 `closed` 카테고리 태스크의 알림- **모두 보관**(실행 전에 확인 창이 나타나며, 모든 활성 알림을 보관하고 미뤄둔 태스크는 그대로 둡니다)-**보관됨** 탭에는 보관된 알림이 나열되고, 아래로 스크롤하면 이전 기록이 계속 불러와집니다. 필터는 아직 불러오지 않은 기록을 포함한 전체 보관 기록에 적용됩니다. 보관된 알림은 읽음 상태를 유지하므로 행이나 열린 알림의 바에 있는 **인박스로 되돌리기**(또는 `E`)를 쓰면 그대로 돌아옵니다.+**보관됨** 탭에는 보관된 알림이 나열되고, 아래로 스크롤하면 이전 기록이 계속 불러와집니다. 필터는 아직 불러오지 않은 기록을 포함한 전체 보관 기록에 적용됩니다. 보관된 알림은 읽음 상태를 유지하므로 행이나 열린 알림 위의 작업 그룹에 있는 **인박스로 되돌리기**(또는 `E`)를 쓰면 그대로 돌아옵니다.## 태스크 미루기-미루기를 하면 태스크가 지정한 시간까지 인박스에서 빠졌다가, 그 시간이 되면 읽지 않은 상태로 맨 위에 돌아옵니다. 인박스 바의 **다시 알림**(또는 `H`), 행에 마우스를 올렸을 때 보관 버튼 옆에 나타나는 버튼, 또는 행의 호버 카드에서 미룰 수 있습니다. **1시간**, **3시간**, **1일**, **3일**, **1주** 중에서 고르거나, **날짜와 시간 선택…** 메뉴에서 1년 이내의 원하는 시간을 고를 수 있습니다. 하루 이상 미루면 지금 시각 그대로 돌아오지만, 22:00~6:00 사이에 미루면 아침 9:00에 돌아옵니다. 확인 알림에서 실행 취소(`Z`)할 수 있으며, 시간을 바꾼 경우에는 이전 시간으로 되돌아갑니다.+미루기를 하면 태스크가 지정한 시간까지 인박스에서 빠졌다가, 그 시간이 되면 읽지 않은 상태로 맨 위에 돌아옵니다. 태스크 위 작업 그룹의 **다시 알림**(또는 `H`), 행에 마우스를 올렸을 때 보관 버튼 옆에 나타나는 버튼, 또는 행의 호버 카드에서 미룰 수 있습니다. **1시간**, **3시간**, **1일**, **3일**, **1주** 중에서 고르거나, **날짜와 시간 선택…** 메뉴에서 1년 이내의 원하는 시간을 고를 수 있습니다. 하루 이상 미루면 지금 시각 그대로 돌아오지만, 22:00~6:00 사이에 미루면 아침 9:00에 돌아옵니다. 확인 알림에서 실행 취소(`Z`)할 수 있으며, 시간을 바꾼 경우에는 이전 시간으로 되돌아갑니다.태스크를 미뤄둔 동안에는:- 새 알림도 함께 기다리며 읽지 않음 배지에 포함되지 않습니다. 돌아온 행에는 **다시 알림 종료**와 그동안 쌓인 업데이트 수가 표시됩니다.- 누군가 이름으로 멘션하거나, 나에게 할당되거나, 실행이 실패하거나, 모든 하위 태스크가 끝나면 일찍 돌아옵니다. `@all` 멘션으로는 돌아오지 않습니다.- **모두 읽음으로 표시**와 일괄 보관은 미뤄둔 태스크를 건너뜁니다. 보관하면 미루기가 끝나며, **내가 처리한 태스크 보관**에 완료가 포함된 상태(기본값)에서 직접 태스크를 완료한 경우도 마찬가지입니다.-- 태스크 페이지에서 직접 열어도 읽음으로 바뀌지 않고 미루기도 끝나지 않습니다. **미뤄둔 항목** 탭에서 열면 바에 돌아올 시간이 표시되며, **시간 변경**에서 지금 되돌리거나(`H`) 다른 시간을 고를 수 있습니다.+- 태스크 페이지에서 직접 열어도 읽음으로 바뀌지 않고 미루기도 끝나지 않습니다. **미뤄둔 항목** 탭에서 열면 작업 그룹에 돌아올 시간이 표시되며, **시간 변경**에서 지금 되돌리거나(`H`) 다른 시간을 고를 수 있습니다.미루기는 내 인박스에만 영향을 줍니다. 미뤄둔 태스크는 **미뤄둔 항목** 탭에 있고, 각 행의 버튼으로 지금 되돌릴 수 있습니다.@@ -134,15 +137,15 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339, 30m, 3h, 1d, 1w; uns읽어도 알림은 인박스에서 사라지지 않습니다. 행이 빠지는 경우는 다음뿐입니다.-- 행, 마우스 오버 카드, 인박스 바, 일괄 작업에서 직접 보관할 때+- 행, 마우스 오버 카드, 태스크 위의 작업 그룹, 일괄 작업에서 직접 보관할 때- 태스크를 미룰 때. 이 경우는 일시적이며, 지정한 시간이 되거나 내가 처리해야 할 알림이 오면 다시 돌아옵니다. 위의 '태스크 미루기'를 참고하세요.- 내가 직접 태스크를 처리했을 때. 무엇을 처리로 볼지는 **설정 → 알림**의 **내가 처리한 태스크 보관**이 정합니다. 기본값인 **완료하거나 에이전트를 실행했을 때**는 태스크를 `done`·`closed` 카테고리의 상태로 바꾸는 것과 실제로 에이전트에게 작업을 넘기는 동작(에이전트를 깨우는 댓글·퀵 액션·실행 중 개입, `backlog`이 아닌 상태에서 에이전트나 스쿼드 지정, 에이전트·스쿼드가 지정된 태스크를 `backlog`에서 `todo` 등 활성 상태로 올리기, 에이전트 담당 워크플로 열로 이동, 재실행, 수동 웨이크업)을 포함합니다. 에이전트를 깨우지 않는 정리(미지정 태스크의 `backlog` → `todo`, `backlog`에서의 사전 지정, 지정 해제, `/note` 댓글, 트리거 해제, 런타임 차단 등)는 보관되지 않습니다. **완료했을 때**는 `done`과 `closed`만, **안 함**은 자동 보관을 끄고, **사용자 지정**은 동작을 하나씩 고르며 기본으로는 꺼져 있는 답글·상태 진행·담당자 변경·우선순위·프로젝트·날짜·라벨 변경도 고를 수 있습니다. 그 태스크에 온 내 알림만 읽음 여부와 관계없이 보관됩니다. 다른 사람이나 에이전트가 같은 동작을 하면 그 알림은 내 인박스에 남으므로 변화를 놓치지 않습니다.- "실행 실패함" 알림이고, 태스크가 사람에게 넘어가는 상태가 될 때. 해당 상태는 `in_review`, `started` 카테고리의 사용자 지정 상태, `done`·`closed` 카테고리의 모든 상태입니다. 누가 상태를 바꿨는지와 관계없이 그 태스크의 모든 사람의 "실행 실패함" 알림이 보관되며, 위 설정의 영향을 받지 않습니다. `blocked`는 예외입니다. 사람에게 넘어가기는 하지만 작업이 여전히 막혀 있으므로 지난 실패 기록을 계속 확인해야 합니다.- 그 워크스페이스의 인박스가 알림 2,000개를 넘을 때. 최신 2,000개를 남기고, 그보다 오래된 알림은 읽음 여부와 관계없이 잠시 후 자동으로 보관됩니다. 미루기에서 돌아온 알림과 보관함에서 복원한 알림은 돌아온 시점을 기준으로 셉니다. 미룬 태스크의 알림은 개수에 포함되지 않으며 그대로 남습니다.-보관된 행은 열려 있는 창에서도 바로 사라집니다. 단, 지금 열어 둔 행은 예외입니다. 그 알림이 자동으로 인박스에서 빠지면(상태에서 태스크를 `done`으로 바꿨거나, 에이전트를 실행했거나, 다른 창에서 보관했거나, 편집으로 섹션 필터에 더 이상 맞지 않게 된 경우) 행은 제자리에서 강조된 채 남고, 인박스 바에 무슨 일이 있었는지 표시됩니다. 에이전트를 실행하면 바에 실행 중인 에이전트와 함께 새 활동이 있으면 인박스로 돌아온다는 안내가 표시되고, 사이드바 행도 이동할 때까지 제자리에서 갱신됩니다. 바의 **상태**, **담당자**, **퀵 액션**으로 바꿔서 알림이 보관되면 '상태 변경됨: 진행 중 · 알림이 보관됨'처럼 그 동작이 표시되고, 이 동작들은 바에 그대로 남아 이어서 바꿀 수 있습니다. **실행 취소**(또는 `Z`)로 알림을 되돌리고, **다음**(또는 `E`)으로 다음 행을 엽니다. 행은 다른 곳으로 이동할 때 사라지며, 실행 중인 태스크는 **뷰 → 작업 중**에서 계속 확인할 수 있습니다. 그것이 인박스의 마지막 알림이었다면 바에는 대신 **인박스가 비었습니다**와 미뤄 둔 태스크 수가 표시되고, **다음** 대신 **내 작업으로 이동**이 나옵니다. `E`를 누르면 비워진 인박스가 열립니다.+보관된 행은 열려 있는 창에서도 바로 사라집니다. 단, 지금 열어 둔 행은 예외입니다. 그 알림이 자동으로 인박스에서 빠지면(상태에서 태스크를 `done`으로 바꿨거나, 에이전트를 실행했거나, 다른 창에서 보관했거나, 편집으로 섹션 필터에 더 이상 맞지 않게 된 경우) 행은 제자리에서 강조된 채 남고, 작업 그룹에 **보관됨**이 표시됩니다. 마우스를 올리면 '상태 변경됨: 진행 중 · 새 활동이 있으면 인박스로 돌아옵니다'처럼 이유와 이후에 일어날 일이 표시됩니다. 에이전트를 실행하면 태스크 헤더에 작업 중임이 표시되고, 사이드바 행도 이동할 때까지 제자리에서 갱신됩니다. 작업 그룹의 **상태**, **담당자**, **퀵 액션**으로 바꿔서 알림이 보관된 경우에도 이 동작들은 그룹에 그대로 남아 이어서 바꿀 수 있습니다. **실행 취소**(`Z`)로 알림을 되돌리고, 이제 채워진 버튼이 된 **다음**(`E`)으로 다음 행을 엽니다. 행은 다른 곳으로 이동할 때 사라지며, 실행 중인 태스크는 **뷰 → 작업 중**에서 계속 확인할 수 있습니다. 그것이 인박스의 마지막 알림이었다면 작업 그룹에는 대신 **인박스가 비었습니다**와 미뤄 둔 태스크 수가 표시되고, **다음** 대신 **내 작업으로 이동**이 나옵니다. `E`를 누르면 비워진 인박스가 열립니다.-열어 둔 행을 직접 처리하면(인박스 바, 그 행, 호버 카드, 그 행을 포함한 일괄 작업) 대신 다음 행이 열립니다. 남은 행이 없으면 인박스 페이지가 열리고 **인박스가 비었습니다**가 표시됩니다. 방금 한 동작이 표시되고 **실행 취소**(또는 `Z`)로 되돌릴 수 있으며, 미뤄 둔 태스크 수와 다음으로 돌아오는 시각이 표시됩니다. 필터 때문에 나머지 알림이 가려진 경우에는 남은 알림 수와 **필터 지우고 계속하기**가 대신 표시됩니다. 뒤로 가면 태스크로 돌아갑니다. 보관과 일괄 작업의 확인에는 **실행 취소**가 있으며, 알림은 돌아오고 태스크 상태는 그대로 유지됩니다. **실행 취소**가 있는 확인 알림(보관, 미루기, 구독 해제 모두)은 10초 동안 표시되며, 표시되는 동안 `Z`를 누르면 그 동작을 취소합니다.+열어 둔 행을 직접 처리하면(작업 그룹, 그 행, 호버 카드, 그 행을 포함한 일괄 작업) 대신 다음 행이 열립니다. 남은 행이 없으면 인박스 페이지가 열리고 **인박스가 비었습니다**가 표시됩니다. 방금 한 동작이 표시되고 **실행 취소**(또는 `Z`)로 되돌릴 수 있으며, 미뤄 둔 태스크 수와 다음으로 돌아오는 시각이 표시됩니다. 필터 때문에 나머지 알림이 가려진 경우에는 남은 알림 수와 **필터 지우고 계속하기**가 대신 표시됩니다. 뒤로 가면 태스크로 돌아갑니다. 보관과 일괄 작업의 확인에는 **실행 취소**가 있으며, 알림은 돌아오고 태스크 상태는 그대로 유지됩니다. **실행 취소**가 있는 확인 알림(보관, 미루기, 구독 해제 모두)은 10초 동안 표시되며, 표시되는 동안 `Z`를 누르면 그 동작을 취소합니다.이후 그 태스크에 새 알림이 오면 다시 인박스에 들어옵니다.diff --git a/apps/docs/content/docs/inbox.mdx b/apps/docs/content/docs/inbox.mdxindex 0a26a47d10..03939c82b5 100644--- a/apps/docs/content/docs/inbox.mdx+++ b/apps/docs/content/docs/inbox.mdx@@ -90,17 +90,20 @@ An authorized agent run uses its task credential for all of this; it never falls## Handle notifications-Click a row to open the notification on the Inbox page, at the comment it is about. Every notification opens there, including those without an issue, such as autopilot pauses and quick-create results. The row stays lit while it is open, and clicking it again takes you back to that spot. Opening it marks the notification read, and the row stays in the list. Above the issue, **Inbox** leads back to the list, and **Open issue page** (↗) opens the issue on a page of its own, without the inbox bar.+Click a row to open the notification on the Inbox page, at the comment it is about. Every notification opens there, including those without an issue, such as autopilot pauses and quick-create results. The row stays lit while it is open, and clicking it again takes you back to that spot. Opening it marks the notification read, and the row stays in the list. In the issue's header, **Open issue page** (↗) opens the issue on a page of its own, without the inbox actions; on a phone, the back arrow returns to the list.<InboxDemo />-The issue shows a bar under its header. It says who did what, and when, then offers what usually settles the notification:+A group of actions floats above the comment box, centred on the issue. It offers what usually settles the notification, the issue's own actions first, then the notification's, each with its shortcut beside it:- **Status**, **Assignee** and **Quick actions** change the issue itself, as its properties do. Quick actions appear once your workspace has some.-- **Mark as unread / Mark as read** (`U`) toggles the open notification's read state in place without closing it.+- **⋯** holds the less frequent ones:+ - **Mark as unread / Mark as read** (`U`) toggles the open notification's read state in place without closing it.+ - **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 the menu lists two choices, this issue only or this issue with all its sub-issues, and `⇧E` opens it on them. 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.- **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.-- **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; by default that archives its notification too (see [When a notification leaves the inbox](#when-a-notification-leaves-the-inbox)).-- **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.+- **Archive** (`E`), the filled button at the end, archives the notification and opens the next one. Archiving doesn't modify or delete the issue. To finish the issue, change its status instead; by default that archives its notification too (see [When a notification leaves the inbox](#when-a-notification-leaves-the-inbox)).++When the window is narrow, the shortcuts give way first, then the names; hover a button for both.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. Press `J` and `K` to step to the next or previous notification in the current tab without archiving.@@ -113,18 +116,18 @@ On the **Inbox** tab, the section's ⋯ menu holds the bulk actions:- **Archive completed**, for issues in the `done` or `closed` category;- **Archive all** (asks for confirmation before archiving all active notifications; snoozed issues are left alone).-The **Archived** tab lists the archived notifications. More records load as you scroll, and filters apply to the entire archive, including records that have not loaded yet. Archived notifications keep their read state, so **Move back to Inbox**, on the row or in the bar of an open one (or `E`), brings one back exactly as you left it.+The **Archived** tab lists the archived notifications. More records load as you scroll, and filters apply to the entire archive, including records that have not loaded yet. Archived notifications keep their read state, so **Move back to Inbox**, on the row or in the group over an open one (or `E`), brings one back exactly as you left it.## 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 **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 (`Z`); 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 group over the issue (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 (`Z`); 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, 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 handle** counts completing (it does by default);-- opening the issue's own page doesn't read it or end the snooze. Open it from the **Snoozed** tab and its bar shows when it comes back; **Change time** there brings it back now (`H`) or picks another time.+- opening the issue's own page doesn't read it or end the snooze. Open it from the **Snoozed** tab and the group over it 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 on the **Snoozed** tab, where the button on each row brings it back now.@@ -134,15 +137,15 @@ If the **Snoozed** tab can't load, choose **Retry**. Previously loaded items staReading a notification doesn't remove it. A row leaves the inbox only when:-- you archive it, from its row, the hover card, the inbox bar, or a bulk action;+- you archive it, from its row, the hover card, the group over the issue, 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 handle its issue yourself, as **Archive issues you handle** in **Settings → Notifications** says. The default, **When you complete it or trigger an agent**, counts moving the issue to a `done` or `closed` status, and any action that actually hands work to an agent: commenting, running a quick action, or steering an active run; assigning an agent or squad on a non-`backlog` issue; promoting an agent- or squad-assigned issue out of `backlog` (including to `todo`); moving into a workflow step with an agent handler; rerunning a task; or manually firing a wakeup. Organizing an issue without waking an agent—such as moving an unassigned issue from `backlog` to `todo`, parking an agent assignment in `backlog`, unassigning, posting a `/note` comment, suppressing triggers, or hitting a blocked runtime—leaves the notification in your inbox. **When you complete it** counts only `done` and `closed`, **Never** turns this off, and **Custom** picks actions one by one, including replying, moving status forward, reassigning, or changing priority, project, dates or labels, which are off by default. Only your own notifications on that issue are archived, read or not. When someone else or an agent does the same, 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 on its own (you set the issue to `done` from its status, trigger an agent on it, 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. When you trigger an agent, the bar shows the running agent and notes that the issue returns to your inbox on new activity, while the sidebar row updates in place until you move on. When another change you make from the bar archives the notification, the bar names it, as in *Changed to In Progress · Notification archived*, and keeps **Status**, **Assignee** and **Quick actions** for the next change. **Undo** (or `Z`) brings the notification back, and **Next** (or `E`) opens the next row. The row leaves once you move on, and any running issue stays visible under **Views → Working**. When it was the last notification in your inbox, the bar says **Inbox cleared** instead, with how many issues are snoozed, and offers **Go to My work** in place of **Next**; `E` opens the cleared inbox.+Open windows drop an archived row right away, except the one you have open. When its notification leaves the inbox on its own (you set the issue to `done` from its status, trigger an agent on it, another window archived it, or an edit took it out of the section's filters), the row stays lit where it was and the group over the issue says **Archived**. Hover it for why and what happens next, as in *Changed to In Progress · Returns to Inbox on new activity*. When you trigger an agent, the issue's header shows it at work, while the sidebar row updates in place until you move on. When a change you made from the group archived the notification, the group keeps **Status**, **Assignee** and **Quick actions** for the next change. **Undo** (`Z`) brings the notification back, and **Next** (`E`), now the filled button, opens the next row. The row leaves once you move on, and any running issue stays visible under **Views → Working**. When it was the last notification in your inbox, the group says **Inbox cleared** instead, with how many issues are snoozed, and offers **Go to My work** in place of **Next**; `E` opens the cleared inbox.-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 inbox page opens on **Inbox cleared**. It names what you just did, with **Undo** (or `Z`) to bring it back, and shows how many issues are snoozed and when the next one returns. When filters hid the rest of your inbox, it says how many notifications are left and offers **Clear filters and continue** instead. Going back returns to the issue. Archiving and the bulk actions confirm with **Undo**, which brings the notifications back and leaves the issue's status as it is. Confirmations that offer **Undo**, for archiving, snoozing and unsubscribing alike, stay for 10 seconds, and while one shows, `Z` undoes that latest action.+When you take the open row out yourself, from the group over the issue, its row, the hover card, or a bulk action that includes it, the next row opens instead. With nothing left to open, the inbox page opens on **Inbox cleared**. It names what you just did, with **Undo** (or `Z`) to bring it back, and shows how many issues are snoozed and when the next one returns. When filters hid the rest of your inbox, it says how many notifications are left and offers **Clear filters and continue** instead. Going back returns to the issue. Archiving and the bulk actions confirm with **Undo**, which brings the notifications back and leaves the issue's status as it is. Confirmations that offer **Undo**, for archiving, snoozing and unsubscribing alike, stay for 10 seconds, and while one shows, `Z` undoes that latest action.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 12412a289e..c23bf3a0c9 100644--- a/apps/docs/content/docs/inbox.zh-Hant.mdx+++ b/apps/docs/content/docs/inbox.zh-Hant.mdx@@ -90,17 +90,20 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339、30m、3h、1d、1w## 處理通知-點選一列會在收件箱頁面開啟這則通知,並定位到它所指的評論。所有通知都在這裡開啟,包括沒有對應任務的通知,例如自動化暫停和快速建立結果。通知開著時這一列保持高亮,再點一次會重新定位到那裡。開啟通知會把它標為已讀,但這一列仍留在列表裡。任務上方的**收件箱**可以回到列表,**在任務頁開啟**(↗)會在單獨的任務頁開啟這個任務,那裡不顯示收件箱列。+點選一列會在收件箱頁面開啟這則通知,並定位到它所指的評論。所有通知都在這裡開啟,包括沒有對應任務的通知,例如自動化暫停和快速建立結果。通知開著時這一列保持高亮,再點一次會重新定位到那裡。開啟通知會把它標為已讀,但這一列仍留在列表裡。任務頁首裡的**在任務頁開啟**(↗)會在單獨的任務頁開啟這個任務,那裡不顯示收件箱操作;手機上點返回箭頭回到列表。<InboxDemo />-任務頁首下方有一條收件箱列。它先說明誰在什麼時候做了什麼,再給出通常能處理掉這條通知的操作:+評論框上方置中浮著一組操作,給出通常能處理掉這條通知的操作:先是任務本身的,再是通知的,快捷鍵顯示在各自旁邊:- **狀態**、**負責人**和**快捷操作**直接修改任務本身,和屬性裡一樣;工作區有快捷操作時才會出現。-- **標為未讀 / 標為已讀**(`U`)原地切換目前開啟通知的未讀或已讀狀態,不會關閉目前通知。+- **⋯** 裡是不常用的操作:+ - **標為未讀 / 標為已讀**(`U`)原地切換目前開啟通知的未讀或已讀狀態,不會關閉目前通知。+ - **取消訂閱並歸檔**(`⇧E`):任務不是你的(負責人不是你,也不是你擁有的 AI 代理)時出現。它取消你對這個任務的訂閱,歸檔這條通知並開啟下一條;之後一般動態不再進入收件箱,@你仍會通知。有子任務時,選單裡列出兩個選項:只退訂這個任務,或連同全部子任務一起退訂;按 `⇧E` 會直接開啟選單停在這兩項上。只退訂這個任務時,提示裡可以**復原**,訂閱會按原來的方式恢復;連同子任務一起退訂無法在這裡復原,可以在任務頁面重新訂閱。懸停卡片和列的右鍵選單裡也有這個操作。- **延後**(`H`)把任務移出收件箱,到你選的時間再回來,並開啟下一條。詳見下方的「延後任務」。-- **歸檔**(`E`)會歸檔這條通知並開啟下一條。歸檔不會修改或刪除任務。要結束任務,請修改它的狀態;預設情況下這也會歸檔它的通知(見下文「通知何時離開收件箱」)。-- **取消訂閱並歸檔**(`⇧E`):任務不是你的(負責人不是你,也不是你擁有的 AI 代理)時出現。它取消你對這個任務的訂閱,歸檔這條通知並開啟下一條;之後一般動態不再進入收件箱,@你仍會通知。有子任務時可以選擇只退訂這個任務,或連同全部子任務一起退訂。只退訂這個任務時,提示裡可以**復原**,訂閱會按原來的方式恢復;連同子任務一起退訂無法在這裡復原,可以在任務頁面重新訂閱。懸停卡片和列的右鍵選單裡也有這個操作。+- **歸檔**(`E`)是最右邊的實心按鈕,會歸檔這條通知並開啟下一條。歸檔不會修改或刪除任務。要結束任務,請修改它的狀態;預設情況下這也會歸檔它的通知(見下文「通知何時離開收件箱」)。++視窗較窄時,先收起快捷鍵,再收起名稱;懸停按鈕可以看到兩者。"下一條"是分區在當前篩選下列出的下一列,因此不用回到列表,就能把收件箱一條條處理完。按 `J` / `K` 可以在目前分頁的列表中上下切換通知而不歸檔。@@ -113,18 +116,18 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339、30m、3h、1d、1w- **歸檔已完成**:歸檔 `done` 或 `closed` 分類下任務的通知;- **歸檔全部**(執行前會彈窗確認,僅歸檔活躍通知,不影響已延後的任務)。-**已歸檔**分頁列出已歸檔的通知,向下捲動可繼續載入更早的記錄。篩選覆蓋全部歸檔記錄,包括尚未載入的記錄。已歸檔的通知會保留已讀狀態,因此點列上或已開啟通知的收件箱列裡的**移回收件箱**(或按 `E`)時會原樣回來。+**已歸檔**分頁列出已歸檔的通知,向下捲動可繼續載入更早的記錄。篩選覆蓋全部歸檔記錄,包括尚未載入的記錄。已歸檔的通知會保留已讀狀態,因此點列上或已開啟通知上方操作組裡的**移回收件箱**(或按 `E`)時會原樣回來。## 延後任務-延後會把一個任務暫時移出你的收件箱,到你選的時間再回到最上面,並標為未讀。可以點收件箱列裡的**延後**(或按 `H`),也可以在懸停收件箱列時點歸檔旁邊的按鈕,或在懸停卡片裡點 **延後**。可選 **1 小時**、**3 小時**、**1 天**、**3 天**、**1 週**,或點 **選擇日期和時間…** 選一年內的任意時間。按天延後時保留目前的鐘點;在 22:00 到 6:00 之間延後的,會在早上 9:00 回來。延後後的提示裡可以復原(`Z`);如果是改了時間,復原會恢復原本的時間。+延後會把一個任務暫時移出你的收件箱,到你選的時間再回到最上面,並標為未讀。可以點任務上方操作組裡的**延後**(或按 `H`),也可以在懸停收件箱列時點歸檔旁邊的按鈕,或在懸停卡片裡點 **延後**。可選 **1 小時**、**3 小時**、**1 天**、**3 天**、**1 週**,或點 **選擇日期和時間…** 選一年內的任意時間。按天延後時保留目前的鐘點;在 22:00 到 6:00 之間延後的,會在早上 9:00 回來。延後後的提示裡可以復原(`Z`);如果是改了時間,復原會恢復原本的時間。任務延後期間:- 它的新通知會跟著一起等,不計入未讀角標。回來時,這一列會顯示 **延後到期** 以及期間有多少則動態;- 有人點名 @ 你、它被指派給你、執行失敗,或全部子任務完成時,它會提前回來。`@all` 提及不會喚醒它;- **全部標為已讀** 和各種全部歸檔操作會跳過它。歸檔它會結束延後;**自動歸檔我處理過的任務**包含完成(預設包含)時,你自己完成這個任務也一樣;-- 直接開啟這個任務的任務頁不會把它標為已讀,也不會結束延後。從**已延後**分頁開啟時,收件箱列會顯示它何時回來,點**修改時間**可以讓它現在回來(`H`)或換個時間。+- 直接開啟這個任務的任務頁不會把它標為已讀,也不會結束延後。從**已延後**分頁開啟時,操作組會顯示它何時回來,點**修改時間**可以讓它現在回來(`H`)或換個時間。延後只影響你自己的收件箱。所有延後的任務都在**已延後**分頁裡,點每列的按鈕可以讓它現在回來。@@ -134,15 +137,15 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339、30m、3h、1d、1w通知不會因為已讀而離開收件箱。只有以下幾種情況,一列才會移出:-- 你手動歸檔它:在它所在的列、懸停卡片、收件箱列,或透過批次操作;+- 你手動歸檔它:在它所在的列、懸停卡片、任務上方的操作組,或透過批次操作;- 你延後了它的任務。這是暫時的:到你選的時間,或有需要你處理的通知時,它會回來。見上方的「延後任務」;- 你親自處理了它的任務,按**設定 → 通知**裡**自動歸檔我處理過的任務**的選擇來算。預設的**完成或觸發 AI 代理時**包括:把任務改為 `done` 或 `closed` 分類下的狀態,以及任何實際觸發 AI 代理執行的操作——觸發 AI 代理的留言、快捷操作或插話,在非 `backlog` 狀態下指派給 AI 代理或小隊,把已指派給 AI 代理或小隊的任務從 `backlog` 推進到活躍狀態(包括 `todo`),進入帶 AI 代理處理者的工作流程欄位,重新執行任務,或手動觸發喚醒。沒有喚醒 AI 代理的整理動作(例如把未指派的任務從 `backlog` 改到 `todo`、在 `backlog` 中先指派 AI 代理、取消指派、發 `/note` 備註、取消勾選觸發,或因執行環境不可用被攔截)不會歸檔。**完成任務時**只算 `done` 和 `closed`,**從不**會關掉自動歸檔,**自訂**可以逐項勾選,包括預設不算的回覆、推進狀態、轉交以及改優先級、改專案、改日期和改標籤。只歸檔你自己在該任務上的通知,無論是否已讀。別人或 AI 代理做同樣的操作時,通知會留在你的收件箱裡,你仍能看到這個變化;- 它是"執行失敗"通知,且任務進入交回給人的狀態:`in_review`、`started` 分類下的自定義狀態,或 `done`、`closed` 分類下的任一狀態。這會歸檔所有人在該任務上的"執行失敗"通知,不論是誰改的狀態,也不受上面的開關影響。`blocked` 例外:它同樣交回給人,但工作還卡著,之前的失敗記錄還要看。- 你在該工作區的收件箱超過 2,000 條通知。收件箱保留最新的 2,000 條,隨後自動歸檔更早的通知,無論是否已讀。從延後中回來或從歸檔中還原的通知,按回來的時間算作新通知。已延後任務上的通知不計入,也不會被歸檔。-開著的視窗會立即移除已歸檔的列,但你正開著的那一列除外。它的通知自動離開收件箱時(你在狀態裡把任務改為 `done`、觸發了 AI 代理、別的視窗歸檔了它,或修改後不再符合分區的篩選),這一列會在原位保持高亮,收件箱列會說明發生了什麼。觸發 AI 代理時,收件箱列會顯示正在工作的 AI 代理並提示「有新動態時會回到收件箱」,側邊欄列也會原位更新直到你離開。在列裡改**狀態**、**負責人**或執行**快捷操作**後通知被歸檔時,列會寫明是哪一項,例如「已改為進行中 · 通知已歸檔」,這幾個操作也留在列裡,可以接著改。**復原**(或按 `Z`)讓通知回來,**下一條**(或按 `E`)開啟下一列。你離開之後,這一列才會移出,仍在執行中的任務會繼續顯示在**檢視 → 執行中**裡。如果這是收件箱裡的最後一條通知,列會改為顯示**收件箱已清空**和延後中的任務數,用**前往我的工作**代替**下一條**;按 `E` 會開啟已清空的收件箱。+開著的視窗會立即移除已歸檔的列,但你正開著的那一列除外。它的通知自動離開收件箱時(你在狀態裡把任務改為 `done`、觸發了 AI 代理、別的視窗歸檔了它,或修改後不再符合分區的篩選),這一列會在原位保持高亮,操作組會顯示**已歸檔**;懸停可以看到原因和之後會怎樣,例如「已改為進行中 · 有新動態時會回到收件箱」。觸發 AI 代理時,任務頁首會顯示它正在工作,側邊欄列也會原位更新直到你離開。在操作組裡改**狀態**、**負責人**或執行**快捷操作**後通知被歸檔時,這幾個操作仍留在組裡,可以接著改。**復原**(`Z`)讓通知回來,**下一條**(`E`)此時是實心按鈕,開啟下一列。你離開之後,這一列才會移出,仍在執行中的任務會繼續顯示在**檢視 → 執行中**裡。如果這是收件箱裡的最後一條通知,操作組會改為顯示**收件箱已清空**和延後中的任務數,用**前往我的工作**代替**下一條**;按 `E` 會開啟已清空的收件箱。-如果是你自己把正開著的這一列處理掉(在收件箱列、它所在的列、懸停卡片,或包含它的批次操作裡),會直接開啟下一列;沒有剩下的列時,會開啟收件箱頁面,顯示**收件箱已清空**:寫明你剛才的操作,可以**復原**(或按 `Z`)把它找回,並顯示延後中的任務數和下一條回來的時間。如果是篩選隱藏了收件箱裡的其餘通知,會改為說明還剩多少條,並提供**清除篩選,繼續處理**。返回上一頁可以回到任務。歸檔和批次操作的提示裡都可以**復原**:通知會回來,任務的狀態保持不變。帶**復原**的提示(歸檔、延後、取消訂閱都一樣)會停留 10 秒;提示還在時,按 `Z` 復原這次操作。+如果是你自己把正開著的這一列處理掉(在操作組、它所在的列、懸停卡片,或包含它的批次操作裡),會直接開啟下一列;沒有剩下的列時,會開啟收件箱頁面,顯示**收件箱已清空**:寫明你剛才的操作,可以**復原**(或按 `Z`)把它找回,並顯示延後中的任務數和下一條回來的時間。如果是篩選隱藏了收件箱裡的其餘通知,會改為說明還剩多少條,並提供**清除篩選,繼續處理**。返回上一頁可以回到任務。歸檔和批次操作的提示裡都可以**復原**:通知會回來,任務的狀態保持不變。帶**復原**的提示(歸檔、延後、取消訂閱都一樣)會停留 10 秒;提示還在時,按 `Z` 復原這次操作。之後該任務再有新通知,會重新進入收件箱。diff --git a/apps/docs/content/docs/inbox.zh.mdx b/apps/docs/content/docs/inbox.zh.mdxindex 021a716559..35bef65d31 100644--- a/apps/docs/content/docs/inbox.zh.mdx+++ b/apps/docs/content/docs/inbox.zh.mdx@@ -90,17 +90,20 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339、30m、3h、1d、1w## 处理通知-点击一行会在收件箱页面打开这条通知,并定位到它所指的评论。所有通知都在这里打开,包括没有对应任务的通知,例如自动化暂停和快速创建结果。通知开着时这一行保持高亮,再点一次会重新定位到那里。打开通知会把它标为已读,但这一行仍留在列表里。任务上方的**收件箱**可以回到列表,**在任务页打开**(↗)会在单独的任务页打开这个任务,那里不显示收件箱栏。+点击一行会在收件箱页面打开这条通知,并定位到它所指的评论。所有通知都在这里打开,包括没有对应任务的通知,例如自动化暂停和快速创建结果。通知开着时这一行保持高亮,再点一次会重新定位到那里。打开通知会把它标为已读,但这一行仍留在列表里。任务页头里的**在任务页打开**(↗)会在单独的任务页打开这个任务,那里不显示收件箱操作;手机上点返回箭头回到列表。<InboxDemo />-任务页头下方有一条收件箱栏。它先说明谁在什么时候做了什么,再给出通常能处理掉这条通知的操作:+评论框上方居中浮着一组操作,给出通常能处理掉这条通知的操作:先是任务本身的,再是通知的,快捷键显示在各自旁边:- **状态**、**负责人**和**快捷操作**直接修改任务本身,和属性里一样;工作区有快捷操作时才会出现。-- **标为未读 / 标为已读**(`U`)原地切换当前打开通知的未读或已读状态,不会关闭当前通知。+- **⋯** 里是不常用的操作:+ - **标为未读 / 标为已读**(`U`)原地切换当前打开通知的未读或已读状态,不会关闭当前通知。+ - **取消订阅并归档**(`⇧E`):任务不是你的(负责人不是你,也不是你拥有的智能体)时出现。它取消你对这个任务的订阅,归档这条通知并打开下一条;之后普通动态不再进入收件箱,@你仍会通知。有子任务时,菜单里列出两个选项:只退订这个任务,或连同全部子任务一起退订;按 `⇧E` 会直接打开菜单停在这两项上。只退订这个任务时,提示里可以**撤销**,订阅会按原来的方式恢复;连同子任务一起退订无法在这里撤销,可以在任务页面重新订阅。悬停卡片和行的右键菜单里也有这个操作。- **延后**(`H`)把任务移出收件箱,到你选的时间再回来,并打开下一条。详见下方的「延后任务」。-- **归档**(`E`)会归档这条通知并打开下一条。归档不会修改或删除任务。要结束任务,请修改它的状态;默认情况下这也会归档它的通知(见下文「通知何时离开收件箱」)。-- **取消订阅并归档**(`⇧E`):任务不是你的(负责人不是你,也不是你拥有的智能体)时出现。它取消你对这个任务的订阅,归档这条通知并打开下一条;之后普通动态不再进入收件箱,@你仍会通知。有子任务时可以选择只退订这个任务,或连同全部子任务一起退订。只退订这个任务时,提示里可以**撤销**,订阅会按原来的方式恢复;连同子任务一起退订无法在这里撤销,可以在任务页面重新订阅。悬停卡片和行的右键菜单里也有这个操作。+- **归档**(`E`)是最右边的实心按钮,会归档这条通知并打开下一条。归档不会修改或删除任务。要结束任务,请修改它的状态;默认情况下这也会归档它的通知(见下文「通知何时离开收件箱」)。++窗口较窄时,先收起快捷键,再收起名称;悬停按钮可以看到两者。"下一条"是分区在当前筛选下列出的下一行,因此不用回到列表,就能把收件箱一条条处理完。按 `J` / `K` 可以在当前标签的列表中上下切换通知而不归档。@@ -113,18 +116,18 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339、30m、3h、1d、1w- **归档已完成**:归档 `done` 或 `closed` 分类下任务的通知;- **归档全部**(执行前会弹窗确认,仅归档活跃通知,不影响已延后的任务)。-**已归档**标签列出已归档的通知,向下滚动可继续加载更早的记录。筛选覆盖全部归档记录,包括尚未加载的记录。已归档的通知会保留已读状态,因此点行上或已打开通知的收件箱栏里的**移回收件箱**(或按 `E`)时会原样回来。+**已归档**标签列出已归档的通知,向下滚动可继续加载更早的记录。筛选覆盖全部归档记录,包括尚未加载的记录。已归档的通知会保留已读状态,因此点行上或已打开通知上方操作组里的**移回收件箱**(或按 `E`)时会原样回来。## 延后任务-延后会把一个任务暂时移出你的收件箱,到你选的时间再回到最上面,并标为未读。可以点收件箱栏里的**延后**(或按 `H`),也可以在悬停收件箱行时点归档旁边的按钮,或在悬停卡片里点 **延后**。可选 **1 小时**、**3 小时**、**1 天**、**3 天**、**1 周**,或点 **选择日期和时间…** 选一年内的任意时间。按天延后时保留当前的钟点;在 22:00 到 6:00 之间延后的,会在早上 9:00 回来。延后后的提示里可以撤销(`Z`);如果是改了时间,撤销会恢复原来的时间。+延后会把一个任务暂时移出你的收件箱,到你选的时间再回到最上面,并标为未读。可以点任务上方操作组里的**延后**(或按 `H`),也可以在悬停收件箱行时点归档旁边的按钮,或在悬停卡片里点 **延后**。可选 **1 小时**、**3 小时**、**1 天**、**3 天**、**1 周**,或点 **选择日期和时间…** 选一年内的任意时间。按天延后时保留当前的钟点;在 22:00 到 6:00 之间延后的,会在早上 9:00 回来。延后后的提示里可以撤销(`Z`);如果是改了时间,撤销会恢复原来的时间。任务延后期间:- 它的新通知会跟着一起等,不计入未读角标。回来时,这一行会显示 **延后到期** 以及期间有多少条动态;- 有人点名 @ 你、它被指派给你、运行失败,或全部子任务完成时,它会提前回来。`@all` 提及不会唤醒它;- **全部标为已读** 和各种全部归档操作会跳过它。归档它会结束延后;**自动归档我处理过的任务**包含完成(默认包含)时,你自己完成这个任务也一样;-- 直接打开这个任务的任务页不会把它标为已读,也不会结束延后。从**已延后**标签打开时,收件箱栏会显示它何时回来,点**修改时间**可以让它现在回来(`H`)或换个时间。+- 直接打开这个任务的任务页不会把它标为已读,也不会结束延后。从**已延后**标签打开时,操作组会显示它何时回来,点**修改时间**可以让它现在回来(`H`)或换个时间。延后只影响你自己的收件箱。所有延后的任务都在**已延后**标签里,点每行的按钮可以让它现在回来。@@ -134,15 +137,15 @@ multica inbox snooze <id>... --until tomorrow # RFC 3339、30m、3h、1d、1w通知不会因为已读而离开收件箱。只有以下几种情况,一行才会移出:-- 你手动归档它:在它所在的行、悬停卡片、收件箱栏,或通过批量操作;+- 你手动归档它:在它所在的行、悬停卡片、任务上方的操作组,或通过批量操作;- 你延后了它的任务。这是暂时的:到你选的时间,或有需要你处理的通知时,它会回来。见上方的「延后任务」;- 你亲自处理了它的任务,按**设置 → 通知**里**自动归档我处理过的任务**的选择来算。默认的**完成或触发智能体时**包括:把任务改为 `done` 或 `closed` 分类下的状态,以及任何实际触发了智能体运行的操作——触发智能体的评论、快捷操作或插话(steer),在非 `backlog` 状态下指派给智能体或小队,把已指派给智能体或小队的任务从 `backlog` 推进到活跃状态(包括 `todo`),进入带智能体处理者的工作流列,重新运行任务,或手动触发唤醒。没有唤醒智能体的整理动作(比如把未指派的任务从 `backlog` 改到 `todo`、在 `backlog` 中先指派智能体、取消指派、发 `/note` 备注、取消勾选触发,或因运行环境不可用被拦截)不会归档。**完成任务时**只算 `done` 和 `closed`,**从不**会关掉自动归档,**自定义**可以逐项勾选,包括默认不算的回复、推进状态、转交以及改优先级、改项目、改日期和改标签。只归档你自己在该任务上的通知,无论是否已读。别人或智能体做同样的操作时,通知会留在你的收件箱里,你仍能看到这个变化;- 它是"运行失败"通知,且任务进入交回给人的状态:`in_review`、`started` 分类下的自定义状态,或 `done`、`closed` 分类下的任一状态。这会归档所有人在该任务上的"运行失败"通知,不论是谁改的状态,也不受上面的开关影响。`blocked` 例外:它同样交回给人,但工作还卡着,之前的失败记录还要看。- 你在该工作区的收件箱超过 2,000 条通知。收件箱保留最新的 2,000 条,随后自动归档更早的通知,无论是否已读。从延后中回来或从归档中还原的通知,按回来的时间算作新通知。已延后任务上的通知不计入,也不会被归档。-打开着的窗口会立即移除已归档的行,但你正打开的那一行除外。它的通知自动离开收件箱时(你在状态里把任务改为 `done`、触发了智能体、别的窗口归档了它,或修改后不再符合分区的筛选),这一行会在原位保持高亮,收件箱栏会说明发生了什么。触发智能体时,栏会显示正在工作的智能体并提示"有新动态时会回到收件箱",侧边栏行也会原位更新直到你离开。在栏里改**状态**、**负责人**或运行**快捷操作**后通知被归档时,栏会写明是哪一项,比如"已改为进行中 · 通知已归档",这几个操作也留在栏里,可以接着改。**撤销**(或按 `Z`)让通知回来,**下一条**(或按 `E`)打开下一行。你离开之后,这一行才会移出,仍在运行中的任务会继续显示在**视图 → 运行中**里。如果这是收件箱里的最后一条通知,栏会改为显示**收件箱已清空**和延后中的任务数,用**前往我的工作**代替**下一条**;按 `E` 会打开已清空的收件箱。+打开着的窗口会立即移除已归档的行,但你正打开的那一行除外。它的通知自动离开收件箱时(你在状态里把任务改为 `done`、触发了智能体、别的窗口归档了它,或修改后不再符合分区的筛选),这一行会在原位保持高亮,操作组会显示**已归档**;悬停可以看到原因和之后会怎样,比如"已改为进行中 · 有新动态时会回到收件箱"。触发智能体时,任务页头会显示它正在工作,侧边栏行也会原位更新直到你离开。在操作组里改**状态**、**负责人**或运行**快捷操作**后通知被归档时,这几个操作仍留在组里,可以接着改。**撤销**(`Z`)让通知回来,**下一条**(`E`)此时是实心按钮,打开下一行。你离开之后,这一行才会移出,仍在运行中的任务会继续显示在**视图 → 运行中**里。如果这是收件箱里的最后一条通知,操作组会改为显示**收件箱已清空**和延后中的任务数,用**前往我的工作**代替**下一条**;按 `E` 会打开已清空的收件箱。-如果是你自己把正打开的这一行处理掉(在收件箱栏、它所在的行、悬停卡片,或包含它的批量操作里),会直接打开下一行;没有剩下的行时,会打开收件箱页面,显示**收件箱已清空**:写明你刚才的操作,可以**撤销**(或按 `Z`)把它找回,并显示延后中的任务数和下一条回来的时间。如果是筛选隐藏了收件箱里的其余通知,会改为说明还剩多少条,并提供**清除筛选,继续处理**。返回上一页可以回到任务。归档和批量操作的提示里都可以**撤销**:通知会回来,任务的状态保持不变。带**撤销**的提示(归档、延后、取消订阅都一样)会停留 10 秒;提示还在时,按 `Z` 撤销这次操作。+如果是你自己把正打开的这一行处理掉(在操作组、它所在的行、悬停卡片,或包含它的批量操作里),会直接打开下一行;没有剩下的行时,会打开收件箱页面,显示**收件箱已清空**:写明你刚才的操作,可以**撤销**(或按 `Z`)把它找回,并显示延后中的任务数和下一条回来的时间。如果是筛选隐藏了收件箱里的其余通知,会改为说明还剩多少条,并提供**清除筛选,继续处理**。返回上一页可以回到任务。归档和批量操作的提示里都可以**撤销**:通知会回来,任务的状态保持不变。带**撤销**的提示(归档、延后、取消订阅都一样)会停留 10 秒;提示还在时,按 `Z` 撤销这次操作。之后该任务再有新通知,会重新进入收件箱。diff --git a/packages/views/inbox/components/inbox-bar.tsx b/packages/views/inbox/components/inbox-bar.tsxindex 88653a3ef1..b03deaaa26 100644--- a/packages/views/inbox/components/inbox-bar.tsx+++ b/packages/views/inbox/components/inbox-bar.tsx@@ -5,96 +5,62 @@ import { motion } from "motion/react";import { useReducedMotion } from "@multica/core/appearance";import { Archive, ArchiveRestore } from "@multica/ui/icons";import { Button } from "@multica/ui/components/ui/button";-import { Skeleton } from "@multica/ui/components/ui/skeleton";import { TooltipHint } from "@multica/ui/components/common/tooltip-hint";import { UI_EASE_OUT, UI_MOTION_DURATION } from "@multica/ui/lib/motion";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 the Inbox page has open: 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.+ * The floating group over an issue the Inbox page has open: the one place its+ * notification lives, whatever state that is in. Open, it 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.+ * It floats centred above the composer and takes no layout, so the reading+ * column never shifts when it appears, settles or goes. Its host is the+ * `@container/inbox-bar` (the reading column's width, not the window), so+ * labels give way by the room the group actually has: the issue's values and+ * the notification's keycaps first, then the notification's names. The+ * tooltips keep both.*/export function InboxBar({ settled = false, children }: { settled?: boolean; children: ReactNode }) {const reduceMotion = useReducedMotion();return (- <div- role={settled ? "status" : undefined}+ <motion.div+ role={settled ? "status" : "toolbar"}data-inbox-bar={settled ? "settled" : "open"}- className={cn(- "@container/inbox-bar relative flex h-10 shrink-0 items-center border-b transition-colors duration-150 motion-reduce:transition-none",- settled && "bg-muted/40",- PAGE_GUTTER,- )}+ initial={reduceMotion ? false : { opacity: 0, y: 8 }}+ animate={{ opacity: 1, y: 0 }}+ transition={{ duration: reduceMotion ? 0 : UI_MOTION_DURATION.fast, ease: UI_EASE_OUT }}+ className="pointer-events-auto flex min-w-0 max-w-full items-center rounded-lg border bg-background px-2 py-1.5 shadow-lg"><motion.divkey={settled ? "settled" : "open"}initial={reduceMotion ? false : { opacity: 0 }}animate={{ opacity: 1 }}transition={{ duration: reduceMotion ? 0 : UI_MOTION_DURATION.fast, ease: UI_EASE_OUT }}- className="flex min-w-0 flex-1 items-center gap-1"+ className="flex min-w-0 items-center gap-1">{children}</motion.div>- </div>+ </motion.div>);}-/**- * Reserves the 40px InboxBar slot while a cold issue the Inbox page opened- * loads, so the reading column below never shifts 40px when the issue lands.- * When the Inbox list already holds the notification row, renders its real- * actor and reason immediately.- */-export function InboxBarSkeleton({ item }: { item?: InboxItem | null }) {- return (- <InboxBar>- {item ? (- <InboxBarReason item={item} />- ) : (- <span className="mr-1 flex min-w-0 flex-1 items-center gap-1.5">- <Skeleton className="size-4 shrink-0 rounded-full" />- <Skeleton className="h-3.5 w-40" />- </span>- )}- <div className="flex shrink-0 items-center gap-1.5">- <Skeleton className="h-6 w-14 rounded-md" />- <Skeleton className="h-6 w-14 rounded-md" />- </div>- </InboxBar>- );-}--/**- * The open notification's bar: why it is here, the issue's actions, and the- * notification's own (`children`).- */+/** The open notification's group: the issue's actions, then 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}@@ -102,34 +68,26 @@ export function InboxOpenBar({);}-/** 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.5 text-caption text-muted-foreground">+/**+ * What happened to a settled notification, in a word; `hint` says the rest on+ * hover, and to a screen reader with the word. A narrow group keeps only the+ * icon, so without a hint the tooltip carries the word itself.+ */+export function InboxBarStatus({ icon, label, hint }: { icon: ReactNode; label: ReactNode; hint?: ReactNode }) {+ const status = (+ <span className="flex min-w-0 items-center gap-1.5 px-1.5 text-caption text-muted-foreground"><span aria-hidden className="flex shrink-0 [&_svg]:size-3.5">{icon}</span>- <span className="min-w-0 truncate">{label}</span>+ <span className="min-w-0 truncate @max-[32rem]/inbox-bar:sr-only">{label}</span>+ {hint && <span className="sr-only">{hint}</span>}</span>);+ return (+ <TooltipHint label={hint ?? label} side="top">+ {status}+ </TooltipHint>+ );}export function InboxBarSeparator() {@@ -137,13 +95,14 @@ export function InboxBarSeparator() {}/**- * 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.+ * A notification action in the group, named, with its shortcut beside it. A+ * narrow group drops the shortcut, then the name; the tooltip keeps both.*/export function InboxBarButton({icon,label,shortcut,+ variant = "ghost",className,...props}: Omit<ComponentProps<typeof Button>, "children"> & {@@ -152,26 +111,32 @@ export function InboxBarButton({shortcut?: ShortcutActionId;}) {return (- <TooltipHint label={label} shortcut={shortcut && <ActionShortcutKeycaps action={shortcut} />} side="bottom">+ <TooltipHint label={label} shortcut={shortcut && <ActionShortcutKeycaps action={shortcut} />} side="top"><Button- variant="ghost"+ variant={variant}size="sm"aria-label={label}- className={cn("shrink-0 text-muted-foreground", className)}+ className={cn("shrink-0", variant === "ghost" && "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>- )}+ <span className="@max-[32rem]/inbox-bar:hidden">{label}</span>+ {shortcut && <InboxBarKeycaps action={shortcut} />}</Button></TooltipHint>);}+/** A shortcut beside its action's name, the first thing a narrow group drops. */+export function InboxBarKeycaps({ action }: { action: ShortcutActionId }) {+ return (+ <span className="flex @max-[40rem]/inbox-bar:hidden">+ <ActionShortcutKeycaps action={action} />+ </span>+ );+}++/** Archiving is how an open notification is done with, so it leads. */export function InboxArchiveButton({ onClick }: { onClick: () => void }) {const { t } = useT("inbox");return (@@ -179,21 +144,23 @@ export function InboxArchiveButton({ onClick }: { onClick: () => void }) {icon={<Archive />}label={t(($) => $.context_menu.archive)}shortcut="archiveInboxItem"+ variant="default"onClick={onClick}/>);}-/** An archived notification's bar: why it was in the Inbox, and the way back into it. */-export function InboxArchivedBar({ item, onRestore }: { item: InboxItem; onRestore: () => void }) {+/** An archived notification's group: the way back into the Inbox. */+export function InboxArchivedBar({ onRestore }: { onRestore: () => void }) {const { t } = useT("inbox");return (<InboxBar settled>- <InboxBarReason item={item} />+ <InboxBarStatus icon={<Archive />} label={t(($) => $.kept.archived)} /><InboxBarButtonicon={<ArchiveRestore />}label={t(($) => $.detail.restore)}shortcut="archiveInboxItem"+ variant="default"onClick={onRestore}/></InboxBar>diff --git a/packages/views/inbox/components/inbox-kept-actions.tsx b/packages/views/inbox/components/inbox-kept-actions.tsxindex bbc69dd5e7..3d8b6b1d97 100644--- a/packages/views/inbox/components/inbox-kept-actions.tsx+++ b/packages/views/inbox/components/inbox-kept-actions.tsx@@ -15,12 +15,12 @@ import type { IssueAgentState } from "../../issues/surface/use-issue-agent-stateimport { useStatusLabel } from "../../issues/utils/status-label";import { formatSnoozeTime } from "./inbox-snooze-time";import { getInboxDisplayTitle, isAutopilotQuotaNotice } from "./inbox-display";-import { InboxBar, InboxBarSeparator, InboxBarStatus } from "./inbox-bar";+import { InboxBar, InboxBarKeycaps, InboxBarSeparator, InboxBarStatus } from "./inbox-bar";import { useInboxUndoShortcut } from "./use-inbox-shortcut";/*** How a kept row (`keepOpenInboxRow`) says why it is settled: `line` in its- * place in the list, `notice` beside the open notification.+ * place in the list, `status` in the open notification's floating group.*/export function useKeptInboxRowText(wsId: string) {const { t } = useT("inbox");@@ -80,24 +80,34 @@ export function useKeptInboxRowText(wsId: string) {: (finished(kept.item) ?? agentLabel(agents ?? null) ?? t(($) => $.kept.archived));return `${why} · ${t(($) => $.kept.leaves)}`;},- /** `cause` is the bar action that archived it (`useAutoArchiveCause`). */- notice: (kept: KeptInboxRow, cause?: InboxBarAction | null) => {- if (kept.reason === "snoozed") return backAt(kept.item);- const why = (cause && kept.reason === "archived" ? did(cause) : null) ?? finished(kept.item);- return why ? `${why} · ${t(($) => $.kept.notification_archived)}` : t(($) => $.kept.notification_archived);+ /**+ * The floating group's word for a kept row, and what its tooltip adds:+ * why it was archived, when known, and that it comes back on new activity.+ * `cause` is the group action that archived it, `agentTriggered` that an+ * agent started on it (both from `useAutoArchiveCause`).+ */+ status: (kept: KeptInboxRow, cause?: InboxBarAction | null, agentTriggered = false) => {+ if (kept.reason === "snoozed") return { label: backAt(kept.item), hint: undefined };+ const why =+ (cause && kept.reason === "archived" ? did(cause) : null) ??+ finished(kept.item) ??+ (agentTriggered ? t(($) => $.kept.agent_triggered) : null);+ const returns = t(($) => $.kept.returns_on_activity);+ return { label: t(($) => $.kept.archived), hint: why ? `${why} · ${returns}` : returns };},};}/**- * What the open notification's bar offers once it has left the Inbox on its+ * What the open notification's group 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 issue's own actions- * when it was archived, so the next change needs no trip to its properties,- * then the way to undo it (Z) and the next notification.+ * screen until the user moves on: the issue's own actions when it was+ * archived, so the next change needs no trip to its properties, what+ * happened, then the way to undo it (Z) and the next notification.*/export function InboxKeptActions({label,+ hint,icon,issueActions,onUndo,@@ -108,7 +118,9 @@ export function InboxKeptActions({onSnoozedClick,onGoToMyWork,}: {+ /** What happened, in a word ("Archived"); `hint` says the rest on hover. */label: ReactNode;+ hint?: ReactNode;/** Defaults to the archive icon (or a success check when the Inbox is cleared). */icon?: ReactNode;issueActions?: ReactNode;@@ -126,49 +138,46 @@ export function InboxKeptActions({useInboxUndoShortcut(onUndo ?? null);const statusIcon =icon ?? (inboxCleared ? <CheckCircle2 className="text-success" /> : <Archive />);- const statusLabel = inboxCleared ? (- <span className="flex min-w-0 items-center gap-1.5 truncate">- <span className="shrink-0 font-medium text-foreground">{t(($) => $.zero.cleared_title)}</span>- <span aria-hidden className="text-faint-foreground">·</span>- <span className="min-w-0 truncate">{label}</span>- {snoozedCount > 0 && onSnoozedClick && (- <>- <span aria-hidden className="text-faint-foreground @max-[34rem]/inbox-bar:hidden">·</span>- <button- type="button"- onClick={onSnoozedClick}- className="shrink-0 underline decoration-surface-border underline-offset-2 transition-colors hover:text-foreground @max-[34rem]/inbox-bar:hidden"- >- {t(($) => $.zero.bar_snoozed, { count: snoozedCount })}- </button>- </>- )}- </span>- ) : (- label- );+ const undoLabel = t(($) => $.toasts.undo);+ const goToMyWorkLabel = t(($) => $.zero.go_to_my_work);return (<InboxBar settled>- <InboxBarStatus icon={statusIcon} label={statusLabel} />{issueActions}- {issueActions && (onUndo || next || (inboxCleared && onGoToMyWork)) && <InboxBarSeparator />}- {onUndo && (- <Button size="sm" variant="ghost" className="shrink-0 text-muted-foreground" onClick={onUndo}>- <Undo2 />- {t(($) => $.toasts.undo)}- <span className="flex @max-[30rem]/inbox-bar:hidden">- <ActionShortcutKeycaps action="undoInboxAction" />- </span>+ {issueActions && <InboxBarSeparator />}+ <InboxBarStatus+ icon={statusIcon}+ label={inboxCleared ? t(($) => $.zero.cleared_title) : label}+ hint={hint}+ />+ {inboxCleared && snoozedCount > 0 && onSnoozedClick && (+ <Button+ size="sm"+ variant="ghost"+ className="shrink-0 text-muted-foreground @max-[32rem]/inbox-bar:hidden"+ onClick={onSnoozedClick}+ >+ {t(($) => $.zero.bar_snoozed, { count: snoozedCount })}</Button>)}+ {onUndo && (+ <TooltipHint label={undoLabel} shortcut={<ActionShortcutKeycaps action="undoInboxAction" />} side="top">+ <Button size="sm" variant="ghost" aria-label={undoLabel} className="shrink-0 text-muted-foreground" onClick={onUndo}>+ <Undo2 />+ <span className="@max-[32rem]/inbox-bar:hidden">{undoLabel}</span>+ <InboxBarKeycaps action="undoInboxAction" />+ </Button>+ </TooltipHint>+ )}{next ? (<InboxNextButton next={next} onNext={onNext} />) : inboxCleared && onGoToMyWork ? (- <Button size="sm" variant="outline" className="shrink-0" onClick={onGoToMyWork}>- {t(($) => $.zero.go_to_my_work)}- <ArrowRight />- </Button>+ <TooltipHint label={goToMyWorkLabel} side="top">+ <Button size="sm" aria-label={goToMyWorkLabel} className="shrink-0" onClick={onGoToMyWork}>+ <span className="@max-[32rem]/inbox-bar:hidden">{goToMyWorkLabel}</span>+ <ArrowRight />+ </Button>+ </TooltipHint>) : null}</InboxBar>);@@ -179,13 +188,15 @@ 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 })} side="bottom">- <Button size="sm" variant="outline" className="shrink-0" onClick={onNext}>+ <TooltipHint+ label={t(($) => $.kept.next_tooltip, { title })}+ shortcut={<ActionShortcutKeycaps action="archiveInboxItem" />}+ side="top"+ >+ <Button size="sm" className="shrink-0" onClick={onNext}>{t(($) => $.kept.next)}<ArrowDown />- <span className="flex @max-[30rem]/inbox-bar:hidden">- <ActionShortcutKeycaps action="archiveInboxItem" />- </span>+ <InboxBarKeycaps action="archiveInboxItem" /></Button></TooltipHint>);diff --git a/packages/views/inbox/components/unsubscribe-archive-button.test.tsx b/packages/views/inbox/components/inbox-more-menu.test.tsxsimilarity index 56%rename from packages/views/inbox/components/unsubscribe-archive-button.test.tsxrename to packages/views/inbox/components/inbox-more-menu.test.tsxindex fd10a3b399..55db3e905f 100644--- a/packages/views/inbox/components/unsubscribe-archive-button.test.tsx+++ b/packages/views/inbox/components/inbox-more-menu.test.tsx@@ -9,7 +9,7 @@ import { renderWithI18n } from "../../test/i18n";vi.mock("@multica/core/hooks", () => ({ useWorkspaceId: () => "ws-1" }));-import { UnsubscribeArchiveButton } from "./unsubscribe-archive-button";+import { InboxMoreMenu } from "./inbox-more-menu";const ISSUE_ID = "issue-1";@@ -30,43 +30,53 @@ function setup({listChildIssues: vi.fn(async () => ({ issues: children })),} as unknown as ApiClient);const onConfirm = vi.fn();+ const onToggleRead = vi.fn();renderWithI18n(<QueryClientProvider client={createQueryClient()}>- <UnsubscribeArchiveButton issueId={ISSUE_ID} userId="me" onConfirm={onConfirm} />+ <InboxMoreMenu issueId={ISSUE_ID} userId="me" read onToggleRead={onToggleRead} onUnsubscribe={onConfirm} /></QueryClientProvider>,);- return { onConfirm };+ return { onConfirm, onToggleRead };}-// Without sub-issues the button acts directly, once the child count is known;-// until then it is the scope menu's trigger.-async function directButton() {- return waitFor(() => {- const button = screen.getByRole("button", { name: "Unsubscribe & archive" });- expect(button).not.toHaveAttribute("aria-haspopup");- return button;- });+const openMenu = () => fireEvent.click(screen.getByRole("button", { name: "More notification actions" }));++// Without sub-issues the item acts directly, once the child count is known;+// until then it asks for the scope.+async function directItem() {+ openMenu();+ return screen.findByRole("menuitem", { name: /^Unsubscribe & archive/ });}-describe("UnsubscribeArchiveButton", () => {+describe("InboxMoreMenu", () => {+ it("marks the notification unread", async () => {+ const { onToggleRead } = setup();+ openMenu();+ fireEvent.click(await screen.findByRole("menuitem", { name: /^Mark as unread/ }));+ expect(onToggleRead).toHaveBeenCalledTimes(1);+ });+it("leaves just this issue on an issue that is someone else's", async () => {const { onConfirm } = setup();- fireEvent.click(await directButton());+ fireEvent.click(await directItem());expect(onConfirm).toHaveBeenCalledWith("issue");});it("runs on Shift+E", async () => {const { onConfirm } = setup();- await directButton();+ await directItem();+ fireEvent.keyDown(screen.getByRole("menu"), { key: "Escape" });+ await waitFor(() => expect(screen.queryByRole("menu")).toBeNull());fireEvent.keyDown(document.body, { key: "E", code: "KeyE", shiftKey: true });expect(onConfirm).toHaveBeenCalledWith("issue");});- it("asks for the scope when the issue has sub-issues", async () => {+ it("asks for the scope when the issue has sub-issues, and opens on it with Shift+E", async () => {const { onConfirm } = setup({ children: [{ id: "c1" }, { id: "c2" }] });- const trigger = await screen.findByRole("button", { name: "Unsubscribe & archive" });- await waitFor(() => expect(trigger).toHaveAttribute("aria-haspopup"));- fireEvent.click(trigger);+ await waitFor(() => {+ fireEvent.keyDown(document.body, { key: "E", code: "KeyE", shiftKey: true });+ expect(screen.getByRole("menu")).toBeInTheDocument();+ });fireEvent.click(await screen.findByText("This issue and its 2 sub-issues"));expect(onConfirm).toHaveBeenCalledWith("subtree");});@@ -74,15 +84,19 @@ describe("UnsubscribeArchiveButton", () => {it.each([["assigned to the viewer", { assignee_type: "member", assignee_id: "me" }],["assigned to the viewer's agent", { assignee_type: "agent", assignee_id: "agent-mine" }],- ] as const)("is not offered on an issue %s", async (_, assignee) => {+ ] as const)("does not offer unsubscribing on an issue %s", async (_, assignee) => {setup({ assignee });await new Promise((r) => setTimeout(r, 50));- expect(screen.queryByRole("button", { name: "Unsubscribe & archive" })).toBeNull();+ openMenu();+ await screen.findByRole("menuitem", { name: /^Mark as unread/ });+ expect(screen.queryByRole("menuitem", { name: /Unsubscribe/ })).toBeNull();});- it("is not offered when the viewer is not subscribed", async () => {+ it("does not offer unsubscribing when the viewer is not subscribed", async () => {setup({ subscribed: false });await new Promise((r) => setTimeout(r, 50));- expect(screen.queryByRole("button", { name: "Unsubscribe & archive" })).toBeNull();+ openMenu();+ await screen.findByRole("menuitem", { name: /^Mark as unread/ });+ expect(screen.queryByRole("menuitem", { name: /Unsubscribe/ })).toBeNull();});});diff --git a/packages/views/inbox/components/inbox-more-menu.tsx b/packages/views/inbox/components/inbox-more-menu.tsxnew file mode 100644index 0000000000..7820654a16--- /dev/null+++ b/packages/views/inbox/components/inbox-more-menu.tsx@@ -0,0 +1,125 @@+"use client";++import { useState } from "react";+import { useQuery } from "@tanstack/react-query";+import { BellOff, Check, CircleDot, ListTree, MoreHorizontal } from "@multica/ui/icons";+import { IconButton } from "@multica/ui/components/common/icon-button";+import {+ DropdownMenu,+ DropdownMenuContent,+ DropdownMenuGroup,+ DropdownMenuItem,+ DropdownMenuLabel,+ DropdownMenuSeparator,+ DropdownMenuShortcut,+ DropdownMenuTrigger,+} from "@multica/ui/components/ui/dropdown-menu";+import { useWorkspaceId } from "@multica/core/hooks";+import type { InboxUnsubscribeScope } from "@multica/core/inbox/mutations";+import { childIssuesOptions, issueDetailOptions, issueSubscribersOptions } from "@multica/core/issues/queries";+import { isOwnIssue } from "@multica/core/issues/ownership";+import { agentListOptions } from "@multica/core/workspace/queries";+import { ActionShortcutKeycaps } from "../../common/shortcut-keycaps";+import { useT } from "../../i18n";+import { useInboxShortcut } from "./use-inbox-shortcut";++/**+ * The open notification's less frequent actions, behind `…` in its floating+ * group: marking it read or unread (U, handled by the Inbox page), and+ * "Unsubscribe & archive" (⇧E).+ *+ * Unsubscribing is 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. It stays out of the menu until all of that is known, so it never+ * flashes on an issue where it does not belong.+ *+ * With sub-issues it asks for the scope, reusing the issue-only and subtree+ * opt-outs the Activity section offers, and ⇧E opens the menu on that choice.+ * While the child count is still loading it asks too, rather than picking a+ * scope for the user.+ */+export function InboxMoreMenu({+ issueId,+ userId,+ read,+ onToggleRead,+ onUnsubscribe,+}: {+ issueId: string;+ /** The viewer. */+ userId: string | undefined;+ read: boolean;+ onToggleRead: () => void;+ onUnsubscribe: (scope: InboxUnsubscribeScope) => void;+}) {+ const { t } = useT("inbox");+ const wsId = useWorkspaceId();+ const { data: issue } = useQuery(issueDetailOptions(wsId, issueId));+ const { data: agents, isSuccess: agentsKnown } = useQuery(agentListOptions(wsId));+ const { data: subscribers, isSuccess: subscribersKnown } = useQuery(issueSubscribersOptions(issueId));+ const { data: children = [], isSuccess: childrenLoaded, isFetching: childrenFetching } = useQuery({+ ...childIssuesOptions(wsId, issueId),+ enabled: !!issue,+ });+ const [open, setOpen] = useState(false);++ const subscribed = !!subscribers?.some((s) => s.user_type === "member" && s.user_id === userId);+ const offered =+ !!issue && agentsKnown && subscribersKnown && subscribed && !isOwnIssue(issue, userId, agents ?? []);+ const childCountKnown = childrenLoaded && !childrenFetching;+ const asksScope = !childCountKnown || children.length > 0;++ useInboxShortcut(+ "unsubscribeArchiveInboxItem",+ offered ? (asksScope ? () => setOpen(true) : () => onUnsubscribe("issue")) : null,+ );++ const label = t(($) => $.detail.more_actions);++ return (+ <DropdownMenu open={open} onOpenChange={setOpen}>+ <DropdownMenuTrigger+ render={<IconButton label={label} tooltipSide="top" className="text-muted-foreground" />}+ >+ <MoreHorizontal />+ </DropdownMenuTrigger>+ <DropdownMenuContent side="top" align="start" className="w-auto min-w-56 max-w-80">+ {/* onClick, not onSelect: Base UI's Menu.Item has no onSelect. */}+ <DropdownMenuItem onClick={onToggleRead}>+ {read ? <CircleDot /> : <Check />}+ {read ? t(($) => $.context_menu.mark_unread) : t(($) => $.context_menu.mark_read)}+ <DropdownMenuShortcut>+ <ActionShortcutKeycaps action="markInboxUnread" />+ </DropdownMenuShortcut>+ </DropdownMenuItem>+ {offered && !asksScope && (+ <DropdownMenuItem onClick={() => onUnsubscribe("issue")}>+ <BellOff />+ {t(($) => $.context_menu.unsubscribe_archive)}+ <DropdownMenuShortcut>+ <ActionShortcutKeycaps action="unsubscribeArchiveInboxItem" />+ </DropdownMenuShortcut>+ </DropdownMenuItem>+ )}+ {offered && asksScope && (+ <>+ <DropdownMenuSeparator />+ <DropdownMenuGroup>+ <DropdownMenuLabel>{t(($) => $.unsubscribe.title)}</DropdownMenuLabel>+ <DropdownMenuItem onClick={() => onUnsubscribe("issue")}>+ <BellOff />+ {t(($) => $.unsubscribe.this_issue)}+ </DropdownMenuItem>+ <DropdownMenuItem onClick={() => onUnsubscribe("subtree")}>+ <ListTree />+ {childCountKnown+ ? t(($) => $.unsubscribe.subtree, { count: children.length })+ : t(($) => $.unsubscribe.subtree_unknown)}+ </DropdownMenuItem>+ </DropdownMenuGroup>+ </>+ )}+ </DropdownMenuContent>+ </DropdownMenu>+ );+}diff --git a/packages/views/inbox/components/inbox-page.test.tsx b/packages/views/inbox/components/inbox-page.test.tsxindex 4a41f1d18f..23442864c4 100644--- a/packages/views/inbox/components/inbox-page.test.tsx+++ b/packages/views/inbox/components/inbox-page.test.tsx@@ -547,14 +547,15 @@ describe("InboxPage", () => {expect(container.querySelector("[data-slot='list-column']")).toBeNull();});- it("leads the detail with the way back to the open tab on desktop, and leaves it to the back control on a phone", () => {+ it("hands the detail the open notification, and leaves the way back to the list beside it", () => {reset();layout.width = DESKTOP;searchParams = new URLSearchParams("view=archived&issue=issue-9");listData.archived = [item({ id: "archived-1", issue_id: "issue-9", archived: true })];- const host = () => issueDetailProps.at(-1)?.inbox as { crumb?: { href: string }; item?: InboxItem } | undefined;+ const host = () => issueDetailProps.at(-1)?.inbox as { crumb?: unknown; item?: InboxItem } | undefined;const { unmount } = render(<InboxPage />);- expect(host()?.crumb?.href).toBe("/acme/inbox?view=archived");+ expect(host()).toBeDefined();+ expect(host()?.crumb).toBeUndefined();// Archived, so the issue's own notification actions stay out of it.expect(host()?.item).toBeUndefined();unmount();diff --git a/packages/views/inbox/components/inbox-page.tsx b/packages/views/inbox/components/inbox-page.tsxindex 212c894444..26848ba5c8 100644--- a/packages/views/inbox/components/inbox-page.tsx+++ b/packages/views/inbox/components/inbox-page.tsx@@ -1074,40 +1074,30 @@ export function InboxPage() {) : null;// A notification without an issue that left the Inbox on its own: say so- // above it, with the way back and the way on. An issue's bar does this for- // an issue's notification.+ // in a group floating over it, with the way back and the way on. An issue's+ // group does this for an issue's notification.+ const keptStatus = settledNotice ? keptText.status(settledNotice, settledCause) : null;const keptNotice =- settledNotice && detailItem && inboxRowKey(detailItem) === settledNotice.key ? (- <InboxKeptActions- label={keptText.notice(settledNotice, settledCause)}- onUndo={() => void restoreInbox(settledNotice.item.id, { quiet: true })}- next={nextInboxRow(listedItems, settledNotice.key)}- onNext={() => advanceSelectionPast(settledNotice.item.id, listedItems)}- />+ settledNotice && keptStatus && detailItem && inboxRowKey(detailItem) === settledNotice.key ? (+ <div className="@container/inbox-bar pointer-events-none absolute inset-x-0 bottom-6 z-10 flex justify-center px-6 max-md:above-chat-launcher">+ <InboxKeptActions+ label={keptStatus.label}+ hint={keptStatus.hint}+ onUndo={() => void restoreInbox(settledNotice.item.id, { quiet: true })}+ next={nextInboxRow(listedItems, settledNotice.key)}+ onNext={() => advanceSelectionPast(settledNotice.item.id, listedItems)}+ />+ </div>) : null;// The issue the detail shows: the open notification's, or on the Snoozed// tab the snoozed issue itself.const detailIssueId = isSnoozedView ? detailKey || null : (detailItem?.issue_id ?? null);- const TabIcon = tab === "archived" ? Archive : tab === "snoozed" ? AlarmClock : Inbox;const inboxHost = (issueId: string): IssueDetailInboxHost => ({- // A phone's back control already names the list.- crumb: isCompact- ? undefined- : {- href: inboxTabHref(wsPaths, tab),- className: "flex min-w-0 items-center gap-1",- label: (- <>- <TabIcon className="size-3.5 shrink-0" />- <span className="truncate">{tabLabel}</span>- </>- ),- },item: tab === "inbox" ? (detailItem ?? undefined) : undefined,bar: (issueActions) =>isArchivedView && detailItem ? (- <InboxArchivedBar item={detailItem} onRestore={() => handleUnarchive(detailItem.id)} />+ <InboxArchivedBar onRestore={() => handleUnarchive(detailItem.id)} />) : (<IssueInboxBar issueId={issueId} issueActions={issueActions} movingOn={detailSwapping} isSnoozedView={isSnoozedView} />),@@ -1395,7 +1385,7 @@ export function InboxPage() {// A notification body is a plain block with no header to host a leading// slot and no scroller of its own, so this branch keeps supplying both.return (- <div className="flex flex-1 flex-col min-h-0">+ <div className="relative flex flex-1 flex-col min-h-0">{compactBackBar}<div className="flex-1 min-h-0 overflow-y-auto">{detailContent}</div></div>@@ -1458,7 +1448,7 @@ export function InboxPage() {}return (- <div className="flex h-full min-h-0 min-w-0 flex-1 flex-col">+ <div className="relative flex h-full min-h-0 min-w-0 flex-1 flex-col">{detailContent ?? emptyDetail}</div>);diff --git a/packages/views/inbox/components/inbox-snooze-menu.tsx b/packages/views/inbox/components/inbox-snooze-menu.tsxindex 112b00f33b..4aeb5f0af9 100644--- a/packages/views/inbox/components/inbox-snooze-menu.tsx+++ b/packages/views/inbox/components/inbox-snooze-menu.tsx@@ -66,7 +66,7 @@ export function InboxSnoozeMenu({snoozed?: boolean;onSnooze: (until: Date) => void;onUnsnooze?: () => void;- side?: "bottom" | "right";+ side?: "top" | "bottom" | "right";align?: "start" | "end";}) {const [picking, setPicking] = useState(false);diff --git a/packages/views/inbox/components/unsubscribe-archive-button.tsx b/packages/views/inbox/components/unsubscribe-archive-button.tsxdeleted file mode 100644index 99ae52764a..0000000000--- a/packages/views/inbox/components/unsubscribe-archive-button.tsx+++ /dev/null@@ -1,114 +0,0 @@-"use client";--import { useState } from "react";-import { useQuery } from "@tanstack/react-query";-import { BellOff, ListTree } from "@multica/ui/icons";-import { IconButton } from "@multica/ui/components/common/icon-button";-import {- DropdownMenu,- DropdownMenuContent,- DropdownMenuGroup,- DropdownMenuItem,- DropdownMenuLabel,- DropdownMenuTrigger,-} from "@multica/ui/components/ui/dropdown-menu";-import { useWorkspaceId } from "@multica/core/hooks";-import type { InboxUnsubscribeScope } from "@multica/core/inbox/mutations";-import { childIssuesOptions, issueDetailOptions, issueSubscribersOptions } from "@multica/core/issues/queries";-import { isOwnIssue } from "@multica/core/issues/ownership";-import { agentListOptions } from "@multica/core/workspace/queries";-import { ActionShortcutKeycaps } from "../../common/shortcut-keycaps";-import { useT } from "../../i18n";-import { useInboxShortcut } from "./use-inbox-shortcut";--/**- * "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. Renders- * nothing until all of that is known, so it never flashes on an issue where- * it does not belong.- *- * With sub-issues it asks for the scope, reusing the issue-only and subtree- * opt-outs the Activity section offers. While the child count is still- * loading it asks too, rather than picking a scope for the user.- */-export function UnsubscribeArchiveButton({- issueId,- userId,- onConfirm,-}: {- issueId: string;- /** The viewer. */- userId: string | undefined;- onConfirm: (scope: InboxUnsubscribeScope) => void;-}) {- const { t } = useT("inbox");- const wsId = useWorkspaceId();- const { data: issue } = useQuery(issueDetailOptions(wsId, issueId));- const { data: agents, isSuccess: agentsKnown } = useQuery(agentListOptions(wsId));- const { data: subscribers, isSuccess: subscribersKnown } = useQuery(issueSubscribersOptions(issueId));- const { data: children = [], isSuccess: childrenLoaded, isFetching: childrenFetching } = useQuery({- ...childIssuesOptions(wsId, issueId),- enabled: !!issue,- });- const [menuOpen, setMenuOpen] = useState(false);-- const subscribed = !!subscribers?.some((s) => s.user_type === "member" && s.user_id === userId);- const offered =- !!issue && agentsKnown && subscribersKnown && subscribed && !isOwnIssue(issue, userId, agents ?? []);- const childCountKnown = childrenLoaded && !childrenFetching;- const asksScope = !childCountKnown || children.length > 0;-- useInboxShortcut(- "unsubscribeArchiveInboxItem",- offered ? (asksScope ? () => setMenuOpen(true) : () => onConfirm("issue")) : null,- );-- if (!offered) return null;-- const label = t(($) => $.context_menu.unsubscribe_archive);- const shortcut = <ActionShortcutKeycaps action="unsubscribeArchiveInboxItem" />;-- if (!asksScope) {- return (- <IconButton- label={label}- shortcut={shortcut}- tooltipSide="bottom"- className="text-muted-foreground"- onClick={() => onConfirm("issue")}- >- <BellOff />- </IconButton>- );- }-- return (- <DropdownMenu open={menuOpen} onOpenChange={setMenuOpen}>- <DropdownMenuTrigger- render={- <IconButton label={label} shortcut={shortcut} tooltipSide="bottom" className="text-muted-foreground" />- }- >- <BellOff />- </DropdownMenuTrigger>- <DropdownMenuContent align="end" className="w-auto">- <DropdownMenuGroup>- <DropdownMenuLabel>{t(($) => $.unsubscribe.title)}</DropdownMenuLabel>- {/* onClick, not onSelect: Base UI's Menu.Item has no onSelect. */}- <DropdownMenuItem onClick={() => onConfirm("issue")}>- <BellOff />- {t(($) => $.unsubscribe.this_issue)}- </DropdownMenuItem>- <DropdownMenuItem onClick={() => onConfirm("subtree")}>- <ListTree />- {childCountKnown- ? t(($) => $.unsubscribe.subtree, { count: children.length })- : t(($) => $.unsubscribe.subtree_unknown)}- </DropdownMenuItem>- </DropdownMenuGroup>- </DropdownMenuContent>- </DropdownMenu>- );-}diff --git a/packages/views/issues/actions/__tests__/issue-inbox-actions.test.tsx b/packages/views/issues/actions/__tests__/issue-inbox-actions.test.tsxindex 4d4d16553d..d2943f3cbd 100644--- a/packages/views/issues/actions/__tests__/issue-inbox-actions.test.tsx+++ b/packages/views/issues/actions/__tests__/issue-inbox-actions.test.tsx@@ -1,6 +1,6 @@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 { act, cleanup, fireEvent, screen, waitFor, within } from "@testing-library/react";import { QueryClient, QueryClientProvider } from "@tanstack/react-query";import { toast } from "sonner";import { agentTaskSnapshotOptions } from "@multica/core/agents";@@ -107,7 +107,7 @@ function setup({listSnoozedInbox: async () => snoozed,getInboxUnreadSummary: async () => [],getAgentTaskSnapshot: async () => [],- // The child list refetches on mount; the unsubscribe button acts directly once it is known.+ // The child list refetches on mount; unsubscribing acts directly once it is known.listChildIssues: async () => ({ issues: [] }),// The bar's reason line shows the actor's avatar.getBaseUrl: () => "",@@ -185,7 +185,7 @@ describe("IssueInboxBar", () => {// Still reading the issue (now still in Inbox), a later side-effect archive keeps it.act(() => nav.qc.setQueryData(inboxListOptions("ws").queryKey, []));- expect(await screen.findByText("Notification archived")).toBeInTheDocument();+ expect(await screen.findByText("Inbox cleared")).toBeInTheDocument();expect(screen.getByRole("button", { name: "Undo" })).toBeInTheDocument();});@@ -204,7 +204,7 @@ describe("IssueInboxBar", () => {expect(await screen.findByRole("button", { name: "Archive" })).toBeInTheDocument();act(() => nav.qc.setQueryData(inboxListOptions("ws").queryKey, []));- expect(await screen.findByText("Notification archived")).toBeInTheDocument();+ expect(await screen.findByText("Inbox cleared")).toBeInTheDocument();expect(screen.getByRole("button", { name: "Undo" })).toBeInTheDocument();});@@ -223,18 +223,43 @@ describe("IssueInboxBar", () => {expect(screen.queryByRole("button", { name: "Archive" })).toBeNull();});- it("says why the issue is here, then offers the issue's actions before the notification's", () => {+ it("offers the issue's actions before the notification's, without restating why it is here", () => {setup({ issueActions: <button type="button">Set status</button> });- expect(screen.getByText("Commented")).toBeInTheDocument();+ expect(screen.queryByText("Commented")).toBeNull();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("leads with Archive as its one filled action, each named action with its shortcut beside it", () => {+ setup();+ const bar = document.querySelector<HTMLElement>("[data-inbox-bar]")!;+ expect(bar.querySelectorAll('[data-slot="button"][data-variant="default"]')).toHaveLength(1);+ const archive = screen.getByRole("button", { name: "Archive" });+ expect(archive).toHaveAttribute("data-variant", "default");+ expect(within(archive).getByText("E")).toBeInTheDocument();+ expect(within(screen.getByRole("button", { name: "Snooze" })).getByText("H")).toBeInTheDocument();+ // Its last button is Archive; the rarer actions wait behind More, first.+ const buttons = within(bar).getAllByRole("button");+ expect(buttons.at(-1)).toBe(archive);+ expect(buttons.at(-3)).toHaveAccessibleName("More notification actions");+ });++ it("moves on with Next as the settled group's one filled action", async () => {+ const nav = setup();+ act(() => nav.qc.setQueryData(inboxListOptions("ws").queryKey, [ROWS[1]!]));+ const next = await screen.findByRole("button", { name: "Next" });+ expect(next).toHaveAttribute("data-variant", "default");+ const undo = screen.getByRole("button", { name: "Undo" });+ expect(undo).toHaveAttribute("data-variant", "ghost");+ expect(within(next).getByText("E")).toBeInTheDocument();+ expect(within(undo).getByText("Z")).toBeInTheDocument();+ });+it("keeps 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(await screen.findByText("Archived")).toBeInTheDocument();const issueAction = screen.getByRole("button", { name: "Set status" });const undo = screen.getByRole("button", { name: "Undo" });expect(issueAction.compareDocumentPosition(undo) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy();@@ -251,7 +276,7 @@ describe("IssueInboxBar", () => {it("names the status it set, keeps the issue's actions, and undoes the archive", async () => {const nav = setup({ issueActions: <button type="button">Set status</button> });actFromBar(nav, { type: "status", status: "in_progress" });- expect(await screen.findByText("Changed to In Progress · Notification archived")).toBeInTheDocument();+ expect(await screen.findByText("Changed to In Progress · Returns to Inbox on new activity")).toBeInTheDocument();expect(screen.getByRole("button", { name: "Set status" })).toBeInTheDocument();expect(nav.push).not.toHaveBeenCalled();@@ -263,43 +288,46 @@ describe("IssueInboxBar", () => {const nav = setup();nav.qc.setQueryData(agentListOptions("ws").queryKey, [{ id: "agent-nova", name: "Nova" } as Agent]);actFromBar(nav, { type: "assignee", assignee: { type: "agent", id: "agent-nova" } });- expect(await screen.findByText("Reassigned to Nova · Notification archived")).toBeInTheDocument();+ expect(await screen.findByText("Reassigned to Nova · Returns to Inbox on new activity")).toBeInTheDocument();});it("names the quick action it ran", async () => {const nav = setup();actFromBar(nav, { type: "quick_action", name: "Code Review" });- expect(await screen.findByText("Ran Code Review · Notification archived")).toBeInTheDocument();+ expect(await screen.findByText("Ran Code Review · Returns to Inbox on new activity")).toBeInTheDocument();});it("names the status for Done too, over the status alone", async () => {const nav = setup({ rows: [{ ...ROWS[0]!, issue_status: "done" }, ROWS[1]!] });actFromBar(nav, { type: "status", status: "done" });- expect(await screen.findByText("Changed to Done · Notification archived")).toBeInTheDocument();+ expect(await screen.findByText("Changed to Done · Returns to Inbox on new activity")).toBeInTheDocument();});it("claims nothing when the archive came from elsewhere", async () => {const nav = setup();noteInboxBarAction("issue-1", { type: "status", status: "in_progress" });act(() => nav.qc.setQueryData(inboxListOptions("ws").queryKey, [ROWS[1]!]));- expect(await screen.findByText("Notification archived")).toBeInTheDocument();+ expect(await screen.findByText("Archived")).toBeInTheDocument();});});- it("offers mark unread and read toggle alongside snooze", () => {+ it("keeps the mark unread and read toggle behind More, beside snooze", async () => {state.markRead.mockClear();state.markUnread.mockClear();useInboxSelectionStore.setState({ manualUnreadIdByWorkspace: {} });setup();expect(screen.getByRole("button", { name: "Snooze" })).toBeInTheDocument();+ expect(screen.queryByRole("button", { name: "Mark as unread" })).toBeNull();- fireEvent.click(screen.getByRole("button", { name: "Mark as unread" }));+ fireEvent.click(screen.getByRole("button", { name: "More notification actions" }));+ fireEvent.click(await screen.findByRole("menuitem", { name: /^Mark as unread/ }));expect(state.markUnread).toHaveBeenCalledWith("n-1", expect.any(Object));expect(useInboxSelectionStore.getState().manualUnreadIdByWorkspace.ws).toBe("n-1");cleanup();setup({ rows: [{ ...ROWS[0]!, read: false }, ROWS[1]!] });- fireEvent.click(screen.getByRole("button", { name: "Mark as read" }));+ fireEvent.click(screen.getByRole("button", { name: "More notification actions" }));+ fireEvent.click(await screen.findByRole("menuitem", { name: /^Mark as read/ }));expect(state.markRead).toHaveBeenCalledWith("n-1", expect.any(Object));expect(useInboxSelectionStore.getState().manualUnreadIdByWorkspace.ws).toBeUndefined();});@@ -325,11 +353,28 @@ describe("IssueInboxBar", () => {expect(state.unsnooze).toHaveBeenCalledWith({ id: "n-1" });});+ it("keeps when a snoozed issue comes back in the tooltip, for a group too narrow to show it", async () => {+ const until = new Date(Date.now() + 60 * 60 * 1000).toISOString();+ setup({+ rows: [ROWS[1]!],+ snoozed: [{ issue_id: "issue-1", item_id: "n-1", snoozed_until: until, snoozed_at: SNOOZED_AT, updates: 0 }],+ });+ const label = within(screen.getByRole("status")).getByText(/^Back /);+ await act(async () => {+ fireEvent.pointerEnter(label.parentElement!, { pointerType: "mouse" });+ fireEvent.mouseEnter(label.parentElement!);+ fireEvent.mouseMove(label.parentElement!);+ });+ await waitFor(() =>+ expect(document.querySelector("[data-slot=tooltip-content]")).toHaveTextContent(label.textContent!),+ );+ });+it("stays in place once the notification leaves the Inbox some other way, with undo and the next one", async () => {const nav = setup();act(() => nav.qc.setQueryData(inboxListOptions("ws").queryKey, [ROWS[1]!]));- expect(await screen.findByText("Notification archived")).toBeInTheDocument();+ expect(await screen.findByText("Archived")).toBeInTheDocument();expect(screen.queryByRole("button", { name: "Archive" })).toBeNull();expect(nav.push).not.toHaveBeenCalled();@@ -357,7 +402,7 @@ describe("IssueInboxBar", () => {it("undoes the settled archive with Z", async () => {const nav = setup();act(() => nav.qc.setQueryData(inboxListOptions("ws").queryKey, [ROWS[1]!]));- expect(await screen.findByText("Notification archived")).toBeInTheDocument();+ expect(await screen.findByText("Archived")).toBeInTheDocument();await act(async () => fireEvent.keyDown(document, { key: "z", code: "KeyZ" }));expect(state.unarchiveInbox).toHaveBeenCalledWith("n-1");@@ -367,7 +412,7 @@ describe("IssueInboxBar", () => {const nav = setup({ rows: [{ ...ROWS[0]!, issue_status: "done" }, ROWS[1]!] });act(() => nav.qc.setQueryData(inboxListOptions("ws").queryKey, [ROWS[1]!]));- expect(await screen.findByText("Done · Notification archived")).toBeInTheDocument();+ expect(await screen.findByText("Done · Returns to Inbox on new activity")).toBeInTheDocument();fireEvent.click(screen.getByRole("button", { name: "Next" }));expect(nav.push).toHaveBeenCalledWith("/acme/inbox?issue=issue-2");});@@ -376,7 +421,7 @@ describe("IssueInboxBar", () => {const nav = setup();act(() => nav.qc.setQueryData(inboxListOptions("ws").queryKey, [ROWS[1]!]));- await screen.findByText("Notification archived");+ await screen.findByText("Archived");fireEvent.keyDown(document, { key: "e", code: "KeyE" });expect(nav.push).toHaveBeenCalledWith("/acme/inbox?issue=issue-2");expect(state.archiveInbox).not.toHaveBeenCalled();@@ -453,7 +498,7 @@ describe("IssueInboxBar", () => {act(() => nav.qc.setQueryData(inboxListOptions("ws").queryKey, []));expect(await screen.findByText("Inbox cleared")).toBeInTheDocument();- expect(screen.getByText("Notification archived")).toBeInTheDocument();+ expect(screen.getByText("Returns to Inbox on new activity")).toBeInTheDocument();expect(screen.getByRole("button", { name: "1 snoozed" })).toBeInTheDocument();expect(screen.getByRole("button", { name: "Go to My work" })).toBeInTheDocument();@@ -471,7 +516,7 @@ describe("IssueInboxBar", () => {const nav = setup({ rows: [{ ...ROWS[0]!, read: false }] });act(() => nav.qc.setQueryData(inboxListOptions("ws").queryKey, []));- expect(await screen.findByText("Notification archived")).toBeInTheDocument();+ expect(await screen.findByText("Archived")).toBeInTheDocument();expect(screen.queryByText("Inbox cleared")).toBeNull();expect(screen.queryByRole("button", { name: "Go to My work" })).toBeNull();});@@ -503,9 +548,11 @@ describe("IssueInboxBar", () => {// Snooze, archive and unsubscribe share the bar; each key does only its own.async function setupTheirs() {const nav = setup({ theirs: true });- await waitFor(() =>- expect(screen.getByRole("button", { name: "Unsubscribe & archive" })).not.toHaveAttribute("aria-haspopup"),- );+ // Unsubscribing acts directly (no scope to ask) once the More menu lists it as one item.+ fireEvent.click(screen.getByRole("button", { name: "More notification actions" }));+ await screen.findByRole("menuitem", { name: /^Unsubscribe & archive/ });+ fireEvent.keyDown(screen.getByRole("menu"), { key: "Escape" });+ await waitFor(() => expect(screen.queryByRole("menu")).toBeNull());return nav;}@@ -533,9 +580,11 @@ describe("IssueInboxBar", () => {expect(state.archiveInbox).not.toHaveBeenCalled();});- it("offers no unsubscribe on an issue the viewer does not follow as a bystander", () => {+ it("offers no unsubscribe on an issue the viewer does not follow as a bystander", async () => {setup();- expect(screen.queryByRole("button", { name: "Unsubscribe & archive" })).toBeNull();+ fireEvent.click(screen.getByRole("button", { name: "More notification actions" }));+ await screen.findByRole("menuitem", { name: /^Mark as unread/ });+ expect(screen.queryByRole("menuitem", { name: /Unsubscribe/ })).toBeNull();});});@@ -557,10 +606,10 @@ describe("IssueInboxBar once an action is undone", () => {await screen.findByRole("button", { name: "Archive" });// The user continues reading the same issue; a later status change archives it.act(() => nav.qc.setQueryData(inboxListOptions("ws").queryKey, []));- expect(await screen.findByText("Notification archived")).toBeInTheDocument();+ expect(await screen.findByText("Inbox cleared")).toBeInTheDocument();});- it("keeps the 40px InboxBar mounted while handing off to the next notification", async () => {+ it("keeps the group up while handing off to the next notification", async () => {const nav = setup();fireEvent.click(screen.getByRole("button", { name: "Archive" }));expect(nav.push).toHaveBeenCalledWith("/acme/inbox?issue=issue-2");@@ -570,7 +619,7 @@ describe("IssueInboxBar once an action is undone", () => {});// Simulate the archive mutation removing the row from the Inbox cache before- // the next issue's route mounts: the bar keeps its 40px slot instead of collapsing.+ // the next issue's route mounts: the group stays up instead of blinking out.act(() => nav.qc.setQueryData(inboxListOptions("ws").queryKey, [ROWS[1]!]));expect(document.querySelector("[data-inbox-bar]")).not.toBeNull();});@@ -581,13 +630,13 @@ describe("IssueInboxBar once an action is undone", () => {noteInboxAutoArchive({ issue_id: "issue-1", reason: "issue_status_terminal" });act(() => nav.qc.setQueryData(inboxListOptions("ws").queryKey, [ROWS[1]!]));- expect(await screen.findByText("Changed to Done · Notification archived")).toBeInTheDocument();+ expect(await screen.findByText("Changed to Done · Returns to Inbox on new activity")).toBeInTheDocument();expect(nav.push).not.toHaveBeenCalled();expect(toast.success).not.toHaveBeenCalled();expect(document.querySelector("[data-inbox-auto-advance-bar]")).toBeNull();});- it("stays on the issue with live agent status when triggering an agent archives it", async () => {+ it("stays on the issue, leaving live agent status to the header, when triggering an agent archives it", async () => {const nav = setup();act(() => {nav.qc.setQueryData(agentListOptions("ws").queryKey, [{ id: "agent-1", name: "Emacs" } as Agent]);@@ -599,8 +648,9 @@ describe("IssueInboxBar once an action is undone", () => {act(() => nav.qc.setQueryData(inboxListOptions("ws").queryKey, [ROWS[1]!]));const statusBar = await screen.findByRole("status");- expect(statusBar).toHaveTextContent("Emacs is working");- expect(statusBar).toHaveTextContent("Returns to Inbox on new activity");+ expect(statusBar).toHaveTextContent("Archived");+ expect(statusBar).toHaveTextContent("Agent triggered · Returns to Inbox on new activity");+ expect(statusBar).not.toHaveTextContent("Emacs is working");expect(screen.getByRole("button", { name: "Undo" })).toBeInTheDocument();expect(screen.getByRole("button", { name: "Next" })).toBeInTheDocument();expect(nav.push).not.toHaveBeenCalled();@@ -614,8 +664,7 @@ describe("IssueInboxBar once an action is undone", () => {noteInboxAutoArchive({ issue_id: "issue-1", reason: "actor_acted", trigger: "agent_triggered" });act(() => nav.qc.setQueryData(inboxListOptions("ws").queryKey, [ROWS[1]!]));- expect(await screen.findByText("Agent triggered")).toBeInTheDocument();- expect(screen.getByText("Returns to Inbox on new activity")).toBeInTheDocument();+ expect(await screen.findByText("Agent triggered · Returns to Inbox on new activity")).toBeInTheDocument();expect(nav.push).not.toHaveBeenCalled();});});diff --git a/packages/views/issues/actions/issue-inbox-actions.tsx b/packages/views/issues/actions/issue-inbox-actions.tsxindex 54781b684f..68854046d2 100644--- a/packages/views/issues/actions/issue-inbox-actions.tsx+++ b/packages/views/issues/actions/issue-inbox-actions.tsx@@ -2,11 +2,7 @@import { useMemo, useRef, type ReactNode, useState } from "react";import { useQuery } from "@tanstack/react-query";-import { AlarmClock, Archive, Bot, Check, ChevronDown, CircleDot } from "@multica/ui/icons";-import { ShimmerText } from "@multica/ui/components/common/shimmer-text";-import { IconButton } from "@multica/ui/components/common/icon-button";-import { Button } from "@multica/ui/components/ui/button";-import { cn } from "@multica/ui/lib/utils";+import { AlarmClock, Archive, CalendarClock } from "@multica/ui/icons";import { toast } from "sonner";import { useWorkspaceId } from "@multica/core/hooks";import {@@ -26,13 +22,13 @@ import { useIsGuest } from "@multica/core/permissions";import { InboxArchiveButton, InboxBar, InboxBarButton, InboxBarStatus, InboxOpenBar } from "../../inbox/components/inbox-bar";import { inboxRowHref } from "../../inbox/components/inbox-display";import { InboxKeptActions, InboxNextButton, useKeptInboxRowText } from "../../inbox/components/inbox-kept-actions";+import { InboxMoreMenu } from "../../inbox/components/inbox-more-menu";import { InboxSnoozeMenu } from "../../inbox/components/inbox-snooze-menu";import { formatSnoozeTime } from "../../inbox/components/inbox-snooze-time";import { useInboxShortcut } from "../../inbox/components/use-inbox-shortcut";import { useInboxSnooze } from "../../inbox/components/use-inbox-snooze";import { useFilteredInboxRows } from "../../inbox/components/use-filtered-inbox-rows";import { inboxTabHref } from "../../inbox/components/inbox-view";-import { UnsubscribeArchiveButton } from "../../inbox/components/unsubscribe-archive-button";import { useUnsubscribeArchive } from "../../inbox/components/use-unsubscribe-archive";import { useAutoArchiveCause } from "../../inbox/components/use-auto-archive-cause";import {@@ -41,30 +37,27 @@ import {useLeaveInboxRow,useRestoreInbox,} from "../../inbox/components/use-leave-inbox-row";-import { ActionShortcutKeycaps } from "../../common/shortcut-keycaps";-import { AgentAvatarStack } from "../../agents/components/agent-avatar-stack";import { useBuiltinViewNavigation } from "../../issue-views/builtin-views";import { useNavigation } from "../../navigation";import { useLocale, useT } from "../../i18n";-import { useIssueAgentState } from "../surface/use-issue-agent-state";/**- * The Inbox page's bar over an open issue notification: why it is here,+ * The Inbox page's floating group over an open issue notification:* `issueActions` (its status, assignee and quick actions), then the* notification's own. Snoozing, archiving or unsubscribing opens the next* notification the Work panel's Inbox section lists, so the Inbox can be* worked through without leaving the page.** Once the notification leaves the Inbox on its own (the issue reached Done,- * another window archived it, an action from this bar archived it), the- * section keeps the row in place and the bar says so instead, with the+ * another window archived it, an action from this group archived it), the+ * section keeps the row in place and the group says so instead, with the* issue's actions still there, an undo and the way on to the next one.*- * A snoozed issue's bar says when it comes back instead, with the way to+ * A snoozed issue's group says when it comes back instead, with the way to* bring it back now or change the time.** `movingOn`: the page is still handing off to another notification, so a- * bar this issue showed holds its slot rather than shifting the issue up.+ * group this issue showed stays up rather than blinking out and back in.*/export function IssueInboxBar({issueId,@@ -91,9 +84,9 @@ export function IssueInboxBar({const settled = kept && kept.reason !== "filtered" ? kept : null;const item = settled ? null : row;const next = row ? nextInboxRow(rows, issueId) : null;- // Remember that this issue mounted an InboxBar so while the page is still- // handing off to the next notification (`movingOn`), the 40px bar holds its- // slot instead of unmounting and shifting the old issue up by 40px.+ // Remember that this issue showed a group, so while the page is still+ // handing off to the next notification (`movingOn`) it stays up instead of+ // blinking out until the next issue's group mounts.const hadBarForIssueRef = useRef<string | null>(null);if (item || settled) hadBarForIssueRef.current = issueId;else if (!movingOn && hadBarForIssueRef.current === issueId) hadBarForIssueRef.current = null;@@ -111,7 +104,6 @@ export function IssueInboxBar({return (snoozedList ?? []).filter((entry) => new Date(entry.snoozed_until).getTime() > now).length;}, [snoozedList]);const keptText = useKeptInboxRowText(wsId);- const agents = useIssueAgentState(wsId, issueId);const [snoozeOpen, setSnoozeOpen] = useState(false);const archiveItem = () => {@@ -208,62 +200,19 @@ export function IssueInboxBar({if (movingOn && hadBarForIssueRef.current === issueId) {return (<InboxBar settled>- <InboxBarStatus icon={<Archive />} label={t(($) => $.kept.notification_archived)} />+ <InboxBarStatus icon={<Archive />} label={t(($) => $.kept.archived)} /></InboxBar>);}return null;}const inboxCleared = !next && !filtered;- const showAgentWorking =- settled.reason === "archived" &&- !keptText.isFinished(settled.item) &&- (archiveReason === "agent_triggered" || (agents !== null && !cause));- const fallbackAgentId =- cause?.type === "assignee" && cause.assignee?.type === "agent" ? cause.assignee.id : null;- const settledIcon = showAgentWorking ? (- agents && agents.agentIds.length > 0 ? (- <AgentAvatarStack- agentIds={agents.agentIds}- size="xs"- max={2}- opacity={agents.running ? "full" : "half"}- />- ) : fallbackAgentId ? (- <AgentAvatarStack agentIds={[fallbackAgentId]} size="xs" max={2} opacity="half" />- ) : (- <Bot className="text-info" />- )- ) : undefined;- const agentWorkingText = showAgentWorking- ? (keptText.agentLabel(agents) ?? t(($) => $.kept.agent_triggered))- : null;- const settledLabel =- showAgentWorking && agentWorkingText ? (- <span className="inline-flex min-w-0 max-w-full items-center gap-1.5">- <ShimmerText- active={!!agents?.running}- className={cn(- "shrink-0 font-medium",- agents?.running ? "text-foreground" : "text-muted-foreground",- )}- >- {agentWorkingText}- </ShimmerText>- <span aria-hidden className="text-faint-foreground @max-[32rem]/inbox-bar:hidden">- ·- </span>- <span className="truncate text-muted-foreground @max-[32rem]/inbox-bar:hidden">- {t(($) => $.kept.returns_on_activity)}- </span>- </span>- ) : (- keptText.notice(settled, cause)- );+ // An agent at work says so in the header (`IssueAgentHeaderChip`), not here.+ const status = keptText.status(settled, cause, archiveReason === "agent_triggered");return (<InboxKeptActions- icon={settledIcon}- label={settledLabel}+ label={status.label}+ hint={status.hint}issueActions={settled.reason === "archived" ? issueActions : undefined}onUndo={() => restore(settled.item.id, { quiet: true })}next={next}@@ -312,21 +261,19 @@ export function IssueInboxBar({};return (- <InboxOpenBar item={item} issueActions={issueActions}>- <IconButton- label={item.read === true ? t(($) => $.context_menu.mark_unread) : t(($) => $.context_menu.mark_read)}- shortcut={<ActionShortcutKeycaps action="markInboxUnread" />}- tooltipSide="bottom"- className="text-muted-foreground"- onClick={toggleReadItem}- >- {item.read === true ? <CircleDot /> : <Check />}- </IconButton>- <UnsubscribeArchiveButton issueId={issueId} userId={item.recipient_id} onConfirm={unsubscribeItem} />+ <InboxOpenBar issueActions={issueActions}>+ <InboxMoreMenu+ issueId={issueId}+ userId={item.recipient_id}+ read={item.read === true}+ onToggleRead={toggleReadItem}+ onUnsubscribe={unsubscribeItem}+ /><InboxSnoozeMenuopen={snoozeOpen}onOpenChange={setSnoozeOpen}onSnooze={snoozeItem}+ side="top"trigger={<InboxBarButton icon={<AlarmClock />} label={t(($) => $.snooze.action)} shortcut="snoozeInboxItem" />}/><InboxArchiveButton onClick={archiveItem} />@@ -365,12 +312,8 @@ function SnoozedBar({snoozedonSnooze={onSnooze}onUnsnooze={onUnsnooze}- trigger={- <Button size="sm" variant="ghost" className="shrink-0 text-muted-foreground">- {t(($) => $.snooze.change_time)}- <ChevronDown className="size-3" />- </Button>- }+ side="top"+ trigger={<InboxBarButton icon={<CalendarClock />} label={t(($) => $.snooze.change_time)} />}/>{next && <InboxNextButton next={next} onNext={onNext} />}</InboxBar>diff --git a/packages/views/issues/components/composer-dock.test.tsx b/packages/views/issues/components/composer-dock.test.tsxnew file mode 100644index 0000000000..b77db0d3d3--- /dev/null+++ b/packages/views/issues/components/composer-dock.test.tsx@@ -0,0 +1,61 @@+import { fireEvent, render, screen } from "@testing-library/react";+import { describe, expect, it, vi } from "vitest";+import { ComposerDock, JumpToLatestButton } from "./composer-dock";++describe("JumpToLatestButton", () => {+ it("is a round button named by its label, with no count when nothing is new", () => {+ const onClick = vi.fn();+ render(<JumpToLatestButton onClick={onClick} label="Jump to latest" />);++ const button = screen.getByRole("button", { name: "Jump to latest" });+ expect(button).toHaveClass("rounded-full");+ expect(button).not.toHaveTextContent("Jump to latest");+ expect(button.querySelector("[data-jump-count]")).toBeNull();++ fireEvent.click(button);+ expect(onClick).toHaveBeenCalledOnce();+ });++ it("counts the comments that arrived while away", () => {+ render(<JumpToLatestButton onClick={() => {}} label="3 new comments" count={3} />);++ const button = screen.getByRole("button", { name: "3 new comments" });+ expect(button.querySelector("[data-jump-count]")).toHaveTextContent(/^3$/);+ });++ it("caps the count at 9+", () => {+ render(<JumpToLatestButton onClick={() => {}} label="12 new comments" count={12} />);++ expect(+ screen.getByRole("button", { name: "12 new comments" }).querySelector("[data-jump-count]"),+ ).toHaveTextContent(/^9\+$/);+ });+});++describe("ComposerDock", () => {+ it("centres the Inbox's group and keeps Jump to latest in the same row", () => {+ const { container } = render(+ <ComposerDock+ className="bottom-full"+ inboxBar={<div role="toolbar">group</div>}+ jump={<JumpToLatestButton key="jump" onClick={() => {}} label="Jump to latest" />}+ />,+ );++ const dock = container.querySelector<HTMLElement>("[data-composer-dock]")!;+ expect(dock).toHaveClass("@container/inbox-bar", "justify-center", "bottom-full");+ expect(dock).toContainElement(screen.getByRole("toolbar"));+ expect(dock).toContainElement(screen.getByRole("button", { name: "Jump to latest" }));+ });++ it("holds only Jump to latest outside the Inbox", () => {+ const { container } = render(+ <ComposerDock className="bottom-full" jump={<JumpToLatestButton key="jump" onClick={() => {}} label="Jump to latest" />} />,+ );++ expect(screen.queryByRole("toolbar")).toBeNull();+ expect(container.querySelector("[data-composer-dock]")).toContainElement(+ screen.getByRole("button", { name: "Jump to latest" }),+ );+ });+});diff --git a/packages/views/issues/components/composer-dock.tsx b/packages/views/issues/components/composer-dock.tsxnew file mode 100644index 0000000000..cc33b15fbd--- /dev/null+++ b/packages/views/issues/components/composer-dock.tsx@@ -0,0 +1,107 @@+"use client";++import type { ReactNode } from "react";+import { AnimatePresence, motion } from "motion/react";+import { useReducedMotion } from "@multica/core/appearance";+import { ArrowDown } from "@multica/ui/icons";+import { Button } from "@multica/ui/components/ui/button";+import { TooltipHint } from "@multica/ui/components/common/tooltip-hint";+import { UI_EASE_IN, UI_EASE_OUT, UI_MOTION_DURATION } from "@multica/ui/lib/motion";+import { cn } from "@multica/ui/lib/utils";++/** The gap between the dock and the composer's top edge, in px. */+export const COMPOSER_DOCK_GAP = 12;+const JUMP_COUNT_CAP = 9;++/**+ * What floats over the end of the timeline, just above the composer: the+ * Inbox's group centred (`inboxBar`) and Jump to latest at the right edge,+ * on one line. Neither takes layout. The row is the `@container/inbox-bar`+ * the group's labels give way to, so they collapse before the two can meet.+ */+export function ComposerDock({+ inboxBar,+ jump,+ className,+}: {+ inboxBar?: ReactNode;+ jump: ReactNode;+ /** Where the row sits: over the sticky composer, or pinned to the viewport bottom. */+ className: string;+}) {+ return (+ <div+ data-composer-dock=""+ className={cn(+ "@container/inbox-bar pointer-events-none absolute inset-x-0 flex min-h-10 items-center justify-center",+ className,+ )}+ >+ {inboxBar && <div className="flex min-w-0 max-w-[calc(100%-6rem)] justify-center">{inboxBar}</div>}+ <AnimatePresence initial={false}>{jump}</AnimatePresence>+ </div>+ );+}++/**+ * Jump to latest (MUL-8324, MUL-8951): a round button at the dock's right+ * edge, counting the comments that arrived while the reader was away. Its+ * name says the rest, in the tooltip.+ */+export function JumpToLatestButton({+ onClick,+ label,+ count = 0,+}: {+ onClick: () => void;+ label: string;+ /** Comments that arrived while the reader was away; `label` counts them too. */+ count?: number;+}) {+ const reduceMotion = useReducedMotion();+ return (+ <motion.div+ initial={reduceMotion ? false : { opacity: 0, y: 8, scale: 0.96 }}+ animate={{+ opacity: 1,+ y: 0,+ scale: 1,+ transition: { duration: reduceMotion ? 0 : UI_MOTION_DURATION.fast, ease: UI_EASE_OUT },+ }}+ exit={+ reduceMotion+ ? { opacity: 0, transition: { duration: 0 } }+ : {+ opacity: 0,+ y: 6,+ scale: 0.96,+ transition: { duration: UI_MOTION_DURATION.micro, ease: UI_EASE_IN },+ }+ }+ className="pointer-events-auto absolute right-0 top-1/2 -mt-5"+ >+ <TooltipHint label={label} side="top">+ <Button+ type="button"+ variant="outline"+ size="icon"+ aria-label={label}+ onClick={onClick}+ // eslint-disable-next-line no-restricted-syntax -- jump to latest, round beside the chat launcher's column+ className="relative size-10 rounded-full bg-background shadow-lg dark:bg-background dark:hover:bg-muted"+ >+ <ArrowDown />+ {count > 0 && (+ <span+ aria-hidden+ data-jump-count=""+ className="absolute -right-1 -top-1 flex h-4.5 min-w-4.5 items-center justify-center rounded-full bg-brand px-1 text-micro font-medium tabular-nums text-brand-foreground ring-2 ring-background"+ >+ {count > JUMP_COUNT_CAP ? `${JUMP_COUNT_CAP}+` : count}+ </span>+ )}+ </Button>+ </TooltipHint>+ </motion.div>+ );+}diff --git a/packages/views/issues/components/inbox-issue-actions.tsx b/packages/views/issues/components/inbox-issue-actions.tsxindex 84d56124e5..6d95eb0db8 100644--- a/packages/views/issues/components/inbox-issue-actions.tsx+++ b/packages/views/issues/components/inbox-issue-actions.tsx@@ -1,6 +1,6 @@"use client";-import { ChevronDown, UserRound } from "@multica/ui/icons";+import { UserRound } from "@multica/ui/icons";import { Button } from "@multica/ui/components/ui/button";import { useWorkspaceId } from "@multica/core/hooks";import { noteInboxBarAction, takeInboxBarAction } from "@multica/core/inbox/auto-archive";@@ -16,7 +16,7 @@ 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+ * The issue's own actions in the Inbox's floating group, 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.@@ -38,7 +38,6 @@ export function InboxIssueActions({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;// Each of these archives the notification, and the settled bar names it.const update = (updates: Partial<UpdateIssueRequest>) => {@@ -61,6 +60,7 @@ export function InboxIssueActions({onMarkDuplicate={onMarkDuplicate}isDuplicate={isDuplicate}align="start"+ side="top"tooltip={t(($) => $.detail.prop_status)}triggerRender={chip}trigger={@@ -72,8 +72,7 @@ export function InboxIssueActions({icon={iconOf(issue.status)}className="size-3.5 shrink-0"/>- <span className="truncate @max-[36rem]/inbox-bar:hidden">{statusLabelOf(issue.status)}</span>- {chevron}+ <span className="truncate @max-[40rem]/inbox-bar:hidden">{statusLabelOf(issue.status)}</span></>}/>@@ -82,22 +81,21 @@ export function InboxIssueActions({assigneeId={issue.assignee_id}onUpdate={update}align="start"+ side="top"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}+ <span className="truncate @max-[40rem]/inbox-bar:hidden">{getActorName(assigned.type, assigned.id)}</span></>) : (<><UserRound className="size-3.5 shrink-0 text-muted-foreground" />- <span className="truncate text-muted-foreground @max-[36rem]/inbox-bar:hidden">+ <span className="truncate text-muted-foreground @max-[40rem]/inbox-bar:hidden">{t(($) => $.pickers.assignee.trigger_unassigned)}</span>- {chevron}</>)}diff --git a/packages/views/issues/components/issue-detail.test.tsx b/packages/views/issues/components/issue-detail.test.tsxindex d46cf64cba..de253fd1bc 100644--- a/packages/views/issues/components/issue-detail.test.tsx+++ b/packages/views/issues/components/issue-detail.test.tsx@@ -1584,11 +1584,10 @@ describe("IssueDetail (shared)", () => {<IssueDetailissueId="issue-1"inbox={{- crumb: { href: "/test/inbox", label: "Inbox" },item: item ?? undefined,bar: (issueActions) =>item ? (- <InboxOpenBar item={item} issueActions={issueActions}>+ <InboxOpenBar issueActions={issueActions}><InboxArchiveButton onClick={onArchive} /></InboxOpenBar>) : null,@@ -1599,12 +1598,12 @@ describe("IssueDetail (shared)", () => {);}- it("leads with the way back to the Inbox and opens the issue page on its own", async () => {- renderWithArchive();+ it("opens the issue page on its own, with no Inbox crumb in the header", async () => {+ const { container } = renderWithArchive();const open = await screen.findByRole("button", { name: enIssues.detail.open_issue_page });expect(open).toHaveAttribute("href", "/test/issues/TES-1");- expect(screen.getByRole("link", { name: "Inbox" })).toHaveAttribute("href", "/test/inbox");+ expect(container.querySelector('header a[href="/test/inbox"]')).toBeNull();});it("leaves the issue page without either", async () => {@@ -1615,18 +1614,35 @@ describe("IssueDetail (shared)", () => {expect(screen.queryByRole("button", { name: enInbox.context_menu.archive })).not.toBeInTheDocument();});- it("puts the notification's actions under the header, after why it is here and the issue's own", async () => {+ it("floats the notification's actions above the composer, after the issue's own", async () => {const { container } = renderWithArchive();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(bar.closest("[data-composer-dock]")).not.toBeNull();+ expect(within(bar).queryByText(enInbox.labels.commented)).toBeNull();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("gives the group its own room above a composer that rides the timeline, clear of the last comment", async () => {+ mockViewport.isMobile = true;+ const { container } = renderWithArchive();++ const archive = await screen.findByRole("button", { name: enInbox.context_menu.archive });+ const anchor = archive.closest("[data-composer-dock]")!.parentElement!;+ const composer = container.querySelector("[data-mc='comment-composer']")?.parentElement;+ // The group sits on the anchor, which keeps the room above it (mt-14)+ // and stops just short of the composer (mt-3); pinned, it holds off the+ // viewport bottom.+ expect(anchor).toHaveClass("sticky", "h-0", "mt-14");+ expect(anchor.nextElementSibling).toBe(composer);+ expect(composer).toHaveClass("mt-3");+ expect(composer).not.toHaveClass("sticky");+ });+it("archives the notification without changing the issue's status", async () => {const onArchive = vi.fn();renderWithArchive(onArchive);diff --git a/packages/views/issues/components/issue-detail.tsx b/packages/views/issues/components/issue-detail.tsxindex 8e55494363..2e4bd848b1 100644--- a/packages/views/issues/components/issue-detail.tsx+++ b/packages/views/issues/components/issue-detail.tsx@@ -12,8 +12,8 @@ import { useStatusLabel } from "../utils/status-label";import { formatActivity, type ActivityT } from "./activity-text";import { useIssueStatuses } from "@multica/core/issue-statuses/hooks";import { useState, useEffect, useLayoutEffect, useCallback, useMemo, useRef, useId, Fragment, type ComponentProps, type ReactNode } from "react";-import { AnimatePresence, motion } from "motion/react";-import { UI_EASE_IN, UI_EASE_OUT, UI_MOTION_DURATION } from "@multica/ui/lib/motion";+import { AnimatePresence } from "motion/react";+import { UI_MOTION_DURATION } from "@multica/ui/lib/motion";import { Virtuoso, type ListRange, type VirtuosoHandle } from "react-virtuoso";import { useDefaultLayout, usePanelRef } from "react-resizable-panels";import { AppLink, useBackOrReplace } from "../../navigation";@@ -37,7 +37,6 @@ import {Tag,Unlink,Users,- ArrowDown,ArrowUpRight,} from "@multica/ui/icons";import { BreadcrumbHeader, type BreadcrumbSegment } from "../../layout/breadcrumb-header";@@ -79,7 +78,7 @@ import { ActorAvatar } from "../../common/actor-avatar";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 { InboxBarSkeleton } from "../../inbox/components/inbox-bar";+import { COMPOSER_DOCK_GAP, ComposerDock, JumpToLatestButton } from "./composer-dock";import { InboxIssueActions } from "./inbox-issue-actions";import { useInboxSelectionStore, type InboxTransitionDirection } from "@multica/core/inbox/selection-store";import { useReducedMotion } from "@multica/core/appearance";@@ -507,62 +506,6 @@ function shallowEqualEntries(a: TimelineEntry[], b: TimelineEntry[]): boolean {return true;}-function JumpToLatestButton({- onClick,- label,- hasNew = false,-}: {- onClick: () => void;- label: string;- /** New comments arrived while the reader was away; `label` counts them. */- hasNew?: boolean;-}) {- const reduceMotion = useReducedMotion();- return (- <motion.div- initial={reduceMotion ? false : { opacity: 0, y: 8, scale: 0.96 }}- animate={{- opacity: 1,- y: 0,- scale: 1,- transition: { duration: reduceMotion ? 0 : UI_MOTION_DURATION.fast, ease: UI_EASE_OUT },- }}- exit={- reduceMotion- ? { opacity: 0, transition: { duration: 0 } }- : {- opacity: 0,- y: 6,- scale: 0.96,- transition: { duration: UI_MOTION_DURATION.micro, ease: UI_EASE_IN },- }- }- className="pointer-events-none absolute inset-x-0 bottom-full mb-6 flex justify-center"- >- <Button- type="button"- variant="outline"- size="sm"- onClick={onClick}- className="pointer-events-auto bg-background shadow-md dark:bg-background dark:hover:bg-muted"- >- {hasNew ? (- <>- <span aria-hidden="true" className="size-1.5 rounded-full bg-brand" />- {label}- <ArrowDown />- </>- ) : (- <>- <ArrowDown />- {label}- </>- )}- </Button>- </motion.div>- );-}-const EMPTY_COLLAPSED_IDS: string[] = [];// Flat per-item shape consumed by <Virtuoso>. Virtuoso needs a flat array@@ -1150,13 +1093,11 @@ function SubIssueDisplayPopover({/** The Inbox page, hosting this detail for the notification it has open. */export interface IssueDetailInboxHost {/**- * The breadcrumb's segment in place of the issue's container: back to the- * Inbox's list. Left out where the host's own way back already says so.+ * The notification's group, floating over the end of the timeline, given+ * the issue's own actions to keep in it.*/- crumb?: BreadcrumbSegment;- /** The notification's bar under the header, given the issue's own actions to keep in it. */bar: (issueActions: ReactNode) => ReactNode;- /** The open notification, so a cold load shows its bar and title at once. */+ /** The open notification, so a cold load shows its identifier at once. */item?: InboxItem;}@@ -1164,9 +1105,10 @@ interface IssueDetailProps {issueId: string;onDelete?: () => void;/**- * Set on the Inbox page: the breadcrumb starts at the Inbox, the- * notification's bar sits under the header, and the header offers the- * issue's own page.+ * Set on the Inbox page: the breadcrumb is the issue alone (the Inbox's+ * list is beside it, or a phone's back control names it), the+ * notification's group floats above the composer, and the header offers+ * the issue's own page.*/inbox?: IssueDetailInboxHost;defaultSidebarOpen?: boolean;@@ -1376,14 +1318,12 @@ export function IssueDetailSkeleton({trailing,sidebar = true,layoutId = ISSUE_DETAIL_LAYOUT_ID,- showInboxBar = false,inboxItem,}: {leading?: ReactNode;trailing?: ReactNode;sidebar?: boolean;layoutId?: string;- showInboxBar?: boolean;inboxItem?: InboxItem | null;} = {}) {const { defaultLayout } = useDefaultLayout({ id: layoutId });@@ -1409,7 +1349,6 @@ export function IssueDetailSkeleton({))}</DetailStateBar>- {(showInboxBar || inboxItem) && <InboxBarSkeleton item={inboxItem} />}<div className="flex flex-1 min-h-0">{/* Same scrollbar-gutter as the loaded scroller below, so the skeletoncolumn doesn't shift sideways when real content mounts. */}@@ -2321,8 +2260,13 @@ export function IssueDetail({ issueId, onDelete, inbox, defaultSidebarOpen = trulet cancelled = false;const scrollEnd = () => {if (cancelled) return;- const composerHeight = composerRef.current?.getBoundingClientRect().height ?? 0;- virtuosoRef.current?.scrollToIndex({ index, align: "end", offset: composerHeight });+ const composer = composerRef.current;+ // The Inbox's group floats above the composer and covers the row too.+ const group = composer?.parentElement?.querySelector("[data-inbox-bar]");+ const offset =+ (composer?.getBoundingClientRect().height ?? 0) ++ (group ? group.getBoundingClientRect().height + COMPOSER_DOCK_GAP : 0);+ virtuosoRef.current?.scrollToIndex({ index, align: "end", offset });};const container = scrollContainerElRef.current;const stopOnUserInput = () => {@@ -3246,7 +3190,6 @@ export function IssueDetail({ issueId, onDelete, inbox, defaultSidebarOpen = trutrailing={trailingActions}sidebar={!isPeek && desktopSidebarOpen}layoutId={layoutId}- showInboxBar={!!inbox}inboxItem={inbox?.item}/>);@@ -3845,10 +3788,11 @@ export function IssueDetail({ issueId, onDelete, inbox, defaultSidebarOpen = tru// different project than its parent), so we never render both: parent wins,// else project, else nothing. The project is still shown in the properties// panel. The workspace name is intentionally absent — "all issues" is a view,- // not a container. On the Inbox page the issue is read as a notification, so- // the trail leads back to the Inbox instead.+ // not a container. On the Inbox page the issue is read as a notification:+ // the list it came from is beside it (or named by a phone's back control),+ // so the header holds the issue alone.const breadcrumbSegments: BreadcrumbSegment[] = inbox- ? inbox.crumb ? [inbox.crumb] : []+ ? []: parentIssue? [{ href: paths.issueDetail(issueRouteRef(parentIssue)), label: parentIssue.identifier }]: breadcrumbProject@@ -3879,6 +3823,15 @@ export function IssueDetail({ issueId, onDelete, inbox, defaultSidebarOpen = truisDuplicate={isDuplicateIssue(issue)}/>);+ const inboxBar = inbox?.bar(inboxIssueActions);+ const jumpToLatestButton = jumpToLatest.visible ? (+ <JumpToLatestButton+ key="jump-to-latest"+ onClick={onJumpToLatest}+ label={jumpToLatestLabel}+ count={newComments.ids.length}+ />+ ) : null;const detailContent = (<CurrentIssueRenderContextProvider value={currentIssueRenderContext}>@@ -3993,7 +3946,6 @@ export function IssueDetail({ issueId, onDelete, inbox, defaultSidebarOpen = tru</>}/>- {inbox?.bar(inboxIssueActions)}{/* scrollbar-gutter both-edges: with classic (space-taking) scrollbars —macOS with a mouse or "always show", Windows, Linux — the global@@ -4655,29 +4607,26 @@ export function IssueDetail({ issueId, onDelete, inbox, defaultSidebarOpen = trupage background and is invisible), and pb-4 so the card floatsoff the viewport edge — with -mb-4 giving the padding back tothe column's py-8 so the at-rest layout doesn't shift. */}- {/* "Jump to latest" (MUL-8324, MUL-8951) floats centered just above the- composer's top edge. With the sticky composer it rides the- composer itself; without it, a zero-height sticky anchor pins- it to the viewport bottom until the composer scrolls in. */}+ {/* The composer dock: the Inbox's group and "Jump to latest"+ (MUL-8324, MUL-8951) float just above the composer's top edge.+ With the sticky composer the dock rides the composer itself;+ without it, it rides a zero-height sticky anchor just above the+ composer, which holds it off the viewport bottom (clear of a+ phone's chat launcher) until the composer scrolls in. Either way+ the Inbox's group gets its own room at the end of the timeline+ (the anchor's or the composer's margin), so it never covers the+ last comment for good. */}+ <IssueAppRequests issueId={id} highlightId={highlightAppRequestId} highlightToken={highlightRequestToken} />{!stickyComposer && (- <AnimatePresence initial={false}>- {jumpToLatest.visible && (- <motion.div- key="jump-to-latest-anchor"- exit={{ opacity: 0, transition: { duration: UI_MOTION_DURATION.micro } }}- className="sticky bottom-0 z-10 h-0"- >- <JumpToLatestButton onClick={onJumpToLatest} label={jumpToLatestLabel} hasNew={!!firstNewCommentId} />- </motion.div>- )}- </AnimatePresence>+ <div className={cn("sticky bottom-6 z-10 h-0 max-md:above-chat-launcher", inboxBar && "mt-14")}>+ <ComposerDock className="bottom-0" inboxBar={inboxBar} jump={jumpToLatestButton} />+ </div>)}- <IssueAppRequests issueId={id} highlightId={highlightAppRequestId} highlightToken={highlightRequestToken} /><divref={composerRef}data-comment-images={commentImageLayout}className={cn(- "mt-4",+ !inboxBar ? "mt-4" : stickyComposer ? "mt-18" : "mt-3",stickyComposer &&"sticky bottom-0 z-10 -mb-4 bg-background pb-4 before:pointer-events-none before:absolute before:inset-x-0 before:bottom-full before:h-4 before:bg-gradient-to-t before:from-background before:to-transparent",)}@@ -4687,11 +4636,9 @@ export function IssueDetail({ issueId, onDelete, inbox, defaultSidebarOpen = trukeeps the previous issue's in-memory content and thenext keystroke would flush it into the new issue'sdraft key. */}- <AnimatePresence initial={false}>- {stickyComposer && jumpToLatest.visible && (- <JumpToLatestButton key="jump-to-latest" onClick={onJumpToLatest} label={jumpToLatestLabel} hasNew={!!firstNewCommentId} />- )}- </AnimatePresence>+ {stickyComposer && (+ <ComposerDock className="bottom-full mb-3" inboxBar={inboxBar} jump={jumpToLatestButton} />+ )}{!landingChromeHeld && (<CommentInputkey={id}diff --git a/packages/views/issues/components/pickers/assignee-picker.tsx b/packages/views/issues/components/pickers/assignee-picker.tsxindex f51a1e5fe5..537c582755 100644--- a/packages/views/issues/components/pickers/assignee-picker.tsx+++ b/packages/views/issues/components/pickers/assignee-picker.tsx@@ -64,6 +64,7 @@ interface AssigneePickerProps {open?: boolean;onOpenChange?: (v: boolean) => void;align?: "start" | "center" | "end";+ side?: React.ComponentProps<typeof PropertyPicker>["side"];/*** Whether a pick feeds the local ranking right away. The create-issue* dialog turns this off and records only the assignee it submits.@@ -114,6 +115,7 @@ function AssigneePickerImpl({open: controlledOpen,onOpenChange: controlledOnOpenChange,align,+ side,recordPicks = true,}: AssigneePickerProps) {const { t } = useT("issues");@@ -138,6 +140,7 @@ function AssigneePickerImpl({}}width="w-64"align={align}+ side={side}searchablesearchPlaceholder={t(($) => $.pickers.assignee.search_placeholder)}onSearchChange={setFilter}diff --git a/packages/views/issues/components/pickers/status-picker.tsx b/packages/views/issues/components/pickers/status-picker.tsxindex 050cba805e..f261a0456d 100644--- a/packages/views/issues/components/pickers/status-picker.tsx+++ b/packages/views/issues/components/pickers/status-picker.tsx@@ -29,6 +29,7 @@ export function StatusPicker({open: controlledOpen,onOpenChange: controlledOnOpenChange,align,+ side,onMarkDuplicate,isDuplicate,projectId,@@ -50,6 +51,7 @@ export function StatusPicker({open?: boolean;onOpenChange?: (v: boolean) => void;align?: "start" | "center" | "end";+ side?: React.ComponentProps<typeof PropertyPicker>["side"];/*** Adds the "Mark as duplicate" action. It is an action, not a status: it* opens a picker for the original and only writes once one is chosen. Pass@@ -143,6 +145,7 @@ export function StatusPicker({}}width={workflow ? "w-60" : "w-52"}align={align}+ side={side}triggerRender={triggerRender}tooltip={tooltip}searchable={searchable}diff --git a/packages/views/issues/components/quick-actions-section.tsx b/packages/views/issues/components/quick-actions-section.tsxindex 48dcc30212..ea1e718470 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 { ChevronDown, Loader2, Zap } from "@multica/ui/icons";+import { Loader2, Zap } from "@multica/ui/icons";import { toast } from "sonner";import { dispatchReasonCode } from "@multica/core/api";import { useCurrentWorkspace } from "@multica/core/paths";@@ -262,8 +262,8 @@ function QuickActionRow({}/**- * The quick actions behind one button, for the Inbox bar. Nothing configured- * renders nothing.+ * The quick actions behind one icon button, for the Inbox's floating group.+ * Nothing configured renders nothing.*/export function QuickActionsMenu({issueId,@@ -288,16 +288,14 @@ export function QuickActionsMenu({return (<><DropdownMenu>- <TooltipHint label={label} side="bottom">+ <TooltipHint label={label} side="top"><DropdownMenuTrigger- render={<Button variant="ghost" size="sm" aria-label={label} className="shrink-0" disabled={running} />}+ render={<Button variant="ghost" size="icon-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">+ <DropdownMenuContent side="top" align="start" className="w-auto min-w-56 max-w-80">{actions.map((action) => (<DropdownMenuItemkey={action.id}diff --git a/packages/views/locales/en/inbox.json b/packages/views/locales/en/inbox.jsonindex 7efbd153aa..8f3adf42ca 100644--- a/packages/views/locales/en/inbox.json+++ b/packages/views/locales/en/inbox.json@@ -67,6 +67,7 @@"detail": {"select_prompt": "Select a notification to view details","restore": "Move back to Inbox",+ "more_actions": "More notification actions","original_input": "Original input","retry_with_context": "Retry with context","edit_advanced": "Open full form",@@ -149,7 +150,6 @@"archived": "Archived","leaves": "Leaves the Inbox when you move on","filtered": "No longer matches your filters",- "notification_archived": "Notification archived","changed_status": "Changed to {{status}}","reassigned": "Reassigned to {{name}}","unassigned": "Unassigned",diff --git a/packages/views/locales/es/inbox.json b/packages/views/locales/es/inbox.jsonindex 85449884c4..4ce9f4c1bc 100644--- a/packages/views/locales/es/inbox.json+++ b/packages/views/locales/es/inbox.json@@ -67,6 +67,7 @@"detail": {"select_prompt": "Selecciona una notificación para ver los detalles","restore": "Devolver a la bandeja de entrada",+ "more_actions": "Más acciones de la notificación","original_input": "Entrada original","retry_with_context": "Reintentar con contexto","edit_advanced": "Abrir formulario completo",@@ -149,7 +150,6 @@"archived": "Archivado","leaves": "Sale de la bandeja al continuar","filtered": "Ya no coincide con tus filtros",- "notification_archived": "Notificación archivada","changed_status": "Estado cambiado a {{status}}","reassigned": "Reasignada a {{name}}","unassigned": "Desasignada",diff --git a/packages/views/locales/fr/inbox.json b/packages/views/locales/fr/inbox.jsonindex 41392a70da..8fa80a498f 100644--- a/packages/views/locales/fr/inbox.json+++ b/packages/views/locales/fr/inbox.json@@ -67,6 +67,7 @@"detail": {"select_prompt": "Sélectionnez une notification pour afficher les détails","restore": "Remettre dans la boîte de réception",+ "more_actions": "Autres actions sur la notification","original_input": "Saisie d'origine","retry_with_context": "Réessayer avec le contexte","edit_advanced": "Ouvrir le formulaire complet",@@ -149,7 +150,6 @@"archived": "Archivée","leaves": "Quitte la boîte de réception quand vous passez à la suite","filtered": "Ne correspond plus à vos filtres",- "notification_archived": "Notification archivée","changed_status": "Statut passé à {{status}}","reassigned": "Réassigné à {{name}}","unassigned": "Désassigné",diff --git a/packages/views/locales/ja/inbox.json b/packages/views/locales/ja/inbox.jsonindex c4b64b2487..5aa0ccc739 100644--- a/packages/views/locales/ja/inbox.json+++ b/packages/views/locales/ja/inbox.json@@ -65,6 +65,7 @@"detail": {"select_prompt": "詳細を表示する通知を選択してください","restore": "インボックスに戻す",+ "more_actions": "その他の通知操作","original_input": "元の入力","retry_with_context": "コンテキストを保持して再試行","edit_advanced": "詳細フォームを開く",@@ -146,7 +147,6 @@"archived": "アーカイブ済み","leaves": "移動するとインボックスから外れます","filtered": "フィルターに一致しなくなりました",- "notification_archived": "通知をアーカイブしました","changed_status": "{{status}} に変更","reassigned": "{{name}} に再割り当て","unassigned": "割り当て解除",diff --git a/packages/views/locales/ko/inbox.json b/packages/views/locales/ko/inbox.jsonindex 5303620ddd..6f22cf9b52 100644--- a/packages/views/locales/ko/inbox.json+++ b/packages/views/locales/ko/inbox.json@@ -65,6 +65,7 @@"detail": {"select_prompt": "자세히 볼 알림을 선택하세요","restore": "인박스로 되돌리기",+ "more_actions": "알림 작업 더 보기","original_input": "원본 입력","retry_with_context": "컨텍스트를 유지하여 재시도","edit_advanced": "전체 양식 열기",@@ -146,7 +147,6 @@"archived": "보관됨","leaves": "다른 곳으로 이동하면 인박스에서 빠집니다","filtered": "더 이상 필터와 일치하지 않음",- "notification_archived": "알림이 보관됨","changed_status": "상태 변경됨: {{status}}","reassigned": "{{name}}님에게 재할당됨","unassigned": "할당 해제됨",diff --git a/packages/views/locales/ru/inbox.json b/packages/views/locales/ru/inbox.jsonindex bf900ab919..facb64f398 100644--- a/packages/views/locales/ru/inbox.json+++ b/packages/views/locales/ru/inbox.json@@ -71,6 +71,7 @@"detail": {"select_prompt": "Выберите уведомление, чтобы посмотреть детали","restore": "Вернуть во входящие",+ "more_actions": "Другие действия с уведомлением","original_input": "Исходный ввод","retry_with_context": "Повторить с контекстом","edit_advanced": "Открыть полную форму",@@ -155,7 +156,6 @@"archived": "В архиве","leaves": "Уйдёт из входящих, когда вы перейдёте дальше","filtered": "Больше не подходит под фильтры",- "notification_archived": "Уведомление в архиве","changed_status": "Статус изменён на {{status}}","reassigned": "Переназначено: {{name}}","unassigned": "Исполнитель снят",diff --git a/packages/views/locales/zh-Hans/inbox.json b/packages/views/locales/zh-Hans/inbox.jsonindex 84b89acc7b..6cb64c86e3 100644--- a/packages/views/locales/zh-Hans/inbox.json+++ b/packages/views/locales/zh-Hans/inbox.json@@ -65,6 +65,7 @@"detail": {"select_prompt": "选择一条通知查看详情","restore": "移回收件箱",+ "more_actions": "更多通知操作","original_input": "原始输入","retry_with_context": "保留上下文重试","edit_advanced": "在完整表单中编辑",@@ -146,7 +147,6 @@"archived": "已归档","leaves": "离开后移出收件箱","filtered": "不再符合筛选",- "notification_archived": "通知已归档","changed_status": "已改为{{status}}","reassigned": "已改派给 {{name}}","unassigned": "已取消分配",diff --git a/packages/views/locales/zh-Hant/inbox.json b/packages/views/locales/zh-Hant/inbox.jsonindex 61ee86d55f..3362625fd8 100644--- a/packages/views/locales/zh-Hant/inbox.json+++ b/packages/views/locales/zh-Hant/inbox.json@@ -65,6 +65,7 @@"detail": {"select_prompt": "選擇一條通知檢視詳情","restore": "移回收件箱",+ "more_actions": "更多通知操作","original_input": "原始輸入","retry_with_context": "保留上下文重試","edit_advanced": "開啟完整表單",@@ -146,7 +147,6 @@"archived": "已歸檔","leaves": "離開後移出收件箱","filtered": "不再符合篩選",- "notification_archived": "通知已歸檔","changed_status": "已改為{{status}}","reassigned": "已改派給 {{name}}","unassigned": "已取消分配",