diff --git a/CHANGELOG.md b/CHANGELOG.md index 83035fa6a..beed0a4da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [100.15.1](https://github.com/dhis2/line-listing-app/compare/v100.15.0...v100.15.1) (2024-03-01) + + +### Bug Fixes + +* **push-analytics:** add push analytics instructions ([#491](https://github.com/dhis2/line-listing-app/issues/491)) ([1db932c](https://github.com/dhis2/line-listing-app/commit/1db932c3fde54c7a385569891985f922877a67b0)) + # [100.15.0](https://github.com/dhis2/line-listing-app/compare/v100.14.0...v100.15.0) (2024-01-30) diff --git a/package.json b/package.json index ee3a81c03..fbd4b7610 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "line-listing-app", - "version": "100.15.0", + "version": "100.15.1", "description": "DHIS2 Line Listing", "license": "BSD-3-Clause", "private": true, diff --git a/public/push-analytics.json b/public/push-analytics.json new file mode 100644 index 000000000..55c15241e --- /dev/null +++ b/public/push-analytics.json @@ -0,0 +1,30 @@ +{ + "version": "0.0.1", + "showVisualization": { + "strategy": "navigateToUrl", + "steps": [ + { "goto": "{{appUrl}}/#/{{id}}" }, + { "waitForSelector": ".push-analytics-linelist-table" } + ] + }, + "triggerDownload": { + "strategy": "useUiElements", + "steps": [ + { "click": ".push-analytics-download-dropdown-menu-button" }, + { "click": ".push-analytics-download-as-html-css-menu-item" } + ] + }, + "obtainDownloadArtifact": { + "strategy": "scrapeDownloadPage", + "modifyDownloadUrl": { + "searchValue": "&paging=false&", + "replaceValue": "&paging=true&pageSize=50&" + }, + "htmlSelector": "body", + "cssSelector": "style" + }, + "clearVisualization": { + "strategy": "navigateToUrl", + "steps": [{ "goto": "{{appUrl}}/#/new" }] + } +}