Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Improve VCS related wording

天舟f66f3603f7e5
diff --git a/frontend/src/components/AlterSchemaPrepForm.vue b/frontend/src/components/AlterSchemaPrepForm.vue
index 721fed4632..33747c588f 100644
--- a/frontend/src/components/AlterSchemaPrepForm.vue
+++ b/frontend/src/components/AlterSchemaPrepForm.vue
@@ -1,10 +1,28 @@
<template>
<div class="mx-4 space-y-4 w-160">
- <div
- v-if="projectId != UNKNOWN_ID && state.project.workflowType == 'VCS'"
- class="textlabel"
- >
- Project has version control enabled and selecting database below will
+ <div v-if="projectId == UNKNOWN_ID" class="flex flex-row space-x-2">
+ <svg
+ class="w-8 h-8 text-control -mt-1.5"
+ fill="none"
+ stroke="currentColor"
+ viewBox="0 0 24 24"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ stroke-width="2"
+ d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"
+ ></path>
+ </svg>
+ <p class="textlabel">
+ indicates the project has enabled version control. Selecting database
+ belonging to such project will navigate you to the corresponding Git
+ repository to create schema change.
+ </p>
+ </div>
+ <div v-else-if="state.project.workflowType == 'VCS'" class="textlabel">
+ This project has version control enabled and selecting database below will
navigate you to the corresponding Git repository to create schema change.
</div>
<div
diff --git a/frontend/src/views/SettingWorkspaceVCS.vue b/frontend/src/views/SettingWorkspaceVCS.vue
index 39b07072bf..964be8cbca 100644
--- a/frontend/src/views/SettingWorkspaceVCS.vue
+++ b/frontend/src/views/SettingWorkspaceVCS.vue
@@ -6,7 +6,7 @@
to those scripts will automatically trigger the corresponding database
change. Bytebase owners manage all the applicable VCSs here, so that
project owners can link the projects with their Git repositories from
- those VCSs.
+ these VCSs.
</div>
<div class="flex items-center justify-end">
<button