|
From: Colin <col...@gm...> - 2026-05-21 17:27:35
|
Hi Vaneet, I just released v4.3.0 which contains a fix for this. Thanks for reporting these issues :) -Colin On Thu, May 21, 2026 at 12:38 PM Vaneet Lotay <van...@uc...> wrote: > Hey Colin, > > > > Thank you so much for fixing that! Sorry I meant to get back to you > sooner about this, but I did notice one further issue with the faceted > track selector. Now when you open the faceted track selector it does in > fact escape the HTML so that you see actual links and don’t see the hidden > HTML tags which is good. However, as soon as you start typing search terms > and it reveals which items are matching your search query on the fly, all > the results below that match with their unescaped HTML tags. Is that > something that can be fixed or it has to be this way for the faceted > selector to work with escaped HTML? > > > > Thanks, > > > > Vaneet > > > > *From:* Colin <col...@gm...> > *Sent:* March 3, 2026 8:45 AM > *To:* Vaneet Lotay <van...@uc...> > *Cc:* gmod-ajax <gmo...@li...> > *Subject:* Re: [Gmod-ajax] How to add more fields to faceted selector > > > > [△EXTERNAL] > > > > It is now fixed on the main branch (jbrowse create --nightly) if you want > to try it > > > > Fix here https://github.com/GMOD/jbrowse-components/pull/5492 > > > > -Colin > > > > On Thu, Feb 26, 2026 at 4:33 PM Vaneet Lotay <van...@uc...> > wrote: > > Hey Colin, > > > > Thank so much for adding that update so quickly into a new release. The > searching of additional metadata fields does work very well but there’s a > new issue I noticed. It appears now that if I have any HTML in those > metadata fields which for my purposes was used for sorting as well as > adding links to the ‘About this track’ window, the HTML is not escaped now > in the faceted track selector window and just shows as the raw HTML with > all the opening and ending tags. > > > > I can’t quite remember now but I’m pretty sure this wasn’t happening > before in a previous release. I remember looking at the metadata in the > faceted track selector in previous releases and it was escaped so that the > text appeared as a link when I had put in the necessary HTML to do that. > The about this track window still appears correctly as before with escaping > the necessary HTML so it’s not seen. > > > > Is this something you can fix? > > > > Thanks, > > > Vaneet > > > > *From:* Colin <col...@gm...> > *Sent:* February 21, 2026 12:04 PM > *To:* Vaneet Lotay <van...@uc...> > *Cc:* gmod-ajax <gmo...@li...> > *Subject:* Re: [Gmod-ajax] How to add more fields to faceted selector > > > > [△EXTERNAL] > > > > Searching metadata in the faceted selector was fixed and released in > v4.1.13. Let me know if you run into any other issues > > > > On Thu, Feb 5, 2026 at 10:43 AM Colin <col...@gm...> wrote: > > I don't think so. I'll made a tracking issue for this here > https://github.com/GMOD/jbrowse-components/issues/5472 > > > > On Wed, Feb 4, 2026 at 3:34 PM Vaneet Lotay <van...@uc...> > wrote: > > Hey Colin, > > > > Just a follow up to this old topic…thank you for the info by the way! Is > there any way to search other fields in the faceted track selector besides > the track name? > > > > I realize that when there are metadata attributes that are shared across > more then 5 tracks those attributes do appear as facets and you can click > on the facet filters to filter out the results by their values. However, > what I’m wondering is there any way to search those additional facets on > their values from the main search bar of the faceted track selector, or > does it only simply search the tracknames? > > > > Thanks, > > > Vaneet > > > > *From:* Colin <col...@gm...> > *Sent:* October 12, 2025 7:29 AM > *To:* Vaneet Lotay <van...@uc...> > *Cc:* gmod-ajax <gmo...@li...> > *Subject:* Re: [Gmod-ajax] How to add more fields to faceted selector > > > > [△EXTERNAL] > > > > The basic idea for the faceted track selector is that any "top level" > entry in the track metadata becomes searchable in the track metadata. > Example > > > > { > "type": "VariantTrack", > "trackId": "volvox_test_vcf", > "metadata": { > "thing here": "hello" > }, > "name": "volvox 1000genomes vcf", > "assemblyNames": ["volvox"], > "category": ["Variants"], > "adapter": { > "type": "VcfTabixAdapter", > "uri": "volvox.test.vcf.gz" > } > }, > > > > That will make "thing here" a column and a facet filter, but also note > that it filters out "sparse" metadata columns by default, so it only shows > metadata that is shared across >5 tracks as a facet (arbitrary threshold) > > > > You can toggle "Show sparse metadata columns" to show facets for even > metadata not shared by 5 tracks > > > > > > > > There is no notion of only a subset of tracks appearing in the faceted > selector currently > > > > -Colin > > > > On Wed, Oct 8, 2025 at 5:16 PM Vaneet Lotay <van...@uc...> > wrote: > > Hi, > > > > There is documentation for adding the field ‘category’ as an active field > to the faceted track selector. How do you add more fields to that so they > can be used to filter tracks for in that pop up window? I tried added some > random fields under the ‘metadata{}’ name in the config.json file. While > they appear in the ‘About this track’ dialog they don’t appear in the > faceted track selector. > > > > Also, is there a way I can limit which tracks I want to appear in the > faceted track selector? I want a subset of tracks that can appear in their > own faceted track selector with many metadata fields to filter upon similar > to the original JBrowse. How do I do this in JBrowse 2? > > > > Thanks, > > > > Vaneet > > _______________________________________________ > Gmod-ajax mailing list > Gmo...@li... > https://lists.sourceforge.net/lists/listinfo/gmod-ajax > > |