Description
This is a UI/UX issue adding a compact mini-chart on app/(dashboard)/events/event-page/ that visualises probability path from market open to "now" with a forecast tail. Built with Recharts and includes a screen-reader summary.
Requirements and Context
- 240 x 64 sparkline above the outcomes
- Tooltip with timestamp + probability on hover/touch
aria-label summarising high, low, current
- Must be secure, tested, and documented
- Should be efficient and easy to review
Suggested Execution
- Fork the repo and create a branch
git checkout -b feature/resolution-mini-chart
- Implement changes
- Add
components/market/ResolutionPreview.tsx
- Wire into the Market Detail page header
- Test and commit
- Render tests with edge timeseries (flat, all-zero)
- Cover edge cases (single data point)
- Include test output and notes in the PR
Example commit message
feat: resolution preview mini-chart
Acceptance Criteria
Guidelines
- WCAG 2.1 AA, accessible chart summary
- Clear documentation and inline comments
- Timeframe: 96 hours
Description
This is a UI/UX issue adding a compact mini-chart on
app/(dashboard)/events/event-page/that visualises probability path from market open to "now" with a forecast tail. Built with Recharts and includes a screen-reader summary.Requirements and Context
aria-labelsummarising high, low, currentSuggested Execution
components/market/ResolutionPreview.tsxExample commit message
Acceptance Criteria
Guidelines