Skip to content

feat: localize data panels and add funding trends - #319

Merged
jackhai9 merged 1 commit into
mainfrom
feat/data-panels-i18n-trends
Oct 9, 2026
Merged

jackhai9 merged 1 commit into
mainfrom
feat/data-panels-i18n-trends

Conversation

@jackhai9

@jackhai9 jackhai9 commented Oct 9, 2026

Copy link
Copy Markdown
Owner

The trading panel previously showed only a rounded settled funding rate, making it easy to mistake a tiny historical rate for the current quote. It now combines the current funding rate, reported settlement interval, countdown, and settled-history chart while preserving nonzero precision. Other Binance metrics gain timestamped mini charts and matching explanations.

Both data panels follow the page's Simplified Chinese or English locale. CMC uses compact metric names and a third interpretation column with explicit ratio definitions. Ordinary ratios use two decimals. Default desktop and narrow-screen layouts keep the panels separate while retaining saved positions.

Versions: trading data 1.2.0, CMC data 0.2.0. Install/update URLs are unchanged.

Validation:

  • Full npm test on the rebased release commit: 2528/2528 passed.
  • Both affected builds, generated syntax checks, lint:tests, lint:ui-copy, metadata/install URL checks, and exact preview-to-artifact comparison passed.
  • Isolated Chromium panel position/presentation checks: 33/33 passed, with rendered Chinese/English, light/dark, desktop, and narrow-screen previews inspected.
  • The earlier full local Chromium run was 605/606. Its remaining failure was the existing orderbook test helper calling pauseAt(pageNow + 100) after that timestamp had passed, before the scenario's settings-change assertion. The spec, helper, fixture, orderbook artifact, and package inputs were unchanged; this remains a recorded test-timing finding rather than a passing scenario.

Live Binance/Tampermonkey validation and verbatim native English label comparison remain separate from the offline evidence. The preview uses labelled example data and makes no external requests.

@jackhai9
jackhai9 merged commit 82ae0b1 into main Oct 9, 2026
2 checks passed
@jackhai9
jackhai9 deleted the feat/data-panels-i18n-trends branch October 9, 2026 17:10
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.

1 participant