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: deprecate BBTab (#10049)
ecmadao20d5e2ada6ab
diff --git a/frontend/src/NotificationContext.vue b/frontend/src/NotificationContext.vueindex b4d9b02055..6ea4ec7bd7 100644--- a/frontend/src/NotificationContext.vue+++ b/frontend/src/NotificationContext.vue@@ -45,8 +45,18 @@ const watchNotification = () => {type: getNotificationType(item.style),keepAliveOnHover: true,duration,- title: item.title,- content: item.description,+ title: () =>+ h(+ "div",+ { class: "text-sm font-medium text-gray-900 whitespace-pre-wrap" },+ item.title+ ),+ content: () =>+ h(+ "div",+ { class: "text-sm text-gray-500 whitespace-pre-wrap" },+ item.description+ ),meta: () => {if (!item.link || !item.linkTitle) {return undefined;diff --git a/frontend/src/bbkit/BBTab.vue b/frontend/src/bbkit/BBTab.vuedeleted file mode 100644index f64a5eafd6..0000000000--- a/frontend/src/bbkit/BBTab.vue+++ /dev/null@@ -1,120 +0,0 @@-<template>- <div class="border-b border-block-border">- <nav class="-mb-px flex" aria-label="Tabs">- <a- v-for="(item, index) in tabItemList"- :id="item.id"- :key="index"- :href="`#${item.id}`"- class="select-none cursor-pointer flex justify-between py-2 px-1 font-medium border-b-2 whitespace-nowrap"- :class="tabClass(index == selectedIndex)"- @click.self="selectTabIndex(index)"- @mouseenter="state.hoverIndex = index"- @mouseleave="state.hoverIndex = -1"- >- <button- v-if="- index != 0 &&- (reorderModel == 'ALWAYS' ||- (reorderModel == 'HOVER' && state.hoverIndex == index))- "- type="button"- class="text-control hover:text-control-hover focus:outline-none focus-visible:ring-2 focus:ring-accent"- @click.prevent="- () => {- selectTabIndex(index);- $emit('reorder-index', index, index - 1);- }- "- >- <heroicons-solid:arrow-circle-left class="w-6 h-6" />- </button>- <div v-else class="pl-6"></div>- <slot name="item" :item="item" :index="index">- {{ item.title }}- </slot>- <button- v-if="- index != tabItemList.length - 1 &&- (reorderModel == 'ALWAYS' ||- (reorderModel == 'HOVER' && state.hoverIndex == index))- "- type="button"- class="text-control hover:text-control-hover focus:outline-none focus-visible:ring-2 focus:ring-accent"- @click.prevent="- () => {- selectTabIndex(index);- $emit('reorder-index', index, index + 1);- }- "- >- <heroicons-solid:arrow-circle-right class="w-6 h-6" />- </button>- <div v-else class="pr-6"></div>- </a>- <button- v-if="allowCreate"- type="button"- class="flex justify-center py-2 text-control hover:text-control-hover focus:outline-none focus-visible:ring-2 focus:ring-accent"- :class="addTabClass()"- @click.prevent="$emit('create')"- >- <heroicons-solid:plus class="w-6 h-6" />- </button>- </nav>- </div>- <slot />-</template>--<script lang="ts" setup>-import { reactive, withDefaults } from "vue";-import { BBTabItem } from "./types";--export type ReorderModel = "NEVER" | "HOVER" | "ALWAYS";--const props = withDefaults(- defineProps<{- tabItemList: BBTabItem[];- selectedIndex: number;- allowCreate?: boolean;- reorderModel?: ReorderModel;- }>(),- {- allowCreate: false,- reorderModel: "NEVER",- }-);--const emit = defineEmits<{- (event: "create"): void;- (event: "reorder-index", from: number, to: number): void;- (event: "select-index", index: number): void;-}>();--const state = reactive({- hoverIndex: -1,-});--const tabClass = (selected: boolean) => {- const width =- "w-1/" + (props.tabItemList.length + (props.allowCreate ? 1 : 0));- if (selected) {- return width + " text-control-hover border-accent";- }- return (- width +- " border-transparent text-control hover:text-control-hover hover:border-control-border"- );-};--const addTabClass = () => {- if (props.tabItemList.length == 0) {- return "w-1/6 ";- }- return "w-1/12";-};--const selectTabIndex = (index: number) => {- emit("select-index", index);-};-</script>diff --git a/frontend/src/bbkit/index.ts b/frontend/src/bbkit/index.tsindex 92644b6ffe..d3c65473da 100644--- a/frontend/src/bbkit/index.ts+++ b/frontend/src/bbkit/index.ts@@ -7,7 +7,6 @@ import BBDialog from "./BBDialog.vue";import { BBGrid } from "./BBGrid";import BBModal from "./BBModal.vue";import BBSpin from "./BBSpin.vue";-import BBTab from "./BBTab.vue";import {BBTable,BBTableCell,@@ -26,7 +25,6 @@ export {BBModal,BBDialog,BBSpin,- BBTab,BBTable,BBTableCell,BBTableHeaderCell,diff --git a/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue b/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vueindex 529e16c8f1..3582d8d200 100644--- a/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue+++ b/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue@@ -16,118 +16,108 @@<template v-else-if="state.isGeneratingDDL">Generating DDL</template></span></MaskSpinner>- <div- class="w-full flex flex-row justify-between items-center border-b pl-1 border-b-gray-300"- >- <div class="flex items-center flex-start">- <button- class="-mb-px px-3 leading-9 rounded-t-md flex items-center text-sm text-gray-500 border border-b-0 border-transparent cursor-pointer select-none outline-none"- :class="- state.selectedTab === 'schema-editor' &&- 'bg-white !border-gray-300 text-gray-800'- "- @click="handleChangeTab('schema-editor')"- >- {{ $t("schema-editor.self") }}- </button>- <button- class="-mb-px px-3 leading-9 rounded-t-md text-sm text-gray-500 border border-b-0 border-transparent cursor-pointer select-none outline-none"- :class="- state.selectedTab === 'raw-sql' &&- 'bg-white !border-gray-300 text-gray-800'- "- @click="handleChangeTab('raw-sql')"- >- {{ $t("schema-editor.raw-sql") }}- </button>- </div>- <div class="flex items-center flex-end">- <SchemaEditorSQLCheckButton- :database-list="databaseList"- :get-statement="generateOrGetEditingDDL"- />- </div>- </div>- <div class="w-full h-full max-h-full overflow-auto border-b mb-4">- <div- v-show="state.selectedTab === 'schema-editor'"- class="w-full h-full py-2"- >- <SchemaEditorLite- ref="schemaEditorRef"- resource-type="database"- :project="project"- :targets="state.targets"- :loading="state.isPreparingMetadata"- :diff-when-ready="false"- />- </div>- <div- v-show="state.selectedTab === 'raw-sql'"- class="w-full h-full grid grid-rows-[50px,_1fr] overflow-y-auto"- >- <div- class="w-full h-full pl-3 shrink-0 flex flex-row justify-between items-center"++ <div class="w-full h-[46rem] max-h-full overflow-auto flex flex-col">+ <div class="flex-1">+ <NTabs+ v-model:value="state.selectedTab"+ type="card"+ style="height: 100%">- <div>{{ $t("sql-editor.self") }}</div>- <div class="flex flex-row justify-end items-center space-x-3">- <NButton @click="onUploaderClick">- <template #icon>- <heroicons-outline:arrow-up-tray- class="w-4 h-auto text-gray-500"- />- </template>- {{ $t("issue.upload-sql") }}- <input- id="sql-file-input"- ref="sqlFileUploader"- type="file"- accept=".sql,.txt,application/sql,text/plain"- class="hidden"- @change="handleUploadFile"+ <NTabPane+ name="schema-editor"+ :tab="$t('schema-editor.self')"+ style="height: 100%"+ >+ <SchemaEditorLite+ ref="schemaEditorRef"+ resource-type="database"+ :project="project"+ :targets="state.targets"+ :loading="state.isPreparingMetadata"+ :diff-when-ready="false"+ />+ </NTabPane>+ <NTabPane+ name="raw-sql"+ :tab="$t('schema-editor.raw-sql')"+ style="height: 100%"+ >+ <div+ class="w-full h-full grid grid-rows-[50px,_1fr] overflow-y-auto"+ >+ <div+ class="w-full h-full shrink-0 flex flex-row justify-between items-center"+ >+ <div>{{ $t("sql-editor.self") }}</div>+ <div class="flex flex-row justify-end items-center space-x-3">+ <NButton @click="onUploaderClick">+ <template #icon>+ <heroicons-outline:arrow-up-tray+ class="w-4 h-auto text-gray-500"+ />+ </template>+ {{ $t("issue.upload-sql") }}+ <input+ id="sql-file-input"+ ref="sqlFileUploader"+ type="file"+ accept=".sql,.txt,application/sql,text/plain"+ class="hidden"+ @change="handleUploadFile"+ />+ </NButton>+ <NButton @click="handleSyncSQLFromSchemaEditor">+ <template #icon>+ <heroicons-outline:arrow-path+ class="w-4 h-auto text-gray-500"+ />+ </template>+ {{ $t("schema-editor.sync-sql-from-schema-editor") }}+ </NButton>+ </div>+ </div>+ <MonacoEditor+ v-model:content="state.editStatement"+ class="border w-[calc(100%-2px)] h-[calc(100%-2px)]"+ data-label="bb-schema-editor-sql-editor"+ :auto-focus="false"+ :dialect="dialectOfEngineV1(databaseEngine)"/>- </NButton>- <NButton @click="handleSyncSQLFromSchemaEditor">- <template #icon>- <heroicons-outline:arrow-path- class="w-4 h-auto text-gray-500"- />- </template>- {{ $t("schema-editor.sync-sql-from-schema-editor") }}- </NButton>+ </div>+ </NTabPane>+ <template #suffix>+ <SchemaEditorSQLCheckButton+ :database-list="databaseList"+ :get-statement="generateOrGetEditingDDL"+ />+ </template>+ </NTabs>+ </div>++ <div class="w-full flex flex-row justify-between items-center mt-4 pr-px">+ <div class="">+ <div+ v-if="isBatchMode"+ class="flex flex-row items-center text-sm text-gray-500"+ >+ <heroicons-outline:exclamation-circle class="w-4 h-auto mr-1" />+ {{ $t("schema-editor.tenant-mode-tips") }}</div></div>- <MonacoEditor- v-model:content="state.editStatement"- class="w-full h-full border border-b-0"- data-label="bb-schema-editor-sql-editor"- :auto-focus="false"- :dialect="dialectOfEngineV1(databaseEngine)"- />- </div>- </div>- <div class="w-full flex flex-row justify-between items-center mt-4 pr-px">- <div class="">- <div- v-if="isBatchMode"- class="flex flex-row items-center text-sm text-gray-500"- >- <heroicons-outline:exclamation-circle class="w-4 h-auto mr-1" />- {{ $t("schema-editor.tenant-mode-tips") }}+ <div class="flex justify-end items-center space-x-3">+ <NButton @click="dismissModal">+ {{ $t("common.cancel") }}+ </NButton>+ <NButton+ type="primary"+ :disabled="!allowPreviewIssue"+ @click="handlePreviewIssue"+ >+ {{ $t("schema-editor.preview-issue") }}+ </NButton></div></div>- <div class="flex justify-end items-center space-x-3">- <NButton @click="dismissModal">- {{ $t("common.cancel") }}- </NButton>- <NButton- type="primary"- :disabled="!allowPreviewIssue"- @click="handlePreviewIssue"- >- {{ $t("schema-editor.preview-issue") }}- </NButton>- </div></div></BBModal>@@ -143,6 +133,7 @@<script lang="ts" setup>import dayjs from "dayjs";import { cloneDeep, head, uniq } from "lodash-es";+import { NTabs, NTabPane } from "naive-ui";import { computed, onMounted, PropType, reactive, ref, watch } from "vue";import { useI18n } from "vue-i18n";import { useRouter } from "vue-router";@@ -320,10 +311,6 @@ onMounted(async () => {}});-const handleChangeTab = (tab: TabType) => {- state.selectedTab = tab;-};-const dismissModal = () => {if (allowPreviewIssue.value) {state.showActionConfirmModal = true;diff --git a/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vue b/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vueindex 9709f62eff..f504b90402 100644--- a/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vue+++ b/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vue@@ -104,9 +104,7 @@</template><script lang="ts" setup>-import { PencilIcon } from "lucide-vue-next";-import { ChevronUpIcon } from "lucide-vue-next";-import { ChevronDownIcon } from "lucide-vue-next";+import { PencilIcon, ChevronUpIcon, ChevronDownIcon } from "lucide-vue-next";import type { SelectOption } from "naive-ui";import { v4 as uuidv4 } from "uuid";import { computed, reactive, nextTick, onMounted } from "vue";diff --git a/frontend/src/components/v2/Model/EnvironmentV1Name.vue b/frontend/src/components/v2/Model/EnvironmentV1Name.vueindex c82664490b..0275e1a9d6 100644--- a/frontend/src/components/v2/Model/EnvironmentV1Name.vue+++ b/frontend/src/components/v2/Model/EnvironmentV1Name.vue@@ -6,6 +6,7 @@:class="[link && !plain && 'normal-link', link && 'hover:underline']"><span class="line-clamp-1" :class="textClass">+ {{ prefix }}{{ environmentV1Name(environment) }}{{ suffix }}</span>@@ -33,6 +34,7 @@ const props = withDefaults(iconClass?: VueClass;tooltip?: boolean;suffix?: string;+ prefix?: string;showIcon?: boolean;textClass?: string;}>(),@@ -43,6 +45,7 @@ const props = withDefaults(iconClass: undefined,tooltip: false,suffix: "",+ prefix: "",showIcon: true,textClass: "",}diff --git a/frontend/src/views/EnvironmentDashboard.vue b/frontend/src/views/EnvironmentDashboard.vueindex 45ea60ebb0..d6c7b57943 100644--- a/frontend/src/views/EnvironmentDashboard.vue+++ b/frontend/src/views/EnvironmentDashboard.vue@@ -1,47 +1,39 @@<template>- <div class="h-full overflow-hidden flex flex-col">- <BBTab- :tab-item-list="tabItemList"- :selected-index="state.selectedIndex"- :reorder-model="state.reorder ? 'ALWAYS' : 'NEVER'"- @reorder-index="reorderEnvironment"- @select-index="selectEnvironment"+ <div class="h-full flex flex-col">+ <NTabs+ type="line"+ :bar-width="200"+ :value="state.selectedUid"+ size="large"+ justify-content="start"+ tab-style="margin: 0 1rem; padding-left: 2rem; padding: 0 2.5rem 0.5rem 2.5rem;"+ @update:value="onTabChange">- <template- #item="{ item }: { item: BBTabItem<Environment>, index: number }"+ <NTabPane+ v-for="(item, index) in tabItemList"+ :key="item.id"+ :name="item.id"+ :tab="() => renderTab(item.data, index)">- <div class="flex items-center">- {{ item.title }}- <ProductionEnvironmentV1Icon :environment="item.data!" class="ml-1" />- </div>- </template>-- <template v-for="(env, index) in environmentList" :key="env.uid">- <div- v-if="index == state.selectedIndex"- class="flex-1 overflow-y-scroll"- :aria-hidden="index !== state.selectedIndex"- >- <div v-if="state.reorder" class="flex justify-center pt-5 gap-x-3">- <NButton @click.prevent="discardReorder">- {{ $t("common.cancel") }}- </NButton>- <NButton- type="primary"- :disabled="!orderChanged"- @click.prevent="doReorder"- >- {{ $t("common.apply") }}- </NButton>- </div>- <EnvironmentDetail- v-else- :environment-slug="environmentV1Slug(env)"- @archive="doArchive"- />- </div>- </template>- </BBTab>+ <EnvironmentDetail+ v-if="!state.reorder"+ :environment-slug="environmentV1Slug(item.data)"+ @archive="doArchive"+ />+ </NTabPane>+ </NTabs>+ <div v-if="state.reorder" class="flex justify-start pt-5 gap-x-3 px-5">+ <NButton @click.prevent="discardReorder">+ {{ $t("common.cancel") }}+ </NButton>+ <NButton+ type="primary"+ :disabled="!orderChanged"+ @click.prevent="doReorder"+ >+ {{ $t("common.apply") }}+ </NButton>+ </div></div><Drawer v-model:show="state.showCreateModal">@@ -65,9 +57,12 @@</template><script lang="ts" setup>-import { onMounted, computed, reactive, watch } from "vue";+import { ChevronLeftIcon, ChevronRightIcon } from "lucide-vue-next";+import { NTabs, NTabPane } from "naive-ui";+import { onMounted, computed, reactive, watch, h } from "vue";import { useRouter } from "vue-router";-import { Drawer, ProductionEnvironmentV1Icon } from "@/components/v2";+import { Drawer } from "@/components/v2";+import { EnvironmentV1Name, MiniActionButton } from "@/components/v2";import {useRegisterCommand,useUIStateStore,@@ -108,8 +103,8 @@ const DEFAULT_NEW_BACKUP_PLAN_POLICY: Policy = getDefaultBackupPlanPolicy();interface LocalState {+ selectedUid: string;reorderedEnvironmentList: Environment[];- selectedIndex: number;showCreateModal: boolean;reorder: boolean;missingRequiredFeature?:@@ -125,8 +120,8 @@ const policyV1Store = usePolicyV1Store();const router = useRouter();const state = reactive<LocalState>({+ selectedUid: "",reorderedEnvironmentList: [],- selectedIndex: -1,showCreateModal: false,reorder: false,});@@ -311,10 +306,50 @@ const doArchive = (/* environment: Environment */) => {};const selectEnvironment = (index: number) => {- state.selectedIndex = index;+ onTabChange(environmentList.value[index].uid);+};++const onTabChange = (uid: string) => {+ state.selectedUid = uid;router.replace({name: "workspace.environment",- hash: "#" + environmentList.value[index].uid,+ hash: "#" + uid,});};++const renderTab = (env: Environment, index: number) => {+ const child = [+ h(EnvironmentV1Name, {+ environment: env,+ link: false,+ prefix: state.reorder ? "" : `${index + 1}.`,+ }),+ ];+ if (state.reorder) {+ if (index > 0) {+ child.unshift(+ h(+ MiniActionButton,+ {+ onClick: () => reorderEnvironment(index, index - 1),+ },+ h(ChevronLeftIcon, { class: "w-4 h-4" })+ )+ );+ }+ if (index < tabItemList.value.length - 1) {+ child.push(+ h(+ MiniActionButton,+ {+ onClick: () => reorderEnvironment(index, index + 1),+ },+ h(ChevronRightIcon, { class: "w-4 h-4" })+ )+ );+ }+ }++ return h("div", { class: "flex items-center space-x-2" }, child);+};</script>diff --git a/frontend/src/views/SettingSidebar.vue b/frontend/src/views/SettingSidebar.vueindex 0fe47830df..7b14d1ea7b 100644--- a/frontend/src/views/SettingSidebar.vue+++ b/frontend/src/views/SettingSidebar.vue@@ -45,6 +45,13 @@ const getItemClass = (path: string | undefined) => {list.push("router-link-active", "bg-link-hover");}break;+ case "setting.workspace.gitop":+ case "setting.workspace.gitops.create":+ case "setting.workspace.gitops.detail":+ if (path === "/setting/gitops") {+ list.push("router-link-active", "bg-link-hover");+ }+ break;}return list;};diff --git a/frontend/src/views/SettingWorkspaceVCS.vue b/frontend/src/views/SettingWorkspaceVCS.vueindex 34a2a01997..13dae02456 100644--- a/frontend/src/views/SettingWorkspaceVCS.vue+++ b/frontend/src/views/SettingWorkspaceVCS.vue@@ -8,7 +8,7 @@>{{ $t("gitops.setting.description-highlight") }}</a></div>- <div v-if="vcsList.length > 0" class="ml-3">+ <div v-if="vcsList.length > 0" class="flex justify-end"><NButton type="primary" @click.prevent="addVCSProvider">{{ $t("gitops.setting.add-git-provider.self") }}</NButton>@@ -25,48 +25,29 @@</div></template>-<script lang="ts">-import { reactive, computed, watchEffect, defineComponent } from "vue";+<script lang="ts" setup>+import { computed, watchEffect } from "vue";import { useRouter } from "vue-router";import VCSCard from "@/components/VCS/VCSCard.vue";import VCSSetupWizard from "@/components/VCS/VCSSetupWizard.vue";import { useVCSV1Store } from "@/store";-// eslint-disable-next-line @typescript-eslint/no-empty-interface-interface LocalState {}+const vcsV1Store = useVCSV1Store();+const router = useRouter();-export default defineComponent({- name: "SettingWorkspaceVCS",- components: {- VCSCard,- VCSSetupWizard,- },- setup() {- const vcsV1Store = useVCSV1Store();- const router = useRouter();- const state = reactive<LocalState>({});+const prepareVCSList = () => {+ vcsV1Store.fetchVCSList();+};- const prepareVCSList = () => {- vcsV1Store.fetchVCSList();- };+watchEffect(prepareVCSList);- watchEffect(prepareVCSList);-- const vcsList = computed(() => {- return vcsV1Store.getVCSList();- });-- const addVCSProvider = () => {- router.push({- name: "setting.workspace.gitops.create",- });- };-- return {- state,- vcsList,- addVCSProvider,- };- },+const vcsList = computed(() => {+ return vcsV1Store.getVCSList();});++const addVCSProvider = () => {+ router.push({+ name: "setting.workspace.gitops.create",+ });+};</script>diff --git a/frontend/src/views/SettingWorkspaceVCSDetail.vue b/frontend/src/views/SettingWorkspaceVCSDetail.vueindex da0651e37d..7b92c21788 100644--- a/frontend/src/views/SettingWorkspaceVCSDetail.vue+++ b/frontend/src/views/SettingWorkspaceVCSDetail.vue@@ -13,12 +13,11 @@<label for="instanceurl" class="textlabel">{{ $t("common.instance") }} URL</label>- <input+ <BBTextFieldid="instanceurl"name="instanceurl"- type="text"- class="textfield mt-1 w-full"- disabled="true"+ class="mt-1 w-full"+ :disabled="true":value="vcs?.url"/></div>@@ -32,12 +31,11 @@$t("gitops.setting.add-git-provider.basic-info.display-name-label")}}</p>- <input+ <BBTextFieldid="name"- v-model="state.title"+ v-model:value="state.title"name="name"- type="text"- class="textfield mt-1 w-full"+ class="mt-1 w-full"/></div>@@ -74,12 +72,11 @@}}</a></template></p>- <input+ <BBTextFieldid="applicationid"- v-model="state.applicationId"+ v-model:value="state.applicationId"name="applicationid"- type="text"- class="textfield mt-1 w-full"+ class="mt-1 w-full"/></div>@@ -99,12 +96,11 @@{{ $t("gitops.setting.git-provider.azure-secret-label") }}</template></p>- <input+ <BBTextFieldid="secret"- v-model="state.secret"+ v-model:value="state.secret"name="secret"- type="text"- class="textfield mt-1 w-full"+ class="mt-1 w-full":placeholder="$t('common.sensitive-placeholder')"/></div>diff --git a/frontend/src/views/auth/Signin.vue b/frontend/src/views/auth/Signin.vueindex 7f1cb4481e..d98030077b 100644--- a/frontend/src/views/auth/Signin.vue+++ b/frontend/src/views/auth/Signin.vue@@ -92,6 +92,7 @@attr-type="submit"type="primary":disabled="!allowSignin()"+ size="large"style="width: 100%">{{ $t("common.sign-in") }}@@ -200,6 +201,7 @@<NButtonattr-type="submit"type="primary"+ size="large":disabled="!allowSignin(identityProvider.name)"style="width: 100%">@@ -229,6 +231,7 @@<div class="w-full mb-2"><NButtonstyle="width: 100%"+ size="large"@click.prevent="trySigninWithIdentityProvider(identityProvider)">{{diff --git a/frontend/src/views/auth/Signup.vue b/frontend/src/views/auth/Signup.vueindex b9e5ddbbd4..3d19113f91 100644--- a/frontend/src/views/auth/Signup.vue+++ b/frontend/src/views/auth/Signup.vue@@ -185,6 +185,7 @@<NButtonattr-type="submit"type="primary"+ size="large":disabled="!allowSignup"style="width: 100%">