From 2cbe34ed79c8a077475c501ec4a80695ac0af0f8 Mon Sep 17 00:00:00 2001 From: evanpelle Date: Mon, 7 Jul 2025 20:06:14 -0700 Subject: [PATCH] update ui (#1368) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description: Center pop & gold information, and split up & remove the top bar. Before: Screenshot 2025-07-07 at 7 54 55 PM After: Screenshot 2025-07-07 at 7 53 02 PM reference: ![image](https://github.com/user-attachments/assets/8c985a1a-e232-45ce-9af7-c1981df7fb15) ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: evan --- src/client/graphics/layers/GameLeftSidebar.ts | 2 +- .../graphics/layers/GameRightSidebar.ts | 140 +++++++++++------- src/client/graphics/layers/GameTopBar.ts | 84 +++-------- src/client/graphics/layers/Leaderboard.ts | 4 +- .../graphics/layers/PlayerInfoOverlay.ts | 2 +- src/client/graphics/layers/ReplayPanel.ts | 14 +- src/client/graphics/layers/UnitDisplay.ts | 2 +- src/client/index.html | 5 +- 8 files changed, 129 insertions(+), 124 deletions(-) diff --git a/src/client/graphics/layers/GameLeftSidebar.ts b/src/client/graphics/layers/GameLeftSidebar.ts index a645ca564..f0dfae3bb 100644 --- a/src/client/graphics/layers/GameLeftSidebar.ts +++ b/src/client/graphics/layers/GameLeftSidebar.ts @@ -77,7 +77,7 @@ export class GameLeftSidebar extends LitElement implements Layer { render() { return html`