Skip to content

feat(wear): GT 6 Pro companion with watchOS-guided interface and campus sync - #152

Draft
reisa531 wants to merge 7 commits into
HeZeBang:masterfrom
reisa531:codex/pr135-watch-feedback
Draft

reisa531 wants to merge 7 commits into
HeZeBang:masterfrom
reisa531:codex/pr135-watch-feedback

Conversation

@reisa531

@reisa531 reisa531 commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

TechPie adds an Android Wear Engine bridge, a phone settings page and a HarmonyOS Lite companion for HUAWEI WATCH GT 6 Pro. The companions synchronize name/student ID, deadlines, a seven-day timetable and time-limited campus codes.

Version 0.3.0 rebuilds the watch interface around Apple's watchOS Human Interface Guidelines: a prominent campus-code action, a next-class glance, shallow destinations, vertical browsing, capsule controls, explicit status labels and a session-level 140-percent content-text option. The implementation uses HarmonyOS Lite controls and the device system font. See harmonyos_watch/DESIGN.md for layout values, platform mapping and acceptance.

Wear Engine approval covers basic device information and P2P. Discovery and connection request only DEVICE_MANAGER. Deadline reminders send opt-in over P2P and vibrate locally while the watch app is open and its session is valid. Notification delivery and remote app launch remain unapproved. Permission callbacks compare Parcelable permission names.

Timetables reuse phone courses, custom sessions and exams, use Asia/Shanghai campus days, and contain at most 50 complete blocks with a truncation message. Capability negotiation preserves older peers; each resource has its own revision and receipt. Reminder consent starts off on every connection. An uncertain consent receipt closes the session. App hide, disconnect, sign-out and lease expiry clear session data.

This PR remains Draft. It retains upstream privacy, feedback, Apple Watch settings and Apple deadline-widget integration through c7d9a34 and remains independent of the other modules split from #135.

Validation:

  • Historical CI passed at a8872c0: Analyze.
  • Before the redesign, 28 focused Flutter tests, 24 Node checks and PR-branch Flutter analysis passed. The local integrated work-dzhes branch previously passed 811 Flutter tests.
  • The redesigned Huawei Lite page compiles and minifies to 48,899 bytes, within the project's 48 KiB limit. BIN generation, local signing and HAP packaging each exit 0. Independent BIN verification still exits 1 with an ELF-magic error.
  • Earlier device checks confirmed the Android permission fix, GT 6 Pro discovery and an account receipt from the older watch app.
  • Device testing is deferred at the user's request. Startup after the reported black screen, round icon display, clipping, large text, touch/Crown navigation, timetable/DDL receipts, actual QR scanning/expiry and foreground vibration require acceptance on the new build. This candidate has not been installed on the watch.

@reisa531
reisa531 force-pushed the codex/pr135-watch-feedback branch from 4f5eba1 to 0aa5953 Compare October 28, 2026 14:58
@reisa531 reisa531 changed the title feat: 新增华为手表伴侣与反馈入口 feat(wear): 华为手表伴侣与同步协议 Oct 28, 2026
@reisa531
reisa531 marked this pull request as draft November 13, 2026 03:58
@reisa531 reisa531 changed the title feat(wear): 华为手表伴侣与同步协议 feat(wear): 华为手表伴侣与课表、DDL、校园码同步 Nov 13, 2026
@reisa531 reisa531 changed the title feat(wear): 华为手表伴侣与课表、DDL、校园码同步 feat(wear): GT 6 Pro companion with watchOS-guided interface and campus sync Nov 13, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant