Skip to content

0.2.6

Latest

Choose a tag to compare

@henrydavl henrydavl released this 05 Aug 02:41

Completes the detail-screen fix started in 0.2.5. Upgrade straight to this release — 0.2.5 only fixed half the problem.

Fixes

Detail screen no longer pops back while logs are streaming. 0.2.5 gave rows a stable identity, which was necessary but not sufficient: the push was still owned by a NavigationLink inside the ForEach, and such a link loses its active state whenever the List re-diffs. With live traffic arriving, every new entry re-diffed the list and popped you back.

Rows are now plain Buttons that set the selected log, and a single NavigationLink outside the list owns the push — the same pattern already used for the Developer Options screen — so row churn can't reach it.

Verified in the simulator against a host app emitting a log every 0.4s: detail held for over a minute with roughly 150 logs arriving. On 0.2.5 the same tap popped back immediately.

Carried over from 0.2.5

  • Stable ApiLog.id, assigned once at creation (ApiLog now conforms to Identifiable; existing initializers unchanged, so this is source-compatible).
  • Pause/resume for the live stream, with a banner showing how many entries arrived while paused.

Full Changelog: 0.2.5...0.2.6