Skip to content

Conversation

@henrikmv
Copy link
Contributor

@henrikmv henrikmv commented Oct 1, 2025

DHIS2-18739

This pull request updates the feedback and indicator widgets in the registration page so they look consistent with the widget in the Enrollment dashboard.

Architecture updates

  • Replace usage of FeedbacksSection and IndicatorsSection components in DataEntryWidgetOutput.component.tsx and LayoutComponentConfig.ts with new container files: WidgetFeedback and WidgetIndicator. This change ensures that we consistently use the container files for the widgets around the app.

Props improvement

  • Renamed emptyText prop to feedbackEmptyText and indicatorEmptyText in widget components and types for clearer intent and consistency

Cleanup

  • Removed the unused renderCardActions prop from DataEntryWidgetOutput and its usages in registration components

@henrikmv henrikmv marked this pull request as ready for review October 1, 2025 16:50
@henrikmv henrikmv requested a review from a team as a code owner October 1, 2025 16:50
@github-actions
Copy link

github-actions bot commented Oct 7, 2025

@henrikmv henrikmv marked this pull request as draft October 16, 2025 10:14
@henrikmv henrikmv marked this pull request as ready for review October 16, 2025 11:32
@henrikmv henrikmv added testing and removed testing labels Oct 16, 2025
@henrikmv henrikmv marked this pull request as draft October 16, 2025 12:27
@henrikmv henrikmv added e2e record Apply this label to a pull request to trigger recording of E2E tests on Cypress Cloud and removed e2e record Apply this label to a pull request to trigger recording of E2E tests on Cypress Cloud labels Oct 16, 2025
@henrikmv henrikmv marked this pull request as ready for review October 21, 2025 11:57
Copy link
Contributor

@simonadomnisoru simonadomnisoru left a comment

Choose a reason for hiding this comment

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

Hi @henrikmv, the overall approach looks good to me now! Let’s just make sure we also have the proper types in place too.

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
1 New issue
1 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@henrikmv henrikmv added testing and removed testing labels Oct 22, 2025
@henrikmv henrikmv merged commit d2713d5 into master Oct 22, 2025
40 of 41 checks passed
@henrikmv henrikmv deleted the DHIS2-18739 branch October 22, 2025 12:26
dhis2-bot added a commit that referenced this pull request Oct 22, 2025
# [104.4.0](v104.3.0...v104.4.0) (2025-10-22)

### Features

* [DHIS2-18739] Update feedback and indicator widgets in the Registration page ([#4385](#4385)) ([d2713d5](d2713d5))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 104.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants