From abcfcbb3ede399cffb02674fd0298f0a279b7a58 Mon Sep 17 00:00:00 2001 From: Simon Backx Date: Thu, 24 Mar 2022 16:21:46 +0100 Subject: [PATCH] Added recent posts component in dashboard 5 refs https://github.com/TryGhost/Team/issues/1448 --- ghost/admin/app/components/dashboard/dashboard-v5.hbs | 2 +- ghost/admin/app/components/dashboard/v5/recent-posts.hbs | 1 + ghost/admin/app/components/dashboard/v5/recent-posts.js | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 ghost/admin/app/components/dashboard/v5/recent-posts.hbs create mode 100644 ghost/admin/app/components/dashboard/v5/recent-posts.js diff --git a/ghost/admin/app/components/dashboard/dashboard-v5.hbs b/ghost/admin/app/components/dashboard/dashboard-v5.hbs index e272526650..c21ea23bd7 100644 --- a/ghost/admin/app/components/dashboard/dashboard-v5.hbs +++ b/ghost/admin/app/components/dashboard/dashboard-v5.hbs @@ -69,7 +69,7 @@

Recent posts

- +
diff --git a/ghost/admin/app/components/dashboard/v5/recent-posts.hbs b/ghost/admin/app/components/dashboard/v5/recent-posts.hbs new file mode 100644 index 0000000000..a9bd48c8a8 --- /dev/null +++ b/ghost/admin/app/components/dashboard/v5/recent-posts.hbs @@ -0,0 +1 @@ +Recent posts WIP \ No newline at end of file diff --git a/ghost/admin/app/components/dashboard/v5/recent-posts.js b/ghost/admin/app/components/dashboard/v5/recent-posts.js new file mode 100644 index 0000000000..e39e46c9bf --- /dev/null +++ b/ghost/admin/app/components/dashboard/v5/recent-posts.js @@ -0,0 +1,6 @@ +import Component from '@glimmer/component'; +import {inject as service} from '@ember/service'; + +export default class RecentPosts extends Component { + @service dashboardStats; +}