26754e1af309a8b7c47a44f22a114421d3da003b lrnassar Wed May 14 16:18:19 2025 -0700 Improving the new hubConnect redirect page with more information, a link to connect another hub, a disclaimer, and a temporary note that is more visually captivating to make sure users don't wait for the automatic refresh. Refs #29899 diff --git src/hg/hgHubConnect/hgHubConnect.c src/hg/hgHubConnect/hgHubConnect.c index e383ef29c36..5e361875348 100644 --- src/hg/hgHubConnect/hgHubConnect.c +++ src/hg/hgHubConnect/hgHubConnect.c @@ -1426,51 +1426,55 @@ char *errorMessage; hubFindOrAddUrlInStatusTable(cart, hub->hubUrl, &errorMessage); // if there is an error message, we stay in hgHubConnect if (errorMessage != NULL) return 0; getDbAndGenome(cart, &database, &organism, oldVars); char headerText[1024]; safef(headerText, sizeof(headerText), "Hub Connect Successful"); cartWebStart(cart, NULL, "%s", headerText); struct trackHub *tHub = hub->trackHub; +hPrintf("

Note: As of May 27 this page no longer redirects to the gateway. Make a genome selection below to go directly to the tracks display. This message will be removed July 8th.

"); + +hPrintf("

%s now connected. Select a genome below to see the tracks display, or connect another hub.

", tHub->shortLabel); hPrintf("

Hub Description: %s

", tHub->longLabel); -hPrintf("

Contact email: %s. Please contact them with questions about the data.

", tHub->email, tHub->email); +hPrintf("

Contact email: %s. Use this contact for all data questions.

", tHub->email, tHub->email); struct trackHubGenome *genomeList = tHub->genomeList; -hPrintf("

Select a genome assembly below to go back to the genome browser, with this hub connected:

"); hPrintf(""); +hPrintf("

Hubs are created and maintained by external sources. UCSC is not responsible for their content and status.

"); + return 1; } static void doResetHub(struct cart *theCart) { char *url = cartOptionalString(cart, hgHubCheckUrl); if (url != NULL) { udcSetCacheTimeout(1); unsigned id = hubResetError(url); tryHubOpen(id); } else errAbort("must specify url in %s\n", hgHubDataText);