fix(editor): Change default branchColor and remove label (#6541)

change default branchColor and remove label
This commit is contained in:
Michael Auerswald 2023-06-26 12:43:53 +02:00 committed by GitHub
parent e239730715
commit 186271e939
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 4 deletions

View file

@ -66,7 +66,7 @@ describe('MainSidebarSourceControl', () => {
authorEmail: '', authorEmail: '',
repositoryUrl: '', repositoryUrl: '',
branchReadOnly: false, branchReadOnly: false,
branchColor: '#F4A6DC', branchColor: '#5296D6',
connected: true, connected: true,
publicKey: '', publicKey: '',
}); });

View file

@ -1335,7 +1335,6 @@
"settings.sourceControl.gitConfig": "Git configuration", "settings.sourceControl.gitConfig": "Git configuration",
"settings.sourceControl.repoUrl": "Git repository URL (SSH)", "settings.sourceControl.repoUrl": "Git repository URL (SSH)",
"settings.sourceControl.repoUrlPlaceholder": "e.g. git@github.com:my-team/my-repository", "settings.sourceControl.repoUrlPlaceholder": "e.g. git@github.com:my-team/my-repository",
"settings.sourceControl.repoUrlDescription": "The SSH url of your Git repository",
"settings.sourceControl.repoUrlInvalid": "The Git repository URL is not valid", "settings.sourceControl.repoUrlInvalid": "The Git repository URL is not valid",
"settings.sourceControl.authorName": "Commit author name", "settings.sourceControl.authorName": "Commit author name",
"settings.sourceControl.authorEmail": "Commit author email", "settings.sourceControl.authorEmail": "Commit author email",

View file

@ -21,7 +21,7 @@ export const useSourceControlStore = defineStore('sourceControl', () => {
authorEmail: '', authorEmail: '',
repositoryUrl: '', repositoryUrl: '',
branchReadOnly: false, branchReadOnly: false,
branchColor: '#F4A6DC', branchColor: '#5296D6',
connected: false, connected: false,
publicKey: '', publicKey: '',
}); });

View file

@ -226,7 +226,6 @@ const refreshBranches = async () => {
>{{ locale.baseText('settings.sourceControl.button.disconnect') }}</n8n-button >{{ locale.baseText('settings.sourceControl.button.disconnect') }}</n8n-button
> >
</div> </div>
<small>{{ locale.baseText('settings.sourceControl.repoUrlDescription') }}</small>
</div> </div>
<div :class="[$style.group, $style.groupFlex]"> <div :class="[$style.group, $style.groupFlex]">
<div> <div>