mirror of
https://github.com/discourse/discourse.git
synced 2025-02-26 01:30:30 +08:00
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:
parent
16e1ea938c
commit
d444a8a400
@ -6,6 +6,10 @@ import { getTopicFooterButtons } from "discourse/lib/register-topic-footer-butto
|
|||||||
export default Component.extend({
|
export default Component.extend({
|
||||||
elementId: "topic-footer-buttons",
|
elementId: "topic-footer-buttons",
|
||||||
|
|
||||||
|
attributeBindings: ["role"],
|
||||||
|
|
||||||
|
role: "region",
|
||||||
|
|
||||||
// Allow us to extend it
|
// Allow us to extend it
|
||||||
layoutName: "components/topic-footer-buttons",
|
layoutName: "components/topic-footer-buttons",
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user