From f6dc4c1ee932e7d92164ca41e2218c240455493d Mon Sep 17 00:00:00 2001 From: Zoe <62722391+juls0730@users.noreply.github.com> Date: Tue, 24 Feb 2026 16:37:21 +0000 Subject: [PATCH] feat: add message editing This commit adds message editing as a feature. To accomplish this, the settings dialog was refactored into a singleton and now the message edit and settings use the singleton where appropriate. --- app/components/Dialog/Settings.vue | 96 +++++++++++++++++++++ app/components/Dialog/Textbox.vue | 24 ++++++ app/components/Dialog/index.vue | 51 +++++++++++ app/components/Message/index.vue | 26 ++++++ app/components/Settings/Dialog.vue | 131 ----------------------------- app/components/Sidenav/index.vue | 6 +- app/composables/useDialog.ts | 53 ++++++++++++ app/layouts/default.vue | 8 +- 8 files changed, 259 insertions(+), 136 deletions(-) create mode 100644 app/components/Dialog/Settings.vue create mode 100644 app/components/Dialog/Textbox.vue create mode 100644 app/components/Dialog/index.vue delete mode 100644 app/components/Settings/Dialog.vue create mode 100644 app/composables/useDialog.ts diff --git a/app/components/Dialog/Settings.vue b/app/components/Dialog/Settings.vue new file mode 100644 index 0000000..62b1fcf --- /dev/null +++ b/app/components/Dialog/Settings.vue @@ -0,0 +1,96 @@ + + + diff --git a/app/components/Dialog/Textbox.vue b/app/components/Dialog/Textbox.vue new file mode 100644 index 0000000..6309717 --- /dev/null +++ b/app/components/Dialog/Textbox.vue @@ -0,0 +1,24 @@ + + +