Skip to content

feat(mobile): display device aliases and synchronize HarmonyOS presence - #3872

Merged
bobleer merged 3 commits into
openBitFun:mainfrom
guantw:feat/mobile-device-aliases-and-presence
Nov 11, 2026
Merged

bobleer merged 3 commits into
openBitFun:mainfrom
guantw:feat/mobile-device-aliases-and-presence

Conversation

@guantw

@guantw guantw commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Display account device aliases across Android, iOS and HarmonyOS device lists, sidebars and selected targets, with registered-name or device-ID fallback.
  • Share the HarmonyOS device directory with settings and connection pages so background presence updates reach every device list.
  • Preserve presence updates received during an HTTP device refresh while accepting refreshed names and metadata.

Verification

  • 48 focused HarmonyOS host tests passed across account restore, device-directory lifecycle, model pages and watch provisioning.
  • HarmonyOS Debug ArkTS compilation and Release HAP build passed; the signed Release HAP was installed on a physical phone.
  • pnpm run harmony:architecture and pnpm run mobile:ui:check passed.
  • pnpm run mobile:architecture reports two existing failures in unchanged ClientBuildContractTest.kt and ConversationModels.kt.
  • The iOS change passed Swift syntax checking; shared Kotlin verification is blocked by a Maven TLS dependency-download error.

Prefer account device aliases in Android, iOS and HarmonyOS device lists,
sidebars and selected-target labels. Preserve registered names for device
filtering and fall back to the device name or ID when no alias is supplied.
Refresh selected labels when aliases change or are cleared.
Settings and connection pages kept private device snapshots after background
presence updates changed the sidebar. Read the shared observable directory
in both pages and preserve device metadata while refreshing its rows.
A delayed device-list response could replace online or offline status received
while the request was in flight. Apply the newer presence snapshot to the
response while retaining refreshed device metadata; later HTTP reads can
still recover from missed events.
@bobleer
bobleer merged commit 2cbaee5 into openBitFun:main Nov 11, 2026
9 checks passed
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