8b20ca320b01a4d283273fc4c0358a29319b2548
lrnassar
Fri Sep 4 15:02:46 2026 -0700
New BLAT form banner: welcome wording with a link to the news announcement. refs #37996
Replaces "We are testing a new BLAT search page" with "Welcome to our new BLAT page",
linking to the announcement's agreed anchor (goldenPath/newsarch.html#newBLAT); keeps the
persistent opt-out link to the classic form and the feedback mailto.
diff --git src/hg/js/hgBlat.js src/hg/js/hgBlat.js
index 1212770ffcb..82db4a044e2 100644
--- src/hg/js/hgBlat.js
+++ src/hg/js/hgBlat.js
@@ -830,33 +830,35 @@
'
About BLAT
' +
'
DNA BLAT quickly finds sequences of 95% and greater similarity that are at least 25 bases ' +
'long; it finds perfect matches down to 20 bases, and may miss shorter or more divergent ' +
'alignments. Protein BLAT finds sequences of 80% and greater similarity at least 20 amino acids ' +
'long.
';
}
function blatFormBuild() {
var cfg = hgBlatFormData;
var banner = '';
if (cfg.classicUrl) {
- banner = '
We are testing a new BLAT search page. You can go back to ' +
- `the original page anytime. If you have feedback ` +
- 'on this new page, do not hesitate to let us know via ' +
+ // #newBLAT is the agreed anchor for the announcement on the news archive page (RM #37996).
+ banner = '
';
}
// Checkbox plus the browser's standard info icon. Same SVG and same title +
// convertTitleTagsToMouseovers mechanism as printInfoIcon()/printInfoIconSvg() in hg/lib/hui.c,
// so these read identically to the info icons on every other Genome Browser page.
var check = (name, on, label, tip) =>
`` +
`${BLAT_INFO_SVG}`;
// "Keep results" starting state. The cart (cfg.keepResults) only remembers the choice within a
// session; localStorage carries it across sessions so a user who wants their BLAT results to
// accumulate does not have to re-tick the box on every visit. localStorage wins when set (it is
// the more durable record of the user's own preference); the cart is the fallback for a browser