Skip to content

Feature/fair play and nav dock - #4

Open
Psybah wants to merge 4 commits into
appdever01:mainfrom
Psybah:feature/fair-play-and-nav-dock
Open

Psybah wants to merge 4 commits into
appdever01:mainfrom
Psybah:feature/fair-play-and-nav-dock

Conversation

@Psybah

@Psybah Psybah commented Oct 18, 2026 •

Copy link
Copy Markdown

Summary

  • Friend and solo races stay open until the last connected racer finishes the passage. The 15/30/60s control only sets passage length; it no longer ends the race. Timed code practice (60s / 180s) still closes on the clock.
  • Impossible speeds (≥200 wpm) wipe the local session and ban that client from rooms.
  • Main nav is a fully rounded floating icon dock with hover tooltips.
  • Race grid sits above the typing area. Time, WPM, and Accuracy live in the grid header between the title and racer count. Finish lines use a black-and-white checkered flag.

Test plan

  • Start a 15s or 30s solo race, wait past the listed time, and confirm it stays running until the passage is finished.
  • Confirm bots keep moving after the listed time and stop on the checkered flag.
  • Check Time / WPM / Accuracy in the Race grid header during a race.
  • Hover the left dock: icons stay the same size and show a tooltip.
  • Finish a race by completing the passage and confirm results still save.

A first-place finish no longer ends the room, 200 wpm bans the session, and the main nav is a floating icon dock.
- Introduced a CheckeredFlag component for visual representation.
- Improved time formatting with a new formatClock function.
- Refined elapsed time calculations for solo coding sessions.
- Adjusted live stats display for better clarity and accuracy.
- Updated CSS styles for consistency across various components.
- Added live stats to the CodePace component for improved real-time feedback.
- Refactored the track drawer summary layout from flex to grid for better alignment.
- Adjusted CSS styles for summary elements to enhance visual clarity and spacing.
- Increased gap sizes for better spacing in live stats display.
- Adjusted font sizes for improved readability of live stats elements.
Copilot AI balanced review requested due to automatic review settings October 18, 2026 07:09
@vercel

vercel Bot commented Oct 18, 2026

Copy link
Copy Markdown

@Psybah is attempting to deploy a commit to the Naheem's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

This branch has not been deployed

No deployments
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.

2 participants