()
| 5817 | user_id: userId, |
| 5818 | natural_language: "", |
| 5819 | scholar_url: $("scholarUrl").value, |
| 5820 | homepage_url: $("homepageUrl").value, |
| 5821 | pdf_paths: pdfPaths, |
| 5822 | core_directions_text: $("profileDirectionsInput")?.value || "", |
| 5823 | topic_weights_text: $("profileTopicsInput")?.value || "", |
| 5824 | must_read_keywords: splitListValue($("profileKeywordsInput")?.value || ""), |
| 5825 | must_read_authors: splitListValue($("profileAuthorsInput")?.value || ""), |
| 5826 | must_read_institutions: splitListValue($("profileInstitutionsInput")?.value || ""), |
| 5827 | reset_existing: $("resetProfile").checked |
| 5828 | }) |
| 5829 | }); |
| 5830 | state.currentUser = userId; |
| 5831 | if (!state.users.some((user) => user.user_id === userId)) { |
| 5832 | state.users.push(normalizeUser(userId)); |
| 5833 | await loadUsers(); |
| 5834 | $("userSelect").value = userId; |
| 5835 | } |
| 5836 | renderProfileForm(data); |
nothing calls this directly
no test coverage detected