Truncation Logic Refinement
Nucleic-Session: FE1E2C94-7945-4827-AF56-74525A9BD434 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -21,6 +21,10 @@ struct SessionDetailView: View {
|
|||||||
// Owned here (not inside `TranscriptList`) so the jump-to-bottom chevron can ride in the chat
|
// Owned here (not inside `TranscriptList`) so the jump-to-bottom chevron can ride in the chat
|
||||||
// bar just above the composer. `TranscriptList` drives it from the scroll geometry.
|
// bar just above the composer. `TranscriptList` drives it from the scroll geometry.
|
||||||
@State private var isScrolledToBottom = true
|
@State private var isScrolledToBottom = true
|
||||||
|
// The transcript's on-screen height, measured so the floating approval / question card can cap
|
||||||
|
// itself to the screen: a long host command or a long list of options must never grow the card
|
||||||
|
// past the screen edge and push its Allow/Deny (or Submit) buttons out of reach.
|
||||||
|
@State private var availableHeight: CGFloat = 0
|
||||||
|
|
||||||
private var summary: WireSessionSummary? {
|
private var summary: WireSessionSummary? {
|
||||||
store.sessions.first { $0.sessionID == sessionID }
|
store.sessions.first { $0.sessionID == sessionID }
|
||||||
|
|||||||
Reference in New Issue
Block a user