From 22d4fbf59c61088a0b2490dfc309f42592cb5f01 Mon Sep 17 00:00:00 2001 From: chapoi <101828855+chapoi@users.noreply.github.com> Date: Wed, 20 Dec 2023 17:24:10 +0200 Subject: [PATCH] UX: chat navbar > alignments part 2 (#24985) * UX: chat navbar > alignments part 2 * Change copy to be consistent My threads * Dont show back button on full page desktop --- .../components/chat/drawer-routes/threads.gjs | 2 +- .../components/chat/routes/threads.gjs | 7 +++++- .../components/chat/thread-list/header.gjs | 12 ++++++---- .../stylesheets/common/chat-navbar.scss | 23 ++++++++++++++----- .../stylesheets/mobile/chat-navbar.scss | 5 ++++ .../chat/assets/stylesheets/mobile/index.scss | 1 + 6 files changed, 37 insertions(+), 13 deletions(-) create mode 100644 plugins/chat/assets/stylesheets/mobile/chat-navbar.scss diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/drawer-routes/threads.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/drawer-routes/threads.gjs index ef12da41282..019c5eb6af8 100644 --- a/plugins/chat/assets/javascripts/discourse/components/chat/drawer-routes/threads.gjs +++ b/plugins/chat/assets/javascripts/discourse/components/chat/drawer-routes/threads.gjs @@ -15,7 +15,7 @@ export default class ChatDrawerRoutesThreads extends Component { diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/routes/threads.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/routes/threads.gjs index 1770de239fa..8e8dbf9e5d3 100644 --- a/plugins/chat/assets/javascripts/discourse/components/chat/routes/threads.gjs +++ b/plugins/chat/assets/javascripts/discourse/components/chat/routes/threads.gjs @@ -1,13 +1,18 @@ import Component from "@glimmer/component"; +import { inject as service } from "@ember/service"; import i18n from "discourse-common/helpers/i18n"; import Navbar from "discourse/plugins/chat/discourse/components/chat/navbar"; import UserThreads from "discourse/plugins/chat/discourse/components/user-threads"; export default class ChatRoutesThreads extends Component { + @service site; +