From ae628d752010041e4a749c142d082ab34c240cd3 Mon Sep 17 00:00:00 2001 From: Sanne de Vries <65487235+sanne-san@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:09:48 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Added=20=E2=80=9CCopy=20post=20l?= =?UTF-8?q?ink=E2=80=9D=20to=20posts=20list=20context=20menu=20(#20760)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit REF DES-321 - Added a "Copy post link" button to the context menu to copy the post URL for published posts, and a "Copy preview link" for draft and scheduled posts. --------- Co-authored-by: Kevin Ansfield --- .../components/posts-list/context-menu.hbs | 15 ++ .../app/components/posts-list/context-menu.js | 35 ++++- ghost/admin/mirage/factories/post.js | 7 + ghost/admin/tests/acceptance/content-test.js | 133 ++++++++++++++---- 4 files changed, 160 insertions(+), 30 deletions(-) diff --git a/ghost/admin/app/components/posts-list/context-menu.hbs b/ghost/admin/app/components/posts-list/context-menu.hbs index 36e8077e69..a7277b4161 100644 --- a/ghost/admin/app/components/posts-list/context-menu.hbs +++ b/ghost/admin/app/components/posts-list/context-menu.hbs @@ -1,11 +1,26 @@