Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(channels): expose open in new split in channel menus (#8866)

gbirmanbcc42419f776
diff --git a/apps/web/AGENTS.md b/apps/web/AGENTS.md
index 0de66b1b97..0affa4f38d 100644
--- a/apps/web/AGENTS.md
+++ b/apps/web/AGENTS.md
@@ -252,6 +252,8 @@ ownership. Cancel, logout, and the ten-minute timeout retire pending callbacks.
feature-specific query orchestration with its owning feature.
- Refresh the channel list's bounded unread edge when opening a conversation,
including an empty unread result after a read on another device.
+- Keep channel rail and title menus on `CHANNEL_ACTION_VIEW_CONTEXT`, including
+ the shared desktop `Open in new split` action and its mobile/capacity guards.
- Route supported move, trash, restore, permanent-delete, duplicate, and share-policy
writes through `queries/storage/entity-mutations` when GraphQL Soup is enabled;
never retry failed GraphQL writes through REST. Preserve non-owner history removal
diff --git a/apps/web/src/features/channel/Channel/channel-actions.ts b/apps/web/src/features/channel/Channel/channel-actions.ts
index c9d4e970d3..ab78d7370d 100644
--- a/apps/web/src/features/channel/Channel/channel-actions.ts
+++ b/apps/web/src/features/channel/Channel/channel-actions.ts
@@ -8,6 +8,6 @@ import type { EntityActionViewContext } from '@app/features/next-soup/actions';
*/
export const CHANNEL_ACTION_VIEW_CONTEXT: EntityActionViewContext = {
supportsMarkDone: false,
- supportsOpenInNewSplit: false,
+ supportsOpenInNewSplit: true,
senderBucket: undefined,
};
diff --git a/docs/agent-guide/channels.md b/docs/agent-guide/channels.md
index 20697fa135..a5465bf877 100644
--- a/docs/agent-guide/channels.md
+++ b/docs/agent-guide/channels.md
@@ -810,9 +810,14 @@ Cache misses, HTTP/GraphQL failures, and failures to load an uncached continuati
still show errors and retry controls; background refresh retries continue.
Right-clicking a favorite opens the same menu as its channel's row in the
-sections below — `Mark Read`, `Unfavorite`, `Mute notifications`, `Copy Link`,
+sections below — `Mark Read`, `Open in new split`, `Unfavorite`,
+`Mute notifications`, `Copy Link`,
and the label actions when channel labels are enabled — and focuses the
favorite row rather than the channel's own row.
+`Open in new split` is available for favorites, channels, and DMs on desktop.
+It follows the shared navigation behavior: a conversation already shown inline
+is focused with a `Content already open` toast. The action is hidden on phones
+and disabled when there is no room for another split.
### Threads tab
@@ -1243,7 +1248,8 @@ conversation renders an inline detail whose top bar holds the channel avatar
and name, the same inset tab strip, live viewer avatars, and the `Call` and
`Ask Macro` buttons. An ellipsis follows the name — after the breadcrumb where
the host supplies one, as in Home — and opens the same entity actions as
-right-clicking the conversation's rail row: `Rename`, `Set channel picture`,
+right-clicking the conversation's rail row: `Open in new split` (when available),
+`Rename`, `Set channel picture`,
`Remove channel picture` (only when the channel has one),
`Favorite`/`Unfavorite`, `Snooze notifications…`, `Mute notifications`,
`Remind me`, `Copy Link`, `Copy ID`. A channel can therefore be favorited or