Show target branch on merge marker

This commit is contained in:
Rūdolfs Ošiņš
2026-09-03 17:20:01 +02:00
parent 8e78634a23
commit ea10146b42
2 changed files with 12 additions and 0 deletions
+11
View File
@@ -48,6 +48,7 @@
export let revisionReactions: Comment["reactions"];
export let revisionAuthor: Author;
export let revisionDescription: string;
export let targetBranch: string;
export let timelines: Timeline[];
export let previousRevBase: string | undefined = undefined;
export let previousRevId: string | undefined = undefined;
@@ -210,6 +211,11 @@
gap: 0.5rem;
font: var(--txt-body-m-regular);
}
.target-branch {
display: inline-flex;
align-items: center;
gap: 0.25rem;
}
.timestamp {
font: var(--txt-body-m-regular);
color: var(--color-text-tertiary);
@@ -491,6 +497,11 @@
merged revision
<Id id={element.inner.revision} />
into
<span class="target-branch">
<Icon name="branch" />
{targetBranch}
</span>
at commit
<Id id={element.inner.commit} />
<span
+1
View File
@@ -548,6 +548,7 @@
{timelines}
{...revision}
first={index === 0}
{targetBranch}
patchId={patch.id}
patchState={patch.state}
initiallyExpanded={index === patch.revisions.length - 1}