Replace play dialog with inline server address field #3

Merged
barnabas merged 1 commit from feature/play-address-field into main 2026-10-24 09:25:27 +00:00
Owner

Summary

  • Replaces the Play modal with an inline address field on the homepage hero. The field shows the server address with a copy button.
  • Adds an edition dropdown to the field: Java shows frg.network, and Bedrock shows the FRG Servers gamertag.
  • When Bedrock is selected, an "Add Friend" button opens the FRG Servers Xbox page in a new tab.
  • Removes the Donate button from the hero, since it is already in the top bar.
  • Gives the field, copy button, and Add Friend button a solid bg-background layer so the shader does not show through them.
  • Limits the gradient shimmer emphasis to hovering the Copy or Add Friend button.
  • Reworks the server status chip into an expanding panel that animates open and closes on outside click or Escape.

Testing

  • Type-check (tsc --noEmit) and ESLint on the changed files passed during development.
  • Not run: visual check of the field, dropdown, and solid backgrounds in a browser.
  • Not run: hover behaviour of the shimmer emphasis on Copy and Add Friend.
  • Not run: Add Friend link opening the correct Xbox page.
  • Not run: status chip open and close animation, outside-click dismissal, and Escape dismissal.
## Summary - Replaces the Play modal with an inline address field on the homepage hero. The field shows the server address with a copy button. - Adds an edition dropdown to the field: Java shows `frg.network`, and Bedrock shows the `FRG Servers` gamertag. - When Bedrock is selected, an "Add Friend" button opens the FRG Servers Xbox page in a new tab. - Removes the Donate button from the hero, since it is already in the top bar. - Gives the field, copy button, and Add Friend button a solid `bg-background` layer so the shader does not show through them. - Limits the gradient shimmer emphasis to hovering the Copy or Add Friend button. - Reworks the server status chip into an expanding panel that animates open and closes on outside click or Escape. ## Testing - Type-check (`tsc --noEmit`) and ESLint on the changed files passed during development. - Not run: visual check of the field, dropdown, and solid backgrounds in a browser. - Not run: hover behaviour of the shimmer emphasis on Copy and Add Friend. - Not run: Add Friend link opening the correct Xbox page. - Not run: status chip open and close animation, outside-click dismissal, and Escape dismissal.
barnabas added 1 commit 2026-10-24 09:25:12 +00:00
- Add PlayField with Java/Bedrock edition switcher, read-only address input, and copy button
- Show Add Friend link for Bedrock gamertag
- Remove Play and Donate buttons and footer line from homepage
- Animate server status chip into an expandable panel with spring motion and outside-click/Escape close
barnabas merged commit c87629e3b3 into main 2026-10-24 09:25:27 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: frg/accesscodes#3
No description provided.