Skip to content

feat(harmony): ✨ static platform code round 2 (UNVERIFIED) - #57

Merged
ChenYilong merged 2 commits into
masterfrom
claude/intelligent-curie-1etnx5
Dec 6, 2026
Merged

ChenYilong merged 2 commits into
masterfrom
claude/intelligent-curie-1etnx5

Conversation

@ChenYilong

Copy link
Copy Markdown
Owner

Written statically on Linux, not built. Every change is marked UNVERIFIED; the owner verifies by hand (docs/prompts/owner-manual-verify-static-code.md, rows 7–9).

  • HarmonyOS 动效 page keeps speed, loop and selected tags across the Liquid Glass / flat switch (AppStorage, as the style page).
  • HarmonyOS wave backdrop stops when the animator duration scale is 0 (deprecated settings.display.ANIMATOR_DURATION_SCALE, guarded; failure = animate). Unit test readsTheAnimatorScaleAsReduceMotion.
  • Skipped: mini program Reduce Motion (no WeChat API; existing prefers-reduced-motion rule added as manual row 9), Increase Contrast on HarmonyOS / mini program (plan in the doc; needs CYLTabBarController first).

Checks on Linux: mini program npm test 367/367, check-localization.py 0 problems, check-native-strings.py OK. Not run: HarmonyOS build/tests, DevTools.

Base is PR #56's branch; retarget to master after #56 merges.


Generated by Claude Code

UNVERIFIED (2026-12-06, written statically on Linux, not built).

- The animation page keeps its speed, loop switch and selected tags across
  the Liquid Glass switch (AppStorage), as the style page does.
- The backdrop waves stand still when the animator duration scale is 0
  (settings.display.ANIMATOR_DURATION_SCALE, deprecated since API 21, read in
  try / catch; any failure animates as before). Unit test added.
- Mini program Reduce Motion: no WeChat API, CSS query already present.
  Increase Contrast: plan only, no system signal on either platform.
- Manual rows 7 to 9, the "Ready to test when" table and the round 2 log
  are in docs/prompts/owner-manual-verify-static-code.md and
  docs/issue-progress.md.

By @ChenYilong <luohanchenyilong@163.com>

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017y7XP2P2UnTvzHG1KZL67A

@ChenYilong ChenYilong left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Advisor review of the full PR diff (static, nothing built). Three points below; the hostContext(ui) call, @StorageLink with a const key, selectedIndexPaths setter and menuDidChangeSelectedItems were checked against the library and are fine.


Generated by Claude Code

Read the Reduce Motion setting once per wave restart, move the pure
animator-scale helper into CYLReduceMotion.ets with its own test file,
and range-check the restored tag selection. Written statically on
Linux, not built.

By @ChenYilong <luohanchenyilong@163.com>

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017y7XP2P2UnTvzHG1KZL67A
@sonarqubecloud

sonarqubecloud Bot commented Dec 6, 2026

Copy link
Copy Markdown

@ChenYilong
ChenYilong changed the base branch from docs/macos-verify-20261205 to master December 6, 2026 04:46
@ChenYilong
ChenYilong marked this pull request as ready for review December 6, 2026 04:46
@ChenYilong
ChenYilong merged commit 9be3759 into master Dec 6, 2026
12 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