Repository navigation
feat: 增加原生自选与持仓热力图 - #365
Merged
helsome merged 5 commits intoOct 27, 2026
Merged
Conversation
Owner
|
考虑看一下 tradingview 的热力图构造,目前的略丑😂 |
Owner
|
感谢实现!功能先合入。后续请参考 TradingView 的热力图设计(配色、方块布局、行业分组标题、字体层级等)打磨一下视觉效果,目前的样式还不够好看,欢迎另开 PR 优化。 |
This was referenced Oct 29, 2026
Closed
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 changed
Closes #333
Verification
Environment: Windows 11 Pro 10.0.26300, Intel i5-12600KF, Bun 1.4.2, Node 24.13.0, Edge 156.0.4314.42.
bun install --frozen-lockfile --ignore-scripts: passed.bun test --isolate packages/core/src/heatmap.test.ts packages/shared/src/heatmap/service.test.ts packages/shared/src/agent/market-data-service.test.ts packages/shared/src/agent/agent.test.ts packages/shared/src/providers/massive/massive.test.ts packages/shared/src/providers/yahoo/yahoo.test.ts packages/ui/src/components/heatmap/HeatmapPanel.test.tsx apps/electron/src/main/kernelHost.test.ts: 146 passed, 0 failed, 494 assertions.bun run typecheck: core, i18n, shared, ui, electron passed.bun run i18n:check: 1541 keys per locale, 0 issues.(cd apps/electron && bun x vite build && bun run build:main): passed; Vite reports its existing >500 kB chunk advisory.node apps/electron/e2e/heatmap-smoke.mjs: 10 passed, 0 failed; real component and ResearchPanel, six real catalog identities with fixture data, mouse/keyboard navigation, percentage formatting, equal/weighted areas, mobile viewport, and 100 rendered tiles.bun test --isolate packages/core packages/i18n packages/shared packages/ui apps/electron: 1959 passed, 1 timed out.packages/shared/src/agent/pi-rpc-restart.test.tstimes out at 5000ms in the real child-process JSONL test; independently reproduced unchanged on clean upstreamec0b8d2791f343495533a7425e6d3ecab97977b2(9 pass, same 1 timeout); that test file is unchanged in current main9afa4604e71a008391622b13a5415c87a9721e90.git diff --check: passed.The integration path was tested with fixture HTTP responses through the real Massive adapter, router, and shared cache. Live provider credentials and live model calls were not used.
Screenshots
Equal areas

Portfolio market-value areas and weights

Table view

Keyboard navigation into company research

390px viewport

Reproducible details
See
docs/heatmap.mdfor complete behavior and commands. The browser harness uses real catalog identities but synthetic quotes, positions, and some industries; it explicitly does not claim live provider/model verification. The 100-instrument measurements are fixture timings, not provider latency guarantees.