Skip to content

feat(developer-hub): derive playground categories dynamically from API#3566

Open
aditya520 wants to merge 1 commit intomainfrom
claude/jolly-bhabha
Open

feat(developer-hub): derive playground categories dynamically from API#3566
aditya520 wants to merge 1 commit intomainfrom
claude/jolly-bhabha

Conversation

@aditya520
Copy link
Copy Markdown
Member

@aditya520 aditya520 commented Mar 19, 2026

Summary

  • Replace hardcoded CATEGORIES array with dynamic derivation from the symbols API (/history/v1/symbols) response
  • Surfaces previously hidden asset types as separate tabs: Metal (13 feeds), Redemption Rates (190 feeds), Funding Rate (15 feeds), Custom (5 feeds)
  • Auto-discovers new asset_type values from the API without code changes — unknown types get a title-cased label automatically
  • Only groups truly related types (crypto + crypto-index)
  • Categories sorted by feed count (largest first)

Test plan

  • Verify playground loads and category tabs render dynamically from API
  • Confirm Metal, Redemption Rates, Funding Rate, and Custom tabs are now visible
  • Verify feed counts are accurate per category
  • Test search filtering within each category
  • Confirm "All" tab still shows all feeds

🤖 Generated with Claude Code


Open with Devin

Replace hardcoded category tabs with dynamic derivation from the
symbols API response. This surfaces previously hidden asset types
(Metal, Redemption Rates, Funding Rate, Custom) as separate tabs
and auto-discovers new asset classes without code changes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
component-library Ready Ready Preview, Comment Mar 19, 2026 1:33pm
developer-hub Ready Ready Preview, Comment Mar 19, 2026 1:33pm
5 Skipped Deployments
Project Deployment Actions Updated (UTC)
api-reference Skipped Skipped Mar 19, 2026 1:33pm
entropy-explorer Skipped Skipped Mar 19, 2026 1:33pm
insights Skipped Skipped Mar 19, 2026 1:33pm
proposals Skipped Skipped Mar 19, 2026 1:33pm
staking Skipped Skipped Mar 19, 2026 1:33pm

Request Review

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

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