\n"); // This div allows the clear button to empty it
if(tracksFound < 1)
{
if(doSearch)
@@ -583,6 +613,7 @@
// FIXME: I believe that only data tracks should appear in found tracks. If composite is found, show its children instead
int trackCount=0;
+ boolean containerTrackCount = 0;
struct slRef *ptr;
while((ptr = slPopHead(&tracks)))
{
@@ -624,9 +655,13 @@
{
checked = fourStateVisible(subtrackFourStateChecked(track->tdb,cart)); // Don't need all 4 states here. Visible=checked&&enabled
track->visibility = limitedVisFromComposite(track);
+ // Must distinguish between subtrack with explicit vis and inherited vis
+ if (track->visibility != tvHide && NULL == cartOptionalString(cart, track->track))
+ {
struct trackDb *parentTdb = trackDbCompositeParent(track->tdb);
- if(parentTdb != NULL)
- track->visibility = tvMin(track->visibility,parentTdb->visibility);
+ assert(parentTdb != NULL);
+ track->visibility = tvMin(track->visibility,parentTdb->visibility); // inherited vis must explicitly be filtered by composite.
+ }
checked = (checked && ( track->visibility != tvHide )); // Checked is only if subtrack level vis is also set!
// Only subtracks get "_sel" var
@@ -656,6 +691,13 @@
safef(extra,sizeof(extra),"id='%s_id' onchange='findTracksChangeVis(this)'",track->track);
hTvDropDownClassWithJavascript(NULL, track->visibility,track->canPack,"normalText seenVis",extra);
}
+
+ // If this is a container track, allow configuring...
+ if (tdbIsComposite(track->tdb) || tdbIsSuper(track->tdb))
+ {
+ containerTrackCount++;
+ hPrintf(" * ",database,track->track);
+ }
hPrintf("\n");
//if(tdbIsSuper(track->tdb) || tdbIsComposite(track->tdb))
// hPrintf("
\n", trackUrl(track->track, NULL), track->shortLabel);
@@ -666,6 +708,8 @@
hPrintf("\n");
}
hPrintf("\n");
+ if(containerTrackCount > 0)
+ hPrintf("* Tracks so marked are containers which group related data tracks. These may not be visible unless further configuration is done. Click on the * to configure these. \n");
hPrintf("");
hPrintf(" ");
hPrintf("\n\n");
@@ -676,29 +720,26 @@
}
hPrintf("
Recently Done
\n"
- "
Deleting/Adding selection criteria with [-][+] buttons in 'Advanced Search'.
"
- "
Found track list shows only the first 100 tracks with warning to narrow search.\"
\n"
- "
Clicks in menu bar up top now work correctly.
\n"
- "
Found tracks are selected by checkboxes.
"
- "
Checkbox state should be persistent. Subtracks selected will be checked in their composite.
"
+ "
'Clear' button added and search and clear buttons should be meaningfully enabled/disabled.
"
+ "
Clicking on shortLabel for found track will popup the description text. Subtracks should show their composite description.
"
+ "
Non-data 'container' tracks (composites and supertracks) have '*' to mark them, and can be configured before displaying. Better suggestions?
"
+ "
Simple search had been bombing on NULL tracks. This should be solved.
"
+ "
Short and long label searched on advanced 'Track Name' search.
"
+ "
Deleting/Adding selection criteria with [-][+] buttons in 'Advanced Search' should work.
"
+ "
Found track list shows only the first 100 tracks with warning to narrow search. Larry suggests this could be done by pages of results in v2.0.
\n"
"
Full descriptions of metadata items are indexed in simple search index (e.g. cell descriptions).
"
"
"
"
Known Problems
"
- "
Search results should be cleared when switching between simple and advanced tabs (do we agree on that?)
"
- "
Subtracks often come up with the wrong visibility (but saving visibility for subtracks does work)."
- " QUESTION: Upon selecting with checkbox, what is correct default vis for any track? Perhaps 'full' for wigs, 'pack' for others?
"
- "
Too large of found track list results in slow scripts.
"
+ "
Updating the value drop-down when a new variable is chosen is only working in Larry's browser."
"
Strangeness seen in finding tracks: 'ENCODE' in description combined with antibody selection results in no tracks found."
" QUESTION: Is that a bug? REM that description search is NOT inherited. (* Suggestions below.)
"
"
"
"
Suggested improvments:
\n"
- "
Only data tracks should be seen in found track list. Found superTracks/composites should be converted into their children.
"
- "
Configuring found tracks should be by pop-up dialog box.
"
- "
Look and feel of found track list (here) and composite subtrack list (hgTrackUi) should converge.
"
- "
Drop-down list of terms (cells, antibodies, etc.) should be multi-select with checkBoxes as seen in filterComposites.
"
- "
* 'Descrtiption' and 'Track Name' should be merged into a single search term.
"
+ "
Look and feel of found track list (here) and composite subtrack list (hgTrackUi) should converge. Jim suggests look and feel of hgTracks 'Configure Tracks...' list instead.
"
+ "
Drop-down list of terms (cells, antibodies, etc.) should be multi-select with checkBoxes as seen in filterComposites. Perhaps saved for v2.0.
"
"
* 'Descrtiption' should be inherited by subtracks?