-
Notifications
You must be signed in to change notification settings - Fork 15
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
6272 move status change to footer #6276
base: develop
Are you sure you want to change the base?
Conversation
Bundle size differenceComparing this PR to
|
@@ -46,7 +46,7 @@ export const SplitButton = <T,>({ | |||
<ButtonGroup color={color} variant="outlined" aria-label={ariaLabel}> | |||
<ButtonWithIcon | |||
color={color} | |||
disabled={isDisabled} | |||
disabled={isDisabled || selectedOption.isDisabled} |
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.
Hopefully we are okay with the change?
@@ -81,11 +81,15 @@ const useSaveWithStatus = ( | |||
}; | |||
}; | |||
|
|||
const useSaveWithStatusChangeModal = ( | |||
const useSaveWithStatusChange = ( |
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.
just renaming as I'm now using both in and outside of the modal
@@ -133,7 +142,7 @@ export const Footer: FC<FooterProps> = ({ | |||
gap={2} | |||
> | |||
<Typography sx={{ fontSize: 18, fontWeight: 700 }}> | |||
Document Edit History | |||
{t('label.document-edit-history')} |
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.
side quest - missed translation from ages ago!
Fixes #6272
👩🏻💻 What does this PR do?
Make status change/delete workflows of encounters match those of other features.
Removes status change and delete from toolbar.
Adds delete button to side panel, and status change to footer:
Pre-requisite to hooking into status change logic within vax card.
💌 Any notes for the reviewer?
🧪 Testing
Mark as Visited
by default📃 Documentation
1.
2.