From 91b5be25546dea631fcba89a49d49829b91494cc Mon Sep 17 00:00:00 2001 From: Wolfsblvt Date: Wed, 10 Jul 2024 18:24:09 +0200 Subject: [PATCH] Give hint on extension link as asset list :3 --- public/scripts/extensions/assets/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/scripts/extensions/assets/index.js b/public/scripts/extensions/assets/index.js index 1a17ac9d9..b266f5a8f 100644 --- a/public/scripts/extensions/assets/index.js +++ b/public/scripts/extensions/assets/index.js @@ -219,6 +219,12 @@ function downloadAssetsList(url) { $('#assets_menu').show(); }) .catch((error) => { + // Info hint if the user maybe... likely accidently was trying to install an extension and we wanna help guide them? uwu :3 + const installButton = $('#third_party_extension_button'); + flashHighlight(installButton, 10_000); + toastr.info('If you are trying to install an extension, click the flashing button to the right of this.', 'Trying to install a custom extension?', { timeOut: 10_000 }); + + // Error logged after, to appear on top console.error(error); toastr.error('Problem with assets URL', DEBUG_PREFIX + 'Cannot get assets list'); $('#assets-connect-button').addClass('fa-plug-circle-exclamation');