π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
Fix : base list is 3 laned and some text improvements
Naveen MR448d0fa1d554
diff --git a/packages/nc-gui/components/workspace/BaseListModal/BasesHeader.vue b/packages/nc-gui/components/workspace/BaseListModal/BasesHeader.vueindex 640f8d6797..71d280aa1e 100644--- a/packages/nc-gui/components/workspace/BaseListModal/BasesHeader.vue+++ b/packages/nc-gui/components/workspace/BaseListModal/BasesHeader.vue@@ -52,7 +52,7 @@ const onFilterChange = (value: string) => {<div class="nc-bases-header flex items-center gap-2 px-4 py-2 border-b border-nc-border-gray-medium"><!-- Desktop: Show "Bases in {workspace}" --><template v-if="!isCompactView">- <div class="flex-1 flex items-center gap-2 text-bodyDefaultSm font-medium">+ <div class="flex-1 flex items-center gap-2 text-xs font-medium tracking-wide"><slot name="baseListHeader"> </slot><span class="font-normal text-nc-content-gray-muted">({{ baseCount }})</span></div>diff --git a/packages/nc-gui/components/workspace/BaseListModal/BasesSection.vue b/packages/nc-gui/components/workspace/BaseListModal/BasesSection.vueindex 71a8478650..5d24e671cc 100644--- a/packages/nc-gui/components/workspace/BaseListModal/BasesSection.vue+++ b/packages/nc-gui/components/workspace/BaseListModal/BasesSection.vue@@ -149,13 +149,17 @@ onBeforeUnmount(() => {<template><div v-if="bases.length || isFilterApplied" class="nc-bases-section mb-6"><div class="flex items-center gap-2 mb-4 text-xs font-medium text-nc-content-gray-muted capitalize tracking-wide">- <GeneralIcon :icon="sectionConfig.icon" class="w-3.5 h-3.5" />+ <GeneralIcon+ :icon="sectionConfig.icon"+ class="w-3.5 h-3.5"+ :class="type === 'starred' ? 'nc-starred-icon text-nc-content-yellow-dark' : ''"+ /><span>{{ sectionConfig.label }}</span></div><divv-if="bases.length"ref="gridRef"- class="nc-bases-grid grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3"+ class="nc-bases-grid grid grid-cols-2 sm:grid-cols-3 gap-3":class="{ dragging }"><WorkspaceBaseListModalBaseNode@@ -173,6 +177,12 @@ onBeforeUnmount(() => {</template><style scoped lang="scss">+.nc-starred-icon {+ :deep(path) {+ fill: currentColor;+ }+}+.nc-bases-grid {.ghost,.ghost > * {diff --git a/packages/nc-gui/components/workspace/BaseListModal/index.vue b/packages/nc-gui/components/workspace/BaseListModal/index.vueindex a69f03b598..a678a9d23d 100644--- a/packages/nc-gui/components/workspace/BaseListModal/index.vue+++ b/packages/nc-gui/components/workspace/BaseListModal/index.vue@@ -206,7 +206,7 @@ const hasNoSearchResults = computed(() => {@update:active-filter="modalState.activeFilter = $event"><template #baseListHeader>- <span class="text-nc-content-gray-subtle">+ <span class="text-nc-content-gray-muted">{{ $t('objects.projects') }}</span></template>