{{ message }}
Repository navigation
[bugfix] fix monitor chart layout and locale formatting - #4467
Open
butterfly-520-boy wants to merge 1 commit into
Open
butterfly-520-boy wants to merge 1 commit into
butterfly-520-boy wants to merge 1 commit into
Conversation
3 tasks done
This branch has not been deployed
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.

What's changed?
Fixes #4466.
Fix two display issues on the React 2.0 monitor detail page:
Underlying values, timestamps and investigation timezone are unchanged. The shared chart locale is optional for existing consumers. No backend, API, dependency or lockfile changes; no Angular backport or pagination changes.
Validation
pnpm test).pnpm toolchain:check,pnpm architecture,pnpm i18n:check,pnpm format:check,pnpm lint,pnpm typecheck,pnpm build,pnpm budget,pnpm dead-codeandpnpm diff:check.Asia/Shanghai.The original reproduction screenshot is included in #4466. Local production checks confirmed the unit below the legend and English chart/date formatting after switching languages.
AI assistance
AI assisted with implementation, regression tests and automated/browser checks.
Human validation
The contributor ran this revision through their local IDEA workflow and confirmed that both fixes work. All ten source-file hashes match the validated Windows checkout and Linux verification inputs; no source changes followed that confirmation.
Risk notes
Automated cases cover all five supported chart locales and explicit Shanghai/New York timestamp formatting. Live browser checks cover Chinese and English with the existing Shanghai investigation timezone; they are not claimed as live checks for every locale/timezone combination. A pre-existing unrelated CSS
highlightminifier warning remains visible in the Windows build.Checklist
Add or update API
Not applicable: no API changes. No repository E2E suite was added or run; real-backend production-browser verification is described above.