Skip to content

Commit b181ea3

Browse files
Polish workbench action controls
1 parent c0ef517 commit b181ea3

2 files changed

Lines changed: 44 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## 2026-05-28 — Next.js Workbench Visual Polish Pass 1
4+
5+
### Changed
6+
7+
- Refined workbench action controls with shared button sizing and styling.
8+
- Added a clearer action workflow label above the action controls.
9+
- Applied more consistent styling to candidate decision buttons.
10+
- Preserved existing queue filters, break selection, evidence comparison, drill-down panels, and structured action workflow behavior.
11+
12+
### Design Notes
13+
14+
- This milestone improves visual consistency without changing reconciliation logic.
15+
- The Action Panel is moving toward a more controlled financial operations workflow style.
16+
- Further visual polish is still needed for panel density, header hierarchy, and Salt-aligned components.
17+
318
## 2026-05-28 — Next.js Queue Productivity Milestone
419

520
### Changed

frontend/components/BreakResolutionWorkbench.tsx

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,22 @@ const fallbackWorkbenchData: WorkbenchData = {
7777
breakPacketsByExceptionId: {},
7878
};
7979

80+
const actionButtonStyle = {
81+
width: "100%",
82+
minHeight: "44px",
83+
borderRadius: "14px",
84+
fontWeight: 800,
85+
letterSpacing: "0.01em",
86+
} as const;
87+
88+
const candidateButtonStyle = {
89+
width: "100%",
90+
minHeight: "36px",
91+
borderRadius: "12px",
92+
fontSize: "12px",
93+
fontWeight: 800,
94+
} as const;
95+
8096
function hasRelatedCandidate(
8197
exceptionId: string,
8298
candidatesByExceptionId: Record<string, Candidate[]>,
@@ -609,20 +625,23 @@ function CandidateCard({
609625
sentiment="neutral"
610626
appearance="bordered"
611627
onClick={() => onDecision("Review")}
628+
style={candidateButtonStyle}
612629
>
613630
Review
614631
</Button>
615632
<Button
616633
sentiment="accented"
617634
appearance="solid"
618635
onClick={() => onDecision("Accept")}
636+
style={candidateButtonStyle}
619637
>
620638
Accept
621639
</Button>
622640
<Button
623641
sentiment="neutral"
624642
appearance="bordered"
625643
onClick={() => onDecision("Reject")}
644+
style={candidateButtonStyle}
626645
>
627646
Reject
628647
</Button>
@@ -1079,7 +1098,11 @@ export default function BreakResolutionWorkbench() {
10791098
<p className="mt-2 text-sm leading-6 text-red-700">{displayedReason}</p>
10801099
</div>
10811100

1082-
<div className="mt-5 space-y-3">
1101+
<div className="mt-5">
1102+
<div className="mb-2 text-xs font-bold uppercase tracking-[0.16em] text-slate-500">
1103+
Stage analyst action
1104+
</div>
1105+
<div className="space-y-3">
10831106
<Button
10841107
sentiment="accented"
10851108
appearance="solid"
@@ -1089,7 +1112,7 @@ export default function BreakResolutionWorkbench() {
10891112
setAnalystNote("");
10901113
setDecisionTimestamp(new Date().toISOString());
10911114
}}
1092-
style={{ width: "100%" }}
1115+
style={actionButtonStyle}
10931116
>
10941117
Stage recommendation
10951118
</Button>
@@ -1102,7 +1125,7 @@ export default function BreakResolutionWorkbench() {
11021125
setAnalystNote("");
11031126
setDecisionTimestamp(new Date().toISOString());
11041127
}}
1105-
style={{ width: "100%" }}
1128+
style={actionButtonStyle}
11061129
>
11071130
Reject recommendation
11081131
</Button>
@@ -1115,7 +1138,7 @@ export default function BreakResolutionWorkbench() {
11151138
setAnalystNote("");
11161139
setDecisionTimestamp(new Date().toISOString());
11171140
}}
1118-
style={{ width: "100%" }}
1141+
style={actionButtonStyle}
11191142
>
11201143
Request information
11211144
</Button>
@@ -1128,10 +1151,11 @@ export default function BreakResolutionWorkbench() {
11281151
setAnalystNote("");
11291152
setDecisionTimestamp(new Date().toISOString());
11301153
}}
1131-
style={{ width: "100%" }}
1154+
style={actionButtonStyle}
11321155
>
11331156
Add analyst note
11341157
</Button>
1158+
</div>
11351159
</div>
11361160

11371161
<div className="mt-5 rounded-2xl bg-slate-50 p-4 text-sm leading-6 text-slate-600">

0 commit comments

Comments
 (0)