Skip to content

Improve tokenised funds chart labels - #1324

Merged
miohtama merged 2 commits into
masterfrom
direct-tokenised-funds-meta
Jul 21, 2026
Merged

Improve tokenised funds chart labels#1324
miohtama merged 2 commits into
masterfrom
direct-tokenised-funds-meta

Conversation

@miohtama

Copy link
Copy Markdown
Contributor

Why

The tokenised funds chart became hard to scan as more funds were added. It needed a predictable seven-entry breakdown plus an Other slice, curator logos on desktop labels, and a cleaner mobile layout without rounded label boxes or logos.

Lessons learnt

ECharts rich label images work well for desktop curator branding, but mobile labels need to stay text-only to fit all chart slices cleanly. The shared market-share helper also needs an explicit standalone slice limit instead of relying only on percentage thresholds.

Summary

  • Added a reusable standalone slice limit to the market-share pie helper and covered it with a unit test.
  • Added optional chart label logos for curator-branded charts, while suppressing those logos on mobile.
  • Updated tokenised funds to show seven named fund slices plus Other and tuned mobile labels to use square boxes.

@miohtama
miohtama merged commit 156f72c into master Jul 21, 2026
5 checks passed
@miohtama
miohtama deleted the direct-tokenised-funds-meta branch July 21, 2026 09:12
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