Skip to content

Rework status UI / Connection state#126

Merged
creesch merged 3 commits intomainfrom
status-rework
Jul 4, 2025
Merged

Rework status UI / Connection state#126
creesch merged 3 commits intomainfrom
status-rework

Conversation

@danthedaniel
Copy link
Copy Markdown
Member

@danthedaniel danthedaniel commented Jun 11, 2025

I had always found it a bit confusing how the status UI works. The "connected" / "disconnected" bit is for the websocket connection, an abstraction that the user isn't aware of.

Now the status text works like this:

  • Disconnected from Minecraft - (red) If the web UI can't talk to the mod
  • Join a server to chat - (white) If not in a world
  • Error: See browser console - (orange) If there is a websocket error
  • $server_name - (white + color codes) When connected. Uses JetBrains Mono font to roughly match the server name display that would show in the server list in game.

We no longer display the connection status and the server/world name. Just one or the other.

I also now clear the chat history and player list when disconnected from a server.

I increased the height of the status element when not in mobile view to match the height of the input area for visual alignment purposes.

@danthedaniel danthedaniel requested a review from creesch June 11, 2025 23:47
@danthedaniel danthedaniel force-pushed the status-rework branch 2 times, most recently from b168323 to 3bdd4a0 Compare June 12, 2025 01:28
@creesch creesch merged commit c723d90 into main Jul 4, 2025
6 of 7 checks passed
@danthedaniel danthedaniel deleted the status-rework branch February 11, 2026 20:53
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