UX: move fast edit before sharing (#14429)

UX: move fast edit before sharing (#14429)

As sharing has some hover behavior, it was looking slightly clunky with fast edit changing position. Putting sharing at the last position will reduce this effect.

diff --git a/app/assets/javascripts/discourse/app/templates/components/quote-button.hbs b/app/assets/javascripts/discourse/app/templates/components/quote-button.hbs
index 9f42420..06827a1 100644
--- a/app/assets/javascripts/discourse/app/templates/components/quote-button.hbs
+++ b/app/assets/javascripts/discourse/app/templates/components/quote-button.hbs
@@ -7,6 +7,17 @@
       label="post.quote_reply"}}
   {{/if}}
 
+  {{#if siteSettings.enable_fast_edit}}
+    {{#if _canEditPost}}
+      {{d-button
+        icon="pencil-alt"
+        action=(action "_toggleFastEditForm")
+        label="post.quote_edit"
+        class="btn-flat quote-edit-label"
+      }}
+    {{/if}}
+  {{/if}}
+
   {{#if quoteSharingEnabled}}
     <span class="quote-sharing">
       {{#if quoteSharingShowLabel}}
@@ -26,20 +37,8 @@
         {{/each}}
         {{plugin-outlet name="quote-share-buttons-after" tagName=""}}
       </span>
-
     </span>
   {{/if}}
-
-  {{#if siteSettings.enable_fast_edit}}
-    {{#if _canEditPost}}
-      {{d-button
-        icon="pencil-alt"
-        action=(action "_toggleFastEditForm")
-        label="post.quote_edit"
-        class="btn-flat quote-edit-label"
-      }}
-    {{/if}}
-  {{/if}}
 </div>
 
 <div class="extra">

GitHub sha: 372479bada344c802f23a6d127fddb3bc535fde3

This commit appears in #14429 which was approved by pmusaraj. It was merged by pmusaraj.