Skip to content

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

chore: make onboarding bar more obvious (#6305)

Tianzhou (天舟)3410e20c5320
diff --git a/docs/i18n-guide.md b/docs/i18n-guide.md
index 98593c41fb..a21c3edbb0 100644
--- a/docs/i18n-guide.md
+++ b/docs/i18n-guide.md
@@ -48,7 +48,7 @@ Most translation work would be done in the Vue file under the `<template>` tag w
For example:
```html
-{{ $t("common.quickstart") }}
+{{ $t("quick-start.self") }}
```
### Translate message in `<script>`
@@ -66,7 +66,7 @@ export default {
const { t } = useI18n()
return {
- quickStart: t("common.quickstart")
+ quickStart: t("quick-start.self")
}
},
...
diff --git a/frontend/src/components/ProfileDropdown.vue b/frontend/src/components/ProfileDropdown.vue
index 7dfda833be..224f69d8b9 100644
--- a/frontend/src/components/ProfileDropdown.vue
+++ b/frontend/src/components/ProfileDropdown.vue
@@ -91,7 +91,7 @@
class="menu-item"
role="menuitem"
@click.prevent="resetQuickstart"
- >{{ $t("common.quickstart") }}</a
+ >{{ $t("quick-start.self") }}</a
>
<a
href="https://bytebase.com/docs?source=console"
diff --git a/frontend/src/components/Quickstart.vue b/frontend/src/components/Quickstart.vue
index 9559edbd17..f2917c5d89 100644
--- a/frontend/src/components/Quickstart.vue
+++ b/frontend/src/components/Quickstart.vue
@@ -1,12 +1,14 @@
<template>
<div
v-if="showQuickstart"
- class="py-2 px-4 w-full flex-shrink-0 border-t border-block-border hidden lg:block"
+ class="py-2 px-4 w-full flex-shrink-0 border-t border-block-border hidden lg:block bg-yellow-50"
>
<p
class="text-sm font-medium text-gray-900 flex items-center justify-between"
>
- <span>🎈 {{ $t("common.quickstart") }}</span>
+ <span
+ >🎈 {{ $t("quick-start.self") }} - {{ $t("quick-start.guide") }}</span
+ >
<button class="btn-icon" @click.prevent="() => hideQuickstart()">
<heroicons-solid:x class="w-4 h-4" />
@@ -54,8 +56,15 @@
/>
</template>
<template v-else-if="isTaskActive(index)">
- <span class="absolute h-4 w-4 rounded-full bg-blue-200"></span>
- <span class="relative block w-2 h-2 bg-info rounded-full"></span>
+ <span class="relative flex h-3 w-3">
+ <span
+ class="absolute inline-flex h-full w-full rounded-full bg-indigo-400 opacity-75"
+ style="animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite"
+ ></span>
+ <span
+ class="relative inline-flex rounded-full h-3 w-3 bg-indigo-500"
+ ></span>
+ </span>
</template>
<template v-else>
<div
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 3c5b0756fe..1c9813f5f5 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -54,7 +54,6 @@
"bookmarks": "Bookmarks",
"quick-action": "Quick Action",
"archive": "Archive",
- "quickstart": "Quickstart",
"logout": "Logout",
"close": "Close",
"latest": "Latest",
@@ -959,6 +958,8 @@
"production-environment": "Production environment"
},
"quick-start": {
+ "self": "Quickstart",
+ "guide": "click on the step to try it out",
"view-an-issue": "View an issue",
"visit-project": "@:common.visit @:common.projects",
"visit-instance": "@:common.visit @:common.instances",
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index ed458ad8ec..e9fa1b4ef2 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -54,7 +54,6 @@
"bookmarks": "Marcadores",
"quick-action": "Acción rápida",
"archive": "Archivo",
- "quickstart": "Inicio rápido",
"logout": "Cerrar sesión",
"close": "Cerrar",
"latest": "Último",
@@ -951,6 +950,8 @@
"production-environment": "Entorno de producción"
},
"quick-start": {
+ "self": "Inicio rápido",
+ "guide": "haga clic en el paso para probarlo",
"view-an-issue": "Ver una incidencia",
"visit-project": "@:common.visit @:common.projects",
"visit-instance": "@:common.visit @:common.instances",
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index f8c13a5922..2b352c0a56 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -54,7 +54,6 @@
"bookmarks": "书签",
"quick-action": "快捷操作",
"archive": "归档",
- "quickstart": "新手任务",
"logout": "登出",
"close": "关闭",
"latest": "最新",
@@ -957,6 +956,8 @@
"production-environment": "生产环境"
},
"quick-start": {
+ "self": "新手任务",
+ "guide": "可点击步骤进行尝试",
"view-an-issue": "查看工单",
"visit-project": "@:common.visit@:common.projects",
"visit-instance": "@:common.visit@:common.instances",