Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ListMissingOneImplCounts spanner method #876

Merged
merged 1 commit into from
Nov 8, 2024

Commits on Nov 7, 2024

  1. Add ListMissingOneImplCounts spanner method

    This is the spanner method that will power the missing one implementation graph.
    
    It uses the pre calculated results from the BrowserFeatureSupportEvents table.
    
    Features:
    - It allows the caller to pass in arbitrary set of browsers to compare against.
    - It has a string pagination token that is decoded and used to continue paging for results
    - It returns the results in DESC order of the Release Date
    
    This method is similar to:
    1. the [ListMetricsForFeatureIDBrowserAndChannel](https://github.com/GoogleChrome/webstatus.dev/blob/dd754efe5e2fa27cc80542fbacd41886e765b7ba/lib/gcpspanner/wpt_run_feature_metric.go#L418-L494)
        method used to get the results for the WPT metrics that power the chart
        on the feature detail, and
    2. the [ListBrowserFeatureCountMetric](https://github.com/GoogleChrome/webstatus.dev/blob/dd754efe5e2fa27cc80542fbacd41886e765b7ba/lib/gcpspanner/browser_feature_count.go#L38C18-L105)
        method used to get the results for the feature count that power the chart
        on the stats page
    
    This PR is a split up of https://github.com/GoogleChrome/webstatus.dev/compare/missing-one-impl-count-db?expand=1
    
    Fixes #864
    
    Depends on #872
    jcscottiii committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    cecc54b View commit details
    Browse the repository at this point in the history