mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-12-04 12:42:18 +01:00
20d4f7cc claimed to fix the page's phone layout and did not. Proving the test
caught the bug meant hand-reverting the fix, and restoring from that backup
brought the broken Flex back — so what shipped was the buggy arrangement under
a comment describing the bug it was meant to have fixed. The footer is on the
explicit Row-or-Column again.
The gesture crash that came with the report is downstream of it, not separate:
shadcn's Flex builds its paint-order list in performLayout, so a layout that
fails leaves firstSortedChild and the children's parentData stale, and the next
pointer event dereferences null. The overlapping cards are the same cause —
children keeping offsets from a layout that never completed.
Two more narrow-width problems, both the design's desktop assumptions meeting a
phone. The header's run stamp was starving the title, which wrapped a character
at a time; below the breakpoint it moves into the body. The row's mono value
column was starving the check's name the same way, so below the breakpoint it
is dropped — that fact already sits in the expandable block, and a name that
reads is worth more than a value repeated twice.
The sweep covers six configurations now — 320/330/360/390px, 1.0x/1.3x/1.6x
text, nine checks — and it discriminates: against the shipped code it hangs, in
the relayout cascade a failed layout causes.
Also the two ways in the troubleshooter was missing.
The onboarding help sheet gated its entry on isObpMdnsEnabled, so a rider on
MyWhoosh Link or Zwift/Rouvy mDNS — methods that fail to be discovered in
exactly the same ways — was offered nothing. Gated on any LAN method now;
needsLocalNetwork is renamed hasNetworkMethodEnabled, since it answers both
that question and the permission one.
And step 5 said nothing while a method sat there not connecting. The only route
in was the wizard's help button, which nobody presses while they still believe
it is working. The network tile now offers the self-test while it is on and
waiting, and drops it once the trainer app arrives.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>