From 1e95a1957485f9be4ed1415a32880f3491144edf Mon Sep 17 00:00:00 2001 From: Guarde Date: Sat, 9 Dec 2023 22:13:12 +0100 Subject: [PATCH 1/2] Change "Folder Name" to "Song trackRef", make it required and update popup/tooltip --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 485dee6..434ce18 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .idea +/.vs From 1f738e81e6b51918a7eaa1707d4237ab0b168a3e Mon Sep 17 00:00:00 2001 From: Guarde Date: Sat, 9 Dec 2023 22:13:29 +0100 Subject: [PATCH 2/2] Change "Folder Name" to "Song trackRef", make it required and update popup/tooltip --- index.html | 9 ++++----- src/generate.js | 2 +- src/inputs.js | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index 93b4ea9..67d7581 100644 --- a/index.html +++ b/index.html @@ -138,12 +138,11 @@

- Chart info -

- Other -

- i - - + i + + - i + i diff --git a/src/generate.js b/src/generate.js index ce0bc83..c2c16bd 100644 --- a/src/generate.js +++ b/src/generate.js @@ -8,7 +8,7 @@ const Generate = (function () { if (!Inputs.verifyInputs() || MidiToNotes.notes.length === 0) { alert( "Please ensure a valid midi is uploaded and all fields are filled\n" + - "(Folder Name and Song Endpoint can be empty)" + "(Song Endpoint can be empty)" ); return; } diff --git a/src/inputs.js b/src/inputs.js index 7f45329..09970d8 100644 --- a/src/inputs.js +++ b/src/inputs.js @@ -21,7 +21,7 @@ const Inputs = (function () { }; /** Inputs that are not required to be filled in */ - const optionalInputNames = new Set(["foldername", "songendpoint"]); + const optionalInputNames = new Set(["songendpoint"]); /** Inputs that need to be formatted as ints */ const intInputNames = new Set([