From d57668a70374d407c06f409efa06a66a702173e0 Mon Sep 17 00:00:00 2001 From: Kris Date: Wed, 23 Oct 2024 17:54:31 -0400 Subject: [PATCH] DEV: add "topic-list-heading-bottom" plugin outlet (#29377) --- .../app/components/topic-list/topic-list-header-column.gjs | 6 ++++++ .../app/raw-templates/topic-list-header-column.hbr | 1 + 2 files changed, 7 insertions(+) diff --git a/app/assets/javascripts/discourse/app/components/topic-list/topic-list-header-column.gjs b/app/assets/javascripts/discourse/app/components/topic-list/topic-list-header-column.gjs index 41b3ef7798a..a61757f60c6 100644 --- a/app/assets/javascripts/discourse/app/components/topic-list/topic-list-header-column.gjs +++ b/app/assets/javascripts/discourse/app/components/topic-list/topic-list-header-column.gjs @@ -1,7 +1,9 @@ import Component from "@glimmer/component"; +import { hash } from "@ember/helper"; import { on } from "@ember/modifier"; import { action } from "@ember/object"; import { service } from "@ember/service"; +import PluginOutlet from "discourse/components/plugin-outlet"; import NewListHeaderControls from "discourse/components/topic-list/new-list-header-controls"; import TopicBulkSelectDropdown from "discourse/components/topic-list/topic-bulk-select-dropdown"; import concatClass from "discourse/helpers/concat-class"; @@ -135,6 +137,10 @@ export default class TopicListHeaderColumn extends Component { {{#if this.isSorting}} {{icon (if @ascending "chevron-up" "chevron-down")}} {{/if}} + } diff --git a/app/assets/javascripts/discourse/app/raw-templates/topic-list-header-column.hbr b/app/assets/javascripts/discourse/app/raw-templates/topic-list-header-column.hbr index 5bf4235e64e..5cb151d924e 100644 --- a/app/assets/javascripts/discourse/app/raw-templates/topic-list-header-column.hbr +++ b/app/assets/javascripts/discourse/app/raw-templates/topic-list-header-column.hbr @@ -23,4 +23,5 @@ {{~#if view.isSorting}} {{d-icon view.sortIcon}} {{/if ~}} + {{~plugin-outlet name="topic-list-heading-bottom" outletArgs=(raw-hash name=view.name bulkSelectEnabled=bulkSelectEnabled)~}}