test(ui): clarify branch provenance and hierarchy

This commit is contained in:
2026-08-20 06:15:44 +01:00
parent 0ac2e05c40
commit 8163c5d014
7 changed files with 49 additions and 33 deletions
+12 -12
View File
@@ -320,7 +320,7 @@ function CurrentUnderstandingCard({ currentSummary, plainLanguage }) {
return (
<div className="rounded-lg border border-gray-100/80 bg-transparent px-6 pt-5 pb-6">
<h2 className="mb-3 text-[11px] font-medium tracking-widest uppercase text-gray-300">
<h2 className="mb-3 text-[11px] font-semibold tracking-widest uppercase text-gray-500">
Understanding
</h2>
<p className="text-sm leading-relaxed text-gray-600">{summary}</p>
@@ -334,7 +334,7 @@ function PlainLanguageCard({ summary }) {
return (
<div className="rounded-lg border border-gray-100/80 bg-transparent px-6 pt-5 pb-6">
<h2 className="mb-3 text-[11px] font-medium tracking-widest uppercase text-gray-300">
<h2 className="mb-3 text-[11px] font-semibold tracking-widest uppercase text-gray-500">
Understanding
</h2>
<p className="text-sm leading-relaxed text-gray-600">{summary}</p>
@@ -382,7 +382,7 @@ function InvestigationHistory({ turns }) {
return (
<div className="space-y-3" data-testid="investigation-history">
<h2 className="text-[11px] font-medium tracking-widest uppercase text-gray-300">
<h2 className="text-[11px] font-semibold tracking-widest uppercase text-gray-500">
History
</h2>
<div className="space-y-2">
@@ -402,7 +402,7 @@ function OriginalSituation({ scenario, centralStatement }) {
return (
<div className="rounded-lg border border-gray-200/60 bg-gray-50/40 px-5 py-4">
<h2 className="mb-2 text-[11px] font-medium tracking-widest uppercase text-gray-300">
<h2 className="mb-2 text-[11px] font-semibold tracking-widest uppercase text-gray-500">
Situation
</h2>
@@ -832,7 +832,7 @@ export default function ReasoningWorkspace({
return (
<div className="space-y-4">
<h2 className="text-[11px] font-medium tracking-widest uppercase text-gray-300">
<h2 className="text-[11px] font-semibold tracking-widest uppercase text-gray-500">
In this branch — Open questions
</h2>
<div className="space-y-1">
@@ -894,7 +894,7 @@ export default function ReasoningWorkspace({
{/* Formulated question */}
{focused?.question?.trim() ? (
<div>
<h3 className="mb-1 text-[11px] font-medium tracking-widest uppercase text-gray-300">
<h3 className="mb-1 text-[11px] font-semibold tracking-widest uppercase text-gray-500">
Question
</h3>
<p className="text-base font-medium leading-relaxed text-gray-900">
@@ -944,7 +944,7 @@ export default function ReasoningWorkspace({
{focused?.result && (
<>
<div>
<h3 className="mb-1 text-[11px] font-medium tracking-widest uppercase text-gray-300">
<h3 className="mb-1 text-[11px] font-semibold tracking-widest uppercase text-gray-500">
What we learned
</h3>
<ul className="list-disc pl-5 space-y-1">
@@ -955,7 +955,7 @@ export default function ReasoningWorkspace({
</div>
<div>
<h3 className="mb-1 text-[11px] font-medium tracking-widest uppercase text-gray-300">
<h3 className="mb-1 text-[11px] font-semibold tracking-widest uppercase text-gray-500">
Still unclear
</h3>
<ul className="list-disc pl-5 space-y-1">
@@ -967,7 +967,7 @@ export default function ReasoningWorkspace({
{focused.result.assumptions && focused.result.assumptions.length > 0 && (
<div>
<h3 className="mb-1 text-[11px] font-medium tracking-widest uppercase text-gray-300">
<h3 className="mb-1 text-[11px] font-semibold tracking-widest uppercase text-gray-500">
Assumptions in this response
</h3>
<ul className="list-disc pl-5 space-y-1">
@@ -980,7 +980,7 @@ export default function ReasoningWorkspace({
{focused.result.relationships && focused.result.relationships.length > 0 && (
<div>
<h3 className="mb-1 text-[11px] font-medium tracking-widest uppercase text-gray-300">
<h3 className="mb-1 text-[11px] font-semibold tracking-widest uppercase text-gray-500">
Connections
</h3>
<ul className="list-disc pl-5 space-y-1">
@@ -993,7 +993,7 @@ export default function ReasoningWorkspace({
{focused.result.possibleFollowUpQuestions && focused.result.possibleFollowUpQuestions.length > 0 && (
<div>
<h3 className="mb-1 text-[11px] font-medium tracking-widest uppercase text-gray-300">
<h3 className="mb-1 text-[11px] font-semibold tracking-widest uppercase text-gray-500">
Questions this raises
</h3>
<ul className="list-disc pl-5 space-y-1">
@@ -1059,7 +1059,7 @@ export default function ReasoningWorkspace({
{/* Done for now — separate visual area */}
{doneForNowIds.length > 0 && (
<div className="pt-3 border-t border-gray-200">
<h3 className="mb-2 text-[11px] font-medium tracking-widest uppercase text-gray-300">
<h3 className="mb-2 text-[11px] font-semibold tracking-widest uppercase text-gray-500">
Done for now
</h3>
<div className="space-y-1">