π€― LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
π style(acceptance): give check evidence the full row width and dock the decision rule edge to edge (#23247)
Lobehub Coder7628c7479b82
diff --git a/src/features/Acceptance/Viewer/AcceptanceOverview.tsx b/src/features/Acceptance/Viewer/AcceptanceOverview.tsxindex 9ce1d33d8eb..cd36633bad0 100644--- a/src/features/Acceptance/Viewer/AcceptanceOverview.tsx+++ b/src/features/Acceptance/Viewer/AcceptanceOverview.tsx@@ -11,6 +11,7 @@ import { sx } from '@/styles/sx';import { useAcceptanceScope } from './AcceptanceScope';import AcceptanceCheckInventory from './Checks/AcceptanceCheckInventory';import AcceptanceCheckOwnerToolbar from './Checks/AcceptanceCheckOwnerToolbar';+import { columnStyles } from './columnStyles';import AcceptanceDiscussion from './Comments/AcceptanceDiscussion';import { commentIdFromHash } from './Comments/anchor';import CollaborationRequestBanner from './Comments/CollaborationRequestBanner';@@ -40,11 +41,6 @@ import { useAcceptanceBundle } from './useAcceptanceBundle';import { useAcceptanceTurn } from './useAcceptanceTurn';const styles = stylex.create({- column: {- width: '100%',- marginInline: 'auto',- paddingInline: { 'default': '24px', '@media (width <= 767px)': '16px' },- },headerBand: {flex: 'none',paddingBlockStart: '20px',@@ -89,11 +85,16 @@ export const AcceptanceOverview = ({const gateDossier =data?.subject.type === 'goal_gate' ? rounds.at(-1)?.run.metadata?.releaseGate : undefined;const resourceCount = collectResources(data?.checks ?? []).length;+ const bodyMaxWidth = tab === 'flow' ? 1500 : getAcceptanceBodyMaxWidth(tab);+ const decisionDocked = tab === 'flow' || (tab === 'checks' && !gateDossier);return (<><Flexbox {...stylex.props(styles.headerBand)}>- <Flexbox gap={12} {...sx(styles.column, { maxWidth: acceptanceReadingColumnMaxWidth })}>+ <Flexbox+ gap={12}+ {...sx(columnStyles.column, { maxWidth: acceptanceReadingColumnMaxWidth })}+ >{/* Sharing sits beside the identity, as on the workbench page. Thecontrol gates itself on the server's review capability, so areader without it sees nothing here. The inline padding clears the@@ -141,13 +142,7 @@ export const AcceptanceOverview = ({</Flexbox></Flexbox>- <Flexbox- gap={16}- paddingBlock={20}- {...sx(styles.column, {- maxWidth: tab === 'flow' ? 1500 : getAcceptanceBodyMaxWidth(tab),- })}- >+ <Flexbox gap={16} paddingBlock={20} {...sx(columnStyles.column, { maxWidth: bodyMaxWidth })}>{/* Deciding belongs where the evidence is. The discussion is aconversation; ending one there put the closing act under a threadthat says nothing about whether the checks passed. Both faces of@@ -157,22 +152,23 @@ export const AcceptanceOverview = ({{tab === 'discussion' ? (<AcceptanceDiscussion onOpenChecks={() => setTab('checks')} />) : tab === 'flow' ? (- <>- <AcceptanceFlow />- <AcceptanceDecision onDraftToComposer={onDraftToComposer} />- </>+ <AcceptanceFlow />) : tab === 'checks' && gateDossier ? (<GateReview dossier={gateDossier} />) : tab === 'checks' ? (<><AcceptanceCheckInventory toolbar={<AcceptanceCheckOwnerToolbar />} /><ReviewerApprovalBar />- <AcceptanceDecision onDraftToComposer={onDraftToComposer} /></>) : (<AcceptanceResources />)}</Flexbox>+ {/* Outside the column so its rule spans the frame like the header+ band's under the tabs β the page opens and closes on the same line. */}+ {decisionDocked && (+ <AcceptanceDecision dockedMaxWidth={bodyMaxWidth} onDraftToComposer={onDraftToComposer} />+ )}</>);};diff --git a/src/features/Acceptance/Viewer/Checks/CheckRow.tsx b/src/features/Acceptance/Viewer/Checks/CheckRow.tsxindex e32f42ec0ed..3ba746d62d1 100644--- a/src/features/Acceptance/Viewer/Checks/CheckRow.tsx+++ b/src/features/Acceptance/Viewer/Checks/CheckRow.tsx@@ -192,6 +192,7 @@ export const AcceptanceCheckRow = memo<{styles.body,!detailMode && styles.bodyInList,!hasEvidenceColumn && styles.bodySingle,+ !detailMode && styles.bodyStacked,)}>{hasEvidenceColumn && (diff --git a/src/features/Acceptance/Viewer/Checks/CheckRowSide.tsx b/src/features/Acceptance/Viewer/Checks/CheckRowSide.tsxindex a69ed6c76b2..d386755ec96 100644--- a/src/features/Acceptance/Viewer/Checks/CheckRowSide.tsx+++ b/src/features/Acceptance/Viewer/Checks/CheckRowSide.tsx@@ -127,6 +127,105 @@ export const CheckRowSide = memo<CheckRowSideProps>(const hasHistory = hasCheckHistory(check, historyReviews);const canDecide = reviewable && !activeReview;+ // A row opened in the list: the evidence above already took the full+ // width, so the judging closes it as one compact bar β the verdict and+ // its folded reason on the first line, the decision on the last.+ if (!detailMode) {+ const traceId =+ check.planItem?.verifierType === 'agent' ? check.result?.verifierOperationId : undefined;+ const leading = (+ <>+ {hasHistory && (+ <span {...stylex.props(styles.historyToggle)} onClick={onHistoryToggle}>+ <Icon+ icon={ChevronRight}+ size={12}+ style={{+ transform: historyOpen ? 'rotate(90deg)' : 'none',+ transition: 'transform 0.2s',+ }}+ />+ {t('acceptance.checks.iterationHistory', { count: check.revisions })}+ </span>+ )}+ {/* `onOpenTrace` gates the render, not just the click β see the+ detail layout below for why. */}+ {traceId && onOpenTrace && (+ <Button+ icon={<Icon icon={Route} />}+ size={'small'}+ type={'text'}+ onClick={(event) => {+ event.stopPropagation();+ void onOpenTrace(traceId);+ }}+ >+ {t('acceptance.checks.viewTrace')}+ </Button>+ )}+ </>+ );+ const hasLeading = hasHistory || Boolean(traceId && onOpenTrace);++ return (+ <Flexbox gap={12} style={{ minWidth: 0 }}>+ {check.prediction && canDecide && (+ <ProposalCard+ open={proposalOpen}+ pending={reviewPending}+ proposal={check.prediction}+ onAdjudicate={handleAdjudicate}+ onConfirm={() => openReject(check.prediction ?? undefined)}+ onToggle={onProposalToggle}+ />+ )}+ <div {...stylex.props(styles.verdictBar)}>+ <div {...stylex.props(styles.verdictLine)}>+ <span {...stylex.props(styles.verdictLabel)}>+ <Icon color={headColor} icon={headIcon} size={16} style={{ flex: 'none' }} />+ <Text weight={500}>{verdictLabel}</Text>+ </span>+ {check.result?.toulmin?.evidence && (+ <div {...stylex.props(styles.verdictReason)}>+ <FoldedText secondary text={check.result.toulmin.evidence} />+ </div>+ )}+ </div>+ <VerifierRecord check={check} visualization={visualization} />+ {dispute && <DisputeNote dispute={dispute} />}+ {historyOpen && hasHistory && (+ <IterationTimeline+ check={check}+ evidenceById={evidenceById}+ historyReviews={historyReviews}+ onRound={onRound}+ />+ )}+ {activeReview && (+ <StandingDecision+ accepting={accepting}+ evidenceById={evidenceById}+ review={activeReview}+ reviewPending={reviewPending}+ onAccept={reviewable ? handleAccept : undefined}+ onReject={reviewable ? () => openReject() : undefined}+ />+ )}+ {(Boolean(onCommentEvidence) || canDecide || hasLeading) && (+ <CheckRowSideActions+ inline+ leading={leading}+ review={review}+ reviewPending={reviewPending}+ showDecision={canDecide}+ onCommentEvidence={onCommentEvidence}+ />+ )}+ </div>+ </Flexbox>+ );+ }+return (<Flexbox gap={12} {...stylex.props(styles.side)}>{/* The model's proposal leads the side column: it is a claim about@@ -144,12 +243,6 @@ export const CheckRowSide = memo<CheckRowSideProps>(onToggle={onProposalToggle}/>)}- {!detailMode && (- <Flexbox horizontal align={'center'} gap={8}>- <Icon color={headColor} icon={headIcon} size={16} style={{ flex: 'none' }} />- <Text weight={500}>{verdictLabel}</Text>- </Flexbox>- )}{/* The verifier's account of what it saw. Folded to one line thatopens in place: shown in full, it and the reasoning below turned anexpanded check into a wall of text; an earlier clamp failed because@@ -194,7 +287,7 @@ export const CheckRowSide = memo<CheckRowSideProps>(not a verdict. The rounds this check already went through thensit between that and the verdict buttons: context for thedecision, never an appendix to one already made. */}- {detailMode && desktop && canDecide && canMarkEvidence(check, desktop) && (+ {desktop && canDecide && canMarkEvidence(check, desktop) && (<Buttonoutdenticon={<Icon icon={Images} />}@@ -241,20 +334,17 @@ export const CheckRowSide = memo<CheckRowSideProps>(onReject={reviewable ? () => openReject() : undefined}/>)}- {/* One row closes the check: looking harder on the left, deciding on- the right. Circling the evidence is another way of reading what- was delivered rather than a verdict, so it keeps its quiet text- styling and the left edge β but it sits ON the same line as the- buttons instead of stacking a half-empty row above them. */}- {!phoneBar && (Boolean(onCommentEvidence) || (canDecide && !detailMode)) && (+ {/* The detail page decides in the stack below; this line only+ carries the comment entry. */}+ {!phoneBar && Boolean(onCommentEvidence) && (<CheckRowSideActionsreview={review}reviewPending={reviewPending}- showDecision={canDecide && !detailMode}+ showDecision={false}onCommentEvidence={onCommentEvidence}/>)}- {canDecide && detailMode && desktop && (+ {canDecide && desktop && (<Flexbox gap={10} style={{ marginBlockStart: 6 }}><TextAreaautoSize={{ maxRows: 8, minRows: 3 }}diff --git a/src/features/Acceptance/Viewer/Checks/CheckRowSideActions.tsx b/src/features/Acceptance/Viewer/Checks/CheckRowSideActions.tsxindex 65cf5e5dc4b..55a019f0f7e 100644--- a/src/features/Acceptance/Viewer/Checks/CheckRowSideActions.tsx+++ b/src/features/Acceptance/Viewer/Checks/CheckRowSideActions.tsx@@ -1,6 +1,7 @@import { Button, Icon } from '@lobehub/ui';import * as stylex from '@stylexjs/stylex';import { Check, MessageSquare, MessageSquareX } from 'lucide-react';+import type { ReactNode } from 'react';import { memo } from 'react';import { useTranslation } from 'react-i18next';@@ -8,6 +9,10 @@ import { styles } from './styles';import type { CheckReviewActions } from './useCheckReviewActions';interface CheckRowSideActionsProps {+ /** Lay out as one line at every width β the verdict bar under a list row. */+ inline?: boolean;+ /** Extra quiet links beside the comment entry (history, trace). */+ leading?: ReactNode;onCommentEvidence?: () => void;review: CheckReviewActions;reviewPending: boolean;@@ -15,30 +20,37 @@ interface CheckRowSideActionsProps {}export const CheckRowSideActions = memo<CheckRowSideActionsProps>(- ({ onCommentEvidence, review, reviewPending, showDecision }) => {+ ({ inline, leading, onCommentEvidence, review, reviewPending, showDecision }) => {const { t } = useTranslation('verify');const { accepting, handleAccept, handleIgnore, ignoring, openReject } = review;+ const commentButton = onCommentEvidence ? (+ <Button+ outdent+ icon={<Icon icon={MessageSquare} />}+ style={{ alignSelf: inline ? undefined : 'flex-start' }}+ type={'text'}+ onClick={(event) => {+ event.stopPropagation();+ onCommentEvidence();+ }}+ >+ {t('acceptance.comments.evidenceModalTitle')}+ </Button>+ ) : null;+return (- <div {...stylex.props(styles.sideActions)}>- {onCommentEvidence ? (- <Button- outdent- icon={<Icon icon={MessageSquare} />}- style={{ alignSelf: 'flex-start' }}- type={'text'}- onClick={(event) => {- event.stopPropagation();- onCommentEvidence();- }}- >- {t('acceptance.comments.evidenceModalTitle')}- </Button>+ <div {...stylex.props(styles.sideActions, inline && styles.sideActionsInline)}>+ {inline ? (+ <div {...stylex.props(styles.sideActionsLeading)}>+ {commentButton}+ {leading}+ </div>) : (- <span />+ (commentButton ?? <span />))}{showDecision && (- <div {...stylex.props(styles.decisionStack)}>+ <div {...stylex.props(styles.decisionStack, inline && styles.decisionStackInline)}><Buttondisabled={reviewPending && !accepting}icon={<Icon icon={Check} />}diff --git a/src/features/Acceptance/Viewer/Checks/styles.ts b/src/features/Acceptance/Viewer/Checks/styles.tsindex 95a7098eaf4..67acaad1425 100644--- a/src/features/Acceptance/Viewer/Checks/styles.ts+++ b/src/features/Acceptance/Viewer/Checks/styles.ts@@ -159,6 +159,40 @@ export const styles = stylex.create({bodySingle: {gridTemplateColumns: 'minmax(0, 560px)',},+ // A row opened in the list gives the evidence the full width β a side-by-side+ // before/after shrank to half its size beside the 280px judging column β and+ // the judging folds into one bar under it.+ bodyStacked: {+ gridTemplateColumns: 'minmax(0, 1fr)',+ },+ verdictBar: {+ display: 'flex',+ flexDirection: 'column',+ gap: '10px',+ minWidth: 0,+ paddingBlock: '12px',+ paddingInline: '14px',+ borderRadius: cssVar.borderRadiusLG,+ backgroundColor: cssVar.colorFillQuaternary,+ },+ verdictLine: {+ display: 'flex',+ gap: '12px',+ alignItems: 'flex-start',+ minWidth: 0,+ },+ verdictLabel: {+ display: 'inline-flex',+ flex: 'none',+ gap: '6px',+ alignItems: 'center',+ height: '22px',+ },+ verdictReason: {+ flex: '1',+ minWidth: 0,+ paddingBlockStart: '1px',+ },bodyInList: {paddingBlockEnd: '16px',paddingInlineStart: { default: '16px', [wideRow]: '60px', [compact]: 0 },@@ -184,6 +218,25 @@ export const styles = stylex.create({borderBlockStartStyle: { default: null, [wideRow]: 'solid' },borderBlockStartColor: { default: null, [wideRow]: cssVar.colorBorderSecondary },},+ // The verdict bar's closing line: looking harder on the left, deciding on+ // the right, at every row width.+ sideActionsInline: {+ flexDirection: 'row',+ flexWrap: 'wrap',+ alignItems: 'center',+ paddingBlockStart: 0,+ borderBlockStartWidth: 0,+ },+ sideActionsLeading: {+ display: 'flex',+ flexWrap: 'wrap',+ gap: '12px',+ alignItems: 'center',+ minWidth: 0,+ },+ decisionStackInline: {+ flexDirection: 'row-reverse',+ },detailContainer: {flexGrow: '1',flexShrink: '0',diff --git a/src/features/Acceptance/Viewer/Review/AcceptanceDecision.tsx b/src/features/Acceptance/Viewer/Review/AcceptanceDecision.tsxindex c4108863997..af731f2eae5 100644--- a/src/features/Acceptance/Viewer/Review/AcceptanceDecision.tsx+++ b/src/features/Acceptance/Viewer/Review/AcceptanceDecision.tsx@@ -9,10 +9,12 @@ import { useWorkspaceAwareNavigate } from '@/features/Workspace/useWorkspaceAwarimport { useIsHydrated } from '@/hooks/useIsHydrated';import { verifyService } from '@/services/verify';import { useVerifyStore } from '@/store/verify';+import { sx } from '@/styles/sx';import { useAcceptanceScope } from '../AcceptanceScope';import { decisionSegments } from '../Checks/checkDecision';import { isException } from '../Checks/checkState';+import { columnStyles } from '../columnStyles';import { useAcceptanceComments } from '../Comments/hooks';import { flowPlanPhase } from '../Plan/planReview';import { acceptanceCheckPath, useAcceptanceRouteBase } from '../routes';@@ -31,10 +33,14 @@ import { openAcceptModal, openGroupFeedbackModal, openRejectModal } from './modaimport { rejectCopyOnly } from './rejectCopyOnly';interface AcceptanceDecisionProps {+ /** Rendered after the page's body column rather than inside it: the bar+ docks across the frame, and the notice that replaces it on a past round+ wraps itself in a column of this width. */+ dockedMaxWidth?: number;onDraftToComposer?: (text: string) => boolean;}-const AcceptanceDecision = ({ onDraftToComposer }: AcceptanceDecisionProps) => {+const AcceptanceDecision = ({ dockedMaxWidth, onDraftToComposer }: AcceptanceDecisionProps) => {const { t } = useTranslation('verify');const navigate = useWorkspaceAwareNavigate();const hydrated = useIsHydrated();@@ -60,7 +66,12 @@ const AcceptanceDecision = ({ onDraftToComposer }: AcceptanceDecisionProps) => {if (turn !== null && turn !== data.rounds.at(-1)?.run.roundIndex)return (- <Flexbox gap={8}>+ <Flexbox+ gap={8}+ {...(dockedMaxWidth === undefined+ ? {}+ : sx(columnStyles.column, { maxWidth: dockedMaxWidth, paddingBlockEnd: 20 }))}+ ><Text type={'secondary'}>{t('acceptance.review.historicalReadOnly')}</Text><Button style={{ minHeight: 44 }} onClick={() => setTurn(null)}>{t('acceptance.filter.roundAll')}@@ -129,6 +140,7 @@ const AcceptanceDecision = ({ onDraftToComposer }: AcceptanceDecisionProps) => {<><DecisionBaracceptedCount={acceptedCount}+ dockedMaxWidth={dockedMaxWidth}embedded={embedded}feedbackCount={feedbackEntries.filter((entry) => !entry.stale).length}ignoredCount={ignoredCount}diff --git a/src/features/Acceptance/Viewer/Review/DecisionBar.tsx b/src/features/Acceptance/Viewer/Review/DecisionBar.tsxindex 3c26c429187..f30c3054493 100644--- a/src/features/Acceptance/Viewer/Review/DecisionBar.tsx+++ b/src/features/Acceptance/Viewer/Review/DecisionBar.tsx@@ -6,6 +6,8 @@ import { ListTodo, Lock, UsersRound } from 'lucide-react';import { memo, useState } from 'react';import { useTranslation } from 'react-i18next';+import { sx } from '@/styles/sx';+import type { DecisionSegment } from '../Checks/checkDecision';import { DecisionActions } from './DecisionActions';import { decisionBarStyles as styles } from './decisionBarStyles';@@ -17,6 +19,11 @@ import { DecisionTally } from './DecisionTally';interface DecisionBarProps {/** Checks the user has signed off, of `totalCount` reviewable ones. */acceptedCount: number;+ /** Docks the bar across the whole scroll frame β its rule then mirrors the+ header band's under the tabs β while the content keeps to a column this+ wide (the body column's max width, its padding included). The caller+ renders the bar after the column instead of inside it. */+ dockedMaxWidth?: number;/** Rendered inside the conversation portal β the composer beside the barreceives the repair draft, so the copy handoff stays standalone-only. */embedded?: boolean;@@ -70,6 +77,7 @@ interface DecisionBarProps {const DecisionBar = memo<DecisionBarProps>(({acceptedCount,+ dockedMaxWidth,embedded,feedbackCount,ignoredCount,@@ -93,6 +101,7 @@ const DecisionBar = memo<DecisionBarProps>(totalCount,}) => {const { t } = useTranslation('verify');+ const docked = dockedMaxWidth !== undefined;const allConfirmed = totalCount > 0 && acceptedCount + ignoredCount >= totalCount;const hasFeedback = feedbackCount > 0;@@ -118,9 +127,10 @@ const DecisionBar = memo<DecisionBarProps>(}return (- <div {...stylex.props(styles.bar)}>+ <div {...stylex.props(styles.bar, docked && styles.barDocked)}>{segments && segments.length > 0 && (<DecisionStrip+ pendingXstyle={styles.stripPending}segmentXstyle={styles.stripSegment}segments={segments}xstyle={styles.strip}@@ -130,85 +140,93 @@ const DecisionBar = memo<DecisionBarProps>(})}/>)}- <Flexbox horizontal align={'flex-start'} gap={10} {...stylex.props(styles.summary)}>- <span {...stylex.props(styles.mark)}>- <DecisionStatusMark- allConfirmed={allConfirmed}- decidedCount={decidedCount}- justCompleted={justCompleted}- repairing={repairing}- settledNeedsFix={settledNeedsFix}- state={state}- totalCount={totalCount}- />- </span>- <Flexbox gap={0} style={{ flex: '0 1 auto', minWidth: 0 }}>- <Text ellipsis {...stylex.props(styles.statusText)}>- {statusText}- </Text>- {state === 'settled' && totalCount > 0 && (- <DecisionTally- acceptedCount={acceptedCount}- ignoredCount={ignoredCount}- needsFixCount={needsFixCount}- pendingCount={Math.max(totalCount - decidedCount, 0)}+ <div+ {...sx(+ styles.content,+ docked && styles.contentDocked,+ docked ? { maxWidth: dockedMaxWidth } : undefined,+ )}+ >+ <Flexbox horizontal align={'flex-start'} gap={10} {...stylex.props(styles.summary)}>+ <span {...stylex.props(styles.mark)}>+ <DecisionStatusMark+ allConfirmed={allConfirmed}+ decidedCount={decidedCount}+ justCompleted={justCompleted}+ repairing={repairing}+ settledNeedsFix={settledNeedsFix}+ state={state}+ totalCount={totalCount}/>- )}- {subText && (- <Text ellipsis fontSize={12} type={'secondary'}>- {subText}+ </span>+ <Flexbox gap={0} style={{ flex: '0 1 auto', minWidth: 0 }}>+ <Text ellipsis {...stylex.props(styles.statusText)}>+ {statusText}</Text>- )}- {(readOnlyReason || rejectOnlyReason) && (- <Flexbox- horizontal- align={'center'}- data-testid={'acceptance-decision-reason'}- gap={4}- >- <Icon- icon={readOnlyReason ? Lock : UsersRound}- size={12}- style={{ flex: 'none' }}+ {state === 'settled' && totalCount > 0 && (+ <DecisionTally+ acceptedCount={acceptedCount}+ ignoredCount={ignoredCount}+ needsFixCount={needsFixCount}+ pendingCount={Math.max(totalCount - decidedCount, 0)}/>- <Text fontSize={12} type={'secondary'}>- {readOnlyReason ?? rejectOnlyReason}+ )}+ {subText && (+ <Text ellipsis fontSize={12} type={'secondary'}>+ {subText}</Text>- </Flexbox>- )}- </Flexbox>+ )}+ {(readOnlyReason || rejectOnlyReason) && (+ <Flexbox+ horizontal+ align={'center'}+ data-testid={'acceptance-decision-reason'}+ gap={4}+ >+ <Icon+ icon={readOnlyReason ? Lock : UsersRound}+ size={12}+ style={{ flex: 'none' }}+ />+ <Text fontSize={12} type={'secondary'}>+ {readOnlyReason ?? rejectOnlyReason}+ </Text>+ </Flexbox>+ )}+ </Flexbox>- {/* The clearing list β every note this round queues for the next one.+ {/* The clearing list β every note this round queues for the next one.Sits with the status reading on the left: it explains that reading,while the right side stays pure actions. */}- {feedbackCount > 0 && (- <Button- icon={<Icon icon={ListTodo} />}- size={'small'}- style={{ flex: 'none' }}- type={'text'}- onClick={onOpenFeedback}- >- {t('acceptance.bar.feedback', { count: feedbackCount })}- </Button>- )}- </Flexbox>- <DecisionActions- allConfirmed={allConfirmed}- embedded={embedded}- hasFeedback={hasFeedback}- pending={pending}- readOnlyReason={readOnlyReason}- rejectOnlyReason={rejectOnlyReason}- rerunAvailable={rerunAvailable}- rerunPending={rerunPending}- state={state}- onAccept={onAccept}- onAddComment={onAddComment}- onCopyReview={onCopyReview}- onRejectComment={onRejectComment}- onRerun={onRerun}- />+ {feedbackCount > 0 && (+ <Button+ icon={<Icon icon={ListTodo} />}+ size={'small'}+ style={{ flex: 'none' }}+ type={'text'}+ onClick={onOpenFeedback}+ >+ {t('acceptance.bar.feedback', { count: feedbackCount })}+ </Button>+ )}+ </Flexbox>+ <DecisionActions+ allConfirmed={allConfirmed}+ embedded={embedded}+ hasFeedback={hasFeedback}+ pending={pending}+ readOnlyReason={readOnlyReason}+ rejectOnlyReason={rejectOnlyReason}+ rerunAvailable={rerunAvailable}+ rerunPending={rerunPending}+ state={state}+ onAccept={onAccept}+ onAddComment={onAddComment}+ onCopyReview={onCopyReview}+ onRejectComment={onRejectComment}+ onRerun={onRerun}+ />+ </div></div>);},diff --git a/src/features/Acceptance/Viewer/Review/DecisionStrip.tsx b/src/features/Acceptance/Viewer/Review/DecisionStrip.tsxindex f9a572fd35e..e0a0eb1f87c 100644--- a/src/features/Acceptance/Viewer/Review/DecisionStrip.tsx+++ b/src/features/Acceptance/Viewer/Review/DecisionStrip.tsx@@ -24,22 +24,31 @@ const styles = stylex.create({interface DecisionStripProps {label: string;+ /** Applied after `segmentXstyle` to undecided segments only. */+ pendingXstyle?: StyleXStyles;segments: DecisionSegment[];segmentXstyle?: StyleXStyles;xstyle?: StyleXStyles;}-const DecisionStrip = memo<DecisionStripProps>(({ label, segmentXstyle, segments, xstyle }) => (- <div aria-label={label} role={'img'} {...stylex.props(styles.strip, xstyle)}>- {segments.map((segment, index) => (- <i- data-decision={segment}- key={index}- {...stylex.props(styles.segment, styles[segment], segmentXstyle)}- />- ))}- </div>-));+const DecisionStrip = memo<DecisionStripProps>(+ ({ label, pendingXstyle, segmentXstyle, segments, xstyle }) => (+ <div aria-label={label} role={'img'} {...stylex.props(styles.strip, xstyle)}>+ {segments.map((segment, index) => (+ <i+ data-decision={segment}+ key={index}+ {...stylex.props(+ styles.segment,+ styles[segment],+ segmentXstyle,+ segment === 'pending' && pendingXstyle,+ )}+ />+ ))}+ </div>+ ),+);DecisionStrip.displayName = 'AcceptanceDecisionStrip';diff --git a/src/features/Acceptance/Viewer/Review/decisionBarStyles.ts b/src/features/Acceptance/Viewer/Review/decisionBarStyles.tsindex e7ca8006025..68299c8a9d7 100644--- a/src/features/Acceptance/Viewer/Review/decisionBarStyles.ts+++ b/src/features/Acceptance/Viewer/Review/decisionBarStyles.ts@@ -30,21 +30,37 @@ export const decisionBarStyles = stylex.create({position: 'sticky',zIndex: 20,insetBlockEnd: 0,- display: 'flex',- flexWrap: 'wrap',- columnGap: '16px',- rowGap: '12px',- alignItems: 'center',+ flex: 'none',width: '100%',marginBlockEnd: '-20px',paddingBlockStart: '16px',paddingBlockEnd: { default: '16px', [phone]: 'max(16px, env(safe-area-inset-bottom))' },- paddingInline: { default: '16px', [phone]: 0 },borderBlockStartWidth: '1px',borderBlockStartStyle: 'solid',borderBlockStartColor: cssVar.colorBorderSecondary,backgroundColor: cssVar.colorBgContainer,},+ // Spans the scroll frame edge to edge, so its rule mirrors the header+ // band's under the tabs. It sits after the padded column, not inside it,+ // so there is no column padding to cancel.+ barDocked: {+ marginBlockEnd: 0,+ },+ content: {+ display: 'flex',+ flexWrap: 'wrap',+ columnGap: '16px',+ rowGap: '12px',+ alignItems: 'center',+ paddingInline: { default: '16px', [phone]: 0 },+ },+ // The column's own inline padding (24 / 16) plus the bar's (16 / 0), so the+ // content lands where it did inside the column.+ contentDocked: {+ width: '100%',+ marginInline: 'auto',+ paddingInline: { default: '40px', [phone]: '16px' },+ },strip: {position: 'absolute',insetInline: 0,@@ -52,6 +68,12 @@ export const decisionBarStyles = stylex.create({gap: 0,height: '2px',},+ // The bar's rule is the strip's track: an undecided check leaves it bare,+ // so an unreviewed list reads as the same 1px rule as the one under the tabs+ // instead of a heavier gray band.+ stripPending: {+ backgroundColor: 'transparent',+ },stripSegment: {borderRadius: 0,},diff --git a/src/features/Acceptance/Viewer/columnStyles.ts b/src/features/Acceptance/Viewer/columnStyles.tsnew file mode 100644index 00000000000..422f6b37c2f--- /dev/null+++ b/src/features/Acceptance/Viewer/columnStyles.ts@@ -0,0 +1,14 @@+import * as stylex from '@stylexjs/stylex';++/**+ * The page's centred reading column. Shared so content rendered outside the+ * body column (the docked decision bar's fallbacks) lands on the same edges.+ * Callers add the tab's `maxWidth` inline.+ */+export const columnStyles = stylex.create({+ column: {+ width: '100%',+ marginInline: 'auto',+ paddingInline: { 'default': '24px', '@media (width <= 767px)': '16px' },+ },+});