Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Clicking jump-to-bottom while HarmonyOS history was loading hid the button without scrolling. The pending history anchor also prevented the completion callback from following the tail. Explicit jumps now cancel that anchor and scroll immediately; normal tail following resumes when loading finishes, including on failure.
Add an isolated native history preview and a repeatable device check covering wide/compact content widths, live resizing, and successful/failed history responses. Mock the newly introduced RemoteLogger dependency in the host-stream test loader to restore the five failing paging tests.
Follow-up to #3206.
Validation
node --test src/apps/mobile/harmonyos/tools/tests/host-stream.test.cjs src/apps/mobile/harmonyos/tools/tests/history-page-arrival.test.cjs: 11 passed.pnpm run harmony:architecture,pnpm run check:repo-hygiene, diff whitespace and Git object-size checks passed.Device coverage exercises the native remote-controller UI with simulated history responses, not a live remote transport. Physical folding, remote workspaces, Peer Device Mode, and Detached Dispatch were not exercised. The rebase onto current main did not change the tested HarmonyOS sources.
AI-assisted implementation and review with Codex; focused host tests and native device checks completed, not a full platform matrix.