discourse/plugins
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
..
chat DEV: implements <Chat::Navbar /> (#24917) 2023-12-18 17:49:58 +01:00
checklist Update translations (#24599) 2023-11-29 10:41:27 +01:00
discourse-details UX:; scope details change (#24715) 2023-12-05 13:56:17 +01:00
discourse-lazy-videos FIX: Add rel=0 to youtube lazy videos url (#24173) 2023-10-31 08:04:23 -03:00
discourse-local-dates DEV: Convert min_trust_to_flag_posts setting to groups (#24864) 2023-12-13 17:18:42 +08:00
discourse-narrative-bot DEV: Fix various rubocop lints (#24749) 2023-12-06 23:25:00 +01:00
discourse-presence DEV: Convert min_trust_to_edit_wiki_post to groups (#24766) 2023-12-12 15:20:37 +11:00
footnote FEATURE: Admin plugin list redesign (#24363) 2023-11-21 09:37:11 +10:00
poll DEV: Remove usage of min_trust_to_create_topic SiteSetting (#24887) 2023-12-18 13:39:53 +11:00
spoiler-alert DEV: Fix "no-empty" lint (#24588) 2023-11-28 10:55:02 +01:00
styleguide Update translations (#24848) 2023-12-12 14:23:51 +01:00