Skip to content

v2.0.0: Multi-device support, i18n, event names, quick presets#1

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/enhance-zepp-os-project
Draft

v2.0.0: Multi-device support, i18n, event names, quick presets#1
Copilot wants to merge 2 commits into
mainfrom
copilot/enhance-zepp-os-project

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 28, 2026

Major update to make the countdown app store-ready: responsive multi-device layout, Russian localization, and meaningful user features beyond the basic timer.

Multi-device support

  • Added 6 platform targets in app.json: round (480, 466, 454, 416) and square (390, 336) covering GTR 4/3/Mini, T-Rex 2, GTS 4/Mini, Bip 5
  • All UI computed proportionally via getDeviceInfo() — no hardcoded pixel values
const { width: W, height: H } = getDeviceInfo()
// Everything scales: font sizes, positions, widget dimensions
this.daysValue = this.createTimeBlock(startX, yPos, Math.floor(W * 0.19), ...)

New features

  • Event name selector — cycle through 10 categories (Birthday, New Year, Deadline, Wedding, etc.) stored as i18n keys
  • Quick presets — +1h, +1d, +1w, New Year buttons that populate date/time fields instantly
  • 3-level color status — white → orange (< 1h) → red (≤ 5min)
  • Toast notification on countdown expiry via @zos/interaction
  • Settings persistence — settings page now loads existing saved target + event name

Localization

  • Full ru-RU translations for all pages (page, setting, app-side)
  • Clean en-US strings replacing spy-themed text
  • App name localized in app.json i18n block

Cleanup

  • Removed spy-themed code (agent IDs, mission codes, glitch effects)
  • Simplified app-side/index.js to minimal service stub
  • Simplified app.js — removed unused load/save stubs

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…nsive UI

- Add 6 platform targets (round: 480, 466, 454, 416; square: 390, 336)
- Add responsive layout using getDeviceInfo() for all screen sizes
- Add event name selector (10 categories: Birthday, New Year, etc.)
- Add quick presets (+1h, +1d, +1w, New Year)
- Add full Russian localization (ru-RU)
- Add 3-level color status (green/orange/red)
- Add toast notification on countdown completion
- Load saved settings in settings page
- Clean up spy-themed code
- Update README with supported devices and new features

Co-authored-by: DmitryKolyadin <[email protected]>
Copilot AI changed the title [WIP] Update Zepp OS project with more features and watch support v2.0.0: Multi-device support, i18n, event names, quick presets Feb 28, 2026
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.

2 participants