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

fix: merge to master #2938

Merged
merged 24 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b88e87c
fix(translations): sync translations from transifex (dev)
dhis2-bot Nov 26, 2023
8f1e308
chore: analytics (#2856)
janhenrikoverland Dec 14, 2023
ee9966b
chore(deps): bump @adobe/css-tools from 4.3.1 to 4.3.2
dependabot[bot] Dec 14, 2023
0de3606
fix(translations): sync translations from transifex (dev)
dhis2-bot Dec 17, 2023
ac89f54
chore(deps): bump browserify-sign from 4.2.1 to 4.2.2 (#2807)
dependabot[bot] Jan 23, 2024
ec2c37b
chore(deps): bump crypto-js from 4.1.1 to 4.2.0 (#2806)
dependabot[bot] Jan 23, 2024
48c301e
chore(deps): bump get-func-name from 2.0.0 to 2.0.2 (#2748)
dependabot[bot] Jan 23, 2024
2322a42
chore: use the repo default branch for dependabot (#2887)
jenniferarnesen Jan 23, 2024
d114ca6
chore: include patch packages in cache-key (#2855)
jenniferarnesen Jan 23, 2024
61535f0
chore(deps): bump react-redux from 7.2.4 to 7.2.9 (#2893)
dependabot[bot] Jan 23, 2024
9f1ae6b
chore(deps): bump moment from 2.29.4 to 2.30.1 (#2892)
dependabot[bot] Jan 23, 2024
ea223e0
chore(deps): bump @dhis2/d2-i18n from 1.1.1 to 1.1.3 (#2896)
dependabot[bot] Jan 23, 2024
1da9b77
chore(deps): bump @babel/traverse from 7.18.13 to 7.23.2 (#2796)
dependabot[bot] Jan 23, 2024
1380039
chore(deps): bump @dhis2/app-runtime from 3.9.4 to 3.10.2 (#2890)
dependabot[bot] Jan 24, 2024
c8646e8
chore: include release notes in slackbot message (#2911)
jenniferarnesen Feb 14, 2024
add7139
fix(translations): sync translations from transifex (dev) (#2920)
dhis2-bot Feb 28, 2024
0af5c5b
fix: use interpretations component from Analytics (DHIS2-15441) (#2430)
jenniferarnesen Mar 4, 2024
1af22d5
feat: support outlier table plugin (DHIS2-16751) (#2912)
edoardo Mar 5, 2024
61d3d51
chore: run the release step on both master and dev branches (#2929)
jenniferarnesen Mar 6, 2024
755c6df
fix(translations): sync translations from transifex (dev)
dhis2-bot Mar 10, 2024
7f603d6
chore: update analytics dependency (#2934)
edoardo Mar 13, 2024
dffb754
fix: show tag/tooltip about not applied filters for Outlier table (DH…
edoardo Mar 19, 2024
854a653
test: disable flaky test (#2940)
edoardo Mar 20, 2024
b6b8850
fix: show tag/tooltip only when a filter other than ou/pe is used (#2…
edoardo Mar 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ updates:
schedule:
interval: weekly
open-pull-requests-limit: 10
target-branch: master
versioning-strategy: increase
49 changes: 39 additions & 10 deletions .github/workflows/dhis2-verify-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
id: yarn-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('patches/*.patch') }}

- name: End-to-End tests
uses: cypress-io/github-action@v2
Expand All @@ -104,7 +104,7 @@ jobs:
start: ${{ env.SERVER_START_CMD }}
wait-on: ${{ env.SERVER_URL }}
wait-on-timeout: 300
cache-key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
cache-key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('patches/*.patch') }}
group: 'e2e'
tag: ${{ github.event_name }}
env:
Expand All @@ -114,8 +114,8 @@ jobs:
SERVER_START_CMD: 'yarn cypress:start'
SERVER_URL: 'http://localhost:3000'
cypress_dhis2_api_stub_mode: 'DISABLED'
REACT_APP_DHIS2_BASE_URL: ${{ secrets.CYPRESS_DHIS2_BASE_URL_40 }}
cypress_dhis2_base_url: ${{ secrets.CYPRESS_DHIS2_BASE_URL_40}}
REACT_APP_DHIS2_BASE_URL: ${{ secrets.CYPRESS_DHIS2_BASE_URL_41 }}
cypress_dhis2_base_url: ${{ secrets.CYPRESS_DHIS2_BASE_URL_41}}
cypress_dhis2_username: ${{ secrets.CYPRESS_DHIS2_USERNAME }}
cypress_dhis2_password: ${{ secrets.CYPRESS_DHIS2_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -126,7 +126,7 @@ jobs:
if: |
!github.event.push.repository.fork &&
github.actor != 'dependabot[bot]' &&
github.event_name != 'pull_request'
(github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev')
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -196,8 +196,9 @@ jobs:
needs: release
if: |
success() &&
!cancelled() &&
github.ref == 'refs/heads/master'
!cancelled() &&
github.ref == 'refs/heads/master' &&
contains(github.event.head_commit.message, 'chore(release)')
steps:
- name: Checkout code
uses: actions/checkout@master
Expand All @@ -213,13 +214,41 @@ jobs:
channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
payload: |
{
"text": ":large_green_circle: :dashboard-app: :tada: Dashboard app release succeeded for version: ${{ steps.extract_version.outputs.version }}",
"text": "Dashboard app release ${{ steps.extract_version.outputs.version }} succeeded",
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": ":large_green_circle: :dashboard-app: Dashboard version ${{ steps.extract_version.outputs.version }} released :tada:",
"emoji": true
}
},
{
"type": "divider"
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": ":large_green_circle: :dashboard-app: :tada: Dashboard version ${{ steps.extract_version.outputs.version }} released <https://github.com/dhis2/dashboard-app/actions/workflows/dhis2-verify-app.yml?query=branch%3Amaster+is%3Asuccess|successfully>"
"type": "mrkdwn",
"text": "*Release Notes*"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": ${{ toJSON(github.event.head_commit.message) }}
}
},
{
"type": "divider"
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Link to <https://github.com/dhis2/dashboard-app/actions/workflows/dhis2-verify-app.yml?query=branch%3Amaster+is%3Asuccess|build>"
}
}
]
Expand Down
18 changes: 9 additions & 9 deletions cypress/integration/edit/edit_dashboard.feature
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ Feature: Creating, editing and deleting dashboard
Then the dashboard is not starred


@mutating
Scenario: I toggle show description
Given I open existing dashboard
# And the description is not shown
And the dashboard description is not displayed
When I click to show description
Then the dashboard description is displayed
When I click to hide the description
Then the dashboard description is not displayed
# @mutating
# Scenario: I toggle show description
# Given I open existing dashboard
# # And the description is not shown
# And the dashboard description is not displayed
# When I click to show description
# Then the dashboard description is displayed
# When I click to hide the description
# Then the dashboard description is not displayed

# FIXME
# @nonmutating
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ When(
Then('the interpretations panel is displayed', () => {
getDashboardItem(chartItemUid)
.find(itemDetailsSel)
.contains('Visualization details')
.contains('About this')
.scrollIntoView()
.should('be.visible')

Expand Down
61 changes: 47 additions & 14 deletions i18n/ar.po
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#
# Translators:
# Viktor Varland <[email protected]>, 2020
# phil_dhis2, 2021
# Hamza Assada <[email protected]>, 2022
# Philip Larsen Donnelly, 2024
# Hamza Assada <[email protected]>, 2024
#
msgid ""
msgstr ""
"Project-Id-Version: i18next-conv\n"
"POT-Creation-Date: 2021-12-21T08:20:25.327Z\n"
"POT-Creation-Date: 2024-02-26T14:42:02.563Z\n"
"PO-Revision-Date: 2019-06-25 12:37+0000\n"
"Last-Translator: Hamza Assada <[email protected]>, 2022\n"
"Language-Team: Arabic (https://www.transifex.com/hisp-uio/teams/100509/ar/)\n"
"Last-Translator: Hamza Assada <[email protected]>, 2024\n"
"Language-Team: Arabic (https://app.transifex.com/hisp-uio/teams/100509/ar/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -72,6 +72,15 @@ msgstr "عنصر نصي"
msgid "Add text here"
msgstr "اضف نص هنا"

msgid "Back to all interpretations"
msgstr "العودة إلى كل التفسيرات"

msgid "Filters are not applied to line list dashboard items"
msgstr ""

msgid "Filters not applied"
msgstr ""

msgid "There was a problem loading this dashboard item"
msgstr "حدثت مشكلة أثناء تحميل عنصر لوحة المعلومات هذا"

Expand All @@ -90,30 +99,51 @@ msgstr "المشاهدة بحجم الشاشة"
msgid "This map can't be displayed as a chart"
msgstr "لا يمكن عرض هذه الخريطة كمخطط"

msgid "This map can't be displayed as a pivot table"
msgstr ""

msgid "This visualization can't be displayed as a pivot table"
msgstr ""

msgid "This visualization can't be displayed as a map"
msgstr ""

msgid "View as Chart"
msgstr "عرض كمخطط بياني"

msgid "This map can't be displayed as a table"
msgstr "لا يمكن عرض هذه الخريطة كجدول"

msgid "View as Table"
msgstr "عرض كجدول"
msgid "View as Pivot table"
msgstr ""

msgid "View as Map"
msgstr "عرض كخريطة"

msgid "There was a problem loading interpretations for this item"
msgstr "حدثت مشكلة أثناء تحميل التفسيرات لهذا العنصر"

msgid "The plugin for rendering this item is not available"
msgstr ""

msgid "Install the {{appName}} app from the App Hub"
msgstr ""

msgid "No data to display"
msgstr "لا توجد بيانات للعرض"

msgid ""
"Install Line Listing app version ${minLLVersion.join(\n"
" '.'\n"
" )} or higher in order to display this item."
msgstr ""

msgid "Show without filters"
msgstr ""

msgid "Maps with Earth Engine layers cannot be displayed when offline"
msgstr "لا يمكن عرض خرائط مع طبقات Earth Engine في حالة عدم الاتصال بالإنترنت"

msgid "Unable to load the plugin for this item"
msgstr "تعذر تحميل المكوّن الإضافي لهذا العنصر"

msgid "No data to display"
msgstr "لا توجد بيانات للعرض"

msgid "There was an error loading data for this item"
msgstr "حدث خطأ أثناء تحميل البيانات لهذا العنصر"

Expand Down Expand Up @@ -141,6 +171,9 @@ msgstr "تقارير الحدث"
msgid "Event charts"
msgstr "المخطط البياني للأحداث"

msgid "Line lists"
msgstr ""

msgid "Apps"
msgstr "التطبيقات"

Expand Down Expand Up @@ -210,7 +243,7 @@ msgid ""
"This action cannot be undone. Are you sure you want to permanently delete "
"this dashboard?"
msgstr ""
"سيؤدي حذف لوحة المعلومات \"{{dashboardName}}\" إلى إزالتها عن جميع "
"سيؤدي حذف لوحة المعلومات \"{{ dashboardName }}\" إلى إزالتها عن جميع "
"المستخدمين. لا يمكن التراجع عن هذا الإجراء. هل تريد بالتأكيد حذف لوحة "
"المعلومات هذه نهائياً؟"

Expand Down
43 changes: 34 additions & 9 deletions i18n/ar_IQ.po
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
#
# Translators:
# KRG HIS <[email protected]>, 2021
# Philip Larsen Donnelly, 2024
#
msgid ""
msgstr ""
"Project-Id-Version: i18next-conv\n"
"POT-Creation-Date: 2021-12-21T08:20:25.327Z\n"
"POT-Creation-Date: 2023-05-03T11:08:21.315Z\n"
"PO-Revision-Date: 2019-06-25 12:37+0000\n"
"Last-Translator: KRG HIS <[email protected]>, 2021\n"
"Language-Team: Arabic (Iraq) (https://www.transifex.com/hisp-uio/teams/100509/ar_IQ/)\n"
"Last-Translator: Philip Larsen Donnelly, 2024\n"
"Language-Team: Arabic (Iraq) (https://app.transifex.com/hisp-uio/teams/100509/ar_IQ/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -70,6 +71,12 @@ msgstr "عنصر نصي"
msgid "Add text here"
msgstr "اضف نص هنا"

msgid "Filters are not applied to line list dashboard items"
msgstr ""

msgid "Filters not applied"
msgstr ""

msgid "There was a problem loading this dashboard item"
msgstr "حدثت مشكلة أثناء تحميل عنصر لوحة المعلومات هذا"

Expand Down Expand Up @@ -103,15 +110,30 @@ msgstr "عرض كخريطة"
msgid "There was a problem loading interpretations for this item"
msgstr ""

msgid "Maps with Earth Engine layers cannot be displayed when offline"
msgid "The plugin for rendering this item is not available"
msgstr ""

msgid "Unable to load the plugin for this item"
msgstr "تعذر تحميل المكوّن الإضافي لهذا العنصر"
msgid "Install the {{appName}} app from the App Hub"
msgstr ""

msgid "No data to display"
msgstr "لا توجد بيانات للعرض"

msgid ""
"Install Line Listing app version ${minLLVersion.join(\n"
" '.'\n"
" )} or higher in order to display this item."
msgstr ""

msgid "Show without filters"
msgstr ""

msgid "Maps with Earth Engine layers cannot be displayed when offline"
msgstr ""

msgid "Unable to load the plugin for this item"
msgstr "تعذر تحميل المكوّن الإضافي لهذا العنصر"

msgid "There was an error loading data for this item"
msgstr ""

Expand Down Expand Up @@ -139,6 +161,9 @@ msgstr "تقارير الحدث"
msgid "Event charts"
msgstr "المخطط البياني للأحداث"

msgid "Line lists"
msgstr ""

msgid "Apps"
msgstr "التطبيقات"

Expand Down Expand Up @@ -204,9 +229,9 @@ msgid ""
"This action cannot be undone. Are you sure you want to permanently delete "
"this dashboard?"
msgstr ""
"سيؤدي حذف لوحة المعلومات \"{{dashboardName}}\" إلى إزالتها لجميع المستخدمين."
" لا يمكن التراجع عن هذا الإجراء. هل تريد بالتأكيد حذف لوحة المعلومات هذه "
"نهائياً؟"
"سيؤدي حذف لوحة المعلومات \"{{ dashboardName }}\" إلى إزالتها لجميع "
"المستخدمين. لا يمكن التراجع عن هذا الإجراء. هل تريد بالتأكيد حذف لوحة "
"المعلومات هذه نهائياً؟"

msgid "Cancel"
msgstr "إلغاء"
Expand Down
Loading
Loading