diff --git a/apps/playground/d2.config.js b/apps/playground/d2.config.js index 63e2f3c..a6e197b 100644 --- a/apps/playground/d2.config.js +++ b/apps/playground/d2.config.js @@ -1,7 +1,7 @@ /** @type {import('@dhis2/cli-app-scripts').D2Config} */ const config = { type: 'app', - title: 'Program Rule Playground', + title: 'Program Rules Playground', entryPoints: { app: './src/AppWrapper.tsx', }, diff --git a/apps/playground/i18n/en.pot b/apps/playground/i18n/en.pot index 058aabe..eadb186 100644 --- a/apps/playground/i18n/en.pot +++ b/apps/playground/i18n/en.pot @@ -5,8 +5,8 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" -"POT-Creation-Date: 2026-08-01T09:46:39.955Z\n" -"PO-Revision-Date: 2026-08-01T09:46:39.955Z\n" +"POT-Creation-Date: 2026-08-02T13:21:32.021Z\n" +"PO-Revision-Date: 2026-08-02T13:21:32.021Z\n" msgid "Enrollment" msgstr "Enrollment" @@ -51,9 +51,6 @@ msgstr "Event" msgid "Search by name, code, or ID" msgstr "Search by name, code, or ID" -msgid "None" -msgstr "None" - msgid "Program" msgstr "Program" @@ -63,9 +60,6 @@ msgstr "Type" msgid "Stages" msgstr "Stages" -msgid "Rules" -msgstr "Rules" - msgid "Last updated" msgstr "Last updated" @@ -178,12 +172,8 @@ msgstr "{{sourceLabel}} ยท {{ruleName}}" msgid "Program indicators" msgstr "Program indicators" -msgid "" -"Pick a program to open its forms and watch its rules evaluate. Nothing is " -"saved unless you ask for it." -msgstr "" -"Pick a program to open its forms and watch its rules evaluate. Nothing is " -"saved unless you ask for it." +msgid "Pick a program to open its forms and watch its rules evaluate." +msgstr "Pick a program to open its forms and watch its rules evaluate." msgid "Error loading programs" msgstr "Error loading programs" diff --git a/apps/playground/package.json b/apps/playground/package.json index 56b1721..d7a92f7 100644 --- a/apps/playground/package.json +++ b/apps/playground/package.json @@ -1,5 +1,5 @@ { - "name": "playground", + "name": "program-rules-playground", "version": "0.0.0", "description": "", "license": "BSD-3-Clause", diff --git a/apps/playground/public/dhis2-app-icon.png b/apps/playground/public/dhis2-app-icon.png new file mode 100644 index 0000000..504d3cc Binary files /dev/null and b/apps/playground/public/dhis2-app-icon.png differ diff --git a/apps/playground/src/components/rules/RuleFeedbackList.tsx b/apps/playground/src/components/rules/RuleFeedbackList.tsx index 094d79a..f591262 100644 --- a/apps/playground/src/components/rules/RuleFeedbackList.tsx +++ b/apps/playground/src/components/rules/RuleFeedbackList.tsx @@ -38,18 +38,8 @@ function FeedbackRow({