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(tags): render tag chips as the leftmost meta accessory for all entity rows (#4686)

gbirman14764605afca
diff --git a/js/app/packages/entity/src/composed/list-entity/wide-layout.tsx b/js/app/packages/entity/src/composed/list-entity/wide-layout.tsx
index b2d2b55c61..014f215a33 100644
--- a/js/app/packages/entity/src/composed/list-entity/wide-layout.tsx
+++ b/js/app/packages/entity/src/composed/list-entity/wide-layout.tsx
@@ -168,31 +168,6 @@ export function WideLayout(props: LayoutProps) {
/>
)}
</Show>
- <Show
- when={
- props.isShared && !owningInbox() && !isGithubPrEntity(props.entity)
- }
- >
- <SharedBadge ownerId={props.entity.ownerId} />
- </Show>
- <Show when={isGithubPrEntity(props.entity) && props.entity}>
- {(entity) => <GithubPullRequestPills entity={entity()} />}
- </Show>
- <Show when={isCallEntity(props.entity) && props.entity}>
- {(entity) => (
- <>
- <Show when={(soupView?.activeTab() ?? 'all') === 'all'}>
- <CallStatusBadge status={entity().status} />
- </Show>
- <span class="flex w-10 shrink-0 justify-end">
- <CallParticipants participantIds={entity().participantIds} />
- </span>
- </>
- )}
- </Show>
- <Show when={isTaskEntity(props.entity) && props.entity}>
- {(entity) => <Entity.Properties entity={entity()} />}
- </Show>
<Show
when={
rowTagsVisible() && isDocumentEntity(props.entity) && props.entity
@@ -238,6 +213,31 @@ export function WideLayout(props: LayoutProps) {
/>
)}
</Show>
+ <Show
+ when={
+ props.isShared && !owningInbox() && !isGithubPrEntity(props.entity)
+ }
+ >
+ <SharedBadge ownerId={props.entity.ownerId} />
+ </Show>
+ <Show when={isGithubPrEntity(props.entity) && props.entity}>
+ {(entity) => <GithubPullRequestPills entity={entity()} />}
+ </Show>
+ <Show when={isCallEntity(props.entity) && props.entity}>
+ {(entity) => (
+ <>
+ <Show when={(soupView?.activeTab() ?? 'all') === 'all'}>
+ <CallStatusBadge status={entity().status} />
+ </Show>
+ <span class="flex w-10 shrink-0 justify-end">
+ <CallParticipants participantIds={entity().participantIds} />
+ </span>
+ </>
+ )}
+ </Show>
+ <Show when={isTaskEntity(props.entity) && props.entity}>
+ {(entity) => <Entity.Properties entity={entity()} />}
+ </Show>
<Show when={isProjectContainedEntity(props.entity) && props.entity}>
{(entity) => (
<span class="ph-no-capture text-ink-extra-muted text-xs">