Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove fetching of schemas and use the data engine instead for api requests #3197

Merged
merged 25 commits into from
Aug 19, 2024

Conversation

jenniferarnesen
Copy link
Collaborator

@jenniferarnesen jenniferarnesen commented May 7, 2024

Removed all the schemas.

Where needed, d2 was replaced with data engine from app-runtime.

GroupStyle - change of image path works:
image

@dhis2-bot
Copy link
Contributor

dhis2-bot commented May 7, 2024

🚀 Deployed on https://pr-3197--dhis2-maps.netlify.app

@dhis2-bot dhis2-bot temporarily deployed to netlify May 7, 2024 14:47 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify May 15, 2024 14:05 Inactive
Copy link

cypress bot commented May 15, 2024

3 flaky tests on run #3240 ↗︎

0 61 16 0 Flakiness 3

Details:

Merge 59e334e into 230dc08...
Project: maps Commit: 0d00fcc63d ℹ️
Status: Passed Duration: 09:01 💡
Started: Jun 4, 2024 9:58 AM Ended: Jun 4, 2024 10:07 AM
Flakiness  layers/thematiclayer.cy.js • 1 flaky test • e2e-chrome-parallel-2.40

View Output

Test Artifacts
Thematic Layers > adds a thematic layer with split view period Screenshots
Flakiness  dataDownload.cy.js • 1 flaky test • e2e-chrome-parallel-2.40

View Output

Test Artifacts
Data Download > downloads data from a thematic layer Screenshots
Flakiness  basemaps.cy.js • 1 flaky test • e2e-chrome-parallel-2.40

View Output

Test Artifacts
Basemap checks > open map with unknown basemap uses fallback basemap (OSM Light) when system default basemap is invalid Screenshots

Review all test suite changes for PR #3197 ↗︎

@dhis2-bot dhis2-bot temporarily deployed to netlify May 16, 2024 09:14 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify June 4, 2024 09:45 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify June 14, 2024 13:02 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify June 14, 2024 13:13 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify June 14, 2024 19:00 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify June 18, 2024 14:59 Inactive
@jenniferarnesen jenniferarnesen changed the base branch from dev to master June 21, 2024 09:23
@dhis2-bot dhis2-bot temporarily deployed to netlify August 2, 2024 12:18 Inactive
@jenniferarnesen jenniferarnesen changed the title chore: remove some schemas chore: remove dataElementGroup, externalMapLayer, indicatorGroup and more schemas Aug 2, 2024
…3255)

* chore: remove schemas

* chore: programs was already switched to app-runtime

* chore: pass engine for use by getEventColumns

* chore: try enabling cypress test for event data table

* chore: use event layer with less data so cypress doesnt crash
@dhis2-bot dhis2-bot temporarily deployed to netlify August 8, 2024 09:25 Inactive
@jenniferarnesen jenniferarnesen changed the title chore: remove dataElementGroup, externalMapLayer, indicatorGroup and more schemas chore: remove loading of schemas and use the data engine instead for api requests Aug 8, 2024
@jenniferarnesen jenniferarnesen changed the title chore: remove loading of schemas and use the data engine instead for api requests chore: remove fetching of schemas and use the data engine instead for api requests Aug 8, 2024
@dhis2-bot dhis2-bot temporarily deployed to netlify August 8, 2024 10:57 Inactive
Copy link
Collaborator

@janhenrikoverland janhenrikoverland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving based on @BRaimbault's review.

@dhis2-bot dhis2-bot temporarily deployed to netlify August 16, 2024 07:23 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify August 16, 2024 09:22 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify August 16, 2024 10:33 Inactive
@jenniferarnesen jenniferarnesen merged commit 4b8dd61 into master Aug 19, 2024
18 checks passed
@jenniferarnesen jenniferarnesen deleted the chore/remove-unneeded-schemas branch August 19, 2024 08:37
dhis2-bot added a commit that referenced this pull request Aug 19, 2024
## [100.6.4](v100.6.3...v100.6.4) (2024-08-19)

### Bug Fixes

* schemas were unnecessarily loaded and taking up valuable bandwidth ([#3197](#3197)) ([4b8dd61](4b8dd61))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 100.6.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants