Skip to content

Add watchlist bounty pool chart#1175

Closed
nikhilsinghal005 wants to merge 2 commits into
entrius:testfrom
nikhilsinghal005:fix/watchlist-bounty-chart-v2
Closed

Add watchlist bounty pool chart#1175
nikhilsinghal005 wants to merge 2 commits into
entrius:testfrom
nikhilsinghal005:fix/watchlist-bounty-chart-v2

Conversation

@nikhilsinghal005
Copy link
Copy Markdown

@nikhilsinghal005 nikhilsinghal005 commented May 14, 2026

Summary

  • add the missing Watchlist -> Bounties chart toggle to the existing watchlist options panel
  • render a Bounty Pool by Repository chart for the filtered watched bounty set
  • add a tested helper for aggregating watched bounty pool totals by repository

Related Issues

Fixes #1018

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other (describe below)

Screenshots

Before - Watchlist Bounties filters, no chart control:

After - Filters include Chart control:

After - Bounty Pool by Repository chart shown:

Note: Screenshots were captured locally with Playwright-mocked bounty rows because the test API blocks localhost via CORS.

Testing

  • npm run test -- src/tests/bountyPoolByRepository.test.ts
  • npm run lint
  • npm run build
  • Local Playwright browser check against /watchlist?tab=bounties with mocked watched bounty rows: Chart control appears and renders a visible ECharts canvas

Checklist

  • New components are modularized/separated where sensible
  • Uses predefined theme (e.g. no hardcoded colors)
  • Responsive/mobile checked
  • Tested against the test API
  • npm run format and npm run lint:fix have been run
  • npm run build passes
  • Screenshots included for any UI/visual changes
watchlist-bounties-before-filters-open watchlist-bounties-after-filters-open watchlist-bounties-after-chart

@xiao-xiao-mao xiao-xiao-mao Bot added the enhancement New feature or request label May 14, 2026
@anderdc
Copy link
Copy Markdown
Collaborator

anderdc commented May 15, 2026

Duplicate of #1169 which is better scoped/implemented. Closing.

@anderdc anderdc closed this May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Watchlist → Bounties: missing “Bounty Pool by Repository” chart and chart toggle (/bounties parity)

2 participants