c6c395f3e8c38023107bab00507ee605f140ecf8
chmalee
  Thu May 7 11:00:09 2026 -0700
More variant|item to annotation labeling changes. One 'item' is left in because it seems more appropriate as the placeholder text, refs #33808

diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js
index 7dee19c323a..2ce3c734c96 100644
--- src/hg/js/hgTracks.js
+++ src/hg/js/hgTracks.js
@@ -637,42 +637,42 @@
                 }
         });
         $(positionDialog).dialog('open');
     }
 
 };
 
   /////////////////////////////////////
  //// Creating items             /////
 /////////////////////////////////////
 var myVariants = {
     createBedForm: function(dialogEle) {
         // Simple fields shown by default (matches hgc edit form style)
         const simpleFields = [
             { label: "Label", id: "name", type: "text", placeholder: "Optional item label",
-              info: "A short label for this item, displayed in the browser." },
+              info: "A short label for this annotation, displayed in the browser." },
             { label: "Color", id: "color", type: "color" },
             { label: "Ref", id: "ref", type: "text", placeholder: "Optional reference allele sequence",
               info: "Reference allele sequence at this position." },
             { label: "Alt", id: "alt", type: "text", placeholder: "Optional alternate allele sequence",
               info: "Alternate (variant) allele sequence." },
             { label: "Mouseover", id: "mouseover", type: "text", placeholder: "Short text shown on hover",
               info: "Short text shown when hovering over this item. If empty, the label and alleles are displayed." },
             { label: "Description", id: "description", type: "textarea", placeholder: "Longer description/notes",
-              info: "Longer notes or comments about this item. Displayed on the details page." },
+              info: "Longer notes or comments about this annotation. Displayed on the details page." },
             { label: "Project", id: "project", type: "text", placeholder: "Optional project name",
-              info: "Group variants by project. Projects with no items are automatically removed from the list." },
+              info: "Group annotations by project. Projects with no annotations are automatically removed from the list." },
         ];
 
         // Advanced fields hidden by default
         const advancedFields = [
             { label: "Chromosome", id: "chrom", type: "text" },
             { label: "Start", id: "start", type: "number",
               info: "1-based start position on the chromosome." },
             { label: "End", id: "end", type: "number",
               info: "1-based end position on the chromosome (inclusive)." },
             { label: "Score", id: "score", type: "number",
               info: "Score from 0-1000. Higher scores display darker." },
             { label: "Strand", id: "strand", type: "text",
               info: "Strand: + for forward, - for reverse, . for unknown." },
             { label: "Thick Start", id: "thickStart", type: "number",
               info: "Start of thickly drawn region (for display purposes)." },
@@ -928,31 +928,31 @@
                     if (newProjectInput.value === "" && select.value === "__new__") {
                         select.value = "";
                         newProjectInput.style.display = "none";
                     }
                 });
             } else {
                 // No existing projects - just show text input
                 let input = document.createElement("input");
                 input.type = "text";
                 input.id = "project";
                 input.placeholder = "Optional project name";
                 wrapper.appendChild(input);
             }
 
             // Add info icon
-            wrapper.appendChild(createInfoIcon("Group annotations by project. Projects with no items are automatically removed from the list."));
+            wrapper.appendChild(createInfoIcon("Group annotations by project. Projects with no annotations are automatically removed from the list."));
             container.appendChild(wrapper);
         };
 
         // Create simple fields
         let colorInput = null;
         simpleFields.forEach(field => {
             // Handle project field specially
             if (field.id === "project") {
                 createProjectField(manualInpDiv);
             } else {
                 let input = createField(field, manualInpDiv);
                 if (field.id === "color") {
                     colorInput = input;
                 }
             }