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.

feat: prepare version 8.13.0 by marking new elements and updating Welcome component

Smaug67393cbb2933dc0f
diff --git a/frontend/app/components/Welcome.vue b/frontend/app/components/Welcome.vue
index 6507c40d..d81abe80 100644
--- a/frontend/app/components/Welcome.vue
+++ b/frontend/app/components/Welcome.vue
@@ -1,7 +1,7 @@
<script setup lang="ts">
const markStore = useMark();
-const RELEASE_MARK_ID: MarkId = 'v8.11.0';
+const RELEASE_MARK_ID: MarkId = 'v8.13.0';
const isVisible = ref(false);
@@ -32,7 +32,7 @@ function handleClose() {
</div>
<div>
<h2>What's new in Alexandrie?</h2>
- <p class="version-tag">Version 8.11.0</p>
+ <p class="version-tag">Version 8.13.0</p>
</div>
</div>
@@ -43,22 +43,22 @@ function handleClose() {
<div class="item">
<div class="indicator"></div>
<div class="text">
- <h3>Translations</h3>
- <p>Improved translations and support two new languages: Korean and Italian</p>
+ <h3>Sort Options</h3>
+ <p>Enhanced sort options for better organization and filtering of content.</p>
</div>
</div>
<div class="item">
<div class="indicator"></div>
<div class="text">
- <h3>Markdown Syntax</h3>
- <p>Enhanced Markdown syntax support for better document formatting: Support internal links, tooltips, snippets, diagrams and more.</p>
+ <h3>Admin Panel</h3>
+ <p>New admin panel with improved controls and settings management. Allow user creation and add security features.</p>
</div>
</div>
<div class="item">
<div class="indicator"></div>
<div class="text">
- <h3>Editor & App</h3>
- <p>Improved design, performance and user experience across the board.</p>
+ <h3>Improved emails, bug fixes</h3>
+ <p>Improved email notifications and fixed several bugs across the application.</p>
</div>
</div>
</div>
@@ -142,7 +142,6 @@ function handleClose() {
color: var(--text-secondary);
}
-// Organisation en grille responsive
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
@@ -199,7 +198,6 @@ function handleClose() {
justify-content: flex-start;
}
-// Transition d'écrasement fluide à la fermeture
.welcome-collapse-enter-active {
transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
@@ -220,6 +218,6 @@ function handleClose() {
.welcome-collapse-enter-to,
.welcome-collapse-leave-from {
- max-height: 400px; /* Doit être supérieur à la taille max de ta box */
+ max-height: 400px;
}
</style>
diff --git a/frontend/app/composables/useMark.ts b/frontend/app/composables/useMark.ts
index 73baf42c..fb75bd12 100644
--- a/frontend/app/composables/useMark.ts
+++ b/frontend/app/composables/useMark.ts
@@ -1,4 +1,4 @@
-const ACTIVE_MARK_IDS = ['support', 'security-2fa', 'tabs', 'new-imports', 'teams', 'v8.11.0', 'workspace-sharing'] as const;
+const ACTIVE_MARK_IDS = ['support', 'v8.13.0', 'sort-options'] as const;
export type MarkId = (typeof ACTIVE_MARK_IDS)[number];
diff --git a/frontend/app/pages/dashboard/import/index.vue b/frontend/app/pages/dashboard/import/index.vue
index bce41188..f2d748ac 100644
--- a/frontend/app/pages/dashboard/import/index.vue
+++ b/frontend/app/pages/dashboard/import/index.vue
@@ -28,9 +28,9 @@
<span class="cta">{{ t('common.actions.open') }}</span>
</NuxtLink>
- <NuxtLink class="import-card" to="/dashboard/import/advanced" @click="mark.dismissMark('new-imports')">
+ <NuxtLink class="import-card" to="/dashboard/import/advanced">
<div class="top" style="position: relative">
- <h3>{{ t('import.categories.advanced.title') }}<span v-if="mark.hasMark('new-imports')" class="bubble" /></h3>
+ <h3>{{ t('import.categories.advanced.title') }}<span class="bubble" /></h3>
<tag class="orange">{{ t('common.labels.advanced') }}</tag>
</div>
<Icon name="advanced" display="xxl" />
@@ -45,7 +45,6 @@
definePageMeta({ breadcrumb: { i18n: 'import.meta.breadcrumb' } });
const { t } = useI18nT();
-const mark = useMark();
</script>
<style scoped lang="scss">
diff --git a/frontend/app/pages/dashboard/settings/_views/editor.vue b/frontend/app/pages/dashboard/settings/_views/editor.vue
index 32984e00..bfbd9545 100644
--- a/frontend/app/pages/dashboard/settings/_views/editor.vue
+++ b/frontend/app/pages/dashboard/settings/_views/editor.vue
@@ -61,7 +61,6 @@ const options = computed<Array<{ label: string; options: InterfaceOption[] }>>((
},
{
label: t('settings.editor.simplifiedMobileView'),
- tag: t('settings.nav.new'),
description: t('settings.editor.simplifiedMobileViewDesc'),
type: 'toggle',
key: 'editorSimplifiedViewOnMobile',
diff --git a/frontend/app/pages/dashboard/settings/_views/other.vue b/frontend/app/pages/dashboard/settings/_views/other.vue
index c71b7aa5..5e242d65 100644
--- a/frontend/app/pages/dashboard/settings/_views/other.vue
+++ b/frontend/app/pages/dashboard/settings/_views/other.vue
@@ -63,6 +63,7 @@ const options = computed<Array<{ label: string; options: InterfaceOption[] }>>((
{
label: t('settings.other.sortKey'),
description: t('settings.other.sortKeyDesc'),
+ tag: t('settings.nav.new'),
type: 'select',
key: 'sortKey',
choices: [
@@ -74,6 +75,7 @@ const options = computed<Array<{ label: string; options: InterfaceOption[] }>>((
{
label: t('settings.other.sortOrder'),
description: t('settings.other.sortOrderDesc'),
+ tag: t('settings.nav.new'),
type: 'select',
key: 'sortOrder',
choices: [
diff --git a/frontend/app/pages/dashboard/settings/index.vue b/frontend/app/pages/dashboard/settings/index.vue
index 4aa93929..534a30a3 100644
--- a/frontend/app/pages/dashboard/settings/index.vue
+++ b/frontend/app/pages/dashboard/settings/index.vue
@@ -105,8 +105,8 @@ const navSections = computed<NavSection[]>(() => [
title: t('settings.nav.general'),
items: [
{ key: 'profile', label: t('settings.pages.profile'), icon: 'profil' },
- { key: 'apparence', label: t('settings.pages.appearance'), icon: 'brush', newId: 'tabs' },
- { key: 'security', label: t('settings.pages.security'), icon: 'security', newId: 'security-2fa' },
+ { key: 'apparence', label: t('settings.pages.appearance'), icon: 'brush' },
+ { key: 'security', label: t('settings.pages.security'), icon: 'security' },
],
},
{
@@ -116,7 +116,7 @@ const navSections = computed<NavSection[]>(() => [
{ key: 'documents', label: t('settings.pages.documents'), icon: 'bookmark-stack' },
{ key: 'editor', label: t('settings.pages.editor'), icon: 'editor' },
{ key: 'styles', label: t('settings.pages.styles'), icon: 'styles' },
- { key: 'other', label: t('settings.pages.other'), icon: 'advanced' },
+ { key: 'other', label: t('settings.pages.other'), icon: 'advanced', newId: 'sort-options' },
],
},
{
@@ -125,7 +125,7 @@ const navSections = computed<NavSection[]>(() => [
{ key: 'snippets', label: t('settings.pages.snippets'), icon: 'snippets' },
{ key: 'backup', label: t('settings.pages.backup'), icon: 'backup' },
{ key: 'advanced', label: t('settings.pages.advanced'), icon: 'build' },
- { key: 'teams', label: t('settings.pages.teams'), icon: 'users', newId: 'teams' },
+ { key: 'teams', label: t('settings.pages.teams'), icon: 'users' },
],
},
{
diff --git a/frontend/app/pages/dashboard/teams/index.vue b/frontend/app/pages/dashboard/teams/index.vue
index 0f0a526e..1ffde05e 100644
--- a/frontend/app/pages/dashboard/teams/index.vue
+++ b/frontend/app/pages/dashboard/teams/index.vue
@@ -38,10 +38,8 @@ import CreateCategoryModal from '~/components/Node/Modals/CreateCategory.vue';
const nodesStore = useNodesStore();
const modals = useModal();
const { t } = useI18nT();
-const mark = useMark();
const query = ref('');
-mark.dismissMark('teams');
const teams = computed(() => nodesStore.teams.toSorted((a, b) => a.name.localeCompare(b.name)));
const filteredTeams = computed(() => {