Skip to content

Detail pages: dedicated kettle kitchen form art (Fixes #98) - #99

Merged
neardws merged 1 commit into
mainfrom
auto/98-kettle-art
Nov 7, 2026
Merged

neardws merged 1 commit into
mainfrom
auto/98-kettle-art

Conversation

@neardws

@neardws neardws commented Nov 7, 2026

Copy link
Copy Markdown
Member

Summary

Implements #98: kitchen kettle models get their own DeviceForm.kettle + KettleArt / KettleDetail instead of the rice-cooker CookerArt silhouette (DESIGN「同类不同形」).

  • DeviceForm.kettle when category == .kitchen and model contains kettle; list icon mug
  • KettleArt(boiling:tint:) tall kettle body/handle/spout with on/off steam; wired through offArt + TypeDetailView → KettleDetail
  • Mock demo d28 (yunmi.kettle.demo) on home h2 kitchen with writable target temp + boiling status
  • ArtGallery row kettle (count 26); TypeDetailTests for d28 routing/props; cooker regression kept
  • Tiny docs/DESIGN.md + i18n/zh-Hant.tsv / Translations sync

Self-test

  • swift build green on Mac mini A (~/MijiaBar-auto)
  • swift test: 358/358 passed (includes new kettleDemoRoutingAndProps)
  • No app binary / --snapshot run in Codex sandbox; snapshot render hooks for kettle/kettle-idle added for later capture

Authorship

Codex wrote the feature code on Mac mini A; orchestrator reviewed the diff, ran build/test, committed, and opened this PR.

Fixes #98

Out of scope

No release/appcast/Sparkle, no house fixture conversion, no real-device control.

Add DeviceForm.kettle + KettleArt/KettleDetail so kettle models no longer
reuse CookerArt; mock d28, ArtGallery row, TypeDetailTests, DESIGN + zh-Hant sync.
Codex authored the code; orchestrator verified with swift build / swift test.
@neardws
neardws merged commit da98bc6 into main Nov 7, 2026
1 check passed
@neardws
neardws deleted the auto/98-kettle-art branch November 7, 2026 17:40
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.

Detail pages: dedicated kettle kitchen form art (stop CookerArt for kettle models)

1 participant