From ef50c6c3411ce4745ed79eae3c156250fe68a7f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Marseault?= <22910497+Larsluph@users.noreply.github.com> Date: Tue, 28 Nov 2023 18:45:22 +0100 Subject: [PATCH] feat(history): Add history to some fields (#1361) --- src/components/Core/HistoryField.vue | 41 ++++++++++++++++ src/components/Dialogs/AddTorrentDialog.vue | 38 +++++++++------ src/components/Dialogs/MoveTorrentDialog.vue | 8 +++- .../Settings/VueTorrent/General.vue | 11 +++-- src/constants/vuetorrent/HistoryKey.ts | 5 ++ src/constants/vuetorrent/index.ts | 3 +- src/pages/SearchEngine.vue | 17 +++---- src/stores/history.ts | 47 +++++++++++++++++++ src/stores/index.ts | 2 + 9 files changed, 142 insertions(+), 30 deletions(-) create mode 100644 src/components/Core/HistoryField.vue create mode 100644 src/constants/vuetorrent/HistoryKey.ts create mode 100644 src/stores/history.ts diff --git a/src/components/Core/HistoryField.vue b/src/components/Core/HistoryField.vue new file mode 100644 index 00000000..29b4ee9e --- /dev/null +++ b/src/components/Core/HistoryField.vue @@ -0,0 +1,41 @@ + + + + + \ No newline at end of file diff --git a/src/components/Dialogs/AddTorrentDialog.vue b/src/components/Dialogs/AddTorrentDialog.vue index cdf7fe99..9305ddb3 100644 --- a/src/components/Dialogs/AddTorrentDialog.vue +++ b/src/components/Dialogs/AddTorrentDialog.vue @@ -1,6 +1,8 @@