feat: Add market status badges and market detail page - #1449
Merged
Conversation
…#1361, solutions-plug#1360) - Implement MarketStatusBadge component with color-coded states (Active, PendingResolution, Disputed, Resolved, Cancelled) - Handle unknown/future contract states with fallback badge - Create market detail page with Overview/Bets/Oracle/Activity tabs - Fetch market data from /api/v1/blockchain/markets/:market_id - Map contract error 102 (MarketNotFound) to friendly 404 page - Use semantic tokens for color contrast compliance - Build reusable Tabs component with accessibility attributes Closes solutions-plug#1361 Closes solutions-plug#1360
|
@djcdz4 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
- MarketStatusBadge tests: Verify all status states, icons, accessibility - Tabs tests: Verify tab switching, accessibility, callbacks, styling - 100% coverage for both new components Related to solutions-plug#1361, solutions-plug#1360
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.
Summary
Implement MarketStatusBadge component ([Markets] Build market status badges from contract state #1361)
Create market detail page ([Markets] Build market detail page #1360)
Add reusable Tabs component
Closes #1361
Closes #1360