47ea57080b515e5dad5f658c58feb8944a7e7d61
chmalee
Thu Jan 29 15:30:26 2026 -0800
Replace clade/assembly dropdowns with a search bar on most CGIs. Add a recents list to hgGateway and to the species bar and to the 'Genomes' dropdown menu. Track recently selected species in localStorage. Add toGenome and fromGenome arguemnts to hubApi/liftOver in order to find appropriate liftover assemblies, refs #36232
diff --git src/hg/hgCustom/hgCustom.c src/hg/hgCustom/hgCustom.c
index 5a3b9e78654..6503c2fc046 100644
--- src/hg/hgCustom/hgCustom.c
+++ src/hg/hgCustom/hgCustom.c
@@ -149,98 +149,89 @@
" If you do not have web-accessible data storage available, please see the\n"
" Hosting section of the Track Hub Help documentation.\n
"
" \n"
" Please note a much more efficient way to load data is to use\n"
" Track Hubs, which are loaded\n"
" from the Track Hubs Portal found in the menu under My Data.\n"
);
}
void addCustomForm(struct customTrack *ct, char *err, boolean warnOnly)
/* display UI for adding custom tracks by URL or pasting data */
{
char *dataUrl = NULL;
char buf[1024];
-boolean gotClade = FALSE;
boolean isUpdateForm = FALSE;
if (ct)
{
isUpdateForm = TRUE;
dataUrl = ctDataUrl(ct);
}
-else
- /* add form needs clade for assembly menu */
- gotClade = hGotClade();
jsIncludeFile("jquery.js", NULL);
jsIncludeFile("hgCustom.js", NULL);
jsIncludeFile("utils.js", NULL);
jsIncludeFile("ajax.js", NULL);
if (cfgOptionBooleanDefault("showTutorial", TRUE))
{
jsIncludeFile("shepherd.min.js", NULL);
webIncludeResourceFile("shepherd.css");
jsIncludeFile("jquery-ui.js", NULL);
webIncludeResourceFile("jquery-ui.css");
jsIncludeFile("tutorialPopup.js", NULL);
jsIncludeFile("customTrackTutorial.js", NULL);
if (sameOk(cgiOptionalString("startCustomTutorial"), "true"))
{
jsInline("var startCustomTutorialOnLoad = true;");
}
}
/* main form */
printf("