discourse/app/assets/javascripts/admin/addon
Martin Brennan 1239178f49
FEATURE: Introduce DBreadcrumbs components (#27049)
This commit introduces the following components:

* DBreadcrumbsContainer - The wrapper template-only component,
  which renders all DBreadcrumbsItem components on the page.
* DBreadcrumbsItem - The component that registers a LinkTo
  for the breadcrumb trail. The breadcrumb > trail > will
  show based on the order these items are rendered on the page.
* BreadcrumbsService - Manages the DBreadcrumbsContainer elements
  on the page via DBreadcrumbsContainerModifier.
* DBreadcrumbsContainerModifier - Handles registering DBreadcrumbsContainer
  elements with the BreadcrumbsService and deregistering them.

For now, we will only use these breadcrumbs in the admin section
of Discourse, and this initial commit only uses them in admin/plugins.

This is heavily based off of
https://github.com/Bagaar/ember-breadcrumbs,
but will be further modified for our needs.
2024-05-20 14:25:54 +10:00
..
adapters FIX: Ensure Theme#settings are instances of ThemeSettings (#26481) 2024-04-03 13:10:47 +08:00
components FEATURE: Introduce DBreadcrumbs components (#27049) 2024-05-20 14:25:54 +10:00
controllers FIX: Locale mismatch at theme translations picker (#26687) 2024-04-19 14:23:27 -03:00
helpers DEV: replace registerUnbound usage with default exports (#23802) 2023-10-19 14:28:25 +01:00
lib DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
mixins DEV: Add save button to editing typed objects theme setting route (#26133) 2024-03-13 06:52:46 +08:00
models FEATURE: add HTML replacements 2024-05-14 10:41:27 +02:00
routes DEV: Use current-user service wherever possible (#26901) 2024-05-07 22:19:42 +02:00
services DEV: Add more structure for admin plugin config nav (#26707) 2024-05-02 11:36:46 +10:00
templates FEATURE: Introduce DBreadcrumbs components (#27049) 2024-05-20 14:25:54 +10:00