Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: unify margin & padding between elements (#9525)
ecmadao9dfab35f675c
diff --git a/frontend/src/components/AnomalyCenter/AnomalyCenterDashboard.vue b/frontend/src/components/AnomalyCenter/AnomalyCenterDashboard.vueindex 6c6efde240..c240a07d4b 100644--- a/frontend/src/components/AnomalyCenter/AnomalyCenterDashboard.vue+++ b/frontend/src/components/AnomalyCenter/AnomalyCenterDashboard.vue@@ -85,9 +85,11 @@"/></div>- <BBTableSearch++ <SearchBoxref="searchField"- class="w-72"+ v-model:value="state.searchText"+ style="width: 18rem":placeholder="$t('anomaly.table-search-placeholder', {type:@@ -96,7 +98,6 @@: $t('common.instance'),})"- @change-text="(text:string) => changeSearchText(text)"/></div><template v-if="state.selectedTab === 'database'">@@ -418,9 +419,5 @@ const tabItemList = computed((): AnomalyTabFilterItem[] => {];});-const changeSearchText = (searchText: string) => {- state.searchText = searchText;-};-const hasSchemaDriftFeature = featureToRef("bb.feature.schema-drift");</script>diff --git a/frontend/src/components/Changelist/ChangelistDashboard/ChangelistDashboard.vue b/frontend/src/components/Changelist/ChangelistDashboard/ChangelistDashboard.vueindex c00abaaed5..30da724890 100644--- a/frontend/src/components/Changelist/ChangelistDashboard/ChangelistDashboard.vue+++ b/frontend/src/components/Changelist/ChangelistDashboard/ChangelistDashboard.vue@@ -1,5 +1,5 @@<template>- <div class="flex flex-col gap-y-3">+ <div class="flex flex-col gap-y-4"><NavBar :disable-project-select="!!project" /><ChangelistTablediff --git a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/CustomApproval.vue b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/CustomApproval.vueindex 989a0ee35f..0d9942df16 100644--- a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/CustomApproval.vue+++ b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/CustomApproval.vue@@ -1,9 +1,6 @@<template><div class="w-full"><NTabs v-model:value="tab">- <template #suffix>- <Toolbar />- </template><NTabPanename="rules":tab="$t('custom-approval.rule.rules')"@@ -34,7 +31,6 @@ import { provideRiskFilter } from "../common/RiskFilter";import ExternalApprovalNodesPanel from "./ExternalApprovalNodesPanel";import FlowsPanel from "./FlowsPanel";import RulesPanel from "./RulesPanel";-import Toolbar from "./Toolbar.vue";import { useCustomApprovalContext } from "./context";const { tab } = useCustomApprovalContext();diff --git a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/ExternalApprovalNodesPanel/ExternalApprovalNodesPanel.vue b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/ExternalApprovalNodesPanel/ExternalApprovalNodesPanel.vueindex 099ed0f582..7b906ebea2 100644--- a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/ExternalApprovalNodesPanel/ExternalApprovalNodesPanel.vue+++ b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/ExternalApprovalNodesPanel/ExternalApprovalNodesPanel.vue@@ -1,9 +1,11 @@<template>- <div>+ <div class="flex flex-col items-end space-y-4">+ <ExternalApprovalNodesToolbar /><NodeTable /></div></template><script setup lang="ts">import NodeTable from "./NodeTable.vue";+import ExternalApprovalNodesToolbar from "./Toolbar.vue";</script>diff --git a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/ExternalApprovalNodesPanel/NodeTable.vue b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/ExternalApprovalNodesPanel/NodeTable.vueindex 09b845e40b..2496ffc0fd 100644--- a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/ExternalApprovalNodesPanel/NodeTable.vue+++ b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/ExternalApprovalNodesPanel/NodeTable.vue@@ -1,5 +1,6 @@<template><BBGrid+ class="border w-full":column-list="COLUMN_LIST":data-source="nodeList":row-clickable="false"diff --git a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowTable.vue b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowTable.vueindex 85fd7880a6..fbbcd2f2d2 100644--- a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowTable.vue+++ b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowTable.vue@@ -1,5 +1,6 @@<template><BBGrid+ class="border w-full":column-list="COLUMN_LIST":data-source="filteredApprovalRuleList":row-clickable="false"diff --git a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowsPanel.vue b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowsPanel.vueindex 52abcf26dd..95cd4efb17 100644--- a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowsPanel.vue+++ b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowsPanel.vue@@ -1,7 +1,11 @@<template>- <FlowTable />+ <div class="flex flex-col items-end space-y-4">+ <FlowsToolbar />+ <FlowTable />+ </div></template><script lang="ts" setup>import FlowTable from "./FlowTable.vue";+import FlowsToolbar from "./Toolbar.vue";</script>diff --git a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/Toolbar.vue b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/Toolbar.vuedeleted file mode 100644index 7c833ba84e..0000000000--- a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/Toolbar.vue+++ /dev/null@@ -1,12 +0,0 @@-<template>- <FlowsToolbar v-if="tab === 'flows'" />- <ExternalApprovalNodesToolbar v-if="tab === 'external-approval'" />-</template>--<script lang="ts" setup>-import ExternalApprovalNodesToolbar from "./ExternalApprovalNodesPanel/Toolbar.vue";-import FlowsToolbar from "./FlowsPanel/Toolbar.vue";-import { useCustomApprovalContext } from "./context";--const { tab } = useCustomApprovalContext();-</script>diff --git a/frontend/src/components/CustomApproval/Settings/components/common/RiskFilter/RiskFilter.vue b/frontend/src/components/CustomApproval/Settings/components/common/RiskFilter/RiskFilter.vueindex 59ebcd20b2..293e5a186f 100644--- a/frontend/src/components/CustomApproval/Settings/components/common/RiskFilter/RiskFilter.vue+++ b/frontend/src/components/CustomApproval/Settings/components/common/RiskFilter/RiskFilter.vue@@ -1,11 +1,11 @@<template>- <div class="space-y-2">+ <div class="space-y-4"><div class="flex items-center justify-between"><div><LevelFilter v-if="!hideLevelFilter" /></div>- <div class="flex items-center justify-end gap-x-4">+ <div class="flex items-center justify-end gap-x-2"><NInputv-if="!hideSearch"v-model:value="search"diff --git a/frontend/src/components/ProjectBranchesPanel.vue b/frontend/src/components/ProjectBranchesPanel.vueindex ad5e7c5cc5..33f9290077 100644--- a/frontend/src/components/ProjectBranchesPanel.vue+++ b/frontend/src/components/ProjectBranchesPanel.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-3 w-full overflow-x-auto">+ <div class="space-y-4 w-full overflow-x-auto"><div class="w-full flex flex-row justify-between items-center"><div class="flex flex-row justify-start items-center"></div><div class="flex flex-row justify-end items-center gap-x-2">diff --git a/frontend/src/components/ProjectDatabasesPanel.vue b/frontend/src/components/ProjectDatabasesPanel.vueindex 0d0c862c8c..23bf5d9626 100644--- a/frontend/src/components/ProjectDatabasesPanel.vue+++ b/frontend/src/components/ProjectDatabasesPanel.vue@@ -1,7 +1,7 @@<template>- <div class="space-y-2">+ <div class="space-y-4"><div- class="text-lg font-medium leading-7 text-main flex flex-col lg:flex-row items-start lg:items-center justify-between space-y-2"+ class="text-lg font-medium leading-7 text-main flex flex-col lg:flex-row items-start lg:items-end justify-between space-y-2"><EnvironmentTabFilter:environment="state.environment"diff --git a/frontend/src/components/Role/Setting/RoleSetting.vue b/frontend/src/components/Role/Setting/RoleSetting.vueindex 7381c44eee..9d5f1b3156 100644--- a/frontend/src/components/Role/Setting/RoleSetting.vue+++ b/frontend/src/components/Role/Setting/RoleSetting.vue@@ -1,36 +1,32 @@<template>- <div class="space-y-4 pb-4">- <div class="flex items-center justify-between gap-x-6">- <div class="flex-1 textinfolabel">- {{ $t("role.setting.description") }}- <a- href="https://www.bytebase.com/docs/administration/custom-roles?source=console"- class="normal-link text-sm inline-flex flex-row items-center"- target="_blank"- >- {{ $t("common.learn-more") }}- <heroicons-outline:external-link class="w-4 h-4" />- </a>- </div>- <div>- <NButton type="primary" :disabled="!allowAdmin" @click="addRole">- {{ $t("role.setting.add") }}- </NButton>- </div>+ <div class="space-y-4">+ <div class="flex items-center justify-end">+ <NButton type="primary" :disabled="!allowAdmin" @click="addRole">+ {{ $t("role.setting.add") }}+ </NButton></div>- <div>- <RoleTable- :role-list="filteredRoleList"- :show-placeholder="state.ready"- @select-role="selectRole($event, 'EDIT')"- />-- <div- v-if="!state.ready"- class="relative flex flex-col h-[8rem] items-center justify-center"+ <div class="textinfolabel">+ {{ $t("role.setting.description") }}+ <a+ href="https://www.bytebase.com/docs/administration/custom-roles?source=console"+ class="normal-link text-sm inline-flex flex-row items-center"+ target="_blank">- <BBSpin />- </div>+ {{ $t("common.learn-more") }}+ <heroicons-outline:external-link class="w-4 h-4" />+ </a>+ </div>+ <RoleTable+ :role-list="filteredRoleList"+ :show-placeholder="state.ready"+ @select-role="selectRole($event, 'EDIT')"+ />++ <div+ v-if="!state.ready"+ class="relative flex flex-col h-[8rem] items-center justify-center"+ >+ <BBSpin /></div><RolePaneldiff --git a/frontend/src/components/SQLReview/SQLReviewPolicyTable.vue b/frontend/src/components/SQLReview/SQLReviewPolicyTable.vueindex 44b65b0646..e54a9683aa 100644--- a/frontend/src/components/SQLReview/SQLReviewPolicyTable.vue+++ b/frontend/src/components/SQLReview/SQLReviewPolicyTable.vue@@ -31,7 +31,7 @@@toggle="toggleReviewEnabled(review!, $event)"/></div>- <div class="bb-grid-cell gap-x-[14px] !pr-[3rem]">+ <div class="bb-grid-cell gap-x-2 !pr-[3rem]"><template v-if="!review"><buttontype="button"diff --git a/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vue b/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vueindex 688a929179..01862e0b70 100644--- a/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vue+++ b/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vue@@ -1,7 +1,7 @@<template><div class="w-full space-y-4"><div class="flex flex-row items-center justify-end">- <div v-if="state.reorderRules" class="flex items-center gap-x-3">+ <div v-if="state.reorderRules" class="flex items-center gap-x-2"><NButton:disabled="state.processing"@click="@@ -21,7 +21,7 @@{{ $t("common.confirm") }}</NButton></div>- <div v-else class="flex items-center gap-x-3">+ <div v-else class="flex items-center gap-x-2"><NButtonsecondarytype="primary"diff --git a/frontend/src/components/SensitiveData/MaskingAlgorithmsView.vue b/frontend/src/components/SensitiveData/MaskingAlgorithmsView.vueindex 0bc9d9b2ea..2f0c025289 100644--- a/frontend/src/components/SensitiveData/MaskingAlgorithmsView.vue+++ b/frontend/src/components/SensitiveData/MaskingAlgorithmsView.vue@@ -1,6 +1,6 @@<template><div class="w-full space-y-4">- <div class="flex items-center justify-end mt-2">+ <div class="flex items-center justify-end"><NButtontype="primary":disabled="!hasPermission || !hasSensitiveDataFeature"diff --git a/frontend/src/components/SlowQuery/Panel/SlowQueryPanel.vue b/frontend/src/components/SlowQuery/Panel/SlowQueryPanel.vueindex e00330f81c..dcc0f5f02c 100644--- a/frontend/src/components/SlowQuery/Panel/SlowQueryPanel.vue+++ b/frontend/src/components/SlowQuery/Panel/SlowQueryPanel.vue@@ -1,5 +1,5 @@<template>- <div>+ <div class="space-y-4"><div v-if="filterTypes.length > 0"><LogFilter:params="filter"diff --git a/frontend/src/components/SlowQuery/Settings/SlowQuerySettings.vue b/frontend/src/components/SlowQuery/Settings/SlowQuerySettings.vueindex 107dcbc360..94737652cd 100644--- a/frontend/src/components/SlowQuery/Settings/SlowQuerySettings.vue+++ b/frontend/src/components/SlowQuery/Settings/SlowQuerySettings.vue@@ -19,15 +19,13 @@/><SearchBox v-model:value="state.filter.keyword" /></div>- <div>- <SlowQueryPolicyTable- :composed-slow-query-policy-list="filteredComposedSlowQueryPolicyList"- :policy-list="policyList"- :toggle-active="toggleActive"- :ready="state.ready"- :show-placeholder="true"- />- </div>+ <SlowQueryPolicyTable+ :composed-slow-query-policy-list="filteredComposedSlowQueryPolicyList"+ :policy-list="policyList"+ :toggle-active="toggleActive"+ :ready="state.ready"+ :show-placeholder="true"+ /></div></template>diff --git a/frontend/src/views/AnomalyCenterDashboard.vue b/frontend/src/views/AnomalyCenterDashboard.vueindex 32f6f0218d..0a02048da9 100644--- a/frontend/src/views/AnomalyCenterDashboard.vue+++ b/frontend/src/views/AnomalyCenterDashboard.vue@@ -1,5 +1,5 @@<template>- <div class="p-6">+ <div class="px-4 py-6"><AnomalyCenterDashboard :selected-tab="selectedTab" /></div></template>diff --git a/frontend/src/views/Archive.vue b/frontend/src/views/Archive.vueindex 3a4fae6cbf..5241ef26ec 100644--- a/frontend/src/views/Archive.vue+++ b/frontend/src/views/Archive.vue@@ -1,6 +1,6 @@<template>- <div class="flex flex-col space-y-2">- <div class="flex justify-between items-center">+ <div class="flex flex-col space-y-4">+ <div class="flex justify-between items-end"><BBTabFilter:tab-item-list="tabItemList":selected-index="state.selectedIndex"@@ -10,11 +10,9 @@}"/>- <BBTableSearch- ref="searchField"- class="w-56"+ <SearchBox+ v-model:value="state.searchText":placeholder="searchFieldPlaceholder"- @change-text="(text: string) => changeSearchText(text)"/></div><div class="border-x">@@ -41,8 +39,8 @@</div></template>-<script lang="ts">-import { computed, defineComponent, reactive, watchEffect } from "vue";+<script lang="ts" setup>+import { computed, reactive, watchEffect } from "vue";import { useI18n } from "vue-i18n";import { BBTabFilterItem } from "@/bbkit/types";import IdentityProviderTable from "@/components/IdentityProviderTable.vue";@@ -75,171 +73,136 @@ interface LocalState {searchText: string;}-export default defineComponent({- name: "Archive",- components: {- EnvironmentV1Table,- InstanceV1Table,- ProjectV1Table,- IdentityProviderTable,- },- setup() {- const { t } = useI18n();- const instanceStore = useInstanceV1Store();-- const state = reactive<LocalState>({- selectedIndex: PROJECT_TAB,- searchText: "",- });-- const currentUserV1 = useCurrentUserV1();-- const searchFieldPlaceholder = computed(() => {- if (state.selectedIndex == PROJECT_TAB) {- return t("archive.project-search-bar-placeholder");- } else if (state.selectedIndex == INSTANCE_TAB) {- return t("archive.instance-search-bar-placeholder");- } else if (state.selectedIndex == ENVIRONMENT_TAB) {- return t("archive.environment-search-bar-placeholder");- } else if (state.selectedIndex == SSO_TAB) {- return t("archive.sso-search-bar-placeholder");- } else {- return "";- }- });-- const { projectList } = useProjectV1ListByCurrentUser(- true /* showDeleted */- );-- const prepareList = () => {- if (- hasWorkspacePermissionV1(- "bb.permission.workspace.manage-instance",- currentUserV1.value.userRole- )- ) {- instanceStore.fetchInstanceList(true /* showDeleted */);-- useEnvironmentV1Store().fetchEnvironments(true);- }- };-- watchEffect(prepareList);-- const instanceList = computed(() => {- return instanceStore.instanceList.filter(- (instance) => instance.state === State.DELETED- );- });-- const environmentList = computed(() => {- return useEnvironmentV1Store().environmentList.filter(- (env) => env.state === State.DELETED- );- });-- const deletedSSOList = computed(() => {- return useIdentityProviderStore().deletedIdentityProviderList;- });-- const tabItemList = computed((): BBTabFilterItem[] => {- const list: BBTabFilterItem[] = [- { title: t("common.project"), alert: false },- ];-- if (- hasWorkspacePermissionV1(- "bb.permission.workspace.manage-instance",- currentUserV1.value.userRole- )- ) {- list.push({ title: t("common.instance"), alert: false });- }-- if (- hasWorkspacePermissionV1(- "bb.permission.workspace.manage-environment",- currentUserV1.value.userRole- )- ) {- list.push({ title: t("common.environment"), alert: false });- }-- if (- hasWorkspacePermissionV1(- "bb.permission.workspace.manage-sso",- currentUserV1.value.userRole- )- ) {- list.push({ title: t("settings.sidebar.sso"), alert: false });- }-- return list;- });-- const filteredProjectList = computed(() => {- const list = projectList.value.filter(- (project) => project.state === State.DELETED- );- return filterProjectV1ListByKeyword(list, state.searchText);- });-- const filteredInstanceList = computed(() => {- const keyword = state.searchText.trim();- if (!keyword) {- return instanceList.value;- }- return instanceList.value.filter((instance) => {- return instance.title- .toLowerCase()- .includes(state.searchText.toLowerCase());- });- });-- const filteredEnvironmentList = computed(() => {- const list = environmentList.value;- const keyword = state.searchText.trim().toLowerCase();- if (!keyword) {- return list;- }- return list.filter((environment) => {- environment.title.toLowerCase().includes(keyword);- });- });-- const filteredSSOList = (list: IdentityProvider[]) => {- if (!state.searchText) {- return list;- }- return list.filter((identityProvider) => {- return identityProvider.name- .toLowerCase()- .includes(state.searchText.toLowerCase());- });- };-- const changeSearchText = (searchText: string) => {- state.searchText = searchText;- };-- return {- PROJECT_TAB,- INSTANCE_TAB,- ENVIRONMENT_TAB,- SSO_TAB,- state,- instanceList,- environmentList,- deletedSSOList,- tabItemList,- searchFieldPlaceholder,- filteredProjectList,- filteredInstanceList,- filteredEnvironmentList,- filteredSSOList,- changeSearchText,- };- },+const { t } = useI18n();+const instanceStore = useInstanceV1Store();++const state = reactive<LocalState>({+ selectedIndex: PROJECT_TAB,+ searchText: "",+});++const currentUserV1 = useCurrentUserV1();++const searchFieldPlaceholder = computed(() => {+ if (state.selectedIndex == PROJECT_TAB) {+ return t("archive.project-search-bar-placeholder");+ } else if (state.selectedIndex == INSTANCE_TAB) {+ return t("archive.instance-search-bar-placeholder");+ } else if (state.selectedIndex == ENVIRONMENT_TAB) {+ return t("archive.environment-search-bar-placeholder");+ } else if (state.selectedIndex == SSO_TAB) {+ return t("archive.sso-search-bar-placeholder");+ } else {+ return "";+ }+});++const { projectList } = useProjectV1ListByCurrentUser(true /* showDeleted */);++const prepareList = () => {+ if (+ hasWorkspacePermissionV1(+ "bb.permission.workspace.manage-instance",+ currentUserV1.value.userRole+ )+ ) {+ instanceStore.fetchInstanceList(true /* showDeleted */);++ useEnvironmentV1Store().fetchEnvironments(true);+ }+};++watchEffect(prepareList);++const instanceList = computed(() => {+ return instanceStore.instanceList.filter(+ (instance) => instance.state === State.DELETED+ );+});++const environmentList = computed(() => {+ return useEnvironmentV1Store().environmentList.filter(+ (env) => env.state === State.DELETED+ );});++const deletedSSOList = computed(() => {+ return useIdentityProviderStore().deletedIdentityProviderList;+});++const tabItemList = computed((): BBTabFilterItem[] => {+ const list: BBTabFilterItem[] = [+ { title: t("common.project"), alert: false },+ ];++ if (+ hasWorkspacePermissionV1(+ "bb.permission.workspace.manage-instance",+ currentUserV1.value.userRole+ )+ ) {+ list.push({ title: t("common.instance"), alert: false });+ }++ if (+ hasWorkspacePermissionV1(+ "bb.permission.workspace.manage-environment",+ currentUserV1.value.userRole+ )+ ) {+ list.push({ title: t("common.environment"), alert: false });+ }++ if (+ hasWorkspacePermissionV1(+ "bb.permission.workspace.manage-sso",+ currentUserV1.value.userRole+ )+ ) {+ list.push({ title: t("settings.sidebar.sso"), alert: false });+ }++ return list;+});++const filteredProjectList = computed(() => {+ const list = projectList.value.filter(+ (project) => project.state === State.DELETED+ );+ return filterProjectV1ListByKeyword(list, state.searchText);+});++const filteredInstanceList = computed(() => {+ const keyword = state.searchText.trim();+ if (!keyword) {+ return instanceList.value;+ }+ return instanceList.value.filter((instance) => {+ return instance.title+ .toLowerCase()+ .includes(state.searchText.toLowerCase());+ });+});++const filteredEnvironmentList = computed(() => {+ const list = environmentList.value;+ const keyword = state.searchText.trim().toLowerCase();+ if (!keyword) {+ return list;+ }+ return list.filter((environment) => {+ environment.title.toLowerCase().includes(keyword);+ });+});++const filteredSSOList = (list: IdentityProvider[]) => {+ if (!state.searchText) {+ return list;+ }+ return list.filter((identityProvider) => {+ return identityProvider.name+ .toLowerCase()+ .includes(state.searchText.toLowerCase());+ });+};</script>diff --git a/frontend/src/views/DatabaseDashboard.vue b/frontend/src/views/DatabaseDashboard.vueindex 8bb5f5965c..957bfcb7d6 100644--- a/frontend/src/views/DatabaseDashboard.vue+++ b/frontend/src/views/DatabaseDashboard.vue@@ -1,7 +1,7 @@<template>- <div class="flex flex-col relative">+ <div class="flex flex-col relative space-y-4"><div- class="px-4 py-2 flex flex-col lg:flex-row justify-between items-start lg:items-center"+ class="px-4 flex flex-col lg:flex-row justify-between items-start lg:items-end"><EnvironmentTabFilter:include-all="true"diff --git a/frontend/src/views/ExportCenter/index.vue b/frontend/src/views/ExportCenter/index.vueindex fac96f0a59..a4c49d9600 100644--- a/frontend/src/views/ExportCenter/index.vue+++ b/frontend/src/views/ExportCenter/index.vue@@ -1,5 +1,5 @@<template>- <div class="w-full p-6">+ <div class="w-full px-4 py-6"><divclass="w-full flex flex-col lg:flex-row items-start lg:items-center justify-between gap-y-2">@@ -36,7 +36,7 @@<NButton type="primary" @click="handleRequestExportClick"><FeatureBadgefeature="bb.feature.access-control"- custom-class="mr-2"+ custom-class="text-white pointer-events-none mr-2"/>{{ $t("quick-action.request-export-data") }}</NButton>diff --git a/frontend/src/views/InstanceDashboard.vue b/frontend/src/views/InstanceDashboard.vueindex 617faaa9f7..e20b763068 100644--- a/frontend/src/views/InstanceDashboard.vue+++ b/frontend/src/views/InstanceDashboard.vue@@ -1,12 +1,11 @@<template>- <div class="flex flex-col">+ <div class="flex flex-col space-y-4"><FeatureAttentionv-if="remainingInstanceCount <= 3"- custom-class="m-4"feature="bb.feature.instance-count":description="instanceCountAttention"/>- <div class="px-4 py-2 flex justify-between items-center">+ <div class="px-4 flex flex-row justify-between items-end"><EnvironmentTabFilter:environment="selectedEnvironment?.name":include-all="true"diff --git a/frontend/src/views/InstanceDetail.vue b/frontend/src/views/InstanceDetail.vueindex f3e2d6941f..d11a0dd6bd 100644--- a/frontend/src/views/InstanceDetail.vue+++ b/frontend/src/views/InstanceDetail.vue@@ -7,7 +7,7 @@<EngineIcon :engine="instance.engine" custom-class="!h-6" /><span class="text-lg font-medium">{{ instanceV1Name(instance) }}</span></div>- <div class="flex items-center gap-x-4">+ <div class="flex items-center gap-x-2"><NButtonv-if="allowEdit":loading="state.syncingSchema"diff --git a/frontend/src/views/ProjectDashboard.vue b/frontend/src/views/ProjectDashboard.vueindex 5ea1a7bac3..10e89b4983 100644--- a/frontend/src/views/ProjectDashboard.vue+++ b/frontend/src/views/ProjectDashboard.vue@@ -1,6 +1,6 @@<template>- <div class="flex flex-col">- <div class="px-2 py-2 flex justify-end items-center">+ <div class="flex flex-col space-y-4">+ <div class="px-4 flex justify-end items-center"><SearchBox:value="state.searchText":placeholder="$t('common.filter-by-name')"diff --git a/frontend/src/views/SettingWorkspaceProject.vue b/frontend/src/views/SettingWorkspaceProject.vueindex d77e0d7f10..586522aa0c 100644--- a/frontend/src/views/SettingWorkspaceProject.vue+++ b/frontend/src/views/SettingWorkspaceProject.vue@@ -1,12 +1,8 @@<template>- <div class="flex flex-col">- <BBAttention- class="mb-4"- :style="'INFO'"- :title="$t('setting.project.description')"- />+ <div class="flex flex-col space-y-4">+ <BBAttention :style="'INFO'" :title="$t('setting.project.description')" />- <div class="py-2 flex justify-between items-center">+ <div class="flex justify-between items-end"><NCheckbox v-model:checked="state.includesArchived"><span class="textinfolabel">{{ $t("setting.project.show-archived") }}diff --git a/frontend/src/views/SlowQuery/SlowQueryDashboard.vue b/frontend/src/views/SlowQuery/SlowQueryDashboard.vueindex 18c4bf4728..56b3a9aecc 100644--- a/frontend/src/views/SlowQuery/SlowQueryDashboard.vue+++ b/frontend/src/views/SlowQuery/SlowQueryDashboard.vue@@ -1,5 +1,5 @@<template>- <div class="p-6">+ <div class="px-4 py-6"><SlowQueryPanel v-if="ready" v-model:filter="filter" /></div></template>