Truncation Logic Refinement

Nucleic-Session: FE1E2C94-7945-4827-AF56-74525A9BD434
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-06 04:22:23 -07:00
co-authored by Nucleic
parent 083a2cdd76
commit 888a1a406d
@@ -14,6 +14,10 @@ struct AskUserQuestionCardView: View {
@EnvironmentObject var store: RemoteStore
let approval: ApprovalRequest
let questions: [AskUserQuestion.Question]
/// The transcript's on-screen height, so a long question (many options / long descriptions) can
/// scroll inside a bounded region instead of growing the card past the screen and pushing the
/// Deny / Back / Next / Submit buttons out of reach. 0 until measured.
var availableHeight: CGFloat = 0
/// Selected option labels per question text.
@State private var selected: [String: Set<String>] = [:]