Skip to content

feat(settings): Option A polish + AdsRemovedRow receipt strip - #139

Merged
wei18 merged 3 commits into
mainfrom
feat/settings-redesign-option-a
May 25, 2026
Merged

wei18 merged 3 commits into
mainfrom
feat/settings-redesign-option-a

Conversation

@wei18

@wei18 wei18 commented May 25, 2026

Copy link
Copy Markdown
Owner

Summary

Implements Settings page redesign Option A + purchased receipt strip per Designer's proposal (design/settings-page-redesign-proposal branch). Fixes user's complaint 「About 裡面的 margin 沒對齊, 整體不協調」.

Changes

  • About section: `LabeledContent("Version", value:)` → `Label` wrapper with leading icons (`info.circle`, `gearshape` in secondary tint)
  • Storage section: `Clear cache` button wrapped in `Label(systemImage: "trash")` (system red preserved)
  • Remove Ads: `nosign` 🚫 → `sparkles` ✨ (sage accent; brand-positive)
  • New `AdsRemovedRow`: receipt strip with `checkmark.seal.fill` + 'Active' secondary text — replaces row-hiding behavior when purchased (preserves vertical rhythm, gives buyer reassurance)

40 LOC delta in SettingsView.swift + 2 regenerated snapshot baselines.

Design references

  • Proposal: `origin/design/settings-page-redesign-proposal` → `meetings/2026-05-25_settings-page-redesign-proposal.md`
  • Visual mockup (HTML, A vs B side-by-side): `origin/design/settings-redesign-mockups-html` → `meetings/2026-05-25_settings-redesign-mockups.html`

Validation

  • 40 LOC + SudokuUI-only (not in mandatory Code Reviewer module list per methodology §派發契約 §8)
  • Snapshot baselines regenerated (light × purchased + unpurchased)
  • Build + targeted Settings tests passed per subagent return (full suite final report truncated; will re-verify on CI)

Closes

Task #7 (Settings IAP rows UX redesign)

Test plan

  • Visually compare new snapshot PNGs against mockup HTML
  • Tap-through on Settings (Sim or device) — confirm receipt strip shows after sandbox purchase
  • VoiceOver pass on AdsRemovedRow (combined a11y label "Ads removed. Active.")

🤖 Generated with Claude Code

wei18 and others added 3 commits May 25, 2026 23:27
Per Designer proposal §3 (2026-05-25 settings-page-redesign):

- About rows: add `info.circle` + `gearshape` leading icons via
  `Label`; tint secondary (informational, not CTA).
- Storage: wrap Clear cache in `Label(_, systemImage: "trash")`;
  keep `role: .destructive` for system-red rendering.
- Remove Ads icon: `nosign` → `sparkles` (positive valence,
  on-brand vs prohibition glyph).
- Purchased state: replace row-hiding with `AdsRemovedRow`
  receipt strip (`checkmark.seal.fill` + "Active"). Preserves
  page rhythm and gives buyer a confirmation cue.

No MonetizationStateController API change; controller still
drives row selection via `hasPurchasedRemoveAds`.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
Baselines updated to match the new icon-per-row treatment:
- Unpurchased: `sparkles` on Remove Ads, `info.circle`/`gearshape`
  on About rows, `trash` on Clear cache.
- Purchased: `AdsRemovedRow` (`checkmark.seal.fill` + "Active")
  replaces the previously hidden Remove Ads row.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@wei18
wei18 merged commit d9cc5a7 into main May 25, 2026
@wei18
wei18 deleted the feat/settings-redesign-option-a branch May 25, 2026 15:46
wei18 added a commit that referenced this pull request May 25, 2026
…ps resolution (#142)

Captures the day's outcome (10 PRs merged into main) and the
infrastructure crisis that drove the methodology iteration:

- RCA H1 (swift-test no-filter hang) → Fix B #135
- RCA H4 (lefthook parallel mise deadlock) → #136
- 4 subagent sandbox limits discovered the hard way
- 3 lost-work events (worktree wipe before commit)
- Methodology §派發契約 §9-12 + patterns + anti-patterns codified in #137

Plus end-to-end records of: #67 (error funnel), #64 (wire-or-delete
with REJECT → APPROVE-WITH-NITS round trip), #139 (Settings UX redesign
via UI Designer subagent), AdMob banner wiring still in flight.

Per docs/methodology.md backlog-routing convention (collaboration
patterns → meetings/{date}_{topic}.md).

Co-authored-by: Claude Opus 4.7 <[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