diff --git a/apps/remix-ide-e2e/src/tests/workspace_git.test.ts b/apps/remix-ide-e2e/src/tests/workspace_git.test.ts index ee4fcf6535..e2293f4153 100644 --- a/apps/remix-ide-e2e/src/tests/workspace_git.test.ts +++ b/apps/remix-ide-e2e/src/tests/workspace_git.test.ts @@ -15,7 +15,7 @@ module.exports = { .waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]') .waitForElementVisible('[data-id="fileSystemModalDialogModalFooter-react"] > button') .waitForElementVisible({ - selector: "//*[@class='text-warning' and contains(.,'You need to set a username')]", + selector: "//*[@class='text-warning' and contains(.,'Please add username and email')]", locateStrategy: 'xpath' }) .waitForElementPresent({ diff --git a/libs/remix-ui/workspace/src/lib/actions/workspace.ts b/libs/remix-ui/workspace/src/lib/actions/workspace.ts index 0042582962..16fea3fc32 100644 --- a/libs/remix-ui/workspace/src/lib/actions/workspace.ts +++ b/libs/remix-ui/workspace/src/lib/actions/workspace.ts @@ -95,7 +95,7 @@ export const createWorkspace = async (workspaceName: string, workspaceTemplateNa if (!currentBranch) { if (!name || !email) { - await plugin.call('notification', 'toast', 'Please provide GitHub details in the settings section to start committing.') + await plugin.call('notification', 'toast', 'Please add username and email to Remix GitHub Settings to use git features.') } else { // commit the template as first commit plugin.call('notification', 'toast', 'Creating initial git commit ...') diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index db93770e9e..f9e64947a7 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -317,8 +317,7 @@ export function Workspace () { {!global.fs.gitConfig.username || !global.fs.gitConfig.email ? ( -