From 4d8526e4695540e06b83d338f39963c2fd17acb5 Mon Sep 17 00:00:00 2001 From: Grigorij Aronov Date: Wed, 28 Jan 2026 18:46:30 +0100 Subject: [PATCH] feat(ui): Add rename/delete category actions in the sidebar Signed-off-by: Grigorij Aronov --- src/App.vue | 128 ++++++++++--- src/components/CategoriesList.vue | 292 +++++++++++++++++++++++++++++- src/components/NotesView.vue | 40 ++++ src/store/notes.js | 71 +++++++- 4 files changed, 498 insertions(+), 33 deletions(-) diff --git a/src/App.vue b/src/App.vue index 31a8eff99..ede5a2592 100644 --- a/src/App.vue +++ b/src/App.vue @@ -9,16 +9,16 @@ - + @@ -235,4 +509,8 @@ export default { outline: 2px dashed var(--color-primary-element); outline-offset: -2px; } + +.app-navigation-entry-wrapper.category-no-actions:deep(.app-navigation-entry__counter-wrapper) { + margin-inline-end: calc(var(--default-grid-baseline) * 2 + var(--default-clickable-area)); +} diff --git a/src/components/NotesView.vue b/src/components/NotesView.vue index 1c14cb9ee..2a190dc20 100644 --- a/src/components/NotesView.vue +++ b/src/components/NotesView.vue @@ -8,6 +8,12 @@