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

O3 4057: Add ability to edit tab definition #8

Merged
merged 4 commits into from
Oct 11, 2024

Conversation

lucyjemutai
Copy link
Contributor

@lucyjemutai lucyjemutai commented Oct 7, 2024

Requirements

  • This PR has a title that briefly describes the work done including a conventional commit type prefix and a Jira ticket number if applicable. See existing PR titles for inspiration.

For changes to apps

If applicable

  • My work includes tests or is validated by existing tests.

Summary

Screenshots

screencast-from-2024-10-09-16-51-03_Ptztulvg.webm

Related Issue

Other

@lucyjemutai lucyjemutai marked this pull request as ready for review October 7, 2024 13:29
Copy link
Collaborator

@CynthiaKamau CynthiaKamau left a comment

Choose a reason for hiding this comment

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

Thanks @lucyjemutai , please fix the conflicts. Also you could try test with this config


if (!configureEntry) {
configureEntry = { tabDefinitions: [] };
updatedSchema['@openmrs/esm-patient-chart-app'].extensionSlots['patient-chart-dashboard-slot'].configure[
Copy link
Collaborator

Choose a reason for hiding this comment

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

The slots after extensions are dynamic

updatedSchema['@openmrs/esm-patient-chart-app'].extensionSlots['dynamic-extension']

Copy link
Collaborator

@CynthiaKamau CynthiaKamau left a comment

Choose a reason for hiding this comment

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

Thanks @lucyjemutai

@CynthiaKamau CynthiaKamau merged commit 2bce1c6 into openmrs:main Oct 11, 2024
5 checks passed
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