From 7a1c09b3378397f3eef575f5cb3cefa52405ae63 Mon Sep 17 00:00:00 2001 From: Tina A Le Date: Sun, 1 Jun 2025 04:21:22 +0000 Subject: [PATCH 1/2] Update comments in action.js and documented exit() function to match consistency with the rest of the code --- scripts/action.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/scripts/action.js b/scripts/action.js index 288d8dd4..6c93b3a4 100644 --- a/scripts/action.js +++ b/scripts/action.js @@ -6,7 +6,7 @@ */ -//Sets persona name?? Runs at startup?? +// Loads the persona name from localStorage on startup, or defaults to "Abi" var personaName = localStorage.getItem("personaName"); if (personaName !== null ) {personaName = personaName.slice(1, personaName.length-1);} else { personaName = "Abi"; } @@ -331,7 +331,14 @@ function actionLoop(el){ } }); - //exits the gendermag session +/* + * Function: exit + * Description: Ends the GenderMag session by saving status flags, showing final download options, + * and preparing for final confirmation or cancellation. Provides options to download + * the session data in different formats, ensures the user confirms data is saved before + * quitting, and handles "go back" behavior. + * Params: none + */ function exit() { //setStatusToFalse("inMiddleOfAction"); localStorage.setItem("inMiddleOfAction", "false"); From f60270933fd9d0d48685902bf7a615e9a3091a33 Mon Sep 17 00:00:00 2001 From: Tina A Le Date: Sun, 1 Jun 2025 04:24:54 +0000 Subject: [PATCH 2/2] Updated comments in action.js and documented exit() function to match rest of the code --- GenderMagRecordersAssistant | 1 + 1 file changed, 1 insertion(+) create mode 160000 GenderMagRecordersAssistant diff --git a/GenderMagRecordersAssistant b/GenderMagRecordersAssistant new file mode 160000 index 00000000..eb38b41b --- /dev/null +++ b/GenderMagRecordersAssistant @@ -0,0 +1 @@ +Subproject commit eb38b41bff99214f9520eee891e2ae1dd20e9b57