DEV: add CSS class for composer action

DEV: add CSS class for composer action

This CSS class can be used to style specific composer actions

diff --git a/app/assets/javascripts/discourse/app/components/composer-body.js b/app/assets/javascripts/discourse/app/components/composer-body.js
index 1f0f661..a5413b7 100644
--- a/app/assets/javascripts/discourse/app/components/composer-body.js
+++ b/app/assets/javascripts/discourse/app/components/composer-body.js
@@ -33,6 +33,7 @@ export default Component.extend(KeyEnterEscape, {
     "composer.creatingPrivateMessage:private-message",
     "composeState",
     "composer.loading",
+    "prefixedComposerAction",
     "composer.canEditTitle:edit-title",
     "composer.createdPost:created-post",
     "composer.creatingTopic:topic",
@@ -42,6 +43,11 @@ export default Component.extend(KeyEnterEscape, {
     "currentUserPrimaryGroupClass"
   ],
 
+  @discourseComputed("composer.action")
+  prefixedComposerAction(action) {
+    return `composer-action-${action}`;
+  },
+
   @discourseComputed("currentUser.primary_group_name")
   currentUserPrimaryGroupClass(primaryGroupName) {
     return primaryGroupName && `group-${primaryGroupName}`;

GitHub sha: de5ef5d8