60527238f7fe8afc89824e93b0d8780f1bcf65ad chmalee Wed May 6 14:38:50 2026 -0700 Rename my variants to my annotations where appropriate, refs #33808 diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index 9063709f684..c251bc627f8 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -8857,31 +8857,31 @@ { printMultiRegionButton(); hPrintf(" "); } hButtonMaybePressed("hgt.toggleRevCmplDisp", "Reverse", revCmplDisp ? "Show forward strand at this location - keyboard shortcut: r, then v" : "Show reverse strand at this location - keyboard shortcut: r, then v", NULL, revCmplDisp); hPrintf(" "); hButtonWithOnClick("hgt.setWidth", "Resize", "Resize image width to browser window size - keyboard shortcut: r, then s", "hgTracksSetWidth()"); // put up the My Variants dialog if the hg.conf statement is present if (cfgOptionBooleanDefault("doMyVariants", FALSE)) { - hPrintf("<button id=\"myVariantsButton\" title=\"Add an item to the my variants track\">Make Item</button>"); + hPrintf("<button id=\"myVariantsButton\" title=\"Add an item to the My Annotations track\">Add Annotation</button>"); jsInline("var doMyVariants = true;\n"); jsInlineF("var userIsLoggedIn = %s;\n", getUserName() != NULL ? "true" : "false"); // Get existing project values for dropdown char *userName = getUserName(); if (userName) { struct slName *projects = myVariantsGetProjects(userName); if (projects) { struct jsonElement *projectList = newJsonList(NULL); struct slName *proj; for (proj = projects; proj != NULL; proj = proj->next) jsonListAdd(projectList, newJsonString(proj->name)); slReverse(&projectList->val.jeList); jsonObjectAdd(jsonForClient, "myVariantsProjects", projectList);