0df2065b4bf9f313234bd65b1fd23e53f79be4c0 max Wed Nov 3 08:36:06 2021 -0700 fixing OFF/OFF bug and revising wording a little for hgHubConnect, refs #28324 diff --git src/hg/hgHubConnect/hgHubConnect.c src/hg/hgHubConnect/hgHubConnect.c index cc0ac1b..7caeb9b 100644 --- src/hg/hgHubConnect/hgHubConnect.c +++ src/hg/hgHubConnect/hgHubConnect.c @@ -431,67 +431,67 @@ "type='text' size='65'%s>\n", hubUrlVal); printf("\n"); puts("
Use the URL bar above to check a hub for errors. This will " "validate the hub's configuration files, including hub.txt, " "genomes.txt and trackDb.txt. " "It will also present a hierarchical tree of tracks with any errors in red. A hub " "with no errors still shows the tree which can be used to explore the track hierarchy. " "Hub error checking will always refresh the files and never use our remote file cache (see below)." "
\n " ); puts(""); // .tabSection puts("
"); puts("

Enable Genome Browser debugging modes

"); -puts("
These apply to all connected hubs. By default, caching is activated and track load times are not shown, but you can change these settings when debugging your hub.
"); +puts("
These apply to all connected hubs. By default, caching is activated and track load times are not shown, but you can change these settings while developing your hub:
"); puts("
"); puts("
"); // output the udcTimeout button -char *noCacheLabel = "Deactivate (Always refresh)"; +char *noCacheLabel = "Inactive, never cache"; char *timeout = "5"; char *cacheStatus = "ON"; -char *description = "Always refresh files, do not cache contents at UCSC. This means that data access is slower, but you can see the effect of changes to your files immediately on the Genome Browser."; +char *description = "Do not cache contents at UCSC and always load them from the source server. This means that data access is slower, but you can see the effect of changes to your files immediately on the Genome Browser."; if (cartNonemptyString(cart, "udcTimeout")) { - noCacheLabel = "Activate (Always cache)"; + noCacheLabel = "Active, always cache"; timeout = ""; cacheStatus = "OFF"; description = "Always cache contents at UCSC. This means that data access is faster, but you cannot see the effect of changes to your files on the Genome Browser for at least 5 minutes."; } printf("File caching: %s  ", cacheStatus); -printf("", timeout, noCacheLabel); +printf("", timeout, noCacheLabel); printf("
%s
", description); puts("For custom tracks, this affects only the remote formats (bigBed, bigWig, tabix, BAM, CRAM, etc), not text files (BED, PSL, etc), which are stored at UCSC.
"); // output the measureTiming button char *timeLabel = "Show timings"; char *timeVal = "on"; char *timeDesc = "Shows loading time in milliseconds for each track, to help debug performance problems."; -char *timeStatus = "OFF"; +char *timeStatus = "ON"; if (cartNonemptyString(cart, "measureTiming")) { timeLabel = "Hide timings"; timeVal = ""; timeDesc = "Hide timing measurements."; timeStatus = "OFF"; } printf("Load times: %s  ", timeStatus); -printf("", timeVal, timeLabel); +printf("", timeVal, timeLabel); printf("
%s
", timeDesc); puts("
"); // margin-left puts("
"); // tabSection puts(""); // #hubDeveloper jsOnEventById("click", "hubValidateButton", "makeIframe(event)"); } void printSearchAndFilterBoxes(int searchEnabled, char *hubSearchTerms, char *dbFilter) /* Create the text boxes for search and database filtering along with the required * javscript */ { printf("\n", "../cgi-bin/hgHubConnect");