v0.11.0-alpha.11
Changes since v0.11.0-alpha.10
Features
- Main pane legend header inset (breaking): The main pane reserves content space from the legend's real height so the price scale, indicators and drawings shift accordingly; row geometry, text gaps, quote formatting and legend colors live in
legendGeometry,legendRow,legendQuoteandlegendColors, main-legend collapse belongs to the legend domain, and sub-pane titles still overlay indicators. - K-line legend change readout: The K-line legend shows the change amount and percent next to close (e.g.
+2.00(+20.00%)), based on the previous close of the crosshair bar and omitted for the first bar; timeshare legends reuse the same readout, precision and color rules. - Timeshare area gradient and pre-close line: The area gradient now fades into the theme background's own transparent color, so the fill no longer turns grey or muddy in either theme; the pre-close dashed line follows the visible range or each five-day session, shared by single-day and five-day timeshare.
- Toolbar GitHub entry and build metadata: The left toolbar gains a repository entry, and the product exports the build commit hash and time (
COMMIT_HASH,COMMIT_TIME) injected from HEAD byscripts/build-commit.mjs, with the repository URL centralised inproductLinks.ts. - Five-day timeshare back action: The back button moves from the left of the top toolbar into the right-hand chart action group beside undo and screenshot, and only appears when an upper view (such as five-day timeshare) can be left.
Fixes
- Host resets stripping primitive padding: Restores padding on design primitives so host style resets no longer clear it from buttons, modals and textareas, and the symbol popover tab keeps its padding above the compact default.
- Workbench header row and toolbar spacing: Aligns the workbench header row height and fixes toolbar action spacing plus Agent panel header and timeline layout.
- Grid background and data layer clipping: The grid background is no longer clipped by the content area while data layers clip to the pane content area, so price scrolling no longer paints outside it.
Architecture & Refactoring
- Unified timeshare geometry: Single-day and five-day timeshare share one geometry and baseline implementation in
timeShareGeometryandtimeShareMath, the separate five-day geometry module is removed, and back-navigation and pan behaviour stay consistent. - Node 26 build baseline (breaking): Workflows,
enginesand tsconfig now require Node>=26.0.0, switching type configuration to@tsconfig/node26. - Leaner preview page: Removes the preview debug modal and embedded size controls, leaving the preview to the product's real entry.
Documentation
- Single-package install and data source registration: The README now documents installing only
@363045841yyt/klinechartand the full data-source registration flow throughcreateMarketDataHost.