UX: provide a region for various topic actions (#13152)

This makes it much easier to reply to topics / bookmark topics and so on

Previously topic buttons had no region
This commit is contained in:
Sam 2021-05-26 11:05:35 +10:00 committed by GitHub
parent 197e3f24ce
commit 293877237d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,10 @@ import { getTopicFooterButtons } from "discourse/lib/register-topic-footer-butto
export default Component.extend({
elementId: "topic-footer-buttons",
attributeBindings: ["role"],
role: "region",
// Allow us to extend it
layoutName: "components/topic-footer-buttons",