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

Smaug67398a56eb27bb82
diff --git a/frontend/app/components/CommandCenter.vue b/frontend/app/components/CommandCenter.vue
deleted file mode 100644
index 884d0072..00000000
--- a/frontend/app/components/CommandCenter.vue
+++ /dev/null
@@ -1,506 +0,0 @@
-<template>
- <Teleport to="body">
- <div v-if="isOpen" class="global-search-overlay" @click="closeSearch">
- <div class="global-search-modal" @click.stop>
- <!-- Header -->
- <div class="search-header">
- <div class="search-input-wrapper">
- <Icon name="search" class="search-icon" fill="var(--font-color)" />
- <input ref="searchInput" v-model="searchQuery" type="text" placeholder="Search for a page, action, or document..." class="search-input" @keydown="handleSearchKeydown" />
- </div>
- <button class="close-btn" @click="closeSearch">
- <Icon name="close" />
- </button>
- </div>
-
- <!-- Results -->
- <div class="search-results">
- <div v-if="searchQuery && flattenedItems.length === 0" class="no-results">
- <Icon fill="var(--font-color)" name="search" class="no-results-icon" />
- <p>No results found for "{{ searchQuery }}"</p>
- </div>
-
- <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="closeSearch" @mouseenter="selectedIndex = item.globalIndex">
- <Icon :name="item.icon" class="result-icon" fill="var(--font-color)" />
- <div class="result-content">
- <span class="result-title">{{ item.title }}</span>
- <span class="result-description">{{ item.description }}</span>
- </div>
- <Icon name="new_tab" class="navigate-icon" />
- </NuxtLink>
- </div>
- </div>
- </div>
-
- <!-- Footer -->
- <div class="search-footer">
- <div class="shortcuts"><kbd>↑↓</kbd> Navigate <kbd>Enter</kbd> Select <kbd>Escape</kbd> Close</div>
- </div>
- </div>
- </div>
- </Teleport>
-</template>
-
-<script setup lang="ts">
-import CreateCategoryModal from '~/pages/dashboard/categories/_modals/CreateCategoryModal.vue';
-import { quickActions, availablePages, type SearchResult, type BaseCommand } from '@/helpers/navigation';
-
-const router = useRouter();
-const isOpen = ref(false);
-const documentsStore = useDocumentsStore();
-const searchQuery = ref('');
-const selectedIndex = ref(0);
-const searchInput = ref<HTMLInputElement>();
-
-// *********** Utils ***********
-function tokenize(text: string) {
- return text.trim().toLowerCase().split(/\s+/).filter(Boolean);
-}
-function matchesTokens(haystack: string, tokens: string[]) {
- const value = haystack.toLowerCase();
- return tokens.every(t => value.includes(t));
-}
-function filterByTokens<T>(items: T[], getText: (item: T) => string): T[] {
- const tokens = tokenize(searchQuery.value);
- if (tokens.length === 0) return items;
- return items.filter(item => matchesTokens(getText(item), tokens));
-}
-
-// ******** Filtered data ***********
-const filteredActions = computed(() => filterByTokens(quickActions, a => `${a.title} ${a.description}`));
-
-const filteredDocuments = computed<SearchResult[]>(() =>
- filterByTokens(documentsStore.getAll, d => {
- const name = d.name || '';
- const tags = Array.isArray(d.tags) ? d.tags.join(' ') : String(d.tags || '');
- return `${name} ${tags}`;
- })
- .slice(0, 5)
- .map(d => ({
- id: d.id,
- title: d.name,
- description: d.tags ? `#${String(d.tags)}` : 'Document',
- icon: 'files',
- path: `/dashboard/docs/${d.id}`,
- category: 'Documents',
- })),
-);
-
-const filteredPages = computed(() => filterByTokens(availablePages, p => `${p.title} ${p.description} ${p.category}`));
-
-// ******** Flattened results ********
-interface FlattenedItem extends BaseCommand {
- section: string;
- globalIndex: number;
-}
-
-const flattenedItems = computed(() => {
- const items: FlattenedItem[] = [];
- let globalIndex = 0;
-
- const pushWithIndex = (arr: Omit<FlattenedItem, 'section' | 'globalIndex'>[], section: string) => {
- arr.forEach(item => {
- items.push({ ...item, section, globalIndex });
- globalIndex++;
- });
- };
-
- pushWithIndex(
- filteredActions.value.map(a => ({
- id: `action-${a.id}`,
- icon: a.icon,
- title: a.title,
- description: a.description,
- path: a.path,
- })),
- 'Pages & actions',
- );
-
- pushWithIndex(
- filteredPages.value.map(p => ({
- id: `page-${p.id}`,
- icon: p.icon,
- title: p.title,
- description: p.description,
- path: p.path,
- })),
- 'Pages & actions',
- );
-
- pushWithIndex(
- filteredDocuments.value.map(d => ({
- id: `doc-${d.id}`,
- icon: d.icon,
- title: d.title,
- description: d.description,
- path: d.path,
- })),
- 'Documents',
- );
-
- return items;
-});
-
-const groupedResults = computed(() => {
- return flattenedItems.value.reduce((acc, item) => {
- (acc[item.section] ||= []).push(item);
- return acc;
- }, {} as Record<string, typeof flattenedItems.value>);
-});
-
-// ******** Lifecycle ********
-onMounted(() => {
- const handleGlobalKeydown = (e: KeyboardEvent) => {
- if ((e.ctrlKey || e.metaKey) && e.key === 'k') {
- e.preventDefault();
- openSearch();
- } else if ((e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 'u') {
- e.preventDefault();
- router.push('/dashboard/cdn');
- } else if ((e.ctrlKey || e.metaKey) && e.altKey && e.key.toLowerCase() === 'n') {
- e.preventDefault();
- useModal().add(new Modal(shallowRef(CreateCategoryModal), { role: 1 }));
- } else if (e.key === 'Escape' && isOpen.value) {
- closeSearch();
- }
- };
-
- document.addEventListener('keydown', handleGlobalKeydown);
- const openListener = () => openSearch();
- document.addEventListener('global-search-open', openListener as EventListener);
-
- onUnmounted(() => {
- document.removeEventListener('keydown', handleGlobalKeydown);
- document.removeEventListener('global-search-open', openListener as EventListener);
- });
-});
-
-// --- Methods ---
-function openSearch() {
- isOpen.value = true;
- selectedIndex.value = 0;
- searchQuery.value = '';
- nextTick(() => searchInput.value?.focus());
-}
-
-function closeSearch() {
- isOpen.value = false;
- searchQuery.value = '';
- selectedIndex.value = 0;
-}
-
-function handleSearchKeydown(e: KeyboardEvent) {
- if (e.key === 'ArrowDown' || (e.key === 'Tab' && !e.shiftKey && selectedIndex.value < flattenedItems.value.length - 1)) {
- e.preventDefault();
- selectedIndex.value = (selectedIndex.value + 1) % flattenedItems.value.length;
- } else if (e.key === 'ArrowUp' || (e.key === 'Tab' && e.shiftKey && selectedIndex.value > 0)) {
- e.preventDefault();
- selectedIndex.value = (selectedIndex.value - 1 + flattenedItems.value.length) % flattenedItems.value.length;
- } else if (e.key === 'Enter' && flattenedItems.value.length > 0) {
- e.preventDefault();
- navigateTo(flattenedItems.value[selectedIndex.value]?.path);
- closeSearch();
- }
-}
-
-defineExpose({ openSearch, closeSearch });
-
-watch(searchQuery, () => {
- selectedIndex.value = 0;
-});
-</script>
-
-<style scoped lang="scss">
-.global-search-overlay {
- position: fixed;
- z-index: 9999;
- display: flex;
- background: rgb(0 0 0 / 50%);
- align-items: flex-start;
- backdrop-filter: blur(2px);
- inset: 0;
- justify-content: center;
- padding-top: 10vh;
-}
-
-.global-search-modal {
- width: 92%;
- max-width: 720px;
- max-height: 80vh;
- border: 1px solid var(--border-color);
- border-radius: 16px;
- background: var(--bg-color);
- box-shadow: 0 20px 60px rgb(0 0 0 / 30%);
- animation: slide-in 0.2s ease-out;
- overflow: hidden;
-}
-
-.search-header {
- display: flex;
- padding: 20px;
- align-items: center;
- border-bottom: 1px solid var(--border-color);
- gap: 12px;
-}
-
-.search-input-wrapper {
- position: relative;
- flex: 1;
-}
-
-.search-icon {
- position: absolute;
- top: 50%;
- left: 12px;
- width: 20px;
- height: 20px;
- color: var(--text-muted);
- transform: translateY(-50%);
-}
-
-.search-input {
- width: 100%;
- padding: 12px 12px 12px 44px;
- border: none;
- font-size: 16px;
- color: var(--text-color);
- background: transparent;
- outline: none;
-
- &::placeholder {
- color: var(--text-muted);
- }
-}
-
-.close-btn {
- padding: 8px;
- border: none;
- border-radius: 8px;
- color: var(--text-muted);
- background: transparent;
- transition: all 0.2s ease;
- cursor: pointer;
-
- &:hover {
- color: var(--text-color);
- background: var(--border-color);
- }
-}
-
-.search-results {
- max-height: calc(80vh - 160px);
- overflow-y: auto;
-}
-
-.quick-actions {
- padding: 20px;
-
- h3 {
- margin: 0 0 16px;
- font-size: 14px;
- font-weight: 600;
- color: var(--text-muted);
- letter-spacing: 0.5px;
- text-transform: uppercase;
- }
-}
-
-.quick-actions-grid {
- display: grid;
- gap: 8px;
-}
-
-.quick-action-btn {
- display: flex;
- padding: 12px;
- border: none;
- border-radius: 8px;
- text-align: left;
- background: transparent;
- transition: all 0.2s ease;
- align-items: center;
- cursor: pointer;
- gap: 12px;
-
- &:hover {
- background: var(--border-color);
- }
-
- &:active {
- transform: scale(0.98);
- }
-}
-
-.action-icon {
- width: 20px;
- height: 20px;
- color: var(--primary);
- flex-shrink: 0;
-}
-
-.action-content {
- display: flex;
- flex: 1;
- flex-direction: column;
- gap: 2px;
-}
-
-.action-title {
- font-weight: 600;
- color: var(--text-color);
-}
-
-.action-description {
- font-size: 13px;
- color: var(--text-muted);
-}
-
-.shortcut {
- padding: 4px 8px;
- border-radius: 6px;
- font-family: monospace;
- font-size: 11px;
- font-weight: 600;
- color: var(--text-muted);
- background: var(--border-color);
-}
-
-.search-results-list {
- padding: 8px 0;
-}
-
-.search-result-item {
- display: flex;
- margin: 0 5px;
- padding: 8px 20px;
- border-radius: 8px;
- align-items: center;
- cursor: pointer;
- gap: 10px;
-
- &:hover,
- &.selected {
- background: var(--border-color);
- }
-}
-
-.result-icon {
- width: 20px;
- height: 20px;
- color: var(--primary);
- flex-shrink: 0;
-}
-
-.result-content {
- display: flex;
- min-width: 0;
- flex: 1;
- flex-direction: column;
- gap: 4px;
-}
-
-.result-title {
- font-weight: 600;
- color: var(--text-color);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.result-description {
- font-size: 13px;
- color: var(--text-muted);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.navigate-icon {
- width: 16px;
- height: 16px;
- color: var(--text-muted);
- flex-shrink: 0;
-}
-
-.section {
- padding: 8px 0 4px;
-}
-
-.section-title {
- position: sticky;
- top: 0;
- z-index: 1;
- padding: 6px 20px;
- font-size: 12px;
- color: var(--text-muted);
- background: var(--bg-color);
- text-transform: uppercase;
-}
-
-.no-results {
- padding: 40px 20px;
- color: var(--text-muted);
- text-align: center;
-
- .no-results-icon {
- width: 48px;
- height: 48px;
- opacity: 0.5;
- margin-bottom: 16px;
- }
-
- p {
- margin: 0;
- font-size: 14px;
- }
-}
-
-.search-footer {
- padding: 16px 20px;
- background: var(--bg-color-secondary);
- border-top: 1px solid var(--border-color);
-}
-
-.shortcuts {
- display: flex;
- font-size: 12px;
- color: var(--text-muted);
- gap: 16px;
-
- kbd {
- padding: 2px 6px;
- border-radius: 4px;
- font-family: monospace;
- font-weight: 600;
- background: var(--border-color);
- }
-}
-
-@keyframes slide-in {
- from {
- opacity: 0;
- transform: scale(0.95);
- }
-
- to {
- opacity: 1;
- transform: scale(1);
- }
-}
-
-@media (width <= 768px) {
- .global-search-modal {
- width: 95%;
- max-height: 80vh;
- margin: 20px;
- }
-
- .shortcuts {
- flex-direction: column;
- gap: 8px;
- }
-}
-</style>
diff --git a/frontend/app/components/GlobalSearch/AdvancedSearchTab.vue b/frontend/app/components/CommandCenter/AdvancedSearchTab.vue
similarity index 93%
rename from frontend/app/components/GlobalSearch/AdvancedSearchTab.vue
rename to frontend/app/components/CommandCenter/AdvancedSearchTab.vue
index ec3d97d2..d7290156 100644
--- a/frontend/app/components/GlobalSearch/AdvancedSearchTab.vue
+++ b/frontend/app/components/CommandCenter/AdvancedSearchTab.vue
@@ -70,7 +70,7 @@
<span v-for="tag in selectedTags" :key="tag" class="tag-chip">
{{ tag }}
<button class="remove-tag" @click="removeTag(tag)">
- <Icon name="close" />
+ <Icon name="close" fill="var(--font-color)" />
</button>
</span>
</div>
@@ -79,15 +79,6 @@
<div class="filter-group">
<label class="filter-label">Category</label>
- <select v-model="selectedCategory" class="category-select">
- <option value="">All Categories</option>
- <option v-for="category in categories" :key="category.id" :value="category.id">
- {{ category.name }}
- </option>
- </select>
-
- <br />
- <br />
<AppSelect v-model="selectedCategory" :items="categoriesTree" placeholder="Select a category" />
</div>
@@ -106,7 +97,7 @@
<div v-else class="documents-list">
<div v-for="doc in filteredDocuments" :key="doc.id" class="document-item" @click="selectDocument(doc)">
- <Icon :name="getDocumentIcon(doc)" class="document-icon" />
+ <Icon :name="getDocumentIcon(doc)" class="document-icon" fill="var(--font-color)" />
<div class="document-info">
<div class="document-title">{{ doc.name }}</div>
<div class="document-meta">
@@ -117,7 +108,7 @@
<span v-for="tag in parseTags(doc.tags)" :key="tag" class="tag">{{ tag }}</span>
</div>
</div>
- <Icon name="new_tab" class="navigate-icon" />
+ <Icon name="new_tab" class="navigate-icon" fill="var(--font-color)" />
</div>
</div>
</div>
@@ -147,7 +138,6 @@ const showSuggestions = ref(false);
const selectedSuggestionIndex = ref(0);
const categoryStore = useCategoriesStore();
-const categories = computed(() => categoryStore.getAll);
const categoriesTree = new TreeStructure(useSidebarTree().categories.value).generateTree().filter(i => i.data.type === 'category' && i.data.role == 2);
const allTags = computed(() => {
@@ -327,7 +317,6 @@ function parseTags(tags: string): string[] {
margin: 0;
font-size: 14px;
font-weight: 600;
- color: var(--text-color);
text-transform: uppercase;
letter-spacing: 0.5px;
}
@@ -335,18 +324,17 @@ function parseTags(tags: string): string[] {
.toggle-filters-btn {
background: transparent;
border: none;
- color: var(--text-muted);
+
cursor: pointer;
padding: 4px;
border-radius: 4px;
- transition: all 0.2s ease;
+ transition: transform 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
&:hover {
background: var(--border-color);
- color: var(--text-color);
}
&.collapsed {
@@ -371,7 +359,7 @@ function parseTags(tags: string): string[] {
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
- color: var(--text-muted);
+
margin-bottom: 8px;
letter-spacing: 0.5px;
}
@@ -387,7 +375,7 @@ function parseTags(tags: string): string[] {
label {
display: block;
font-size: 11px;
- color: var(--text-muted);
+
margin-bottom: 4px;
}
}
@@ -398,7 +386,6 @@ function parseTags(tags: string): string[] {
border: 1px solid var(--border-color);
border-radius: 6px;
background: var(--bg-color);
- color: var(--text-color);
font-size: 14px;
outline: none;
@@ -418,7 +405,6 @@ function parseTags(tags: string): string[] {
gap: 6px;
cursor: pointer;
font-size: 14px;
- color: var(--text-color);
input[type='radio'] {
accent-color: var(--primary);
@@ -442,7 +428,6 @@ function parseTags(tags: string): string[] {
border: 1px solid var(--border-color);
border-radius: 6px;
background: var(--bg-color);
- color: var(--text-color);
font-size: 14px;
outline: none;
@@ -461,7 +446,7 @@ function parseTags(tags: string): string[] {
display: flex;
align-items: center;
justify-content: center;
- transition: all 0.2s ease;
+ transition: background-color 0.2s ease;
&:hover {
background: var(--primary-dark, #0056b3);
@@ -487,7 +472,6 @@ function parseTags(tags: string): string[] {
padding: 8px 12px;
cursor: pointer;
font-size: 14px;
- color: var(--text-color);
transition: background 0.2s ease;
&:hover,
@@ -518,12 +502,11 @@ function parseTags(tags: string): string[] {
background: var(--border-color);
border-radius: 12px;
font-size: 12px;
- color: var(--text-color);
.remove-tag {
background: none;
border: none;
- color: var(--text-muted);
+
cursor: pointer;
padding: 0;
display: flex;
@@ -546,7 +529,6 @@ function parseTags(tags: string): string[] {
border: 1px solid var(--border-color);
border-radius: 6px;
background: var(--bg-color);
- color: var(--text-color);
font-size: 14px;
outline: none;
@@ -570,12 +552,10 @@ function parseTags(tags: string): string[] {
font-size: 14px;
font-weight: 500;
cursor: pointer;
- transition: all 0.2s ease;
}
.clear-filters-btn {
background: var(--border-color);
- color: var(--text-color);
&:hover {
background: var(--selection-color);
@@ -603,7 +583,6 @@ function parseTags(tags: string): string[] {
.no-results {
padding: 40px 20px;
text-align: center;
- color: var(--text-muted);
.no-results-icon {
width: 48px;
@@ -632,7 +611,6 @@ function parseTags(tags: string): string[] {
margin: 0 5px;
border-radius: 8px;
cursor: pointer;
- transition: all 0.2s ease;
&:hover {
background: var(--border-color);
@@ -653,7 +631,6 @@ function parseTags(tags: string): string[] {
.document-title {
font-weight: 600;
- color: var(--text-color);
margin-bottom: 4px;
white-space: nowrap;
overflow: hidden;
@@ -665,7 +642,6 @@ function parseTags(tags: string): string[] {
gap: 12px;
margin-bottom: 6px;
font-size: 12px;
- color: var(--text-muted);
}
.document-category {
@@ -697,7 +673,7 @@ function parseTags(tags: string): string[] {
.navigate-icon {
width: 16px;
height: 16px;
- color: var(--text-muted);
+
flex-shrink: 0;
}
</style>
diff --git a/frontend/app/components/GlobalSearch/QuickSearchTab.vue b/frontend/app/components/CommandCenter/QuickSearchTab.vue
similarity index 96%
rename from frontend/app/components/GlobalSearch/QuickSearchTab.vue
rename to frontend/app/components/CommandCenter/QuickSearchTab.vue
index ecc8aeb5..2df49e8c 100644
--- a/frontend/app/components/GlobalSearch/QuickSearchTab.vue
+++ b/frontend/app/components/CommandCenter/QuickSearchTab.vue
@@ -15,7 +15,7 @@
<span class="result-title">{{ item.title }}</span>
<span class="result-description">{{ item.description }}</span>
</div>
- <Icon name="new_tab" class="navigate-icon" />
+ <Icon name="new_tab" class="navigate-icon" fill="var(--font-color)" />
</NuxtLink>
</div>
</div>
@@ -191,7 +191,6 @@ defineExpose({ flattenedItems });
.result-title {
font-weight: 600;
- color: var(--text-color);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@@ -199,7 +198,7 @@ defineExpose({ flattenedItems });
.result-description {
font-size: 13px;
- color: var(--text-muted);
+
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@@ -208,7 +207,7 @@ defineExpose({ flattenedItems });
.navigate-icon {
width: 16px;
height: 16px;
- color: var(--text-muted);
+
flex-shrink: 0;
}
@@ -223,14 +222,13 @@ defineExpose({ flattenedItems });
z-index: 1;
font-size: 12px;
text-transform: uppercase;
- color: var(--text-muted);
+
padding: 6px 20px;
}
.no-results {
padding: 40px 20px;
text-align: center;
- color: var(--text-muted);
.no-results-icon {
width: 48px;
diff --git a/frontend/app/components/GlobalSearch/TabNavigation.vue b/frontend/app/components/CommandCenter/TabNavigation.vue
similarity index 87%
rename from frontend/app/components/GlobalSearch/TabNavigation.vue
rename to frontend/app/components/CommandCenter/TabNavigation.vue
index b689d18b..8c1d84f5 100644
--- a/frontend/app/components/GlobalSearch/TabNavigation.vue
+++ b/frontend/app/components/CommandCenter/TabNavigation.vue
@@ -1,7 +1,7 @@
<template>
<div class="tab-navigation">
<button v-for="tab in tabs" :key="tab.id" class="tab-button" :class="{ active: activeTab === tab.id }" @click="$emit('changeTab', tab.id)">
- <Icon :name="tab.icon" class="tab-icon" />
+ <Icon :name="tab.icon" class="tab-icon" fill="var(--font-color)" />
<span class="tab-label">{{ tab.label }}</span>
</button>
</div>
@@ -53,18 +53,12 @@ const tabs: Tab[] = [
padding: 16px 20px;
background: transparent;
border: none;
- color: var(--text-muted);
cursor: pointer;
font-size: 14px;
font-weight: 500;
- transition: all 0.2s ease;
border-bottom: 2px solid transparent;
flex: 1;
border-radius: 0;
- &:hover {
- color: var(--text-color);
- background: var(--bg-color-secondary);
- }
&.active {
color: var(--primary);
diff --git a/frontend/app/components/GlobalSearch/index.vue b/frontend/app/components/CommandCenter/index.vue
similarity index 97%
rename from frontend/app/components/GlobalSearch/index.vue
rename to frontend/app/components/CommandCenter/index.vue
index 59804db5..a84c2091 100644
--- a/frontend/app/components/GlobalSearch/index.vue
+++ b/frontend/app/components/CommandCenter/index.vue
@@ -212,7 +212,6 @@ watch(searchQuery, () => {
transform: translateY(-50%);
width: 20px;
height: 20px;
- color: var(--text-muted);
}
.search-input {
@@ -220,27 +219,23 @@ watch(searchQuery, () => {
padding: 12px 12px 12px 44px;
border: none;
background: transparent;
- color: var(--text-color);
font-size: 16px;
outline: none;
&::placeholder {
- color: var(--text-muted);
}
}
.close-btn {
background: transparent;
border: none;
- color: var(--text-muted);
+
cursor: pointer;
padding: 8px;
border-radius: 8px;
- transition: all 0.2s ease;
&:hover {
background: var(--border-color);
- color: var(--text-color);
}
}
@@ -263,7 +258,6 @@ watch(searchQuery, () => {
gap: 10px;
font-size: 13px;
font-weight: 500;
- color: var(--text-muted);
kbd {
background: var(--border-color);
diff --git a/frontend/app/components/MarkdownEditor/LazyMarkdownEditor.vue b/frontend/app/components/MarkdownEditor/LazyMarkdownEditor.vue
index 82a4e759..42bae9de 100644
--- a/frontend/app/components/MarkdownEditor/LazyMarkdownEditor.vue
+++ b/frontend/app/components/MarkdownEditor/LazyMarkdownEditor.vue
@@ -420,7 +420,6 @@ input {
padding: 8px 10px;
border: 1px solid var(--border-color);
border-radius: 8px;
- color: var(--text-color);
background: var(--bg-color);
flex: 1;
}
diff --git a/frontend/app/components/Navbar.vue b/frontend/app/components/Navbar.vue
index 8cf0ed04..da59eb56 100644
--- a/frontend/app/components/Navbar.vue
+++ b/frontend/app/components/Navbar.vue
@@ -10,7 +10,7 @@
<BreadCrumb v-if="!isMobile()" />
</div>
<div>
- <button class="search-btn" title="Global search (Ctrl+K)" aria-label="Global search" @click="openGlobalSearch">
+ <button class="search-btn" title="Command center (Ctrl+K)" aria-label="Command center" @click="openCommandCenter">
<Icon name="search" />
<span class="search-text">Search</span>
<kbd class="shortcut">Ctrl+K</kbd>
@@ -23,7 +23,7 @@
<script lang="ts" setup>
const { toggleSidebar, isOpened } = useSidebar();
-const openGlobalSearch = () => window.dispatchEvent(new CustomEvent('command-center-open'));
+const openCommandCenter = () => window.dispatchEvent(new CustomEvent('command-center-open'));
</script>
<style lang="scss" scoped>
header {
@@ -59,7 +59,6 @@ button {
padding: 8px 12px;
border: none;
border-radius: 8px;
- color: var(--text-color);
background: var(--border-color);
transition: all 0.2s ease;
align-items: center;
diff --git a/frontend/app/pages/(public)/_components/ContributorsMarquee.vue b/frontend/app/pages/(public)/_components/ContributorsMarquee.vue
index 90a1ec2f..2c0b0fde 100644
--- a/frontend/app/pages/(public)/_components/ContributorsMarquee.vue
+++ b/frontend/app/pages/(public)/_components/ContributorsMarquee.vue
@@ -101,12 +101,11 @@ onMounted(fetchContributors);
.sub {
font-size: 12px;
- color: var(--text-muted);
}
.hint {
font-size: 13px;
- color: var(--text-muted);
+
margin-top: 6px;
}
diff --git a/frontend/app/pages/(public)/_components/FeatureCard.vue b/frontend/app/pages/(public)/_components/FeatureCard.vue
index 07763f6a..5e8073e9 100644
--- a/frontend/app/pages/(public)/_components/FeatureCard.vue
+++ b/frontend/app/pages/(public)/_components/FeatureCard.vue
@@ -34,7 +34,6 @@ defineProps<{ icon: string; title: string; text: string }>();
text-align: center;
background: var(--bg-color);
box-shadow: 0 10px 30px rgb(0 0 0 / 6%);
- transition: all 0.3s ease;
overflow: hidden;
&:hover {
diff --git a/frontend/app/pages/(public)/_components/GoodFirstIssues.vue b/frontend/app/pages/(public)/_components/GoodFirstIssues.vue
index 44043671..5e678bd0 100644
--- a/frontend/app/pages/(public)/_components/GoodFirstIssues.vue
+++ b/frontend/app/pages/(public)/_components/GoodFirstIssues.vue
@@ -101,6 +101,5 @@ onMounted(fetchIssues);
.meta {
font-size: 12px;
- color: var(--text-muted);
}
</style>
diff --git a/frontend/app/pages/(public)/_components/OpenSourceStats.vue b/frontend/app/pages/(public)/_components/OpenSourceStats.vue
index 2a358384..e837ad0e 100644
--- a/frontend/app/pages/(public)/_components/OpenSourceStats.vue
+++ b/frontend/app/pages/(public)/_components/OpenSourceStats.vue
@@ -90,7 +90,6 @@ onMounted(() => {
}
.subtitle {
- color: var(--text-muted);
margin-top: 4px;
}
@@ -116,7 +115,6 @@ onMounted(() => {
.label {
font-size: 13px;
- color: var(--text-muted);
}
.actions {
diff --git a/frontend/app/pages/(public)/_components/SelfHostSteps.vue b/frontend/app/pages/(public)/_components/SelfHostSteps.vue
index d725a7c5..81cce9ee 100644
--- a/frontend/app/pages/(public)/_components/SelfHostSteps.vue
+++ b/frontend/app/pages/(public)/_components/SelfHostSteps.vue
@@ -116,7 +116,6 @@ function copyDockerCompose() {
border: 1px solid var(--border-color);
border-radius: 999px;
font-weight: 500;
- color: var(--text-color);
background: var(--bg-color);
align-items: center;
gap: 8px;
diff --git a/frontend/app/pages/(public)/index.vue b/frontend/app/pages/(public)/index.vue
index 5dfa7b50..599e9995 100644
--- a/frontend/app/pages/(public)/index.vue
+++ b/frontend/app/pages/(public)/index.vue
@@ -169,7 +169,6 @@ onMounted(() => {
padding: 0.9rem 1.8rem;
border-radius: 50px;
font-weight: 600;
- transition: all 0.3s ease;
text-decoration: none;
}
diff --git a/frontend/app/pages/(public)/login/index.vue b/frontend/app/pages/(public)/login/index.vue
index e9519a0e..8cb01654 100644
--- a/frontend/app/pages/(public)/login/index.vue
+++ b/frontend/app/pages/(public)/login/index.vue
@@ -109,7 +109,6 @@ form {
label {
font-size: 0.95rem;
font-weight: 600;
- color: var(--text-color);
}
}
@@ -185,7 +184,7 @@ input {
.forgot-password-link {
font-size: 16px;
font-weight: 500;
- color: var(--text-muted);
+
text-align: center;
margin-top: 1rem;
diff --git a/frontend/app/pages/(public)/signup.vue b/frontend/app/pages/(public)/signup.vue
index 61dbe360..723567f1 100644
--- a/frontend/app/pages/(public)/signup.vue
+++ b/frontend/app/pages/(public)/signup.vue
@@ -167,7 +167,6 @@ form {
label {
font-size: 0.95rem;
font-weight: 600;
- color: var(--text-color);
}
}
@@ -177,7 +176,6 @@ input {
border: 2px solid var(--border-color);
border-radius: 8px;
font-size: 1rem;
- color: var(--text-color);
background: var(--bg-color);
transition: all 0.2s ease;
diff --git a/frontend/app/pages/dashboard/home.vue b/frontend/app/pages/dashboard/home.vue
index 5ee34040..3848b81d 100644
--- a/frontend/app/pages/dashboard/home.vue
+++ b/frontend/app/pages/dashboard/home.vue
@@ -1,5 +1,5 @@
<template>
- <div style=" margin: 5vh auto;text-align: center; gap: 20px">
+ <div style="margin: 5vh auto; text-align: center; gap: 20px">
<h1>Alexandrie dashboard</h1>
<img style="max-width: 300px; max-height: 300px" :src="`/empty-${colorMode.value}.png`" /> <br />
@@ -34,7 +34,7 @@
<span>Import</span>
</NuxtLink>
</div>
- <div style=" width: 90%; margin: 0 auto;text-align: left">
+ <div style="width: 90%; margin: 0 auto; text-align: left">
<div class="recent">
<DocumentCard v-for="doc in recentDocuments" :key="doc.id" :document="doc" />
</div>
@@ -87,7 +87,7 @@ h1 {
padding: 12px 20px;
border-radius: 12px;
font-size: 14px;
- color: var(--text-muted);
+
background: var(--border-color);
align-items: center;
gap: 8px;
@@ -105,7 +105,6 @@ h1 {
font-family: monospace;
font-size: 12px;
font-weight: 600;
- color: var(--text-color);
background: var(--bg-color);
}
}
@@ -190,7 +189,6 @@ h1 {
padding: 10px;
border: 1px solid var(--border-color);
border-radius: 8px;
- color: var(--text-color);
transition: background-color 0.2s, transform 0.2s;
align-items: center;
flex-direction: column;