Skip to content

(feat): Hiding the patient banner#135

Merged
samuelmale merged 4 commits intoopenmrs:mainfrom
Twiineenock:feat/hidePatientBanner
Aug 26, 2025
Merged

(feat): Hiding the patient banner#135
samuelmale merged 4 commits intoopenmrs:mainfrom
Twiineenock:feat/hidePatientBanner

Conversation

@Twiineenock
Copy link
Contributor

@Twiineenock Twiineenock commented Aug 17, 2025

Requirements

  • This PR has a title that briefly describes the work done, including the ticket number if there is a ticket.
  • My work conforms to the OpenMRS 3.0 Styleguide.
  • My work includes tests or is validated by existing tests.

Summary

This PR includes the following updates:

  • Improve the FDE patient banner by implementing the patient-header-slot.
  • Use the RFE patient banner for group sessions and the FDE patient banner for single sessions.
  • Enhance the patient card for unsubmitted forms by replacing the WarningAlt icon with the DocumentBlank icon.

Screenshots

Before

Double Patient Banner

Screenshot 2025-08-17 at 16 44 04

Rude icon for unsubmitted forms

Screenshot 2025-08-17 at 16 59 59

After

Screenshot 2025-08-17 at 16 44 54 Screenshot 2025-08-17 at 16 59 35

Related Issue

Other

Related Pull Requests
openmrs-esm-form-engine-lib

openmrs-esm-patient-chart

@Twiineenock
Copy link
Contributor Author

CC @samuelmale

@samuelmale
Copy link
Member

Can you split this PR into two?

  1. Removing implementation-specific config
  2. Hiding the patient banner

@Twiineenock Twiineenock changed the title (feat): Remove Implementation specific configurations (feat): Hiding the patient banner Aug 20, 2025
@Twiineenock
Copy link
Contributor Author

<CheckmarkOutline size={16} className={styles.statusSuccess} />
) : (
<WarningAlt size={16} className={styles.statusWarning} />
<DocumentBlank size={16} className={styles.statusWarning} />
Copy link
Member

Choose a reason for hiding this comment

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

@Twiineenock I think we should keep the WarningAlt until we get some concrete UX advice.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Alright @samuelmale,
Reverted the changes to that file.

@samuelmale samuelmale merged commit b6e5f7d into openmrs:main Aug 26, 2025
6 checks passed
@jwnasambu jwnasambu mentioned this pull request Aug 28, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants