Truncation Logic Refinement
Nucleic-Session: FE1E2C94-7945-4827-AF56-74525A9BD434 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -14,6 +14,10 @@ struct AskUserQuestionCardView: View {
|
|||||||
@EnvironmentObject var store: RemoteStore
|
@EnvironmentObject var store: RemoteStore
|
||||||
let approval: ApprovalRequest
|
let approval: ApprovalRequest
|
||||||
let questions: [AskUserQuestion.Question]
|
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.
|
/// Selected option labels per question text.
|
||||||
@State private var selected: [String: Set<String>] = [:]
|
@State private var selected: [String: Set<String>] = [:]
|
||||||
|
|||||||
Reference in New Issue
Block a user