diff options
author | Sarah Yasonik <syasonik@gitlab.com> | 2019-07-10 11:27:25 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2019-07-10 11:27:25 +0000 |
commit | 7d393bd85233bd6c8f003aec638e93c01deb9f8a (patch) | |
tree | 0dcad0bc26766b82f0d8d55762b768e65a41f186 /changelogs | |
parent | 476c9f0bb6bb629d36efc7b62fcb12eda6ceee2d (diff) | |
download | gitlab-ce-7d393bd85233bd6c8f003aec638e93c01deb9f8a.tar.gz |
Expose metrics element for FE consumption
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.
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/embedded-metrics-be-2.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/embedded-metrics-be-2.yml b/changelogs/unreleased/embedded-metrics-be-2.yml new file mode 100644 index 00000000000..2623b4a2e0c --- /dev/null +++ b/changelogs/unreleased/embedded-metrics-be-2.yml @@ -0,0 +1,5 @@ +--- +title: Expose placeholder element for metrics charts in GFM +merge_request: 29861 +author: +type: added |