From 23383aefd78422e447e8cc1bd6761d2c0de16352 Mon Sep 17 00:00:00 2001 From: adryserage <17680194+adryserage@users.noreply.github.com> Date: Mon, 14 Jul 2025 02:13:53 -0400 Subject: [PATCH 1/5] Fix authors field parsing in CSV import Corrected the parsing of the 'authors' field in the fromANDREWROBERTSList function to handle empty values, preventing errors when authors are missing in the CSV data. --- searchApp.html | 650 ++++++++++++++++++++++++------------------------- 1 file changed, 325 insertions(+), 325 deletions(-) diff --git a/searchApp.html b/searchApp.html index eb59362..8d6bcb6 100644 --- a/searchApp.html +++ b/searchApp.html @@ -74,329 +74,329 @@ } .checkbox-label { - display: flex; - align-items: center; - gap: 4px; - cursor: pointer; - } - - .action { - background: var(--primary-color); - color: white; - border: none; - padding: 8px 16px; - border-radius: 4px; - cursor: pointer; - transition: background-color 0.3s; - } - - .action:hover { - background: var(--hover-color); - } - - .action:disabled { - background: #ccc; - cursor: not-allowed; - } - - .loading { - display: inline-block; - position: relative; - width: 20px; - height: 20px; - margin-right: 8px; - } - - .loading:after { - content: ''; - display: block; - width: 16px; - height: 16px; - border-radius: 50%; - border: 2px solid #fff; - border-color: #fff transparent #fff transparent; - animation: loading 1.2s linear infinite; - } - - @keyframes loading { - 0% { transform: rotate(0deg); } - 100% { transform: rotate(360deg); } - } - - #result { - margin-top: 2rem; - overflow-x: auto; - } - - .error-message { - color: #d32f2f; - background: #ffebee; - padding: 1rem; - border-radius: 4px; - margin: 1rem 0; - } - - @media (max-width: 768px) { - body { - padding: 10px; - } - - form { - padding: 15px; - } - - .search-container { - flex-direction: column; - } - - .checkbox-group { - flex-direction: column; - align-items: flex-start; - } - } - - - - -
- - + display: flex; + align-items: center; + gap: 4px; + cursor: pointer; + } + + .action { + background: var(--primary-color); + color: white; + border: none; + padding: 8px 16px; + border-radius: 4px; + cursor: pointer; + transition: background-color 0.3s; + } + + .action:hover { + background: var(--hover-color); + } + + .action:disabled { + background: #ccc; + cursor: not-allowed; + } + + .loading { + display: inline-block; + position: relative; + width: 20px; + height: 20px; + margin-right: 8px; + } + + .loading:after { + content: ''; + display: block; + width: 16px; + height: 16px; + border-radius: 50%; + border: 2px solid #fff; + border-color: #fff transparent #fff transparent; + animation: loading 1.2s linear infinite; + } + + @keyframes loading { + 0% { transform: rotate(0deg); } + 100% { transform: rotate(360deg); } + } + + #result { + margin-top: 2rem; + overflow-x: auto; + } + + .error-message { + color: #d32f2f; + background: #ffebee; + padding: 1rem; + border-radius: 4px; + margin: 1rem 0; + } + + @media (max-width: 768px) { + body { + padding: 10px; + } + + form { + padding: 15px; + } + + .search-container { + flex-direction: column; + } + + .checkbox-group { + flex-direction: column; + align-items: flex-start; + } + } + + + + +
+ + \ No newline at end of file From f08d7a953bced87da3c2a970f05709efbb08a05d Mon Sep 17 00:00:00 2001 From: Adryan Serage <17680194+adryserage@users.noreply.github.com> Date: Mon, 14 Jul 2025 02:19:36 -0400 Subject: [PATCH 2/5] Update searchApp.html Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- searchApp.html | 650 ++++++++++++++++++++++++------------------------- 1 file changed, 325 insertions(+), 325 deletions(-) diff --git a/searchApp.html b/searchApp.html index 8d6bcb6..7ed325d 100644 --- a/searchApp.html +++ b/searchApp.html @@ -74,329 +74,329 @@ } .checkbox-label { - display: flex; - align-items: center; - gap: 4px; - cursor: pointer; - } - - .action { - background: var(--primary-color); - color: white; - border: none; - padding: 8px 16px; - border-radius: 4px; - cursor: pointer; - transition: background-color 0.3s; - } - - .action:hover { - background: var(--hover-color); - } - - .action:disabled { - background: #ccc; - cursor: not-allowed; - } - - .loading { - display: inline-block; - position: relative; - width: 20px; - height: 20px; - margin-right: 8px; - } - - .loading:after { - content: ''; - display: block; - width: 16px; - height: 16px; - border-radius: 50%; - border: 2px solid #fff; - border-color: #fff transparent #fff transparent; - animation: loading 1.2s linear infinite; - } - - @keyframes loading { - 0% { transform: rotate(0deg); } - 100% { transform: rotate(360deg); } - } - - #result { - margin-top: 2rem; - overflow-x: auto; - } - - .error-message { - color: #d32f2f; - background: #ffebee; - padding: 1rem; - border-radius: 4px; - margin: 1rem 0; - } - - @media (max-width: 768px) { - body { - padding: 10px; - } - - form { - padding: 15px; - } - - .search-container { - flex-direction: column; - } - - .checkbox-group { - flex-direction: column; - align-items: flex-start; - } - } - - - - -
- - + display: flex; + align-items: center; + gap: 4px; + cursor: pointer; + } + + .action { + background: var(--primary-color); + color: white; + border: none; + padding: 8px 16px; + border-radius: 4px; + cursor: pointer; + transition: background-color 0.3s; + } + + .action:hover { + background: var(--hover-color); + } + + .action:disabled { + background: #ccc; + cursor: not-allowed; + } + + .loading { + display: inline-block; + position: relative; + width: 20px; + height: 20px; + margin-right: 8px; + } + + .loading:after { + content: ''; + display: block; + width: 16px; + height: 16px; + border-radius: 50%; + border: 2px solid #fff; + border-color: #fff transparent #fff transparent; + animation: loading 1.2s linear infinite; + } + + @keyframes loading { + 0% { transform: rotate(0deg); } + 100% { transform: rotate(360deg); } + } + + #result { + margin-top: 2rem; + overflow-x: auto; + } + + .error-message { + color: #d32f2f; + background: #ffebee; + padding: 1rem; + border-radius: 4px; + margin: 1rem 0; + } + + @media (max-width: 768px) { + body { + padding: 10px; + } + + form { + padding: 15px; + } + + .search-container { + flex-direction: column; + } + + .checkbox-group { + flex-direction: column; + align-items: flex-start; + } + } + + + + +
+ + \ No newline at end of file From 7d55c6cef035642b2b74d88d70107cdcfc11925c Mon Sep 17 00:00:00 2001 From: adryserage <17680194+adryserage@users.noreply.github.com> Date: Mon, 14 Jul 2025 02:23:14 -0400 Subject: [PATCH 3/5] Document v1.1.2 bug fixes and improvements Added update notes for v1.1.2 in README.md and Update.md, detailing fixes for TypeError in `fromANDREWROBERTSList`, null checks for authors field, and improved error handling for Andrew Roberts' spreadsheet data. --- README.md | 6 ++++++ Update.md | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/README.md b/README.md index 603c20a..6a23e74 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,12 @@ If you have any questions and commissions for me, feel free to tell me. # Update History +- v1.1.2 (July 14, 2025) + + 1. Fixed TypeError in `fromANDREWROBERTSList` function when processing CSV data with missing author information. + 2. Added null check for authors field before calling split() method. + 3. Improved error handling for data from Andrew Roberts' spreadsheet. + - v1.1.1 (May 9, 2025) Modified. diff --git a/Update.md b/Update.md index c3b237e..042070e 100644 --- a/Update.md +++ b/Update.md @@ -1,5 +1,13 @@ # Update Log +## 2025-07-14: v1.1.2 - Bug Fix + +### Fixed + +- Fixed TypeError in `fromANDREWROBERTSList` function when processing CSV data with missing author information +- Added null check for authors field before calling split() method +- Improved error handling for data from Andrew Roberts' spreadsheet + ## 2025-05-04: v1.1.0 - Major UI/UX Enhancement ### Added From c9124e99e7ca36d53ab2aa5f1e8ef821a568d4b4 Mon Sep 17 00:00:00 2001 From: Adryan Serage <17680194+adryserage@users.noreply.github.com> Date: Mon, 14 Jul 2025 02:26:47 -0400 Subject: [PATCH 4/5] Update searchApp.html Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- searchApp.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searchApp.html b/searchApp.html index 7ed325d..2c46784 100644 --- a/searchApp.html +++ b/searchApp.html @@ -289,7 +289,7 @@

Search Google Apps Script Libraries s.trim()).filter(Boolean) : [], tags: tags ? tags.split(",") : [], projectKey: projectKey, }); From 2d796bc36d7c73cf519831a5ab9e39a7fe520ffb Mon Sep 17 00:00:00 2001 From: Adryan Serage <17680194+adryserage@users.noreply.github.com> Date: Mon, 14 Jul 2025 02:26:53 -0400 Subject: [PATCH 5/5] Update searchApp.html Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- searchApp.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searchApp.html b/searchApp.html index 2c46784..47599f1 100644 --- a/searchApp.html +++ b/searchApp.html @@ -279,7 +279,7 @@

Search Google Apps Script Libraries