fix(ui): finish-audit fixes — blank search glyph, quadratic truncation, scope-rail refusal leak
CI / ci (push) Canceled after 0s
CI / ci (pull_request) Canceled after 0s
CI / ci (push) Canceled after 0s
CI / ci (pull_request) Canceled after 0s
Three-reviewer audit of the polish overhaul: - magnifyinglass -> magnifyingglass (blank SF Symbol, all 3 seats) - WordBoundaryTruncation.fit measures each word once (O(n^2) -> O(n) on pathological imported titles; live-title pins unchanged) - scopeHostedSession defers behind an in-flight replay instead of refusing (automatic actions never leak a 'Resume refused' row); replay completion re-fires the pending scope — pinned over the real client path with loadReplayHold, flip-verified - transcript ForEach on stable row ids, not indices - delete dead softBorder param; fold caretPastLeadingBlanks onto firstContentLocation; native TextField prompt for the search field - ElidedPathText.candidates/elide nonisolated (off-actor first(where:) trapped the host); new pins: degenerate truncation shapes, firstContentLocation, elide ladder
This commit is contained in:
1 parent
3a7d495b4b
commit
efad422e03
13 files changed
+163
-65
No files matched your search
@@ -130,8 +130,8 @@ struct SessionTranscriptView: View {
|
||||
// PREDECESSOR in reach — the warning-styling and gap rules
|
||||
// below are pairwise, not per-row.
|
||||
LazyVStack(alignment: .leading, spacing: 18) {
|
||||
ForEach(visible.indices, id: \.self) { index in
|
||||
rowView(visible[index], previous: index > 0 ? visible[index - 1] : nil)
|
||||
ForEach(Array(visible.enumerated()), id: \.element.id) { pair in
|
||||
rowView(pair.element, previous: pair.offset > 0 ? visible[pair.offset - 1] : nil)
|
||||
}
|
||||
if showsDebugRows, !model.streamingThought.isEmpty {
|
||||
// Live thinking: open while it runs (spinner toggle),
|
||||
|
||||
Reference in new issue
Block a user