From 78a1be39eba704e89d90bbf43126df808a866b9f Mon Sep 17 00:00:00 2001 From: Sam Hoffman Date: Sun, 18 Jan 2026 18:30:22 -0500 Subject: [PATCH] lots of things --- app/frontend/src/App.vue | 13 +- app/frontend/src/components/Chat.vue | 15 +- app/frontend/src/components/InputBuffer.vue | 39 ++- app/frontend/src/components/Login.vue | 14 +- app/frontend/src/components/MessageList.vue | 9 + app/frontend/src/components/Register.vue | 88 ++++++ app/frontend/src/plugins/index.ts | 3 +- app/frontend/src/plugins/router.ts | 37 +++ app/frontend/src/stores/accountStore.ts | 11 +- app/frontend/src/stores/irc.ts | 63 ++++- app/package-lock.json | 299 +++++++++++++++++++- app/package.json | 5 + 12 files changed, 568 insertions(+), 28 deletions(-) create mode 100644 app/frontend/src/components/Register.vue create mode 100644 app/frontend/src/plugins/router.ts create mode 100644 app/package.json diff --git a/app/frontend/src/App.vue b/app/frontend/src/App.vue index dcd56ce..0b1d81d 100644 --- a/app/frontend/src/App.vue +++ b/app/frontend/src/App.vue @@ -1,7 +1,12 @@ @@ -9,6 +14,10 @@ import { useIRCStore } from "@/stores/irc"; import Chat from "@/components/Chat.vue"; import Login from "@/components/Login.vue"; +import Register from "@/components/Register.vue"; +import { useAccountStore } from "./stores/accountStore"; const ircStore = useIRCStore(); +const accountStore = useAccountStore(); +const { showRegistration } = storeToRefs(accountStore); diff --git a/app/frontend/src/components/Chat.vue b/app/frontend/src/components/Chat.vue index 0e3e7ad..82c6ca4 100644 --- a/app/frontend/src/components/Chat.vue +++ b/app/frontend/src/components/Chat.vue @@ -10,6 +10,7 @@ const accountStore = useAccountStore();