Merge pull request #3563 from ethereum/wwupdate

updated warning for github settings
pull/3618/head
Aniket 2 years ago committed by GitHub
commit ce657ef428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/remix-ide-e2e/src/tests/workspace_git.test.ts
  2. 2
      apps/remix-ide/src/app/tabs/locales/en/filePanel.json
  3. 2
      libs/remix-ui/workspace/src/lib/actions/workspace.ts

@ -15,7 +15,7 @@ module.exports = {
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]')
.waitForElementVisible('[data-id="fileSystemModalDialogModalFooter-react"] > button')
.waitForElementVisible({
selector: "//*[@class='text-warning' and contains(.,'Please add username and email')]",
selector: "//*[@class='text-warning' and contains(.,'add username and email')]",
locateStrategy: 'xpath'
})
.waitForElementPresent({

@ -54,7 +54,7 @@
"filePanel.checkoutGitBranch": "Checkout Git Branch",
"filePanel.findOrCreateABranch": "Find or create a branch.",
"filePanel.initGitRepositoryLabel": "Initialize workspace as a new git repository",
"filePanel.initGitRepositoryWarning": "Please add username and email to Remix GitHub Settings to use git features.",
"filePanel.initGitRepositoryWarning": "To use Git features, add username and email to the Github section of the Settings panel.",
"filePanel.workspaceName": "Workspace name",
"filePanel.customizeTemplate": "Customize template",
"filePanel.features": "Features",

@ -97,7 +97,7 @@ export const createWorkspace = async (workspaceName: string, workspaceTemplateNa
if (!currentBranch) {
if (!name || !email) {
await plugin.call('notification', 'toast', 'Please add username and email to Remix GitHub Settings to use git features.')
await plugin.call('notification', 'toast', 'To use Git features, add username and email to the Github section of the Settings panel.')
} else {
// commit the template as first commit
plugin.call('notification', 'toast', 'Creating initial git commit ...')

Loading…
Cancel
Save