374ee75c2d2235cab89d4842ec9c54797772c84f
chmalee
  Tue Jun 18 13:14:27 2024 -0700
Make the hgTracks tutorial javascript included by default, can be turned off via hg.conf, refs #33992

diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c
index d78d446..3be534c 100644
--- src/hg/hgTracks/hgTracks.c
+++ src/hg/hgTracks/hgTracks.c
@@ -11352,31 +11352,31 @@
     jsIncludeFile("lowetooltip.js", NULL);
 #endif///def LOWELAB
 
     webIncludeResourceFile("spectrum.min.css");
     webIncludeResourceFile("jquery-ui.css");
     if (enableMouseOver)
       webIncludeResourceFile("mouseOver.css");
 
     if (!searching)     // NOT doing search
         {
         webIncludeResourceFile("jquery.contextmenu.css");
         jsIncludeFile("jquery.contextmenu.js", NULL);
         webIncludeResourceFile("ui.dropdownchecklist.css");
         jsIncludeFile("ui.dropdownchecklist.js", NULL);
         jsIncludeFile("ddcl.js", NULL);
-        if (cfgOptionBooleanDefault("showTutorial", FALSE))
+        if (cfgOptionBooleanDefault("showTutorial", TRUE))
             {
             puts("<script src=\"https://cdn.jsdelivr.net/npm/shepherd.js@11.0.1/dist/js/shepherd.min.js\"></script>");
             puts("<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/shepherd.js@11.0.1/dist/css/shepherd.css\"/>");
             jsIncludeFile("tutorial.js",NULL);
             // if the user is logged in, we won't show the notification
             // that a tutorial is available, just leave the link in the
             // blue bar under "Help"
             if (wikiLinkUserName())
                 jsInline("var userLoggedIn = true;");
             // if the CGI variable startTutorial=true is present (in that exact
             // spelling/case), immediately start the tutorial, for example
             // when the user clicks a link from a help page. Note that this
             // means it is a one time link that won't work on refresh because
             // the variable isn't saved onto the URL
             if (sameOk(cgiOptionalString("startTutorial"), "true"))