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-4002 Add implementation for configuring dashboard Encounter List Table component #3

Merged
merged 2 commits into from
Oct 2, 2024

Conversation

CynthiaKamau
Copy link
Collaborator

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

Add implementation for configuring dashboard Encounter List Table component

Screenshots

Screen.Recording.2024-09-30.at.19.57.57.mov

Related Issue

Other

@CynthiaKamau CynthiaKamau changed the title O3 4002 O3-4002 Add implementation for configuring dashboard Encounter List Table component Sep 30, 2024
@@ -108,17 +131,63 @@ const InteractiveBuilder = ({ schema, onSchemaChange }: InteractiveBuilderProps)
{submenuConfig ? (
submenuConfig.add.map((submenuKey) => {
const submenuDetails = submenuConfig.configure[submenuKey];
const subMenuSlot = submenuDetails?.slot;
const getSubMenuSlotDetails = (schema, subMenuSlot) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

@CynthiaKamau is there a reason why this needs to be encapsulated on a function? I only see this function being used once and its actual part of map so it will be local to this code, correct?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes it is

@CynthiaKamau CynthiaKamau requested review from eudson and ODORA0 October 2, 2024 12:28
Copy link
Collaborator

@eudson eudson left a comment

Choose a reason for hiding this comment

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

LGTM

@eudson eudson merged commit 35d0303 into openmrs:main Oct 2, 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.

3 participants