From 82739f56b198054acbde53527e9eb39fa14f2602 Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Sun, 12 Mar 2023 15:55:36 +0100 Subject: feat: Allow opening a window with various repair features (#129) * feat: Initial code for spawning repair window * refactor: Move disable all but core mods button to repair window * refactor: Rename function * refactor: Move button location Still in DeveloperView for now, will be moved to settings page later * feat: Add info banner * feat: Set repair window title * fix: Stop thread crash on duplicate window open Instead of calling an unwrap, handle failure to create window which is usually caused by spawning a second repair window although one already exists. * fix: Re-add accidentally removed lines from merge * fix: Set top padding to zero px As there's no menu bar in this view * feat: Close all windows when close bttn is clicked --- src-vue/src/utils/Tabs.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src-vue/src/utils') diff --git a/src-vue/src/utils/Tabs.ts b/src-vue/src/utils/Tabs.ts index 027f9f0a..5d31379c 100644 --- a/src-vue/src/utils/Tabs.ts +++ b/src-vue/src/utils/Tabs.ts @@ -3,5 +3,6 @@ export enum Tabs { CHANGELOG = '/changelog', SETTINGS = '/settings', DEV = '/dev', - MODS = '/mods' + MODS = '/mods', + REPAIR = '/repair', } -- cgit v1.2.3