From c67d5ff663b876a15a3831f5a2b564c4002e99b6 Mon Sep 17 00:00:00 2001 From: Kostya Date: Thu, 15 Oct 2026 15:18:30 +0300 Subject: ui: add chat drawer to the desktop client ServerClient fetches new chat lines on the same one-second poll as the market and hands them over separately from market changes. The shared UI gets a chat icon in the status bar, beside the eject button, shown only against a server. It opens a drawer above the status bar with everyone's lines and a field to send one, laid over the content so the window keeps its size. While the drawer is closed the icon counts unread lines. A line the server refuses is reported in the drawer itself. --- .../market/guess/ui/desktop/app_view.fxml | 13 ++++++++ .../guess/ui/desktop/controllers/chat_panel.fxml | 36 ++++++++++++++++++++++ .../resources/market/guess/ui/desktop/theme.css | 8 +++++ 3 files changed, 57 insertions(+) create mode 100644 ui-fx/src/main/resources/market/guess/ui/desktop/controllers/chat_panel.fxml (limited to 'ui-fx/src/main/resources/market/guess/ui') diff --git a/ui-fx/src/main/resources/market/guess/ui/desktop/app_view.fxml b/ui-fx/src/main/resources/market/guess/ui/desktop/app_view.fxml index 3a34a7e..8dd7b4c 100644 --- a/ui-fx/src/main/resources/market/guess/ui/desktop/app_view.fxml +++ b/ui-fx/src/main/resources/market/guess/ui/desktop/app_view.fxml @@ -131,6 +131,11 @@