Skip to content

feat(skill): swiftui-interaction-footguns checklist - #39

Merged
wei18 merged 1 commit into
mainfrom
feat/skill-swiftui-footguns
May 20, 2026
Merged

wei18 merged 1 commit into
mainfrom
feat/skill-swiftui-footguns

Conversation

@wei18

@wei18 wei18 commented May 20, 2026

Copy link
Copy Markdown
Owner

Project-local skill collecting SwiftUI hit-test / nav / state quirks. Direct response to issue #15 Bugs 1+2 — both slipped past Phase 8 review because reviewer's mental model didn't include these footguns. 87 lines covering 15 distinct footguns.

🤖 Claude Code

New project-local skill collecting SwiftUI hit-test / nav / state-load
quirks Code Reviewers should sweep for. Direct response to issue #15
Bug 1+2 — both shipped past Phase 8 review because the reviewer's
mental model didn't include these specific footguns.

Coverage:
- Tap target: Button+Spacer+.plain shrinks hit region; .contentShape fix
- NavigationSplitView sidebar: bare Labels are inert; need NavigationLink
- iPhone compact size class: split → stack
- horizontalSizeClass on Mac: always .regular; iPhone snapshots inject .compact
- .task re-fire: hasBootstrapped latch + retry()
- Dynamic Type / AX3 vertical stack
- Theme .tint propagation to system Picker / Toggle
- NSHostingView snapshot env: colorScheme via NSAppearance
- .labelsHidden() on Picker with external label
- 44×44pt touch target minimum
- 2 speculative footguns flagged in §未決 (View identity if/else, @observable+@bindable redeclaration) — Leader approved keeping

87 lines. Sightings cite issue #15 Bugs 1+2 as the motivating cases.

After this lands, Code Reviewer dispatch briefs should reference
swiftui-interaction-footguns explicitly when reviewing SwiftUI View code.

impl-notes: meetings/2026-05-20_swiftui-footguns-skill.impl-notes.md
@wei18
wei18 merged commit ea0203c into main May 20, 2026
@wei18
wei18 deleted the feat/skill-swiftui-footguns branch May 20, 2026 09:11
wei18 added a commit that referenced this pull request Jun 17, 2026
…es filed) (#542)

Records this session's drivable-case sweep on the current sim:
- pass: #5 rapid double-tap Leave, #28 zh-Hant strings (+ earlier #1/#2/#10/
  #18/#25/#39 from #536 work)
- fail: #22 Dynamic-Type header clip (#540), #34 timer accrues background
  time (#539)
- pend w/ findings: #8 (near-win harness can't model home-return),
  #23 (digit-pad frames ≥44pt but glyphs render blank, #540),
  #29 (no tofu, but Purchases section unlocalized, #541)

New issues: #539 (solve timer counts background time — leaderboard fairness),
#540 (Dynamic Type AX3+ header/digit-pad breakage), #541 (Purchases/IAP
section unlocalized; L10n gate misses catalog-less literals).

Co-authored-by: Claude Opus 4.8 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant