Skip to content

Question Page Redesign – Binary + continuous body#4695

Draft
ncarazon wants to merge 2 commits intofeat/question-page-redesign-1st-iterationfrom
feat/question-page-redesign-2nd-iteration
Draft

Question Page Redesign – Binary + continuous body#4695
ncarazon wants to merge 2 commits intofeat/question-page-redesign-1st-iterationfrom
feat/question-page-redesign-2nd-iteration

Conversation

@ncarazon
Copy link
Copy Markdown
Contributor

@ncarazon ncarazon commented May 7, 2026

Closes #4642

…rt card & Timeline / Histogram toggle on binary bodies (#4692)

* feat: add QuestionHeaderCPStatus next to timeline for consumer binary questions

* fix: remove extra mt-8 top margin from consumer continuous timeline

* feat: add Timeline/Histogram toggle to binary detailed chart cards and fix consumer binary radial padding

* fix: resolve layout jumping between chart views, fix histogram full-width responsive scaling, and center binary radial charts on mobile

* fix: prevent chart layout snapping with synchronous measurements, enable side-by-side continuous charts on sm breakpoints, and standardize spacing utility classes

* fix: show fallback message when histogram tab has no data
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 7, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b1f8ffc9-32bd-4a1f-a92c-f1584fe3b79b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/question-page-redesign-2nd-iteration

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ncarazon ncarazon changed the title Mount consumer binary + continuous side-by-side with the detailed cha… Question Page Redesign – Binary + continuous body May 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

🚀 Preview Environment

Your preview environment is ready!

Resource Details
🌐 Preview URL https://metaculus-pr-4695-feat-question-page-redesign-2n-preview.mtcl.cc
📦 Docker Image ghcr.io/metaculus/metaculus:feat-question-page-redesign-2nd-iteration-624b350
🗄️ PostgreSQL NeonDB branch preview/pr-4695-feat-question-page-redesign-2n
Redis Fly Redis mtc-redis-pr-4695-feat-question-page-redesign-2n

Details

  • Commit: d1a67a6318f370f9f55c966343ebc6da9cdf37b9
  • Branch: feat/question-page-redesign-2nd-iteration
  • Fly App: metaculus-pr-4695-feat-question-page-redesign-2n

ℹ️ Preview Environment Info

Isolation:

  • PostgreSQL and Redis are fully isolated from production
  • Each PR gets its own database branch and Redis instance
  • Changes pushed to this PR will trigger a new deployment

Limitations:

  • Background workers and cron jobs are not deployed in preview environments
  • If you need to test background jobs, use Heroku staging environments

Cleanup:

  • This preview will be automatically destroyed when the PR is closed

* feat: live cursor updates left-panel value, range, and distribution for continuous consumer view, with dot indicator on timeline and no tooltip/dashed line in consumer mode

* feat: animate consumer mobile mini chart on timeline cursor and fix mobile tooltip position tracking

* fix: always serialize full forecast_values in aggregation history for cursor-time distribution animation

* fix: memoize cursorChartData to skip cdfToPmf recalculation when forecast_values reference is unchanged

* fix: resolve cursor dot color override through resolveToCssColor

* refactor: lazily fetch full aggregation history from aggregation explorer on pointer enter for continuous consumer cursor animation, keeping posts endpoint lightweight

* fix: pass include_bots_in_aggregates to aggregation explorer to match stored aggregation bot semantics, format aggregate_forecasts.py

* fix: use stable setActiveForecast reference in effect deps to prevent infinite re-render loop on hover
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