mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-20 03:47:06 +00:00
feat(native): improve anchored chat scrolling and history loading
Add viewport-driven paging with layout acknowledgements, bounded retries, cancellation gates, and epoch-safe history retention. Preserve transcript anchors and expansion state, fix tool-group identity collisions, and serialize Android history coordination on Main. Reduce per-scroll composition and layout work; add native regression tests, CI coverage, and profiling guidance.
This commit is contained in:
@@ -19,7 +19,7 @@ struct GeneratedImageBlockView: View {
|
||||
Group {
|
||||
if media == nil || failed {
|
||||
placeholder
|
||||
} else if let image {
|
||||
} else if let image = image ?? media?.cachedImage(for: block.imageId) {
|
||||
Button {
|
||||
viewerOpen = true
|
||||
} label: {
|
||||
|
||||
Reference in New Issue
Block a user