Skip to content

Fix normal room chat layout#249

Merged
coder13 merged 1 commit into
masterfrom
fix-room-chat-layout
Jul 14, 2026
Merged

Fix normal room chat layout#249
coder13 merged 1 commit into
masterfrom
fix-room-chat-layout

Conversation

@coder13

@coder13 coder13 commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • make the normal-room chat rail own its width and collapse to a right-edge reopen tab
  • widen the desktop chat rail to 24rem while allowing the timer area to use remaining space
  • allow http://localhost:3000 in development CORS so the local WCA login callback can complete

Root cause

The normal room gave both layout columns equal flex growth while Chat itself used a fixed width. That left a blank area beside chat, and collapsing only the inner panel left the outer column and an absolutely positioned toolbar behind. Separately, the local API did not allow the full Vite browser origin for credentialed callback requests.

Validation

  • yarn workspace letscube-client test:ci
  • yarn workspace letscube-client build
  • yarn workspace letscube-server test cors.test.js
  • commit hook: yarn lint and yarn test (all suites passed)

Make the chat rail own its width and collapse cleanly, and allow the local client origin to complete WCA login.
@coder13 coder13 marked this pull request as ready for review July 14, 2026 18:20
@coder13 coder13 merged commit e15ef4c into master Jul 14, 2026
9 checks passed
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