d86274d116c9a29ddcf66f594c57bab80fb5a93c hiram Wed Sep 11 15:31:27 2024 -0700 adjustments per feedback refs #32596 diff --git src/hg/js/assemblySearch.js src/hg/js/assemblySearch.js index 035d175..0dbc56a 100644 --- src/hg/js/assemblySearch.js +++ src/hg/js/assemblySearch.js @@ -266,35 +266,35 @@ headerRow += '<th><div class="tooltip">NCBI Assembly ⓘ<span onclick="event.stopPropagation()" class="tooltiptext">Links to NCBI resource record<br>or UCSC downloads for local UCSC assemblies</span></div></th>'; headerRow += '<th><div class="tooltip">Year ⓘ<span onclick="event.stopPropagation()" class="tooltiptextright">Year assembly was released.</span></div></th>'; headerRow += '<th><div class="tooltip"><em>GenArk</em> clade ⓘ<span onclick="event.stopPropagation()" class="tooltiptextright">Clade specification as found in the <a href="https://hgdownload.soe.ucsc.edu/hubs/index.html" target=_blank>GenArk</a> system, this is not a strict taxonomy category, merely a division of assemblies into several categories.</span></div></th>'; headerRow += '<th><div class="tooltip">Description ⓘ<span onclick="event.stopPropagation()" class="tooltiptextright">Description may include other names, the <b>taxId</b>, year of assembly release and assembly center.</span></div></th>'; headerRow += '<th><div class="tooltip">Status ⓘ<span onclick="event.stopPropagation()" class="tooltiptextright">When specified, status will show the <b>Assembly status</b> the <b>RefSeq category</b> and the <b>Assembly level</b>.</span></div></th>'; headerRow += '</tr>'; tableHead.innerHTML = headerRow; } // call with visible true to make visible, false to hide function advancedSearchVisible(visible) { var advancedSearchButton = document.getElementById("advancedSearchButton"); var searchOptions = document.getElementById("advancedSearchOptions"); if (visible) { searchOptions.style.display = "flex"; - advancedSearchButton.textContent = "Hide advanced search options"; + advancedSearchButton.textContent = "Hide search options"; stateObject.advancedSearchVisible = true; } else { searchOptions.style.display = "none"; - advancedSearchButton.textContent = "Show advanced search options"; + advancedSearchButton.textContent = "Show search options"; stateObject.advancedSearchVisible = false; } } // Function to highlight words in the result that match the words // in the queryString. Work through each item of the rowData object, // for each string, find out if it matches any of the words in the // queryString. This is tricky, there are extra characters besides // just [a-zA-Z] that are getting in the way of these matches, where // the MySQL could match, for example: checking: // 'HG02257' =? '(HG02257.pat' // 'HG02257' =? 'HG02257.alt.pat.f1_v2' // doesn't match here, but MySQL match did function highlightMatch(queryString, rowData) {