Add floating version badge in top-left corner

Small yellow badge fixed at position (4, 4) showing the running build
version. Helps visually confirm which bundle a browser is loading when
diagnosing cache issues.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Erik 2026-04-15 19:14:43 +02:00
parent 0ff396cd0e
commit a5ff228d4f
15 changed files with 37 additions and 18 deletions

View file

@ -71,6 +71,7 @@ export const MapLayout: React.FC<Props> = ({ data }) => {
socket={data.socketRef.current} />
<RareNotification recentRares={data.recentRares} />
<DeathNotification deathAlerts={data.deathAlerts} />
{version && <div className="ml-version-badge">v{version}</div>}
</div>
</WindowManagerProvider>
);