Skip to content

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

track source of bytebase.com (#1497)

qsliuaea48ecd91b6
diff --git a/README.md b/README.md
index 7cba36d694..ad1cd52dcf 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
<p align="center">
-<a href="https://bytebase.com"><img alt="Bytebase" src="https://raw.githubusercontent.com/bytebase/bytebase/main/docs/assets/illustration/banner.webp" /></a>
+<a href="https://bytebase.com?source=github"><img alt="Bytebase" src="https://raw.githubusercontent.com/bytebase/bytebase/main/docs/assets/illustration/banner.webp" /></a>
</p>
<p align="center" >
@@ -7,7 +7,7 @@
</p>
<p align="center">
- <a href="https://demo.bytebase.com" target="_blank">Live Demo</a> •
+ <a href="https://demo.bytebase.com?source=github" target="_blank">Live Demo</a> •
<a href="#installation">Install</a> •
<a href="#-docs">Help</a> •
<a href="#-development">Development</a> •
@@ -30,7 +30,7 @@
</a>
</p>
-[Bytebase](https://bytebase.com/) is a **web-based**, **zero-config**, **dependency-free** database schema change and version control management tool for DBAs and developers.
+[Bytebase](https://bytebase.com/?source=github) is a **web-based**, **zero-config**, **dependency-free** database schema change and version control management tool for DBAs and developers.
## For DBA - 10x operational efficiency
@@ -88,7 +88,7 @@ Regardless of working as an IC in a team or managing your own side project, deve
## Installation
-[Detailed installation guide](https://bytebase.com/docs/install/install-with-docker)
+[Detailed installation guide](https://bytebase.com/docs/install/install-with-docker?source=github)
### Run on localhost:8080
@@ -104,9 +104,9 @@ docker run --init --name bytebase --restart always --publish 80:80 --volume ~/.b
## 📕 Docs
-### User doc https://bytebase.com/docs
+### [User doc](https://bytebase.com/docs?source=github)
-In particular, get familar with various product concept such as [data model](https://bytebase.com/docs/concepts/data-model), [roles and permissions](https://bytebase.com/docs/concepts/roles-and-permissions) and etc.
+In particular, get familar with various product concept such as [data model](https://bytebase.com/docs/concepts/data-model?source=github), [roles and permissions](https://bytebase.com/docs/concepts/roles-and-permissions?source=github) and etc.
### Design doc
@@ -120,7 +120,7 @@ https://github.com/bytebase/bytebase/tree/main/docs/version-management.md
1. Checkout issues tagged with [good first issue](https://github.com/bytebase/bytebase/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22).
-1. We are maintaining an [online database glossary list](https://bytebase.com/database-glossary/), you can add/improve content there.
+1. We are maintaining an [online database glossary list](https://bytebase.com/database-glossary/?source=github), you can add/improve content there.
**Note**: We are quite disciplined on <a href="#installation">tech stack</a>. If you consider bringing a new programming language, framework and any non-trivial external dependency, please open a discussion first.
@@ -201,4 +201,4 @@ Bytebase should now be running at https://localhost:3000 and change either front
## We are hiring
-We are looking for engineers and developer advocates, interns are also welcomed. Check out our [jobs page](https://bytebase.com/jobs).
+We are looking for engineers and developer advocates, interns are also welcomed. Check out our [jobs page](https://bytebase.com/jobs?source=github).
diff --git a/frontend/src/components/CreateDataSourceExample.vue b/frontend/src/components/CreateDataSourceExample.vue
index 8b0c7cb630..cfb401847d 100644
--- a/frontend/src/components/CreateDataSourceExample.vue
+++ b/frontend/src/components/CreateDataSourceExample.vue
@@ -39,7 +39,7 @@
</template>
</i18n-t>
<a
- href="https://bytebase.com/docs/install/install-with-docker#start-a-local-mysql-server-for-testing"
+ href="https://bytebase.com/docs/install/install-with-docker#start-a-local-mysql-server-for-testing?source=console"
target="_blank"
class="normal-link"
>
diff --git a/frontend/src/components/DatabaseBackupPanel.vue b/frontend/src/components/DatabaseBackupPanel.vue
index 8d5de64465..1ddc215a51 100644
--- a/frontend/src/components/DatabaseBackupPanel.vue
+++ b/frontend/src/components/DatabaseBackupPanel.vue
@@ -50,7 +50,7 @@
)
}}
<a
- href="https://bytebase.com/docs/use-bytebase/webhook-integration/database-webhook"
+ href="https://bytebase.com/docs/use-bytebase/webhook-integration/database-webhook?source=console"
class="normal-link inline-flex flex-row items-center"
>
{{ $t("common.learn-more") }}
diff --git a/frontend/src/components/IntroBanner.vue b/frontend/src/components/IntroBanner.vue
index e85d3e5b0f..96ba39190b 100644
--- a/frontend/src/components/IntroBanner.vue
+++ b/frontend/src/components/IntroBanner.vue
@@ -10,7 +10,7 @@
<template #doc>
<a
class="normal-link"
- href="https://bytebase.com/docs"
+ href="https://bytebase.com/docs?source=console"
target="__blank"
>
{{ $t("intro.doc") }}
diff --git a/frontend/src/components/Issue/TaskCheckRunPanel.vue b/frontend/src/components/Issue/TaskCheckRunPanel.vue
index 8180a0df02..72142d1084 100644
--- a/frontend/src/components/Issue/TaskCheckRunPanel.vue
+++ b/frontend/src/components/Issue/TaskCheckRunPanel.vue
@@ -187,7 +187,7 @@ export default defineComponent({
return {
title: t("common.view-doc"),
target: "__blank",
- url: `https://bytebase.com/docs/error-code#${error.hash}`,
+ url: `https://bytebase.com/docs/error-code#${error.hash}?source=console`,
};
}
};
diff --git a/frontend/src/components/PricingTable.vue b/frontend/src/components/PricingTable.vue
index 87e71b4420..220abb2c70 100644
--- a/frontend/src/components/PricingTable.vue
+++ b/frontend/src/components/PricingTable.vue
@@ -70,7 +70,7 @@
<template #cancel>
<a
class="underline"
- href="https://bytebase.com/refund"
+ href="https://bytebase.com/refund?source=console"
target="_blank"
>{{ $t("subscription.cancel") }}</a
>
@@ -205,7 +205,7 @@
<template #cancel>
<a
class="underline"
- href="https://bytebase.com/refund"
+ href="https://bytebase.com/refund?source=console"
target="_blank"
>{{ $t("subscription.cancel") }}</a
>
@@ -406,7 +406,7 @@ export default defineComponent({
"mailto:[email protected]?subject=Request for enterprise plan"
);
} else {
- window.open("https://bytebase.com/docs", "_self");
+ window.open("https://bytebase.com/docs?source=console", "_self");
}
};
diff --git a/frontend/src/components/ProfileDropdown.vue b/frontend/src/components/ProfileDropdown.vue
index 07834e25ef..5733a2797e 100644
--- a/frontend/src/components/ProfileDropdown.vue
+++ b/frontend/src/components/ProfileDropdown.vue
@@ -99,7 +99,7 @@
@click.prevent="resetQuickstart"
>{{ $t("common.quickstart") }}</a
>
- <a href="https://bytebase.com/docs" target="_blank" class="menu-item">
+ <a href="https://bytebase.com/docs?source=console" target="_blank" class="menu-item">
{{ $t("common.help") }}
</a>
</div>
diff --git a/frontend/src/components/ProjectCreate.vue b/frontend/src/components/ProjectCreate.vue
index 586d994f51..eb5da0123f 100644
--- a/frontend/src/components/ProjectCreate.vue
+++ b/frontend/src/components/ProjectCreate.vue
@@ -79,7 +79,7 @@
<template #link>
<a
class="normal-link inline-flex items-center"
- href="https://bytebase.com/docs/features/tenant-database-management#database-name-template"
+ href="https://bytebase.com/docs/features/tenant-database-management#database-name-template?source=console"
target="__BLANK"
>
{{ $t("common.learn-more") }}
diff --git a/frontend/src/components/ProjectDeploymentConfigPanel.vue b/frontend/src/components/ProjectDeploymentConfigPanel.vue
index 35c929904b..ae82bf6252 100644
--- a/frontend/src/components/ProjectDeploymentConfigPanel.vue
+++ b/frontend/src/components/ProjectDeploymentConfigPanel.vue
@@ -13,7 +13,7 @@
<template #link>
<a
class="normal-link inline-flex items-center"
- href="https://bytebase.com/docs/features/tenant-database-management#database-name-template"
+ href="https://bytebase.com/docs/features/tenant-database-management#database-name-template?source=console"
target="__BLANK"
>
{{ $t("common.learn-more") }}
diff --git a/frontend/src/components/ProjectWebhookForm.vue b/frontend/src/components/ProjectWebhookForm.vue
index 2979795654..491edafc8c 100644
--- a/frontend/src/components/ProjectWebhookForm.vue
+++ b/frontend/src/components/ProjectWebhookForm.vue
@@ -179,7 +179,7 @@
})
}}
<a
- href="https://www.bytebase.com/docs/use-bytebase/webhook-integration/project-webhook#custom"
+ href="https://www.bytebase.com/docs/use-bytebase/webhook-integration/project-webhook#custom?source=console"
target="__blank"
class="normal-link"
>{{
diff --git a/frontend/src/components/RepositoryForm.vue b/frontend/src/components/RepositoryForm.vue
index e767a9c591..4c846d1264 100644
--- a/frontend/src/components/RepositoryForm.vue
+++ b/frontend/src/components/RepositoryForm.vue
@@ -79,7 +79,7 @@
{{ $t("repository.file-path-template") }}
<span class="text-red-600">*</span>
<a
- href="https://bytebase.com/docs/use-bytebase/vcs-integration/name-and-organize-schema-files#file-path-template"
+ href="https://bytebase.com/docs/use-bytebase/vcs-integration/name-and-organize-schema-files#file-path-template?source=console"
target="__blank"
class="font-normal normal-link"
>
@@ -131,7 +131,7 @@
<div class="textlabel">
{{ $t("repository.schema-path-template") }}
<a
- href="https://bytebase.com/docs/use-bytebase/vcs-integration/name-and-organize-schema-files#schema-path-template"
+ href="https://bytebase.com/docs/use-bytebase/vcs-integration/name-and-organize-schema-files#schema-path-template?source=console"
target="__blank"
class="font-normal normal-link"
>
diff --git a/frontend/src/components/RepositorySetupWizard.vue b/frontend/src/components/RepositorySetupWizard.vue
index 07b84fe644..6b5d0eb850 100644
--- a/frontend/src/components/RepositorySetupWizard.vue
+++ b/frontend/src/components/RepositorySetupWizard.vue
@@ -4,7 +4,7 @@
<i18n-t keypath="repository.setup-wizard-guide">
<template #guide>
<a
- href="https://bytebase.com/docs/use-bytebase/vcs-integration/enable-version-control-workflow"
+ href="https://bytebase.com/docs/use-bytebase/vcs-integration/enable-version-control-workflow?source=console"
target="_blank"
class="normal-link"
>
diff --git a/frontend/src/types/projectWebhook.ts b/frontend/src/types/projectWebhook.ts
index d107e6dbb2..06b057af7a 100644
--- a/frontend/src/types/projectWebhook.ts
+++ b/frontend/src/types/projectWebhook.ts
@@ -45,7 +45,7 @@ export const PROJECT_HOOK_TYPE_ITEM_LIST: () => ProjectWebhookTypeItem[] =
type: "bb.plugin.webhook.custom",
name: t("common.custom"),
urlPrefix:
- "https://www.bytebase.com/docs/use-bytebase/webhook-integration/project-webhook#custom",
+ "https://www.bytebase.com/docs/use-bytebase/webhook-integration/project-webhook#custom?source=console",
},
];
diff --git a/frontend/src/views/BannerDemo.vue b/frontend/src/views/BannerDemo.vue
index ab7cabf6dc..8839fbf941 100644
--- a/frontend/src/views/BannerDemo.vue
+++ b/frontend/src/views/BannerDemo.vue
@@ -13,7 +13,7 @@
class="order-3 mt-2 flex-shrink-0 w-full sm:order-2 sm:mt-0 sm:w-auto"
>
<a
- href="https://www.bytebase.com/docs/install/install-with-docker"
+ href="https://www.bytebase.com/docs/install/install-with-docker?source=console"
target="_blank"
class="flex items-center justify-center pl-4 pr-2 py-2 border border-transparent rounded-md shadow-sm text-base font-medium text-accent bg-white hover:bg-indigo-50"
>
diff --git a/frontend/src/views/SettingWorkspaceLabel.vue b/frontend/src/views/SettingWorkspaceLabel.vue
index 766b9376f1..d8c5d4cd7d 100644
--- a/frontend/src/views/SettingWorkspaceLabel.vue
+++ b/frontend/src/views/SettingWorkspaceLabel.vue
@@ -5,7 +5,7 @@
<template #link>
<a
class="normal-link inline-flex items-center"
- href="https://bytebase.com/docs/features/tenant-database-management#labels"
+ href="https://bytebase.com/docs/features/tenant-database-management#labels?source=console"
target="__BLANK"
>
{{ $t("common.learn-more") }}
diff --git a/frontend/src/views/SettingWorkspaceVCSCreate.vue b/frontend/src/views/SettingWorkspaceVCSCreate.vue
index ca82975fb4..433a7c9841 100644
--- a/frontend/src/views/SettingWorkspaceVCSCreate.vue
+++ b/frontend/src/views/SettingWorkspaceVCSCreate.vue
@@ -4,7 +4,7 @@
<i18n-t keypath="version-control.setting.add-git-provider.description">
<template #guide>
<a
- href="https://bytebase.com/docs/use-bytebase/vcs-integration/overview"
+ href="https://bytebase.com/docs/use-bytebase/vcs-integration/overview?source=console"
target="_blank"
class="normal-link"
>
diff --git a/frontend/src/views/auth/Signup.vue b/frontend/src/views/auth/Signup.vue
index b1a023703b..a08bb6a728 100644
--- a/frontend/src/views/auth/Signup.vue
+++ b/frontend/src/views/auth/Signup.vue
@@ -128,13 +128,13 @@
@click="onToggleAcceptTermsAndPolicyCheckbox"
>
<template #terms>
- <a href="https://www.bytebase.com/terms" class="text-accent">{{
+ <a href="https://www.bytebase.com/terms?source=console" class="text-accent">{{
$t("auth.sign-up.terms-of-service")
}}</a>
</template>
<template #policy>
<a
- href="https://www.bytebase.com/privacy"
+ href="https://www.bytebase.com/privacy?source=console"
class="text-accent"
>{{ $t("auth.sign-up.privacy-policy") }}</a
>
diff --git a/frontend/src/views/sql-editor/EditorPanel/ExecuteHint.vue b/frontend/src/views/sql-editor/EditorPanel/ExecuteHint.vue
index ccb0755b35..119768c569 100644
--- a/frontend/src/views/sql-editor/EditorPanel/ExecuteHint.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/ExecuteHint.vue
@@ -89,7 +89,7 @@ const isDDLSQLStatement = computed(() => {
const ctx = computed(() => sqlEditorStore.connectionContext);
const docLink =
- "https://bytebase.com/docs/concepts/schema-change-workflow#ui-workflow";
+ "https://bytebase.com/docs/concepts/schema-change-workflow#ui-workflow?source=console";
const handleColse = () => {
emit("close");