Report hit count
@rbuckton and I were trying to use this to determine the number of projects that currently use an exported decorated class, but unfortunately the tool doesn't report a count of results. Is there a way to display
- the number of files returned that satisfies the query?
- the number of total files on GitHub that satisfy the query?
First one is pretty trivial, I will add it.
As for the second one - this means we will have to run the query twice, once for the results and once for the count (in there are more than 100 results). Perhaps we could add a button that will run the query a second time to fetch an estimate of total results.?
Was there any progress on this?
Perhaps we could add a button that will run the query a second time to fetch an estimate of total results.?
That would be great!
@urish I started tinkering with this in #8, but can't really verify behavior since there's no documentation on how to set up all the backing data. Honestly, I was hoping just to get some metrics to include in a presentation to TC39 this week, though I doubt the timeframe to get this in will work out,
My end goal is to run this query: ClassDeclaration:has(ExportKeyword):has(Decorator) and determine the number of hits across all public projects.
@rbuckton Thank you!
Regarding the documentation - please let me know what is missing and let's create it together. Let's discuss in your PR