Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Make setting sidebar also use BBOutline
Tianzhou Chen54eb14b1f3f1
diff --git a/frontend/src/views/SettingSidebar.vue b/frontend/src/views/SettingSidebar.vueindex 74a8b4c721..d7a778ac17 100644--- a/frontend/src/views/SettingSidebar.vue+++ b/frontend/src/views/SettingSidebar.vue@@ -103,40 +103,12 @@>Billing</router-link>- <div- class="pl-4 mt-1 space-y-1"- role="group"- aria-labelledby="projects-headline"- >- <button- @click.prevent="toggleExpand"- class="mt-1 focus:outline-none group w-full flex items-center pr-2 py-2"- >- <svg- v-if="state.expandState"- class="mr-2 h-5 w-5 transform rotate-90 group-hover:text-gray-400 group-focus:text-gray-400 transition-colors ease-in-out duration-150"- viewBox="0 0 20 20"- >- <path d="M6 6L14 10L6 14V6Z" fill="currentColor" />- </svg>- <svg- v-else- class="mr-2 h-5 w-5 transform group-hover:text-gray-400 group-focus:text-gray-400 transition-colors ease-in-out duration-150"- viewBox="0 0 20 20"- >- <path d="M6 6L14 10L6 14V6Z" fill="currentColor" />- </svg>- Integrations- </button>- <!-- Expandable link section, show/hide based on state. -->- <div v-if="state.expandState" class="mt-1 space-y-1">- <router-link- to="/setting/integration/slack"- class="outline-item group w-full flex items-center pl-10 pr-2 py-1"- >- Slack- </router-link>- </div>+ <div class="pl-9 mt-1">+ <BBOutline+ :title="'Integrations'"+ :itemList="integrationList.map((item) => item.name)"+ @click-index="goToIntegration"+ /></div></div></div>@@ -198,8 +170,21 @@ export default {state.expandState = !state.expandState;};+ const integrationList = [+ {+ name: "Slack",+ path: "/setting/integration/slack",+ },+ ];++ const goToIntegration = (index: number) => {+ router.push(integrationList[index].path);+ };+return {state,+ integrationList,+ goToIntegration,goBack,toggleExpand,};