Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fixes

Smaug67391cf1d58d7763
diff --git a/frontend/app/components/CommandCenter/AdvancedSearchTab.vue b/frontend/app/components/CommandCenter/AdvancedSearchTab.vue
index 614cbc1b..6b6099ba 100644
--- a/frontend/app/components/CommandCenter/AdvancedSearchTab.vue
+++ b/frontend/app/components/CommandCenter/AdvancedSearchTab.vue
@@ -145,9 +145,7 @@ const showSuggestions = ref(false);
const selectedSuggestionIndex = ref(0);
const categoryStore = useCategoriesStore();
-const categoriesTree = new TreeStructure(useSidebarTree().categories.value)
- .generateTree()
- .filter(i => i.data.type === 'category' && i.data.role == 2);
+const categoriesTree = new TreeStructure(useSidebarTree().categories.value).generateTree().filter(i => i.data.type === 'category' && i.data.role == 2);
const allTags = computed(() => {
const tags = new Set<string>();
@@ -309,7 +307,6 @@ function parseTags(tags: string): string[] {
}
.search-filters {
- background: var(--bg-color-secondary);
border-bottom: 1px solid var(--border-color);
flex-shrink: 0;
}
@@ -586,14 +583,15 @@ function parseTags(tags: string): string[] {
}
.no-results {
+ display: flex;
+ justify-content: center;
+ align-items: center;
padding: 40px 20px;
text-align: center;
+ gap: 5px;
.no-results-icon {
- width: 48px;
- height: 48px;
opacity: 0.5;
- margin-bottom: 16px;
}
p {
diff --git a/frontend/app/components/CommandCenter/QuickSearchTab.vue b/frontend/app/components/CommandCenter/QuickSearchTab.vue
index 51f62326..cf8229e4 100644
--- a/frontend/app/components/CommandCenter/QuickSearchTab.vue
+++ b/frontend/app/components/CommandCenter/QuickSearchTab.vue
@@ -9,7 +9,15 @@
<div v-else class="search-results-list">
<div v-for="(items, section) in groupedResults" :key="section" class="section">
<div class="section-title">{{ section }}</div>
- <NuxtLink v-for="item in items" :key="item.id" class="search-result-item" :to="item.path" :class="{ selected: selectedIndex === item.globalIndex }" @click="$emit('selectItem')" @mouseenter="$emit('updateSelectedIndex', item.globalIndex)">
+ <NuxtLink
+ v-for="item in items"
+ :key="item.id"
+ class="search-result-item"
+ :to="item.path"
+ :class="{ selected: selectedIndex === item.globalIndex }"
+ @click="$emit('selectItem')"
+ @mouseenter="$emit('updateSelectedIndex', item.globalIndex)"
+ >
<Icon :name="item.icon" class="result-icon" fill="var(--font-color)" />
<div class="result-content">
<span class="result-title">{{ item.title }}</span>
@@ -224,14 +232,15 @@ defineExpose({ flattenedItems });
}
.no-results {
+ display: flex;
+ justify-content: center;
+ align-items: center;
padding: 40px 20px;
text-align: center;
+ gap: 5px;
.no-results-icon {
- width: 48px;
- height: 48px;
opacity: 0.5;
- margin-bottom: 16px;
}
p {
diff --git a/frontend/app/components/CommandCenter/TabNavigation.vue b/frontend/app/components/CommandCenter/TabNavigation.vue
index 423d088c..c6e556f6 100644
--- a/frontend/app/components/CommandCenter/TabNavigation.vue
+++ b/frontend/app/components/CommandCenter/TabNavigation.vue
@@ -62,7 +62,6 @@ const tabs: Tab[] = [
&.active {
color: var(--primary);
- background: var(--bg-color-secondary);
border-bottom-color: var(--primary);
}
}
diff --git a/frontend/app/components/CommandCenter/index.vue b/frontend/app/components/CommandCenter/index.vue
index 2d347985..91486007 100644
--- a/frontend/app/components/CommandCenter/index.vue
+++ b/frontend/app/components/CommandCenter/index.vue
@@ -40,9 +40,7 @@
<!-- Footer -->
<div class="search-footer">
- <div class="shortcuts">
- <kbd>↑↓</kbd> or <kbd>Tab</kbd>Navigate <kbd>Enter</kbd> Select <kbd>⇄</kbd> Switch tabs <kbd>Escape</kbd> Close
- </div>
+ <div class="shortcuts"><kbd>↑↓</kbd> or <kbd>Tab</kbd>Navigate <kbd>Enter</kbd> Select <kbd>⇄</kbd> Switch tabs <kbd>Escape</kbd> Close</div>
</div>
</div>
</div>
@@ -258,13 +256,13 @@ watch(searchQuery, () => {
.search-footer {
padding: 16px 20px;
- background: var(--bg-color-secondary);
border-top: 1px solid var(--border-color);
flex-shrink: 0;
}
.shortcuts {
display: flex;
+ flex-wrap: wrap;
font-size: 13px;
font-weight: 500;
gap: 10px;
@@ -290,7 +288,7 @@ watch(searchQuery, () => {
}
}
-@media (width <= 768px) {
+@media (max-width: 768px) {
.command-center-modal {
width: 95%;
max-height: 80vh;
@@ -298,7 +296,6 @@ watch(searchQuery, () => {
}
.shortcuts {
- flex-direction: column;
gap: 8px;
}
}