Skip to content

Detail pages: dedicated dishwasher kitchen form art (Fixes #100) - #101

Merged
neardws merged 1 commit into
mainfrom
auto/100-dishwasher-art
Nov 8, 2026
Merged

neardws merged 1 commit into
mainfrom
auto/100-dishwasher-art

Conversation

@neardws

@neardws neardws commented Nov 8, 2026

Copy link
Copy Markdown
Member

Summary

Implements #100: kitchen dishwasher models get their own DeviceForm.dishwasher + DishwasherArt / DishwasherDetail instead of the rice-cooker CookerArt silhouette (DESIGN「同类不同形」).

  • DeviceForm.dishwasher when category == .kitchen and model contains dishwasher (checked before kettle); list icon dishwasher
  • DishwasherArt(washing:tint:) boxy front-loader with top control strip and rectangular door window (not a washer porthole); washing state shows tinted droplets; wired through offArt + TypeDetailView → DishwasherDetail
  • Mock demo d29 (viomi.dishwasher.demo) on home h2 kitchen with status Washing/Idle, remaining time, and writable mode
  • ArtGallery row dishwasher (count 27); TypeDetailTests for d29 routing/props; cooker and kettle regressions kept
  • Tiny docs/DESIGN.md + i18n/zh-Hant.tsv / Translations sync

Self-test

  • swift build / swift test green on Mac mini A (~/MijiaBar-auto)
  • swift test: 359/359 passed (includes new dishwasherDemoRoutingAndProps)
  • No app binary / --snapshot run inside Codex sandbox. Snapshot frames dishwasher / dishwasher-idle added; orchestrator rendered them outside Codex for visual check.

Authorship

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

Fixes #100

Out of scope

No release/appcast/Sparkle, no house fixture conversion, no remapping dishwasher to .washer, no real-device control.

Kitchen dishwasher models mapped to .kitchen were rendered with
CookerArt. Add DeviceForm.dishwasher, DishwasherArt, and DishwasherDetail
so dishwashers get their own form, art, and detail page.
@neardws
neardws merged commit 164a589 into main Nov 8, 2026
1 check passed
@neardws
neardws deleted the auto/100-dishwasher-art branch November 8, 2026 17:42
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 dishwasher kitchen form art (stop CookerArt for dishwasher models)

1 participant