From 6fcb57b1d09dc9a59fc1af486bcdb689c67aef4b Mon Sep 17 00:00:00 2001 From: Sabu Siyad Date: Wed, 27 Sep 2023 17:48:50 +0530 Subject: [PATCH] fix: remove user store (#1572) --- desk/src/components/TextEditor.vue | 7 +- desk/src/components/TimelineItem.vue | 12 +- desk/src/components/UserAvatar.vue | 17 +-- .../notifications/Notifications.vue | 2 +- .../notifications/NotificationsMention.vue | 12 +- desk/src/pages/c-layout/CLayoutNav.vue | 7 +- desk/src/pages/ticket/TicketAgentActions.vue | 27 +--- desk/src/pages/ticket/TicketComment.vue | 11 +- desk/src/pages/ticket/TicketCommunication.vue | 5 +- desk/src/pages/ticket/TicketConversation.vue | 4 +- desk/src/pages/ticket/TicketHistory.vue | 2 +- desk/src/pages/ticket/TicketTextEditor.vue | 11 +- desk/src/pages/ticket/TicketViews.vue | 2 +- desk/src/pages/tickets/TicketsAgent.vue | 2 +- desk/src/pages/tickets/TicketsAgentList.vue | 4 +- desk/src/router/index.js | 2 - desk/src/stores/notification.ts | 8 +- desk/src/stores/user.ts | 31 ---- desk/src/types.ts | 11 +- helpdesk/extends/client.py | 26 +++- helpdesk/helpdesk/doctype/hd_ticket/api.py | 133 +++++++++++------- .../helpdesk/doctype/hd_ticket/hd_ticket.json | 15 +- .../helpdesk/doctype/hd_ticket/hd_ticket.py | 10 ++ .../hd_ticket_comment/hd_ticket_comment.json | 3 +- helpdesk/patches.txt | 1 + helpdesk/patches/create_helpdesk_folder.py | 5 + helpdesk/setup/file.py | 9 ++ helpdesk/setup/install.py | 4 +- 28 files changed, 212 insertions(+), 171 deletions(-) delete mode 100644 desk/src/stores/user.ts create mode 100644 helpdesk/patches/create_helpdesk_folder.py create mode 100644 helpdesk/setup/file.py diff --git a/desk/src/components/TextEditor.vue b/desk/src/components/TextEditor.vue index 7e3c8a162..9b5d1b7fd 100644 --- a/desk/src/components/TextEditor.vue +++ b/desk/src/components/TextEditor.vue @@ -11,7 +11,12 @@