discourse/plugins/chat/assets/stylesheets/desktop
Joffrey JAFFEUX 53b96638c5
DEV: implements <Chat::Navbar /> (#24917)
This new navbar component is used for every navbar in chat, full page or drawer, and any screen.

This commit also uses this opportunity to correctly decouple drawer-routes from full page routes. This will avoid having this kind of properties in components: `@includeHeader={{false}}`. The header is now defined in the parent template using a navbar. Each route has now its own template wrapped in a div of the name of the route, eg: `<div class="c-routes-threads">..</div>`.

The navbar API:

```gjs
<Navbar as |navbar|>
 <navbar.BackButton />
 <navbar.Title @title="Foo" />
 <navbar.ChannelTitle @channel={{@channel}} />
 <navbar.Actions as |action|>
   <action.CloseThreadButton />
 </navbar.Actions>
</navbar>
```

The full list of components is listed in `plugins/chat/assets/javascripts/discourse/components/navbar/index.gjs` and `plugins/chat/assets/javascripts/discourse/components/navbar/actions.gjs`.

Visually the header is not changing much, only in drawer mode the background has been removed.

This commit also introduces a `<List />` component to facilitate rendering lists in chat plugin.
2023-12-18 17:49:58 +01:00
..
base-desktop.scss DEV: implements <Chat::Navbar /> (#24917) 2023-12-18 17:49:58 +01:00
chat-channel-info.scss FEATURE: introduces group channels (#24288) 2023-11-10 11:29:28 +01:00
chat-composer-uploads.scss
chat-index-drawer.scss UX: user threads styling tweaks 2023-12-13 14:10:52 +01:00
chat-index-full-page.scss Remove border radius from chat (#22437) 2023-07-10 15:07:38 +02:00
chat-message-actions.scss DEV: prevents message actions to hide drawer's header (#22448) 2023-07-06 07:33:39 +08:00
chat-message-creator.scss FEATURE: introduces group channels (#24288) 2023-11-10 11:29:28 +01:00
chat-message-thread-indicator.scss FEATURE: my threads page (#24771) 2023-12-11 07:38:07 +01:00
chat-message.scss FIX: correct border color of message actions (#21261) 2023-04-26 19:42:04 +02:00
index.scss DEV: implements <Chat::Navbar /> (#24917) 2023-12-18 17:49:58 +01:00
sidebar-extensions.scss