[ADE-66] fixes for processing and viewing a report #100
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change
This pull request introduces enhancements to the
ReportDetailPageand its components, focusing on improving the user experience for displaying empty states and flagged lab values. Key changes include adding empty state handling for normal values, updating the display of flagged lab values with icons, and refining some translations and styles.Enhancements to empty state handling:
reportDetail.jsonto display messages when no normal values are available ("empty"and"empty-description").NormalValuesSectioncomponent to show a styled empty state with an icon, title, and description when no normal values are present.no-values.svgicon for use in the empty state display.Improvements to flagged lab value display:
OriginalReportTabcomponent to include visual indicators (icons) for flagged lab values, usingorangeAlertIconfor low values andredAlertIconfor high values.orange-alert.svgandred-alert.svgicons for flagged value representation.Styling updates:
ReportDetailPage.scssfor styling the empty state, including layout, icon, title, and description.Translation refinements:
ReportDetailPage.tsxto use the correct keys ('loading.report'and'no-report-data') for error and loading messages. [1] [2]Does this PR introduce a breaking change?
{...}
What needs to be documented once your changes are merged?
{...}
Additional Comments
{...}