wip(confidence-engine): checkpoint open-question presentation work
This commit is contained in:
@@ -1890,6 +1890,7 @@ export default function ReasoningWorkspace({
|
||||
focusedInvestigations[node.id] &&
|
||||
focusedInvestigations[node.id].question
|
||||
);
|
||||
const openQuestion = node.openQuestion || node.label;
|
||||
|
||||
function handleNodeClick(n) {
|
||||
if (hasCompleted && selectedPresentationItemId === n.id) {
|
||||
@@ -1907,8 +1908,8 @@ export default function ReasoningWorkspace({
|
||||
style={{ cursor: "pointer" }}
|
||||
className="w-full text-left rounded-lg border border-gray-200 bg-white px-5 py-4 transition hover:border-gray-300 hover:bg-gray-50"
|
||||
>
|
||||
<span className={`block leading-snug ${isFocused ? "text-sm font-medium text-gray-900" : "text-sm text-gray-600"}`}>{node.label}</span>
|
||||
{node.description && node.description !== node.label && (
|
||||
<span className={`block leading-snug ${isFocused ? "text-sm font-medium text-gray-900" : "text-sm text-gray-600"}`}>{openQuestion}</span>
|
||||
{node.description && node.description !== openQuestion && (
|
||||
<p className="mt-1.5 text-xs leading-snug text-gray-500">{node.description}</p>
|
||||
)}
|
||||
{!isFocused && <span className="mt-2 block text-[10px] uppercase tracking-wider text-gray-400">Unclear</span>}
|
||||
|
||||
Reference in New Issue
Block a user