From 15d5096275dac1fa59549e018526f6147100da53 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Tue, 23 Feb 2021 10:18:37 +0000 Subject: [PATCH] Added success notification on launch wizard completion no issue - provide an indication of success and a "next step" option --- ghost/admin/app/components/gh-launch-wizard/finalise.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ghost/admin/app/components/gh-launch-wizard/finalise.js b/ghost/admin/app/components/gh-launch-wizard/finalise.js index da5600ccee..ee9ab00db6 100644 --- a/ghost/admin/app/components/gh-launch-wizard/finalise.js +++ b/ghost/admin/app/components/gh-launch-wizard/finalise.js @@ -1,14 +1,20 @@ import Component from '@glimmer/component'; +import {htmlSafe} from '@ember/string'; import {inject as service} from '@ember/service'; import {task} from 'ember-concurrency-decorators'; export default class GhLaunchWizardFinaliseComponent extends Component { @service feature; + @service notifications; @service router; @task *finaliseTask() { yield this.feature.set('launchComplete', true); this.router.transitionTo('dashboard'); + this.notifications.showNotification( + 'Launch complete!', + {type: 'success', actions: htmlSafe('Start creating content')} + ); } -} \ No newline at end of file +}