0971bab63556dd9c926be56b28fb02b18bb3a9ef max Fri Sep 18 09:32:48 2026 -0700 hgSession: name field's watermark carries "Session name, default ..." #Preview2 week - bugs introduced now will need a build patch to fix refs #38311 diff --git src/hg/js/hgSession.js src/hg/js/hgSession.js index 75ef8ddaff8..5709080017a 100644 --- src/hg/js/hgSession.js +++ src/hg/js/hgSession.js @@ -683,31 +683,31 @@ // Ghost text for the name field is a real generated name, not an explanation of the feature - // the info bubble already says what it is. var randName = sessEnc(sessRandomShareName()); var nameTip = 'Optional. Leave this blank and your session will be saved under an ' + 'automatically generated random name, like the one shown here. The session name ' + 'becomes part of the session’s URL, e.g. https://genome.ucsc.edu/s/' + sessEnc(C.userName) + '/<sessionName>.'; var descTip = 'Shown when the session is loaded, in the table below on mouseover, and in ' + 'the Public Sessions gallery if this session is made public.'; return '<div class="sessSaveCard">' + '<div class="sessSaveHead"><span class="sessSaveTitle">' + 'Save the current view as a stable session link</span>' + what + '</div>' + '<div class="sessSaveRow">' + '<div class="sessSaveField">' + '<input id="sessSaveName" class="sessSaveInput" type="text" maxlength="255" ' + - 'placeholder="' + randName + '">' + + 'placeholder="Session name, default ' + randName + '">' + '<span class="sessInfo" title="' + nameTip + '">ⓘ</span></div>' + '<label class="sessSaveCheck"><input type="checkbox" id="sessSavePrivate"> ' + 'Private: Session can only be loaded by myself</label>' + '<button type="button" class="gbPill primary" id="sessSaveBtn" ' + 'title="Save your current browser view as a named session">Save session</button>' + '</div>' + '<div class="sessSaveField">' + '<input id="sessSaveDesc" class="sessSaveInput" type="text" maxlength="512" ' + 'placeholder="Optional">' + '<span class="sessInfo" title="' + descTip + '">ⓘ</span></div>' + '</div>'; } function sessRecentHtml(recent) { // A quick shortcut to re-save the session the user most recently saved, keeping its name and