Tailwinds Patient Home (Confirm Transfer Complete Dialog) #5662
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.
WHAT
🤖 Generated by Copilot at c0136e3
Refactor
PatientHome
component to use common UI components and clean up code.Proposed Changes
src/Components/Patient/PatientHome.tsx
: #4979@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at c0136e3
CircularProgress
,Dialog
,DialogActions
,DialogTitle
,LegacyErrorHelperText
andModal
from various components (link, link)CircularProgress
,Page
,ConfirmDialogV2
andFieldErrorText
from common components to provide consistent UI elements (link)div
element withPage
component to render page title, breadcrumbs and back button with common layout and styling (link, link)size
prop fromCircularProgress
components, as it is not needed for the default size (link, link)Modal
andDialog
components withConfirmDialogV2
component to render confirmation dialogs with common UI elements and props (link, link, link, link)LegacyErrorHelperText
component withFieldErrorText
component to render error text with consistent UI element (link)Page
component tag (link)