b91db8547a0bb5431b4246b5faaf5696f73b2115 chmalee Thu Jul 16 11:25:35 2026 -0700 hubSpace: add Hub Upload menu link, selection banner, and shareable hub links, 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 6148d80ff1c..063819eeb65 100755 --- src/hg/htdocs/inc/hgMyData.html +++ src/hg/htdocs/inc/hgMyData.html @@ -60,30 +60,37 @@ 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> <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> <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> <li><a href='../goldenPath/help/hgTrackHubHelp.html' style='color:#121E9A' TARGET=_blank>Track Hub User's Guide</a></li>