authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-09-10 11:34:56-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-10 11:34:56-07:00
logf814983c262b42bd79247bae377a709925c70d63
treee32c4e2a4b3bcacef704b45e9c5dd96f14668740
parent0527ddf06defc88169c245a0fe53635d41d66469
signature Signed by PGP key B5690EEEBB952194

fix(web): emphasize primary pull request actions (#11105)


1 files changed, 6 insertions(+), 12 deletions(-)

apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx+6-12
......@@ -1728,7 +1728,7 @@ export function PullRequestDetailPanel({
17281728 <span className="inline-flex shrink-0">
17291729 <Button
17301730 size="xs"
1731 variant="ghost"
1731 variant="default"
17321732 disabled={handoff !== null}
17331733 onClick={startResolveConflicts}
17341734 aria-label={
......@@ -1754,15 +1754,12 @@ export function PullRequestDetailPanel({
17541754 <span className="inline-flex shrink-0">
17551755 <Button
17561756 size="xs"
1757 variant="ghost"
1757 variant="default"
17581758 disabled={actionPending}
17591759 onClick={() => void perform("ready")}
17601760 aria-label="Ready for review"
17611761 >
1762 <GitPullRequestIcon
1763 aria-hidden
1764 className="hidden size-3.5 @max-[30rem]/pr-header:inline"
1765 />
1762 <GitPullRequestIcon aria-hidden className="size-3.5" />
17661763 <span className="@max-[30rem]/pr-header:hidden">Ready for review</span>
17671764 </Button>
17681765 </span>
......@@ -1777,7 +1774,7 @@ export function PullRequestDetailPanel({
17771774 <span className="inline-flex shrink-0">
17781775 <Button
17791776 size="xs"
1780 variant="ghost"
1777 variant="default"
17811778 disabled={actionPending}
17821779 onClick={() =>
17831780 setConfirmation({ open: true, action: "enable-auto-merge" })
......@@ -1829,17 +1826,14 @@ export function PullRequestDetailPanel({
18291826 <span className="inline-flex shrink-0">
18301827 <Button
18311828 size="xs"
1832 variant="ghost"
1829 variant="default"
18331830 disabled={actionPending}
18341831 onClick={() => setConfirmation({ open: true, action: "merge" })}
18351832 aria-label={
18361833 pendingAction === "merge" ? "Merging..." : selectedMergeMethodLabel
18371834 }
18381835 >
1839 <GitMergeIcon
1840 aria-hidden
1841 className="hidden size-3.5 @max-[30rem]/pr-header:inline"
1842 />
1836 <GitMergeIcon aria-hidden className="size-3.5" />
18431837 <span className="@max-[30rem]/pr-header:hidden">
18441838 {pendingAction === "merge" ? "Merging..." : selectedMergeMethodLabel}
18451839 </span>