From 2b07cc98a6ddbcde1b6f22603c22974ac9bbef71 Mon Sep 17 00:00:00 2001 From: Aran Roig Date: Sun, 26 Apr 2026 22:57:29 +0200 Subject: [PATCH] Whatever ClearWindow needs to be in json --- frontend/app/app.vue | 2 + .../components/managers/TooltipManager.vue | 41 +++++++++ .../app/components/managers/WindowManager.vue | 15 ++-- .../components/partials/EditUserPartial.vue | 10 +-- .../app/components/partials/IconButton.vue | 84 +++++++++++++++++ .../components/windows/EditProfileWindow.vue | 89 +++++++++++++++++++ .../app/components/windows/ExampleWindow.vue | 4 +- .../app/components/windows/LoginWindow.vue | 2 +- .../app/components/windows/MainMenuWindow.vue | 4 +- .../app/components/windows/RegisterWindow.vue | 3 +- .../windows/partials/BigIconTemplate.vue | 31 +++++++ .../windows/partials/FixedBottomButtons.vue | 29 ++++++ .../windows/partials/WindowHandle.vue | 2 +- frontend/app/services/Tooltip.js | 87 ++++++++++++++++++ frontend/app/services/WindowDefinitions.js | 11 ++- frontend/app/services/Windows.js | 75 ++++++++++------ frontend/i18n/locales/en.json | 3 +- frontend/nuxt.config.ts | 3 +- frontend/package-lock.json | 72 ++++++++++++++- frontend/package.json | 1 + 20 files changed, 509 insertions(+), 59 deletions(-) create mode 100644 frontend/app/components/managers/TooltipManager.vue create mode 100644 frontend/app/components/partials/IconButton.vue create mode 100644 frontend/app/components/windows/EditProfileWindow.vue create mode 100644 frontend/app/components/windows/partials/BigIconTemplate.vue create mode 100644 frontend/app/components/windows/partials/FixedBottomButtons.vue create mode 100644 frontend/app/services/Tooltip.js diff --git a/frontend/app/app.vue b/frontend/app/app.vue index 665ffbe..0ab81ab 100644 --- a/frontend/app/app.vue +++ b/frontend/app/app.vue @@ -5,6 +5,7 @@ import WindowManager from './components/managers/WindowManager.vue'; import { CreateWindow } from '@/services/Windows' import { GetUser, HasAdmin } from './services/User'; +import TooltipManager from './components/managers/TooltipManager.vue'; async function start(){ if(GetUser()){ @@ -39,6 +40,7 @@ onMounted(() => {