From 2238e06d9cad7ef4b9f313219df6584793c9fb7b Mon Sep 17 00:00:00 2001 From: Oscar Date: Sat, 27 Dec 2025 11:35:14 +0800 Subject: [PATCH 1/2] feat: persist console visibility state in local storage on PlatformPage --- dashboard/src/views/PlatformPage.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dashboard/src/views/PlatformPage.vue b/dashboard/src/views/PlatformPage.vue index 56d23852d..2860b6f0b 100644 --- a/dashboard/src/views/PlatformPage.vue +++ b/dashboard/src/views/PlatformPage.vue @@ -230,7 +230,7 @@ export default { save_message: "", save_message_success: "success", - showConsole: false, + showConsole: localStorage.getItem('platformPage_showConsole') === 'true', showWebhookDialog: false, currentWebhookUuid: '', @@ -248,6 +248,10 @@ export default { }, watch: { + showConsole(newValue) { + localStorage.setItem('platformPage_showConsole', newValue.toString()); + }, + showIdConflictDialog(newValue) { if (!newValue && this.idConflictResolve) { this.idConflictResolve(false); From 198816d1f1415a9930a6269bf30ebd34eabdc40e Mon Sep 17 00:00:00 2001 From: Oscar Date: Sat, 27 Dec 2025 11:48:41 +0800 Subject: [PATCH 2/2] feat: add persistence for sidebar opened items in local storage --- .../src/layouts/full/vertical-sidebar/VerticalSidebar.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dashboard/src/layouts/full/vertical-sidebar/VerticalSidebar.vue b/dashboard/src/layouts/full/vertical-sidebar/VerticalSidebar.vue index 49ec649ba..8ebd35eea 100644 --- a/dashboard/src/layouts/full/vertical-sidebar/VerticalSidebar.vue +++ b/dashboard/src/layouts/full/vertical-sidebar/VerticalSidebar.vue @@ -1,5 +1,5 @@