From 2cc377147619fed9838bd016ccff6e4766dd4a44 Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Wed, 23 Oct 2024 08:15:40 +0200 Subject: [PATCH] feat(systemtags): emit tags changes and optimise tag updates performances Signed-off-by: skjnldsv --- .../src/components/SystemTagPicker.vue | 81 ++++++++++---- apps/systemtags/src/event-bus.d.ts | 9 ++ .../inlineSystemTagsAction.spec.ts | 62 +++++++++-- .../files_actions/inlineSystemTagsAction.ts | 101 ++++++++++-------- apps/systemtags/src/services/api.ts | 4 + apps/systemtags/src/utils.ts | 7 ++ 6 files changed, 192 insertions(+), 72 deletions(-) create mode 100644 apps/systemtags/src/event-bus.d.ts diff --git a/apps/systemtags/src/components/SystemTagPicker.vue b/apps/systemtags/src/components/SystemTagPicker.vue index 55b664e3c9a..43e7e8fa682 100644 --- a/apps/systemtags/src/components/SystemTagPicker.vue +++ b/apps/systemtags/src/components/SystemTagPicker.vue @@ -11,7 +11,7 @@ close-on-click-outside out-transition @update:open="onCancel"> - +