-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add map rendered class and push-analytics config and classes (#565
) * feat: add class when map is rendered * chore: code cleaning * chore: code cleaning * feat: check if bing layer is loaded * chore: code cleaning * fix: rendering timeout * chore: refactor * chore: change isLoading to within the trycatch * fix: clear render timeout when data is fetched or received * fix: restore check that returns if loading layers are encountered * Revert "feat: add class when map is rendered and push-analytics helper files and classes (#552)" This reverts commit c3830ac. * fix: adjust test to changes * chore: deduplicate node modules * chore: add verify-app workflow * fix: ensure mock Map class is an actual class * fix: include error message when rejecting a promise * fix: mock earth engine worker with class implementation * fix: mock `getWorkerInstance` method instead of `getEarthEngineWorker` function --------- Co-authored-by: Bjørn Sandvik <bjorn@mastermaps.com> Co-authored-by: Jen Jones Arnesen <jennifer@dhis2.org>
- Loading branch information
1 parent
c3830ac
commit 354ba97
Showing
7 changed files
with
175 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: 'dhis2: verify (app)' | ||
|
||
on: | ||
pull_request: | ||
types: ['opened', 'edited', 'reopened', 'synchronize'] | ||
|
||
concurrency: | ||
group: ${{ github.workflow}}-${{ github.ref }} | ||
|
||
jobs: | ||
verify: | ||
if: "!contains(github.event.head_commit.message, '[skip ci]')" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
|
||
- name: Install | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Lint | ||
run: yarn d2-style check | ||
|
||
- name: Test | ||
run: yarn test | ||
|
||
- name: Build | ||
run: yarn build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.