feat(editor): Version Control settings update (WIP) (#6233)

This commit is contained in:
Csaba Tuncsik
2023-05-12 09:26:41 +02:00
committed by GitHub
parent 51c89db6dc
commit 0666377ef8
4 changed files with 156 additions and 66 deletions

View File

@@ -16,12 +16,13 @@ export const useVersionControlStore = defineStore('versionControl', () => {
);
const preferences = reactive<VersionControlPreferences>({
branchName: '',
currentBranch: '',
branches: [],
authorName: '',
authorEmail: '',
repositoryUrl: '',
branchReadOnly: false,
branchColor: '#000000',
branchColor: '#F4A6DC',
connected: false,
publicKey: '',
});
@@ -77,6 +78,7 @@ export const useVersionControlStore = defineStore('versionControl', () => {
return {
isEnterpriseVersionControlEnabled,
state,
preferences,
initSsh,
initRepository,
sync,