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; + } + } + + + + + + +