Skip to content

Commit

Permalink
fix: translate dimension labels in PT DHIS2-15750 (#2783)
Browse files Browse the repository at this point in the history
edoardo authored Oct 4, 2023
1 parent 841882f commit 3b09b0c
Showing 3 changed files with 15 additions and 17 deletions.
2 changes: 0 additions & 2 deletions cypress/integration/dimensions/data.cy.js
Original file line number Diff line number Diff line change
@@ -31,7 +31,6 @@ import {
expectSubGroupSelectToBeVisible,
expectSubGroupSelectToBe,
switchSubGroupTo,
expectSourceToBeLoading,
expectSourceToNotBeLoading,
unselectAllItemsByButton,
selectAllItemsByButton,
@@ -439,7 +438,6 @@ describe('Data dimension', () => {
cy.intercept('GET', DATA_ITEMS_URL).as('**/dataItems*')
}
switchDataTypeToAll()
expectSourceToBeLoading()
cy.wait('@**/dataItems*').then(({ request, response }) => {
expect(request.url).to.contain('page=1')
expect(response.statusCode).to.eq(200)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@
"start-server-and-test": "^2.0.0"
},
"dependencies": {
"@dhis2/analytics": "^26.0.7",
"@dhis2/analytics": "^26.0.21",
"@dhis2/app-runtime": "^3.7.0",
"@dhis2/app-runtime-adapter-d2": "^1.1.0",
"@dhis2/app-service-datastore": "^1.0.0-beta.3",
28 changes: 14 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -2028,12 +2028,12 @@
classnames "^2.3.1"
prop-types "^15.7.2"

"@dhis2/analytics@^26.0.7":
version "26.0.7"
resolved "https://registry.yarnpkg.com/@dhis2/analytics/-/analytics-26.0.7.tgz#d0883c74fc909359d1ce01e82c267ba99e8186a5"
integrity sha512-NJ//FeWWn6yy1bDK3lcMPdwOWVhLBQyh1vmj+S0/k86iKRfF+8tmZwinZLVLebzV3DRjSoWSPCzwU6zVDedjWg==
"@dhis2/analytics@^26.0.21":
version "26.0.21"
resolved "https://registry.yarnpkg.com/@dhis2/analytics/-/analytics-26.0.21.tgz#72bd6d1a954161411bf5f6cfa24529a039d5ccdd"
integrity sha512-msDRXjqYeareCdUrTrh0jDIzUQe9g7X8kjo9E6KruVjKRKuiZh0IG31enAbnAAefNT+X4i2sL1DLy1DMflWgRg==
dependencies:
"@dhis2/d2-ui-rich-text" "^7.4.0"
"@dhis2/d2-ui-rich-text" "^7.4.1"
"@dhis2/multi-calendar-dates" "1.0.0"
"@dnd-kit/core" "^6.0.7"
"@dnd-kit/sortable" "^7.0.2"
@@ -2043,7 +2043,7 @@
crypto-js "^4.1.1"
d2-utilizr "^0.2.16"
d3-color "^1.2.3"
highcharts "^10.2.0"
highcharts "^10.3.3"
lodash "^4.17.21"
mathjs "^9.4.2"
react-beautiful-dnd "^10.1.1"
@@ -2245,10 +2245,10 @@
i18next "^10.3"
moment "^2.24.0"

"@dhis2/d2-ui-rich-text@^7.4.0":
version "7.4.0"
resolved "https://registry.yarnpkg.com/@dhis2/d2-ui-rich-text/-/d2-ui-rich-text-7.4.0.tgz#e1fb6eff7309ea80a6af3bee2a247c9f93ea721d"
integrity sha512-q8woPPyYHiqQfNtujuCQH8eq7zRcN0140XqrKHw1DXF/fnqmrcVDTNZkPSaWMuUsdPhcgTHcnuEySP0MRAXv6g==
"@dhis2/d2-ui-rich-text@^7.4.1":
version "7.4.3"
resolved "https://registry.yarnpkg.com/@dhis2/d2-ui-rich-text/-/d2-ui-rich-text-7.4.3.tgz#a42c8e231bcc05186dd432dac86b33aed4ddc10d"
integrity sha512-60k/6CO2I8f4t3jU1nAic7uWONME1rckM8RcLnelhwUG20EZWq45OnDDdSfHgOWTwVDtxFnG3wspInkG/530KA==
dependencies:
babel-runtime "^6.26.0"
markdown-it "^8.4.2"
@@ -8599,10 +8599,10 @@ [email protected], he@^1.2.0:
resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==

highcharts@^10.2.0:
version "10.2.0"
resolved "https://registry.yarnpkg.com/highcharts/-/highcharts-10.2.0.tgz#646b1c80fb4add9e35e5813bd87419ccdf1fc6b7"
integrity sha512-MvLo4dzR2Vo7Y85dsqJ07uabBXSSIRKRRdW4l9IGP55h2jYWNm/m9JBszVVxySH5Lda6g+Ins9NdGppZJpjNCA==
highcharts@^10.3.3:
version "10.3.3"
resolved "https://registry.yarnpkg.com/highcharts/-/highcharts-10.3.3.tgz#b8acca24f2d4b1f2f726540734166e59e07b35c4"
integrity sha512-r7wgUPQI9tr3jFDn3XT36qsNwEIZYcfgz4mkKEA6E4nn5p86y+u1EZjazIG4TRkl5/gmGRtkBUiZW81g029RIw==

history@^5.3.0:
version "5.3.0"

0 comments on commit 3b09b0c

Please sign in to comment.