Skip to content

[Markets] Build multi-outcome market rendering - #1439

Merged
hman38705 merged 1 commit into
solutions-plug:mainfrom
samuel2926i39-art:feat/1363-multi-outcome-rendering
Aug 29, 2026
Merged

[Markets] Build multi-outcome market rendering#1439
hman38705 merged 1 commit into
solutions-plug:mainfrom
samuel2926i39-art:feat/1363-multi-outcome-rendering

Conversation

@samuel2926i39-art

Copy link
Copy Markdown

Summary

Adds OutcomeList to render an arbitrary number of market outcomes with their individual odds/weights, replacing the assumption of a binary yes/no layout.

Context

  • contracts/predict-iq/src/test_multi_outcome_voting.rs proves the contract supports more than two outcomes; the UI previously had no component to render that.
  • Before: no generic outcome rendering existed (binary-only assumption in spec).
  • After: any outcome count renders as a list of label + odds; once outcome count exceeds a threshold (default 6), the list becomes a scrollable region instead of breaking the layout.

Testing

  • Manually verified rendering with 2, 3, and 10+ mock outcomes.
  • Verified >6 outcomes triggers the scrollable container class rather than layout overflow.
  • Verified empty-outcomes case renders a clear empty state rather than a blank/broken list.

Closes #1363

@drips-wave

drips-wave Bot commented Aug 28, 2026

Copy link
Copy Markdown

@samuel2926i39-art 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! 🚀

Learn more about application limits

@hman38705
hman38705 merged commit 55b8b0d into solutions-plug:main Aug 29, 2026
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.

[Markets] Build multi-outcome market rendering

2 participants