dc34085c59de1a3a941e2c34318d9fd8af753579
chmalee
  Fri Jul 17 14:27:46 2026 -0700
hubSpace: rename share buttons to Share hub, keep share banner always present, refs #37705

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

diff --git src/hg/htdocs/inc/hgMyData.html src/hg/htdocs/inc/hgMyData.html
index 2e9f810ec44..e96e26a9c6d 100755
--- src/hg/htdocs/inc/hgMyData.html
+++ src/hg/htdocs/inc/hgMyData.html
@@ -58,39 +58,39 @@
             <p style="flex: 1;">
             By default, your most recently used genome assembly is selected after choosing which
             files to upload. Use the <em>popular assemblies</em> drop-down menu or the search
             box to select another genome assembly.
             </p>
             <img src="../images/HubSpaceUpload.png"
             alt="Example of the upload dialog box for Hub Space" width="35%">
           </div>
         </details>
     </div>
 
 
     <div id='filesDiv' class='tabSection'>
         <div id="hubBanner" style="display:none; margin: 8px 0; padding: 8px 12px; background-color:#e7f0ff; border:1px solid #b8cdf0; border-radius:4px;">
             <button id="hubBannerViewBtn" type="button" class="button" style="margin-right:12px; vertical-align:middle;">View hub in Genome Browser</button>
-            <button id="hubBannerCopyBtn" type="button" class="button" style="margin-right:12px; vertical-align:middle;">Copy link to hub</button>
+            <button id="hubBannerCopyBtn" type="button" class="button" style="margin-right:12px; vertical-align:middle;">Share hub</button>
             <span style="vertical-align:middle;">You are browsing hub <strong id="hubBannerName"></strong>. Clicking "View in Genome Browser" on any track below will connect this entire hub.</span>
         </div>
         <div id="selectedFileBanner" style="display:none; margin: 8px 0; padding: 8px 12px; background-color:#e7f0ff; border:1px solid #b8cdf0; border-radius:4px;">
             <span style="vertical-align:middle;"><strong id="numberSelectedFilesBanner"></strong> selected.</span>
             <button id="viewSelectedFilesBanner" type="button" class="button" style="margin-left:12px; vertical-align:middle;"></button>
             <button id="deleteSelectedFilesBanner" type="button" class="button" style="margin-left:8px; vertical-align:middle;"></button>
             <button id="copyHubLinkBanner" type="button" class="button" style="display:none; margin-left:8px; vertical-align:middle;"></button>
-            <div style="margin-top:8px;">Clicking "View selected" only connects the selected hubs; it does not change any of your other Genome Browser settings. To share a link that also opens a specific position with your hub and other tracks already set up, save a <a href="../cgi-bin/hgSession?hgS_doMainPage=1" style="color:#121E9A">session</a> and share its link instead.</div>
+            <div style="margin-top:8px;"><strong>Share your hub.</strong> Select a hub below, then click <strong>Share hub</strong> to get a link others can open. Want to share your exact view, including position, tracks, and all connected hubs? Save a <a href="../cgi-bin/hgSession?hgS_doMainPage=1" style="color:#121E9A">session</a> and share that link instead.</div>
         </div>
         <table id="filesTable" class="sessionTable stripe hover row-border compact" borderwidth=0>
         </table>
         <div id='selectedFileInfo' class="tabSection" style="margin-bottom: 20px;">
             <div id='placeHolderInfo'>Select files for more options</div>
             <div style="display: none">
                 <span id='numberSelectedFiles'></span> selected.
                 <button id='viewSelectedFiles'></button><button id='deleteSelectedFiles'></button>
          </div>
      </div>
 
     <div>
         For information on making track hubs, see the following pages:
         <ul>
             <li><a href='../docs/hubs/hubBasics.html' style='color:#121E9A' target=_blank>Track Hub Basics</a></li>