d4beb65c6ee1c8b31b134f949e03fa717f449af1 gperez2 Mon Mar 9 08:26:56 2026 -0700 Updating the text for the superTrack hgTrackUi, refs #36917 diff --git src/hg/hgTrackUi/hgTrackUi.c src/hg/hgTrackUi/hgTrackUi.c index 504e03c57b3..4a081afc585 100644 --- src/hg/hgTrackUi/hgTrackUi.c +++ src/hg/hgTrackUi/hgTrackUi.c @@ -2743,59 +2743,60 @@ /* Return TRUE if target is in tdbList. */ { struct trackDb *tdb; for (tdb = tdbList; tdb != NULL; tdb = tdb->next) if (tdb == target) return TRUE; return FALSE; } #endif /* UNUSED */ void superTrackUi(struct trackDb *superTdb, struct trackDb *tdbList) /* List tracks in this collection, with visibility controls and UI links */ { jsIncludeFile("hui.js",NULL); printf("

"); -printf("Tracks that are part of this container are listed below. Use the buttons below to set their visibilities.

"); +printf("Tracks that are part of this container are listed below. Use the buttons below to set their visibility. The grey button shows each track's current visibility.

"); printf("\n"); tdbRefSortPrioritiesFromCart(cart, &superTdb->children); struct slRef *childRef; char javascript[1024]; for (childRef = superTdb->children; childRef != NULL; childRef = childRef->next) { struct trackDb *tdb = childRef->val; if (childRef == superTdb->children) // first time through { printf("\n"); } printf("
\n"); printf("Apply visibility: \n"); printf("\n"); - printInfoIcon("The 'Apply to all' button sets all tracks below to the visibility selected on this dropdown. The 'Apply to all visible' button sets this visibility on all tracks below that are not hidden."); + printInfoIcon("The 'Apply to all visible tracks' button sets the visibility selected in this dropdown on all tracks below that are not hidden.
" + "The 'Apply to all tracks' button sets the visibility selected in this dropdown on all tracks below, including hidden ones."); // First button: set all selectors that are not on 'hide' to the current value of the top select printf("\n"); jsOnEventById("click", "superVizApplyButton", "superUiSetAllTracks(true)"); // Second button: set all selectors to the current value of the top select - printf(" \n"); + printf(" \n"); jsOnEventById("click", "superVizApplyAllButton", "superUiSetAllTracks()"); printf("
"); if (!tdbIsDownloadsOnly(tdb)) { char id[256]; enum trackVisibility tv = hTvFromString(cartUsualString(cart, tdb->track,hStringFromTv(tdb->visibility))); safef(id, sizeof id, "%s_check", tdb->track); printf("", id, (tv != tvHide?" CHECKED":"")); safef(javascript, sizeof(javascript), "superT.selChanged(this)"); struct slPair *event = slPairNew("change", cloneString(javascript)); @@ -3721,31 +3722,31 @@ tdb->canPack = TRUE; else if (sameString(tdb->type, "bigNarrowPeak")) tdb->canPack = TRUE; else if (sameString(tdb->type, "hic")) tdb->canPack = TRUE; // Don't bother with vis controls for downloadsOnly if (!tdbIsDownloadsOnly(tdb)) { /* Display visibility menu */ if (tdbIsComposite(tdb) && multViewCount(tdb) > 0) printf("Maximum display mode: "); else if (tdbIsSuper(tdb)) { printf("Show or hide this container and all tracks: "); - printInfoIcon("Switching off the entire container here will preserve the visibility settings below, so you can come back later and restore the visibility settings again with a single click."); + printInfoIcon("Hiding the entire container here will preserve the track visibility settings below, and they can be restored by selecting 'Show'."); } else printf("Display mode: "); if (tdbIsSuper(tdb)) { superTrackDropDown(cart, tdb, 1); } else { /* normal visibility control dropdown */ enum trackVisibility vis = tdb->visibility; boolean canPack = rTdbTreeCanPack(tdb); if (ajax) {