• Sarah Yasonik's avatar
    Expose metrics element for FE consumption · 7d393bd8
    Sarah Yasonik authored
    Adds GFM Pipline filters to insert a placeholder in the generated
    HTML from GFM based on the presence of a metrics dashboard link.
    
    The front end should look for the class 'js-render-metrics' to
    determine if it should replace the element with metrics charts.
    The data element 'data-dashboard-url' should be the endpoint
    the front end should hit in order to obtain a dashboard layout
    in order to appropriately render the charts.
    7d393bd8
url.rb 1.15 KB