π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
feat: new preferences organisation in settings and unify styles
Smaug67395309f85f9929
diff --git a/frontend/app/components/AppPreferenceInput.vue b/frontend/app/components/AppPreferenceInput.vuedeleted file mode 100644index f4de8e21..00000000--- a/frontend/app/components/AppPreferenceInput.vue+++ /dev/null@@ -1,95 +0,0 @@-<template>- <div class="form-group">- <div>- <label>{{ opt.label }}</label>-- <p class="description">{{ opt.description }}</p>- </div>- <!-- Toggle -->- <AppToggle v-if="opt.type === 'toggle'" v-model="p(opt.key).value" class="entry" @update:model-value="opt.onChange?.(p(opt.key).value)" />-- <!-- Select -->- <AppSelect- v-else-if="opt.type === 'select'"- v-model="p(opt.key).value"- :items="opt.choices!"- size="40%"- class="entry"- :searchable="false"- @update:model-value="opt.onChange?.(p(opt.key).value)"- />-- <!-- Radio -->- <AppRadio- v-else-if="opt.type === 'radio'"- v-model="p(opt.key).value"- :items="opt.choices!"- class="entry"- @update:model-value="opt.onChange?.(p(opt.key).value)"- />-- <!-- Color -->- <AppColorPicker v-else-if="opt.type === 'color'" v-model="p(opt.key).value" class="entry" @update:model-value="opt.onChange?.(p(opt.key).value)" />-- <!-- Group Checkbox -->- <div v-else-if="opt.type === 'groupCheckbox'" class="group-checkbox">- <div class="checkbox-grid">- <label v-for="[key, label] of Object.entries(opt.items)" :key="key">- <AppCheck v-model="p(opt.key).value[key]" @change="opt.onChange?.(p(opt.key).value)">{{ label }}</AppCheck>- </label>- </div>- </div>- </div>-</template>--<script setup lang="ts">-import type { Option } from '~/composables/Preferences';-const preferencesStore = usePreferences();--defineProps<{- opt: Option;-}>();-// @ts-expect-error unknown type-const p = preferencesStore.get as <K extends PreferenceKey>(key: K) => ReturnType<unknown>;-</script>--<style lang="scss" scoped>-.form-group {- display: flex;- width: 100%;- align-items: flex-start;- gap: 1rem;- justify-content: space-between;- margin-bottom: 1rem;-}--label {- font-weight: 400;- flex: 1;-}--.description {- font-size: 0.85rem;- color: var(--text-secondary);- margin-left: 2px;- margin-top: 0.25rem;-}--h3 {- margin: 3rem 0 0.5rem;- font-weight: 500;-}--.entry {- max-width: 400px;- margin-left: auto;-}--.group-checkbox {- .checkbox-grid {- display: grid;- gap: 0.5rem 3rem;- grid-template-columns: repeat(2, 1fr);- }-}-</style>diff --git a/frontend/app/components/AppPreferenceInputSection.vue b/frontend/app/components/AppPreferenceInputSection.vuenew file mode 100644index 00000000..996c497a--- /dev/null+++ b/frontend/app/components/AppPreferenceInputSection.vue@@ -0,0 +1,107 @@+<template>+ <div v-for="(section, i) in options" :key="i" class="section">+ <h3>{{ section.label }}</h3>++ <div v-for="opt in section.options" :key="opt.key" class="form-group">+ <div>+ <label>{{ opt.label }}</label>++ <p class="description">{{ opt.description }}</p>+ </div>+ <!-- Toggle -->+ <AppToggle v-if="opt.type === 'toggle'" v-model="p(opt.key).value" class="entry" @update:model-value="opt.onChange?.(p(opt.key).value)" />++ <!-- Select -->+ <AppSelect+ v-else-if="opt.type === 'select'"+ v-model="p(opt.key).value"+ :items="opt.choices!"+ size="40%"+ class="entry"+ :searchable="false"+ @update:model-value="opt.onChange?.(p(opt.key).value)"+ />++ <!-- Radio -->+ <AppRadio+ v-else-if="opt.type === 'radio'"+ v-model="p(opt.key).value"+ :items="opt.choices!"+ class="entry"+ @update:model-value="opt.onChange?.(p(opt.key).value)"+ />++ <!-- Color -->+ <AppColorPicker v-else-if="opt.type === 'color'" v-model="p(opt.key).value" class="entry" @update:model-value="opt.onChange?.(p(opt.key).value)" />++ <!-- Group Checkbox -->+ <div v-else-if="opt.type === 'groupCheckbox'" class="group-checkbox">+ <div class="checkbox-grid">+ <label v-for="[key, label] of Object.entries(opt.items)" :key="key">+ <AppCheck v-model="p(opt.key).value[key]" @change="opt.onChange?.(p(opt.key).value)">{{ label }}</AppCheck>+ </label>+ </div>+ </div>+ </div>+ </div>+</template>++<script setup lang="ts">+const preferencesStore = usePreferences();++// @ts-expect-error unknown type+const p = preferencesStore.get as <K extends PreferenceKey>(key: K) => ReturnType<unknown>;+type InterfaceOption = Option & {+ tag?: string;+};++defineProps<{+ options: Array<{ label: string; options: InterfaceOption[] }>;+}>();+</script>++<style lang="scss" scoped>+.section {+ width: 100%;+ margin-bottom: 2rem;+}++.form-group {+ display: flex;+ width: 100%;+ align-items: flex-start;+ gap: 1rem;+ justify-content: space-between;+ margin-bottom: 1rem;+}++label {+ font-weight: 400;+ flex: 1;+}++.description {+ font-size: 0.85rem;+ color: var(--text-secondary);+ margin-left: 2px;+ margin-top: 0.25rem;+}++h3 {+ margin: 3rem 0 0.5rem;+ font-weight: 500;+}++.entry {+ max-width: 400px;+ margin-left: auto;+}++.group-checkbox {+ .checkbox-grid {+ display: grid;+ gap: 0.5rem 3rem;+ grid-template-columns: repeat(2, 1fr);+ }+}+</style>diff --git a/frontend/app/pages/dashboard/settings/_views/advanced.vue b/frontend/app/pages/dashboard/settings/_views/advanced.vueindex 5e5669f0..451b24ea 100644--- a/frontend/app/pages/dashboard/settings/_views/advanced.vue+++ b/frontend/app/pages/dashboard/settings/_views/advanced.vue@@ -2,19 +2,18 @@<div><h2 class="page-title">Advanced</h2><p class="page-subtitle">Manage advanced settings for the application.</p>- <p>Be careful with these settings, they can seriously affect the application.</p>- <div class="settings-section">- <div class="setting">- <h4>Reset all preferences</h4>- <p>This will reset all your preferences to their default values. This action cannot be undone.</p>- <AppButton type="danger" @click="preferences.reset">Reset preferences</AppButton>- </div>- <div class="setting">- <h4>Reset local storage</h4>- <p>This will reset all your local storage data. This action cannot be undone. This action will also reset preferences.</p>- <AppButton type="danger" @click="deleteLocalStorage">Delete local storage</AppButton>- </div>+ <AppPreferenceInputSection :options="options" />+ <hr />+ <div>+ <h3>Reset all preferences</h3>+ <p>This will reset all your preferences to their default values. This action cannot be undone.</p>+ <AppButton type="danger" @click="preferences.reset">Reset preferences</AppButton>+ </div>+ <div>+ <h3>Reset local storage</h3>+ <p>This will reset all your local storage data. This action cannot be undone. This action will also reset preferences.</p>+ <AppButton type="danger" @click="deleteLocalStorage">Delete local storage</AppButton></div></div></template>@@ -26,4 +25,45 @@ const deleteLocalStorage = () => {localStorage.clear();location.reload();};+type InterfaceOption = Option & {+ tag?: string;+};++const options: Array<{ label: string; options: InterfaceOption[] }> = [+ {+ label: 'Datatable',+ options: [+ {+ label: 'Default datatable items count',+ type: 'select',+ key: 'datatableItemsCount',+ choices: [+ { label: '10', id: 10 },+ { label: '30', id: 30 },+ { label: '50', id: 50 },+ { label: '100', id: 100 },+ { label: '250', id: 250 },+ ],+ },+ ],+ },+ {+ label: 'Other',+ options: [+ {+ label: 'Developer Mode',+ description: 'Enable additional debugging features and options like "Copy ID" in context menus.',+ type: 'toggle',+ key: 'developerMode',+ },+ ],+ },+];</script>++<style scoped lang="scss">+h3 {+ margin: 3rem 0 0.5rem;+ font-weight: 500;+}+</style>diff --git a/frontend/app/pages/dashboard/settings/_views/apparence.vue b/frontend/app/pages/dashboard/settings/_views/apparence.vuenew file mode 100644index 00000000..557b4166--- /dev/null+++ b/frontend/app/pages/dashboard/settings/_views/apparence.vue@@ -0,0 +1,115 @@+<template>+ <div>+ <h2 class="page-title">Preferences</h2>+ <p class="page-subtitle">Manage your preferences and settings.</p>++ <AppPreferenceInputSection :options="options" />+ </div>+</template>++<script setup lang="ts">+const appColors = useAppColors();++type InterfaceOption = Option & {+ tag?: string;+};++const colorMode = useColorMode();+const options: Array<{ label: string; options: InterfaceOption[] }> = [+ {+ label: 'General',+ options: [+ {+ label: 'Enable Dark Mode',+ type: 'toggle',+ key: 'darkMode',+ // @ts-expect-error -> specific type+ onChange: (option: boolean) => {+ colorMode.preference = option ? 'dark' : 'light';+ document.body.style.colorScheme = colorMode.preference;+ },+ },+ {+ label: 'Choose accent color',+ type: 'color',+ key: 'primaryColor',+ // @ts-expect-error -> specific type+ onChange: (option: number) => {+ appColors.setAppColor(option);+ },+ },+ {+ label: 'Interface style',+ description: 'Glassmorphism adds transparent surfaces with blur effects for a modern glass look.',+ type: 'radio',+ key: 'style',+ tag: 'New',+ choices: [+ { label: 'Default', id: 'default' },+ { label: 'Glassmorphism', id: 'glassmorphism' },+ ],+ },+ ],+ },+ {+ label: 'Sidebar',+ options: [+ {+ label: 'Enable Compact Mode',+ description: 'Reduce the size of the sidebar items to show more content on the screen.',+ type: 'toggle',+ key: 'compactMode',+ },+ {+ label: 'View dock',+ description: 'Show the dock on the right side of the sidebar to access to the different apps quickly.',+ type: 'toggle',+ key: 'view_dock',+ },+ {+ label: 'Normalize file icons',+ description: 'Display file parents with the same icon as classic files (not in green)',+ type: 'toggle',+ key: 'normalizeFileIcons',+ },+ {+ label: 'Display uncategorized resources',+ description: 'Show resources (uploads from CDN) that are not categorized at the top of the sidebar.',+ type: 'toggle',+ key: 'displayUncategorizedResources',+ },+ { label: 'Hide resources', type: 'toggle', key: 'hideSidebarResources' },+ {+ label: 'Show items in Sidebar',+ type: 'groupCheckbox',+ key: 'sidebarItems',+ items: {+ manageCategories: 'Manage Categories',+ importation: 'Importation',+ cdn: 'CDN',+ documents: 'Documents',+ settings: 'Settings',+ home: 'Home',+ newPage: 'New Page',+ },+ },+ ],+ },+ {+ label: 'Navbar',+ options: [+ {+ label: 'Which items to display in the navbar',+ type: 'groupCheckbox',+ key: 'navbarItems',+ items: {+ breadcrumb: 'Breadcrumb',+ search: 'Search',+ theme: 'Theme',+ navigation: 'Navigation',+ },+ },+ ],+ },+];+</script>diff --git a/frontend/app/pages/dashboard/settings/_views/documents.vue b/frontend/app/pages/dashboard/settings/_views/documents.vuenew file mode 100644index 00000000..4a57a707--- /dev/null+++ b/frontend/app/pages/dashboard/settings/_views/documents.vue@@ -0,0 +1,45 @@+<template>+ <div>+ <h2 class="page-title">Documents preferences</h2>+ <p class="page-subtitle">Manage your document settings and editor preferences.</p>++ <AppPreferenceInputSection :options="options" />+ </div>+</template>++<script setup lang="ts">+import { DOCUMENT_SIZES, DOCUMENT_THEMES } from '~/helpers/constants';++type InterfaceOption = Option & {+ tag?: string;+};++const options: Array<{ label: string; options: InterfaceOption[] }> = [+ {+ label: 'Documents',+ options: [+ {+ label: 'Enable Print Mode',+ description: 'Simplify the header of printed documents (remove the thumbnail, tags, description and keep only the title)',+ type: 'toggle',+ key: 'printMode',+ },+ { label: 'Hide Table of Content', type: 'toggle', key: 'hideTOC' },+ { label: 'Enable Document auto-save', type: 'toggle', key: 'documentAutoSave' },+ {+ label: 'Document size',+ type: 'radio',+ key: 'docSize',+ choices: DOCUMENT_SIZES,+ },+ {+ label: 'Theme',+ description: 'Default theme used for documents. You can override it for each document individually.',+ type: 'select',+ key: 'theme',+ choices: DOCUMENT_THEMES,+ },+ ],+ },+];+</script>diff --git a/frontend/app/pages/dashboard/settings/_views/editor.vue b/frontend/app/pages/dashboard/settings/_views/editor.vuenew file mode 100644index 00000000..c257653a--- /dev/null+++ b/frontend/app/pages/dashboard/settings/_views/editor.vue@@ -0,0 +1,69 @@+<template>+ <div>+ <h2 class="page-title">Editor preferences</h2>+ <p class="page-subtitle">Manage your editor preferences.</p>++ <AppPreferenceInputSection :options="options" />+ </div>+</template>++<script setup lang="ts">+import { EDITOR_FONTS } from '~/helpers/constants';++type InterfaceOption = Option & {+ tag?: string;+};++const options: Array<{ label: string; options: InterfaceOption[] }> = [+ {+ label: 'Editor',+ options: [+ {+ label: 'Editor font family',+ type: 'select',+ key: 'editorFontFamily',+ choices: EDITOR_FONTS,+ },+ {+ label: 'Editor font size',+ type: 'select',+ key: 'editorFontSize',+ choices: [+ { label: '12', id: 12 },+ { label: '14', id: 14 },+ { label: '16', id: 16 },+ { label: '18', id: 18 },+ { label: '20', id: 20 },+ { label: '22', id: 22 },+ { label: '24', id: 24 },+ ],+ },+ {+ label: 'Enable Spell Check',+ description: 'Enable spell check of browser in the editor. Changes may require a page reload to take effect.',+ type: 'toggle',+ key: 'editorSpellCheck',+ },+ {+ label: 'Display statistics bar',+ description: 'Show a small statistics bar at the top of the editor with word count, characters, and lines.',+ type: 'toggle',+ key: 'editorDisplayStats',+ },+ {+ label: 'Enable Snippets',+ description: 'Enable or disable editor snippets functionality.',+ type: 'toggle',+ key: 'editorSnippetsEnabled',+ },+ {+ label: 'Simplified view for mobile',+ tag: 'New',+ description: 'Enable a simplified editor view on mobile devices for better usability.',+ type: 'toggle',+ key: 'editorSimplifiedViewOnMobile',+ },+ ],+ },+];+</script>diff --git a/frontend/app/pages/dashboard/settings/index.vue b/frontend/app/pages/dashboard/settings/index.vueindex 0c70464c..32b25652 100644--- a/frontend/app/pages/dashboard/settings/index.vue+++ b/frontend/app/pages/dashboard/settings/index.vue@@ -13,43 +13,27 @@<div class="email">{{ store.user.email }}</div></div></div>- <span>General</span>- <NuxtLink @click="setPage('profile')"><Icon name="profil" />My profile</NuxtLink>- <NuxtLink @click="setPage('preferences')"><Icon name="brush" />Apparence</NuxtLink>- <NuxtLink @click="setPage('security')"><Icon name="security" />Security</NuxtLink>- <NuxtLink @click="setPage('backup')"><Icon name="backup" />Backup</NuxtLink>- <span>Preferences</span>- <NuxtLink to="/dashboard/categories" @click="close"><Icon name="categories" />Manage categories</NuxtLink>- <NuxtLink to="/dashboard/docs" @click="close"><Icon name="draft" />Manage documents</NuxtLink>- <NuxtLink to="/dashboard/import" style="display: flex; align-items: center" @click="close"><Icon name="import" />Manage importations</NuxtLink>- <span>Tools</span>- <NuxtLink @click="setPage('shortcuts')"><Icon name="shortcuts" />Shortcuts</NuxtLink>- <NuxtLink @click="setPage('snippets')"><Icon name="snippets" />Snippets</NuxtLink>- <NuxtLink @click="setPage('markdown')"><Icon name="markdown" />Markdown</NuxtLink>- <NuxtLink @click="setPage('advanced')"><Icon name="advanced" />Advanced</NuxtLink>-- <span>Other</span>- <NuxtLink @click="setPage('about')"><Icon name="view" />About</NuxtLink>- <NuxtLink @click="logout"><Icon name="logout" />Logout</NuxtLink>+ <template v-for="section in navSections" :key="section.title">+ <span>{{ section.title }}</span>+ <template v-for="item in section.items" :key="item.label">+ <NuxtLink v-if="item.type === 'link'" :to="item.to" @click="close"> <Icon :name="item.icon" />{{ item.label }} </NuxtLink>+ <NuxtLink v-else-if="item.type === 'action'" @click="item.action?.()"> <Icon :name="item.icon" />{{ item.label }} </NuxtLink>+ <NuxtLink v-else :class="{ active: currentPage === item.key }" @click="setPage(item.key!)"> <Icon :name="item.icon" />{{ item.label }} </NuxtLink>+ </template>+ </template></nav><div class="content">- <ProfileView v-if="currentPage === 'profile'" />- <PreferencesView v-else-if="currentPage === 'preferences'" />- <SecurityView v-else-if="currentPage === 'security'" @close="close" />- <BackupView v-else-if="currentPage == 'backup'" />- <ShortcutsView v-else-if="currentPage == 'shortcuts'" />- <SnippetsView v-else-if="currentPage == 'snippets'" />- <MarkdownView v-else-if="currentPage == 'markdown'" />- <AboutView v-else-if="currentPage == 'about'" />- <AdvancedView v-else-if="currentPage == 'advanced'" />+ <component :is="currentComponent" @close="close" /></div></div></template><script setup lang="ts">import ProfileView from './_views/profile.vue';+import ApparenceView from './_views/apparence.vue';+import DocumentsView from './_views/documents.vue';+import EditorView from './_views/editor.vue';import SecurityView from './_views/security.vue';-import PreferencesView from './_views/preferences.vue';import BackupView from './_views/backups.vue';import ShortcutsView from './_views/shortcuts.vue';import SnippetsView from './_views/snippets.vue';@@ -57,31 +41,99 @@ import MarkdownView from './_views/markdown.vue';import AboutView from './_views/about.vue';import AdvancedView from './_views/advanced.vue';+type PageKey = keyof typeof pages;++interface NavItem {+ type?: 'page' | 'link' | 'action';+ key?: PageKey;+ label: string;+ icon: string;+ to?: string;+ action?: () => void;+}++interface NavSection {+ title: string;+ items: NavItem[];+}++const pages = {+ profile: ProfileView,+ apparence: ApparenceView,+ documents: DocumentsView,+ editor: EditorView,+ security: SecurityView,+ backup: BackupView,+ shortcuts: ShortcutsView,+ snippets: SnippetsView,+ markdown: MarkdownView,+ about: AboutView,+ advanced: AdvancedView,+} as const;+defineProps<{ isModal?: boolean }>();const emit = defineEmits<{ (e: 'close'): void }>();const route = useRoute();const router = useRouter();const store = useUserStore();-const api = useApi();-const currentPage = ref(route.query.p || 'profile');+const currentPage = ref<PageKey>((route.query.p as PageKey) || 'profile');+const currentComponent = computed(() => pages[currentPage.value]);const menuOpen = ref(false);-const setPage = (p: string) => {- router.push({ query: { ...route.query, p: '' } });+const close = () => emit('close');+const logout = () => {+ logoutUser();+ close();+};++const navSections: NavSection[] = [+ {+ title: 'General',+ items: [+ { key: 'profile', label: 'My profile', icon: 'profil' },+ { key: 'apparence', label: 'Apparence', icon: 'brush' },+ { key: 'security', label: 'Security', icon: 'security' },+ { key: 'backup', label: 'Backup', icon: 'backup' },+ ],+ },+ {+ title: 'Preferences',+ items: [+ { key: 'documents', label: 'Documents settings', icon: 'bookmark-stack' },+ { key: 'editor', label: 'Editor settings', icon: 'editor' },+ { key: 'advanced', label: 'Advanced', icon: 'advanced' },+ ],+ },+ {+ title: 'Tools',+ items: [+ { key: 'shortcuts', label: 'Shortcuts', icon: 'shortcuts' },+ { key: 'snippets', label: 'Snippets', icon: 'snippets' },+ { key: 'markdown', label: 'Markdown', icon: 'markdown' },+ ],+ },+ {+ title: 'Other',+ items: [+ { key: 'about', label: 'About', icon: 'view' },+ { type: 'action', label: 'Logout', icon: 'logout', action: () => logout() },+ ],+ },+];++const setPage = (p: PageKey) => {+ router.push({ query: { ...route.query, p } });currentPage.value = p;menuOpen.value = false;};+watchEffect(() => {- if (route.query.p && typeof route.query.p === 'string') currentPage.value = route.query.p;+ const p = route.query.p;+ if (p && typeof p === 'string' && p in pages) currentPage.value = p as PageKey;});-const logout = () => {- logoutUser();- emit('close');-};-const close = () => emit('close');</script><style scoped lang="scss">@@ -114,7 +166,8 @@ const close = () => emit('close');gap: 0.5rem;text-decoration: none;- &:hover {+ &:hover,+ &.active {background-color: var(--surface-overlay);}}diff --git a/frontend/public/app-icons/advanced.svg b/frontend/public/app-icons/advanced.svgindex ee43dc3c..dcac80d5 100644--- a/frontend/public/app-icons/advanced.svg+++ b/frontend/public/app-icons/advanced.svg@@ -1 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M240-160q-50 0-85-35t-35-85q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35Zm480 0q-50 0-85-35t-35-85q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35ZM480-560q-50 0-85-35t-35-85q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35Z"/></svg>\ No newline at end of file+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M480-480ZM370-80l-16-128q-13-5-24.5-12T307-235l-119 50L78-375l103-78q-1-7-1-13.5v-27q0-6.5 1-13.5L78-585l110-190 119 50q11-8 23-15t24-12l16-128h220l16 128q13 5 24.5 12t22.5 15l119-50 110 190-74 56q-22-11-45-18.5T714-558l63-48-39-68-99 42q-22-23-48.5-38.5T533-694l-13-106h-79l-14 106q-31 8-57.5 23.5T321-633l-99-41-39 68 86 64q-5 15-7 30t-2 32q0 16 2 31t7 30l-86 65 39 68 99-42q17 17 36.5 30.5T400-275q1 57 23.5 107T484-80H370Zm41-279q6-20 14.5-38.5T445-433q-11-8-17-20.5t-6-26.5q0-25 17.5-42.5T482-540q14 0 27 6.5t21 17.5q17-11 35-19.5t38-13.5q-18-32-50-51.5T482-620q-59 0-99.5 41T342-480q0 38 18.5 70.5T411-359Zm269 199 120-120-120-120-28 28 72 72H560v40h163l-71 72 28 28Zm-141.5 21.5Q480-197 480-280t58.5-141.5Q597-480 680-480t141.5 58.5Q880-363 880-280t-58.5 141.5Q763-80 680-80t-141.5-58.5Z"/></svg>\ No newline at end of filediff --git a/frontend/public/app-icons/bookmark-stack.svg b/frontend/public/app-icons/bookmark-stack.svgnew file mode 100644index 00000000..c8dfb78d--- /dev/null+++ b/frontend/public/app-icons/bookmark-stack.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M480-240 63-467l84-46 333 182 333-182 84 46-417 227Zm0 160L63-307l84-46 333 182 333-182 84 46L480-80Zm0-320L40-640l440-240 40 22v178h327l73 40-440 240Zm0-91 200-109H440v-167L207-640l273 149Zm-40-109Z"/></svg>\ No newline at end of filediff --git a/frontend/public/app-icons/editor.svg b/frontend/public/app-icons/editor.svgnew file mode 100644index 00000000..f2c996a0--- /dev/null+++ b/frontend/public/app-icons/editor.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M320-320h320v-320H320v320ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z"/></svg>\ No newline at end of file