-
Notifications
You must be signed in to change notification settings - Fork 54
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
panel:Add an extensionSlot for lab tab panels #28
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
2433fb5
panel:Add an extensionSlot for lab tab panels
gitcliff 68dae56
panel:Add an extensionSlot for lab tab panels
gitcliff fcd3916
panel:Adding a check for existence of extensions so that a blank pane…
gitcliff 7a44de1
panel:minor fixes
gitcliff 3cd2500
pannel:tab panel changes
gitcliff 33021b0
panel:chnages in the lab tabs components
gitcliff 6ab1109
Revert "panel:chnages in the lab tabs components"
gitcliff 8047680
panel:fixes in tabs
gitcliff 8c4a320
panel:tab fixes
gitcliff 0e9699e
panel:adding the tab panels via extensions
gitcliff 428a0f3
Merge branch 'main' into panel
pirupius File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from "react"; | ||
import CompletedList from "../completed-list/completed-list.component"; | ||
import styles from "../queue-list/laboratory-queue.scss"; | ||
|
||
const ApprovedComponent = () => { | ||
return ( | ||
<div> | ||
<div className={styles.headerBtnContainer}></div> | ||
<CompletedList fulfillerStatus={"COMPLETED"} /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ApprovedComponent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import React from "react"; | ||
import { EmptyState } from "@openmrs/esm-patient-common-lib"; | ||
import styles from "../queue-list/laboratory-queue.scss"; | ||
|
||
const ReferredComponent = () => { | ||
return ( | ||
<div> | ||
<div className={styles.headerBtnContainer}></div> | ||
|
||
<EmptyState | ||
displayText={"referred tests"} | ||
headerTitle={"Referred tests"} | ||
/> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ReferredComponent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from "react"; | ||
import ReviewList from "../review-list/review-list.component"; | ||
import styles from "../queue-list/laboratory-queue.scss"; | ||
|
||
const ReviewComponent = () => { | ||
return ( | ||
<div> | ||
<div className={styles.headerBtnContainer}></div> | ||
<ReviewList fulfillerStatus={"IN_PROGRESS"} /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ReviewComponent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from "react"; | ||
import WorkList from "../work-list/work-list.component"; | ||
import styles from "../queue-list/laboratory-queue.scss"; | ||
|
||
const WorkListComponent = () => { | ||
return ( | ||
<div> | ||
<div className={styles.headerBtnContainer}></div> | ||
<WorkList fulfillerStatus={"IN_PROGRESS"} /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default WorkListComponent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the check here as well. Refer to previous comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hello @pirupius i added a check that makes sure that the
title
andname
values of theextension.meta
object are truthy before rendering the Tab which is automatically mapped to the corresponding TabPanel .Kindly see the updated screenshot