feat: merge legacy play dashboard features into prediction terminal#275
Merged
josephchimebuka merged 5 commits intoJul 6, 2026
Merged
Conversation
|
@Spagero763 is attempting to deploy a commit to the josephchimebuka's projects Team on Vercel. A member of the Team first needs to authorize it. |
4 tasks
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.
feat: merge legacy /play dashboard features into the prediction terminal
Closes #130
What this does
High-value panels previously living only on
/play(LegacyDashboard) are nowpart of the primary
/dashboardterminal, and/playis deprecated andredirected. This gives one primary route with chart, round lifecycle, and social
features, and removes the maintainer confusion between the two dashboards.
Changes
src/pages/Dashboard.tsxRoundTimeline(round state timeline) into theterminal. The price chart and end-round modal were already present.
ConnectionStatusbanner (socket + SSEround-update health) so users see when live updates are degraded.
ChatSidebar. It is hidden by default to keep the fintech terminaluncluttered;
ChatSidebaris a self-positioned fixed slide-over, so togglingit causes no layout shift to the terminal grid.
src/App.tsx—/playnow permanently redirects to/dashboard(
<Navigate replace />); the unusedLegacyDashboardlazy import was removed.The
LegacyDashboardcomponent file is retained for reference only.README.md— documents the consolidation and the/playdeprecation underProject structure notes, linking issue Merge legacy play dashboard features into prediction terminal #130 for the remaining social/notification
consolidation.
Acceptance criteria
/dashboard(price chart +RoundTimeline+ connection status + end-round modal).consolidation is intentionally scoped with an issue link in the README.
/playdeprecated/redirected with a note in the README.fixed slide-over with its own mobile behavior).
Verification
tsc -b: no new type errors from the changed files.eslint: no new errors/warnings from the changed files.vitest: this branch produces no new test failures. The suite has pre-existingfailures on
main(theeducationApimock gap inDashboard.terminal.test.tsxand the
CountdownTimer/RoundCard/useRoundCountdowntimer tests) — verifiedidentical on a clean
maincheckout, so they are unrelated to this PR.