From 44aeb76afc2febd437fbe8a2608ffe6a66d5554d Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Mon, 7 Nov 2022 19:16:06 +0530 Subject: [PATCH] plugin call and text update --- libs/remix-ui/workspace/src/lib/actions/workspace.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/remix-ui/workspace/src/lib/actions/workspace.ts b/libs/remix-ui/workspace/src/lib/actions/workspace.ts index 1309dae6c6..3a80fd5a0c 100644 --- a/libs/remix-ui/workspace/src/lib/actions/workspace.ts +++ b/libs/remix-ui/workspace/src/lib/actions/workspace.ts @@ -90,9 +90,10 @@ export const createWorkspace = async (workspaceName: string, workspaceTemplateNa const token = await plugin.call('settings', 'get', 'settings/gist-access-token') if (!name || !email || !token) { - await plugin.call('settings', 'notification', 'Please provide in the remix settings the github access token (along side with the other configuration options) in order to start committing and branching.') + await plugin.call('notification', 'toast', 'Please provide GitHub details in the settings section to start committing and branching.') } else { // commit the template as first commit + await plugin.call('notification', 'toast', 'Creating initial git commit ...') const status = await plugin.call('dGitProvider', 'status', { ref: 'HEAD' }) Promise.all( status.map(([filepath, , worktreeStatus]) => @@ -110,7 +111,7 @@ export const createWorkspace = async (workspaceName: string, workspaceTemplateNa name, email }, - message: `first commit: remix template ${workspaceTemplateName}`, + message: `Initial commit: remix template ${workspaceTemplateName}`, }).then(console.log).catch(console.error) }) }