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:21:14 -07:00
co-authored by Nucleic
parent f2637c2cc8
commit 3ffaf0b942
@@ -34,6 +34,15 @@ struct SessionDetailView: View {
TranscriptList(events: store.openEvents, TranscriptList(events: store.openEvents,
scrollToBottomRequest: scrollToBottomRequest, scrollToBottomRequest: scrollToBottomRequest,
isScrolledToBottom: $isScrolledToBottom) isScrolledToBottom: $isScrolledToBottom)
// Measure the transcript's full height (the floating bar overlays it via safeAreaInset,
// so this frame is the whole screen area the card has to live within) and hand it to the
// action card so it can bound itself.
.background {
GeometryReader { proxy in
Color.clear.preference(key: AvailableHeightKey.self, value: proxy.size.height)
}
}
.onPreferenceChange(AvailableHeightKey.self) { availableHeight = $0 }
// The chat bar floats over the scrolling content on Liquid Glass instead of sitting // The chat bar floats over the scrolling content on Liquid Glass instead of sitting
// in a boxed strip below it, so the transcript runs the full height of the screen. // in a boxed strip below it, so the transcript runs the full height of the screen.
.safeAreaInset(edge: .bottom) { actionArea } .safeAreaInset(edge: .bottom) { actionArea }