{"id":19004938,"url":"https://github.com/dhis2/data-visualizer-app","last_synced_at":"2025-09-06T19:43:08.042Z","repository":{"id":37430829,"uuid":"125343502","full_name":"dhis2/data-visualizer-app","owner":"dhis2","description":"DHIS2 Data Visualizer App","archived":false,"fork":false,"pushed_at":"2025-08-19T09:52:24.000Z","size":47343,"stargazers_count":18,"open_issues_count":13,"forks_count":19,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-08-19T11:27:03.363Z","etag":null,"topics":["synced-settings","tx","web-app"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dhis2.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-03-15T09:30:47.000Z","updated_at":"2025-08-14T07:25:47.000Z","dependencies_parsed_at":"2023-10-10T14:49:27.667Z","dependency_job_id":"f5f30dfb-45e9-40cc-a148-4af65e8d67fe","html_url":"https://github.com/dhis2/data-visualizer-app","commit_stats":null,"previous_names":[],"tags_count":1005,"template":false,"template_full_name":null,"purl":"pkg:github/dhis2/data-visualizer-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhis2%2Fdata-visualizer-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhis2%2Fdata-visualizer-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhis2%2Fdata-visualizer-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhis2%2Fdata-visualizer-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhis2","download_url":"https://codeload.github.com/dhis2/data-visualizer-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhis2%2Fdata-visualizer-app/sbom","scorecard":{"id":340342,"data":{"date":"2025-08-11","repo":{"name":"github.com/dhis2/data-visualizer-app","commit":"49b5565940cbfe72899b65e3bb3627b710b95a08"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.5,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/check-tasklist.yml:1","Warn: no topLevel permission defined: .github/workflows/dhis2-preview-pr.yml:1","Warn: no topLevel permission defined: .github/workflows/dhis2-verify-commits.yml:1","Warn: no topLevel permission defined: .github/workflows/e2e-dev.yml:1","Warn: no topLevel permission defined: .github/workflows/generate-and-upload-bom.yml:1","Warn: no topLevel permission defined: .github/workflows/nightly.yml:1","Warn: no topLevel permission defined: .github/workflows/publish-d2-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/verify-pr.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":6,"reason":"Found 18/29 approved changesets -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"19 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v101.3.1 not signed: https://api.github.com/repos/dhis2/data-visualizer-app/releases/239395032","Warn: release artifact v101.3.0 not signed: https://api.github.com/repos/dhis2/data-visualizer-app/releases/226442800","Warn: release artifact v101.2.4 not signed: https://api.github.com/repos/dhis2/data-visualizer-app/releases/223646700","Warn: release artifact v101.2.3 not signed: https://api.github.com/repos/dhis2/data-visualizer-app/releases/222393164","Warn: release artifact v101.3.1 does not have provenance: https://api.github.com/repos/dhis2/data-visualizer-app/releases/239395032","Warn: release artifact v101.3.0 does not have provenance: https://api.github.com/repos/dhis2/data-visualizer-app/releases/226442800","Warn: release artifact v101.2.4 does not have provenance: https://api.github.com/repos/dhis2/data-visualizer-app/releases/223646700","Warn: release artifact v101.2.3 does not have provenance: https://api.github.com/repos/dhis2/data-visualizer-app/releases/222393164"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/dhis2/.github/SECURITY.md:1","Info: Found linked content: github.com/dhis2/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/dhis2/.github/SECURITY.md:1","Info: Found text in security policy: github.com/dhis2/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during GetBranch(38.x): error during branchesHandler.query: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/check-tasklist.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/check-tasklist.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dhis2-preview-pr.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/dhis2-preview-pr.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dhis2-preview-pr.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/dhis2-preview-pr.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/dhis2-preview-pr.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/dhis2-preview-pr.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dhis2-verify-commits.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/dhis2-verify-commits.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dhis2-verify-commits.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/dhis2-verify-commits.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/dhis2-verify-commits.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/dhis2-verify-commits.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dhis2-verify-commits.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/dhis2-verify-commits.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dhis2-verify-commits.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/dhis2-verify-commits.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/dhis2-verify-commits.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/dhis2-verify-commits.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/e2e-dev.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/e2e-dev.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/e2e-dev.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/e2e-dev.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/e2e-dev.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/e2e-dev.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/e2e-dev.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/e2e-dev.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/generate-and-upload-bom.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/generate-and-upload-bom.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/nightly.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/nightly.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/nightly.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/nightly.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-d2-ci.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/publish-d2-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-d2-ci.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/publish-d2-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-d2-ci.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/publish-d2-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-d2-ci.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/publish-d2-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:126: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/verify-pr.yml:85: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/verify-pr.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify-pr.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/verify-pr.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify-pr.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/verify-pr.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify-pr.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/verify-pr.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify-pr.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/verify-pr.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify-pr.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/verify-pr.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify-pr.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/verify-pr.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify-pr.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/verify-pr.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify-pr.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/dhis2/data-visualizer-app/verify-pr.yml/master?enable=pin","Info:   0 out of  22 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  14 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yml:18"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (19) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"34 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-36jr-mh4h-2g58","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-g974-hxvm-x689","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-x574-m823-4x7w","Warn: Project is vulnerable to: GHSA-4r4m-qw57-chr8","Warn: Project is vulnerable to: GHSA-xcj6-pq6g-qj4x","Warn: Project is vulnerable to: GHSA-356w-63v5-8wf4","Warn: Project is vulnerable to: GHSA-859w-5945-r5v3","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T05:39:29.998Z","repository_id":37430829,"created_at":"2025-08-18T05:39:29.998Z","updated_at":"2025-08-18T05:39:29.998Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273955611,"owners_count":25197579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["synced-settings","tx","web-app"],"created_at":"2024-11-08T18:25:24.824Z","updated_at":"2025-09-06T19:43:08.032Z","avatar_url":"https://github.com/dhis2.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![React 18](https://img.shields.io/badge/react-18-blue)\n\n# Data visualizer app and plugin\n\n[![Test Coverage](https://codeclimate.com/github/dhis2/data-visualizer-app/badges/coverage.svg)](https://codeclimate.com/github/dhis2/data-visualizer-app/coverage)\n[![Code Climate](https://codeclimate.com/github/dhis2/data-visualizer-app/badges/gpa.svg)](https://codeclimate.com/github/dhis2/data-visualizer-app)\n\nThis is a repo that contains the data-visualizer-app and its plugin used both internally and built as a separate entrypoint so it can be used in other apps such as the dashboard app\n\n## Getting started\n\nTo run data-visualizer-app from the repo root directory, install the dependencies:\n\n```\n$ yarn install\n```\n\n### Development\n\nRun `yarn start` from the repo's root to start the app on `localhost:3000` and the plugin on `localhost:3001`.\n\nRunning the plugin on a different port allows for testing it in other apps.\nFor example, for testing it in dashboard app, run the dashboard app in a different port and via devtools override the plugin path with the host and port where the plugin is running.\nExample steps:\n\n1. in DV: `yarn start`\n2. in dashboard: `yarn start`\n   At this point DV is running on localhost:3000, DV plugin on localhost:3001 and dashboard app on localhost:3002.\n3. Point the browser to localhost:3002.\n4. Add this entry to the dashboard app localStorage via devtools in the Application tab:\n   `dhis2.dashboard.pluginOverrides: { \"VISUALIZATION\": \"http://localhost:3001/plugin.html\" }`\n\nWith the same principle is possible to test several plugins at the same time, you just need to make sure the port configured in the override is the right one for the plugin you are overriding.\n\nThe following npm scripts can all be run from the repo root directory:\n\n#### Unit tests\n\n```\n$ yarn test\n```\n\nRun unit tests with coverage report\n\n```\n$ yarn coverage\n```\n\n#### e2e tests\n\nCypress is used for e2e browser tests. This automatically runs on CI for PRs, the result can be seen on the [Cypress Cloud](https://dashboard.cypress.io/projects/sojh88/).\n\nTo record tests in Cypress Cloud, you can use one of the following methods based on your needs:\n\n-   **Commit Message**: Include `[e2e record]` in your commit messages to activate recording.\n-   **GitHub Labels**: Apply the `e2e record` label to your pull request to trigger recording.\n\nThis setup helps in managing Cypress Cloud credits more efficiently, ensuring recordings are only made when explicitly required.\n\nTo run the tests locally, define the following in a local `cypress.env.json` file, e.g.:\n\n```sh\n{\n    \"dhis2BaseUrl\": \"https://test.e2e.dhis2.org/dev\",\n    \"dhis2Username\": \"admin\",\n    \"dhis2Password\": \"district\",\n}\n```\n\nRun tests interactively (Cypress UI):\n\n```\nyarn cypress:live\n```\n\nRun tests in the console without Cypress UI:\n\n```\nyarn cypress:run\n```\n\n#### Linting and Formatting\n\nAutomatically fix all fixable code-style violations (prettier and eslint)\n\n```\n$ yarn format\n```\n\nCheck all files for code-style violations (prettier and eslint)\n\n```\n$ yarn lint\n```\n\n### Build app and plugin\n\n```\n$ yarn build\n```\n\n#### Manual testing with Netlify\n\nThis repo is configured to deploy pull requests to netlify. This makes it simple to share a running implementation with others (e.g., tester, product manager, ux, fellow developers) prior\nto merging to master.\n\nPull requests (I.E. #209) are available at:\n\n`https://pr-209--dhis2-data-visualizer.netlify.app`\n\nNetlify will also add a status check to each PR which links directly to the PR deployment.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhis2%2Fdata-visualizer-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhis2%2Fdata-visualizer-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhis2%2Fdata-visualizer-app/lists"}