f77196f3a66db3bb1bce1913a2e7d6223db94c0b
chmalee
  Mon May 22 15:58:42 2023 -0700
Make tutorial login dependent, add a link to view the tutorial under Help

diff --git src/hg/js/tutorial.js src/hg/js/tutorial.js
index 9199826..7a4f59e 100644
--- src/hg/js/tutorial.js
+++ src/hg/js/tutorial.js
@@ -12,30 +12,31 @@
     'back': {
         action() {
             return this.back();
         },
         classes: 'shepherd-button-secondary',
         text: 'Back'
     },
     'next': {
         action() {
             return this.next();
         },
         text: 'Next'
     },
     'end': {
         action() {
+            localStorage.setItem("hgTracks_hideTutorial", "1");
             return this.complete();
         },
         classes: 'shepherd-button-secondary',
         text: 'Finish'
     }
 };
 
 tour.addStep({
 title: 'Using the UCSC Genome Browser',
 text: 'This is the first step in the tutorial, it is at ' +
         'the \'bottom\' of the multi-region button. Click "Next" button to continue ' +
         'to the next step or the "X" or "Finish" to stop the tutorial',
     attachTo: {
         element: '#hgTracksConfigMultiRegionPage',
         on: 'bottom'