From cebac353defde6211c9e8c3d8ecd140c92042930 Mon Sep 17 00:00:00 2001 From: Nick Anisimov Date: Tue, 18 Aug 2026 11:37:10 +0400 Subject: [PATCH] fix(mobile): show structured input option descriptions (#7321) --- .../features/threads/PendingUserInputCard.tsx | 33 ++++++++++++------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/apps/mobile/src/features/threads/PendingUserInputCard.tsx b/apps/mobile/src/features/threads/PendingUserInputCard.tsx index ddb625f9b21908c4a15cbd2d5c9ac8791cf75b82..4b5a93cd1f755a046cea3605346bbc404fb77a10 100644 --- a/apps/mobile/src/features/threads/PendingUserInputCard.tsx +++ b/apps/mobile/src/features/threads/PendingUserInputCard.tsx @@ -257,14 +257,16 @@ export function PendingUserInputCard(props: PendingUserInputCardProps) { {question.question} - + {question.options.map((option) => { const selected = isPendingUserInputOptionSelected(draft, option.label); + const description = + option.description !== option.label ? option.description : undefined; return ( - - {option.label} - + + + {option.label} + + {description ? ( + + {description} + + ) : null} + ); })} -- 2.54.0