From 13d7752c6d0e4e799ee99c32a1ddc4e163087153 Mon Sep 17 00:00:00 2001 From: Miodec Date: Sun, 23 Nov 2025 16:04:35 +0100 Subject: [PATCH 1/2] chore: add command to fix skill issue --- frontend/src/ts/commandline/lists.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/frontend/src/ts/commandline/lists.ts b/frontend/src/ts/commandline/lists.ts index bd4d29314..1dbe01c36 100644 --- a/frontend/src/ts/commandline/lists.ts +++ b/frontend/src/ts/commandline/lists.ts @@ -332,6 +332,29 @@ export const commands: CommandsSubgroup = { ], }, }, + { + id: "fixSkillIssue", + display: "Fix skill issue", + icon: "fa-wrench", + visible: false, + exec: async (): Promise => { + // window.open("https://www.youtube.com/watch?v=dQw4w9WgXcQ"); + (document.querySelector("body") as HTMLElement).innerHTML = ` +
+

Fixing skill issue...

+ +
+ `; + setTimeout(() => { + document + .querySelector(".centerbox") + ?.insertAdjacentHTML( + "beforeend", + `

If your skill issue is not fixed yet, please wait a bit longer...

` + ); + }, 5000); + }, + }, { id: "joinDiscord", display: "Join the Discord server", From 595ff27766d5a16876308ad58bc48e81d9fb3f7e Mon Sep 17 00:00:00 2001 From: Leonabcd123 <156839416+Leonabcd123@users.noreply.github.com> Date: Sun, 23 Nov 2025 18:13:42 +0200 Subject: [PATCH 2/2] fix(custom-theme): Remove duplicate .customTheme selectors (@Leonabcd123) (#7120) ### Description Removed duplicate `.customTheme` selectors to make: ``` $(`.pageSettings .tabContent.customTheme #${color}[type='color']`).attr( "value" ) ``` Select the custom theme data inputs successfully. Closes #7121 Closes #7122 --- frontend/src/ts/modals/share-custom-theme.ts | 6 +++--- frontend/src/ts/modals/simple-modals.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/ts/modals/share-custom-theme.ts b/frontend/src/ts/modals/share-custom-theme.ts index f05129eab..657cc4969 100644 --- a/frontend/src/ts/modals/share-custom-theme.ts +++ b/frontend/src/ts/modals/share-custom-theme.ts @@ -30,9 +30,9 @@ async function generateUrl(): Promise { } = { c: ThemeController.colorVars.map( (color) => - $( - `.pageSettings .customTheme .tabContent.customTheme #${color}[type='color']` - ).attr("value") as string + $(`.pageSettings .tabContent.customTheme #${color}[type='color']`).attr( + "value" + ) as string ), }; diff --git a/frontend/src/ts/modals/simple-modals.ts b/frontend/src/ts/modals/simple-modals.ts index 74b74103e..3cc424b10 100644 --- a/frontend/src/ts/modals/simple-modals.ts +++ b/frontend/src/ts/modals/simple-modals.ts @@ -1133,7 +1133,7 @@ list.updateCustomTheme = new SimpleModal({ for (const color of ThemeController.colorVars) { newColors.push( $( - `.pageSettings .customTheme .tabContent.customTheme #${color}[type='color']` + `.pageSettings .tabContent.customTheme #${color}[type='color']` ).attr("value") as string ); }