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

fix(bug): Fix dashboard tab loading #1210

Merged
merged 9 commits into from
Feb 26, 2025
Merged

fix(bug): Fix dashboard tab loading #1210

merged 9 commits into from
Feb 26, 2025

Conversation

tiffanyvu
Copy link
Collaborator

@tiffanyvu tiffanyvu commented Feb 25, 2025

🎫 Linked Ticket

OY2-32759

💬 Description / Notes

When switching between tabs on the dashboard, invalid data for the new tab is briefly rendered before the data is ready.

The previous PR for this ticket created an unintentional bug because it involved checking for the loading state of the data, however, the search bar and filters also depend on that loading state.
PR undoing the change: #1208

🛠 Changes

Logic for loading a tab is separated so that it doesn't affect search and filtering functionality.

📸 Screenshots / Demo

Copy link
Contributor

github-actions bot commented Feb 25, 2025

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 92.67% (🎯 90%)
⬆️ +0.01%
4414 / 4763
🟢 Statements 92.21% (🎯 90%)
⬆️ +0.03%
4809 / 5215
🟢 Functions 87.58% (🎯 85%)
⬆️ +0.06%
1369 / 1563
🟢 Branches 82.03% (🎯 80%)
⬆️ +0.03%
2351 / 2866
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
react-app/src/components/Opensearch/main/useOpensearch.ts 100%
🟰 ±0%
87.5%
⬆️ +1.79%
100%
🟰 ±0%
100%
🟰 ±0%
react-app/src/features/dashboard/index.tsx 100%
🟰 ±0%
93.33%
⬆️ +1.03%
100%
🟰 ±0%
100%
🟰 ±0%
Unchanged Files
lib/config/bundling-config.ts 100% 100% 100% 100%
lib/config/deployment-config.ts 96.66% 93.33% 100% 96.66% 106-108
lib/lambda/cfnNotify.ts 100% 100% 100% 100%
lib/lambda/checkConsumerLag.ts 100% 94.44% 100% 100%
lib/lambda/createTriggers.ts 90.62% 70% 50% 93.54% 70-71
lib/lambda/deleteIndex.ts 100% 66.66% 100% 100%
lib/lambda/deleteTriggers.ts 90.32% 50% 66.66% 93.33% 52-53
lib/lambda/getAllForms.ts 100% 75% 100% 100%
lib/lambda/getAttachmentUrl.ts 97.29% 81.81% 100% 97.29% 112
lib/lambda/getCpocs.ts 100% 100% 100% 100%
lib/lambda/getForm.ts 100% 90% 100% 100%
lib/lambda/getPackageActions.ts 100% 100% 100% 100%
lib/lambda/getSubTypes.ts 94.11% 83.33% 100% 94.11% 72-75
lib/lambda/getSystemNotifs.ts 100% 100% 100% 100%
lib/lambda/getTypes.ts 94.11% 83.33% 100% 94.11% 64-67
lib/lambda/getUploadUrl.ts 100% 100% 100% 100%
lib/lambda/item.ts 86.95% 84.21% 100% 86.95% 42-43, 51-57
lib/lambda/itemExists.ts 87.5% 100% 100% 87.5% 27
lib/lambda/mapRole.ts 90.47% 83.33% 100% 90.47% 36-37
lib/lambda/postAuth.ts 95.52% 67.56% 100% 95.38% 138-141, 158-161, 170
lib/lambda/processEmails.ts 90.22% 81.57% 100% 89.68% 117, 123, 178-179, 186-187, 235-238, 256-257, 297-298, 311
lib/lambda/runReindex.ts 100% 83.33% 100% 100%
lib/lambda/search.ts 90.32% 75% 100% 90% 58-60
lib/lambda/setupIndex.ts 100% 100% 100% 100%
lib/lambda/sinkChangelog.ts 87.27% 85.71% 80% 88.88% 105-116, 140, 151
lib/lambda/sinkCpocs.ts 100% 100% 100% 100%
lib/lambda/sinkInsights.ts 100% 100% 100% 100%
lib/lambda/sinkLegacyInsights.ts 100% 100% 100% 100%
lib/lambda/sinkMain.ts 100% 100% 100% 100%
lib/lambda/sinkMainProcessors.ts 100% 100% 100% 100%
lib/lambda/sinkSubtypes.ts 100% 100% 100% 100%
lib/lambda/sinkTypes.ts 100% 100% 100% 100%
lib/lambda/utils.ts 100% 57.14% 100% 100%
lib/lambda/submit/getNextSplitSPAId.ts 100% 75% 100% 100%
lib/lambda/submit/index.ts 100% 100% 100% 100%
lib/lambda/submit/submitSplitSPA.ts 92.85% 72.22% 100% 92.85% 21, 99-102
lib/lambda/submit/submissionPayloads/app-k.ts 87.5% 75% 100% 93.33% 7, 21
lib/lambda/submit/submissionPayloads/capitated-amendment.ts 87.5% 75% 100% 93.33% 9, 23
lib/lambda/submit/submissionPayloads/capitated-initial.ts 87.5% 75% 100% 93.33% 7, 21
lib/lambda/submit/submissionPayloads/capitated-renewal.ts 87.5% 75% 100% 93.33% 9, 23
lib/lambda/submit/submissionPayloads/contracting-amendment.ts 87.5% 75% 100% 93.33% 9, 23
lib/lambda/submit/submissionPayloads/contracting-initial.ts 87.5% 75% 100% 93.33% 7, 21
lib/lambda/submit/submissionPayloads/contracting-renewal.ts 87.5% 75% 100% 93.33% 9, 23
lib/lambda/submit/submissionPayloads/index.ts 100% 100% 100% 100%
lib/lambda/submit/submissionPayloads/new-chip-submission.ts 87.5% 75% 100% 93.33% 7, 21
lib/lambda/submit/submissionPayloads/new-medicaid-submission.ts 87.5% 75% 100% 93.33% 7, 23
lib/lambda/submit/submissionPayloads/respond-to-rai.ts 88.23% 75% 100% 93.75% 9, 23
lib/lambda/submit/submissionPayloads/temporary-extension.ts 83.33% 70% 100% 88.23% 9, 23, 27
lib/lambda/submit/submissionPayloads/toggle-withdraw-rai.ts 81.25% 62.5% 100% 86.66% 7, 12, 21
lib/lambda/submit/submissionPayloads/upload-subsequent-documents.ts 85.71% 66.66% 100% 92.3% 7, 14
lib/lambda/submit/submissionPayloads/withdraw-package.ts 87.5% 75% 100% 93.33% 7, 22
lib/lambda/submit/submissionPayloads/withdraw-rai.ts 87.5% 75% 100% 93.33% 7, 21
lib/lambda/update/adminChangeSchemas.ts 88.88% 100% 71.42% 100% 73-78, 106-112
lib/lambda/update/getPackageType.ts 100% 75% 100% 100%
lib/lambda/update/submitNOSO.ts 100% 81.25% 100% 100%
lib/lambda/update/updatePackage.ts 98.5% 88.09% 100% 98.5% 218
lib/libs/env.ts 100% 100% 100% 100%
lib/libs/handler-lib.ts 100% 75% 100% 100%
lib/libs/opensearch-lib.ts 85.58% 76.31% 90.47% 85.18% 37-39, 77-88, 117, 196-197, 211, 250
lib/libs/sink-lib.ts 100% 100% 100% 100%
lib/libs/topics-lib.ts 95.34% 75% 80% 97.43% 121
lib/libs/utils.ts 100% 100% 100% 100%
lib/libs/api/kafka.ts 100% 75% 100% 100%
lib/libs/api/statusMemo.ts 100% 100% 100% 100%
lib/libs/api/auth/user.ts 96.22% 89.28% 100% 96.22% 48, 86
lib/libs/api/package/appk.ts 100% 100% 100% 100%
lib/libs/api/package/changelog.ts 100% 100% 100% 100%
lib/libs/api/package/getPackage.ts 100% 100% 100% 100%
lib/libs/api/package/itemExists.ts 100% 100% 100% 100%
lib/libs/email/errors.ts 0% 100% 0% 0% 11-12
lib/libs/email/getAllStateUsers.ts 89.65% 77.77% 100% 89.28% 43, 84-85
lib/libs/email/index.ts 27.27% 31.25% 33.33% 28.12% 73-74, 98, 109-144
lib/libs/email/content/email-components.tsx 92.42% 97.95% 95.65% 92.06% 295-302, 320-321, 351-352
lib/libs/email/content/email-styles.ts 100% 100% 100% 100%
lib/libs/email/content/email-templates.tsx 100% 100% 100% 100%
lib/libs/email/content/newSubmission/index.tsx 100% 50% 100% 100%
lib/libs/email/content/newSubmission/emailTemplates/AppKCMS.tsx 100% 100% 100% 100%
lib/libs/email/content/newSubmission/emailTemplates/AppKState.tsx 100% 100% 100% 100%
lib/libs/email/content/newSubmission/emailTemplates/ChipSpaCMS.tsx 100% 100% 100% 100%
lib/libs/email/content/newSubmission/emailTemplates/ChipSpaState.tsx 100% 100% 100% 100%
lib/libs/email/content/newSubmission/emailTemplates/MedSpaCMS.tsx 100% 100% 100% 100%
lib/libs/email/content/newSubmission/emailTemplates/MedSpaState.tsx 100% 100% 100% 100%
lib/libs/email/content/newSubmission/emailTemplates/Waiver1915bCMS.tsx 100% 100% 100% 100%
lib/libs/email/content/newSubmission/emailTemplates/Waiver1915bState.tsx 100% 100% 100% 100%
lib/libs/email/content/respondToRai/index.tsx 100% 50% 100% 100%
lib/libs/email/content/respondToRai/emailTemplates/ChipSpaCMS.tsx 100% 100% 100% 100%
lib/libs/email/content/respondToRai/emailTemplates/ChipSpaState.tsx 100% 100% 100% 100%
lib/libs/email/content/respondToRai/emailTemplates/MedSpaCMS.tsx 100% 100% 100% 100%
lib/libs/email/content/respondToRai/emailTemplates/MedSpaState.tsx 100% 100% 100% 100%
lib/libs/email/content/respondToRai/emailTemplates/WaiverCMS.tsx 100% 100% 100% 100%
lib/libs/email/content/respondToRai/emailTemplates/WaiverState.tsx 100% 100% 100% 100%
lib/libs/email/content/tempExtension/index.tsx 100% 100% 100% 100%
lib/libs/email/content/tempExtension/emailTemplates/TempExtCMS.tsx 100% 100% 100% 100%
lib/libs/email/content/tempExtension/emailTemplates/TempExtState.tsx 100% 100% 100% 100%
lib/libs/email/content/uploadSubsequentDocuments/index.tsx 55.55% 100% 50% 55.55% 43-79
lib/libs/email/content/uploadSubsequentDocuments/emailTemplates/AppKCMS.tsx 100% 100% 100% 100%
lib/libs/email/content/uploadSubsequentDocuments/emailTemplates/AppKState.tsx 100% 100% 100% 100%
lib/libs/email/content/uploadSubsequentDocuments/emailTemplates/ChipSpaCMS.tsx 100% 100% 100% 100%
lib/libs/email/content/uploadSubsequentDocuments/emailTemplates/ChipSpaState.tsx 100% 100% 100% 100%
lib/libs/email/content/uploadSubsequentDocuments/emailTemplates/MedSpaCMS.tsx 100% 100% 100% 100%
lib/libs/email/content/uploadSubsequentDocuments/emailTemplates/MedSpaState.tsx 100% 100% 100% 100%
lib/libs/email/content/uploadSubsequentDocuments/emailTemplates/Waiver1915BCMS.tsx 100% 100% 100% 100%
lib/libs/email/content/uploadSubsequentDocuments/emailTemplates/Waiver1915BState.tsx 100% 100% 100% 100%
lib/libs/email/content/withdrawConfirmation/index.tsx 57.14% 50% 40% 57.14% 23-26, 32
lib/libs/email/content/withdrawConfirmation/emailTemplates/ChipSpaState.tsx 100% 100% 100% 100%
lib/libs/email/content/withdrawConfirmation/emailTemplates/MedSpaState.tsx 100% 100% 100% 100%
lib/libs/email/content/withdrawConfirmation/emailTemplates/WaiverState.tsx 100% 100% 100% 100%
lib/libs/email/content/withdrawPackage/index.tsx 77.77% 37.5% 75% 77.77% 95-114
lib/libs/email/content/withdrawPackage/emailTemplates/ChipSpaCMS.tsx 100% 100% 100% 100%
lib/libs/email/content/withdrawPackage/emailTemplates/ChipSpaState.tsx 100% 100% 100% 100%
lib/libs/email/content/withdrawPackage/emailTemplates/MedSpaCMS.tsx 100% 100% 100% 100%
lib/libs/email/content/withdrawPackage/emailTemplates/MedSpaState.tsx 100% 100% 100% 100%
lib/libs/email/content/withdrawPackage/emailTemplates/WaiverCMS.tsx 100% 100% 100% 100%
lib/libs/email/content/withdrawPackage/emailTemplates/WaiverState.tsx 100% 100% 100% 100%
lib/libs/email/content/withdrawRai/index.tsx 100% 50% 100% 100%
lib/libs/email/content/withdrawRai/emailTemplates/ChipSPACMS.tsx 100% 100% 100% 100%
lib/libs/email/content/withdrawRai/emailTemplates/ChipSPAState.tsx 100% 100% 100% 100%
lib/libs/email/content/withdrawRai/emailTemplates/MedSPACMS.tsx 100% 100% 100% 100%
lib/libs/email/content/withdrawRai/emailTemplates/MedSpaState.tsx 100% 100% 100% 100%
lib/libs/email/content/withdrawRai/emailTemplates/WaiverCMS.tsx 100% 100% 100% 100%
lib/libs/email/content/withdrawRai/emailTemplates/WaiverState.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/CMS/AppK.tsx 0% 100% 0% 0% 5-21
lib/libs/email/preview/InitialSubmissions/CMS/CHIP_SPA.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/CMS/Medicaid_SPA.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/CMS/Temp_Extension.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/CMS/Waiver1915bCapitated/Amendment.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/CMS/Waiver1915bCapitated/Initial.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/CMS/Waiver1915bCapitated/Renewal.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/CMS/Waiver1915bContracting/Amendment.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/CMS/Waiver1915bContracting/Initial.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/CMS/Waiver1915bContracting/Renewal.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/CMS/__snapshots__/AppK.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/State/AppK.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/State/CHIP_SPA.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/State/Medicaid_SPA.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/State/Temp_Extension.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/State/Waiver1915bCapitated/Amendment.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/State/Waiver1915bCapitated/Initial.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/State/Waiver1915bCapitated/Renewal.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/State/Waiver1915bContracting/Amendment.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/State/Waiver1915bContracting/Initial.tsx 100% 100% 100% 100%
lib/libs/email/preview/InitialSubmissions/State/Waiver1915bContracting/Renewal.tsx 100% 100% 100% 100%
lib/libs/email/preview/RespondToRai/CMS/CHIP_SPA.tsx 100% 100% 100% 100%
lib/libs/email/preview/RespondToRai/CMS/Medicaid_SPA.tsx 100% 100% 100% 100%
lib/libs/email/preview/RespondToRai/CMS/Waiver.tsx 100% 100% 100% 100%
lib/libs/email/preview/RespondToRai/State/CHIP_SPA.tsx 100% 100% 100% 100%
lib/libs/email/preview/RespondToRai/State/Medicaid_SPA.tsx 100% 100% 100% 100%
lib/libs/email/preview/RespondToRai/State/Waiver.tsx 100% 100% 100% 100%
lib/libs/email/preview/UploadSubsequentDocuments/CMS/AppK.tsx 100% 100% 100% 100%
lib/libs/email/preview/UploadSubsequentDocuments/CMS/CHIP_SPA.tsx 100% 100% 100% 100%
lib/libs/email/preview/UploadSubsequentDocuments/CMS/MED_SPA.tsx 100% 100% 100% 100%
lib/libs/email/preview/UploadSubsequentDocuments/CMS/Waiver1915b.tsx 100% 100% 100% 100%
lib/libs/email/preview/UploadSubsequentDocuments/State/AppK.tsx 100% 100% 100% 100%
lib/libs/email/preview/UploadSubsequentDocuments/State/CHIP_SPA.tsx 100% 100% 100% 100%
lib/libs/email/preview/UploadSubsequentDocuments/State/MED_SPA.tsx 100% 100% 100% 100%
lib/libs/email/preview/UploadSubsequentDocuments/State/Waiver1915b.tsx 100% 100% 100% 100%
lib/libs/email/preview/WithdrawConfirmation/State/AppK.tsx 100% 100% 100% 100%
lib/libs/email/preview/WithdrawConfirmation/State/CHIP_SPA.tsx 100% 100% 100% 100%
lib/libs/email/preview/WithdrawConfirmation/State/Medicaid_SPA.tsx 100% 100% 100% 100%
lib/libs/email/preview/WithdrawConfirmation/State/Waiver.tsx 100% 100% 100% 100%
lib/libs/email/preview/WithdrawPackage/CMS/AppK.tsx 100% 100% 100% 100%
lib/libs/email/preview/WithdrawPackage/CMS/CHIP_SPA.tsx 100% 100% 100% 100%
lib/libs/email/preview/WithdrawPackage/CMS/Medicaid_SPA.tsx 100% 100% 100% 100%
lib/libs/email/preview/WithdrawPackage/CMS/Waiver_Capitated.tsx 100% 100% 100% 100%
lib/libs/email/preview/WithdrawPackage/State/AppK.tsx 100% 100% 100% 100%
lib/libs/email/preview/WithdrawPackage/State/CHIP_SPA.tsx 100% 100% 100% 100%
lib/libs/email/preview/WithdrawPackage/State/Medicaid_SPA.tsx 100% 100% 100% 100%
lib/libs/email/preview/WithdrawPackage/State/Waiver_Capitated.tsx 100% 100% 100% 100%
lib/packages/shared-types/actions.ts 100% 100% 100% 100%
lib/packages/shared-types/attachments.ts 66.66% 44.44% 66.66% 68.42% 63-74, 65-66
lib/packages/shared-types/authority.ts 100% 100% 100% 100%
lib/packages/shared-types/forms.ts 100% 100% 100% 100%
lib/packages/shared-types/issue.ts 100% 100% 100% 100%
lib/packages/shared-types/states.ts 100% 100% 100% 100%
lib/packages/shared-types/statusHelper.ts 100% 100% 50% 100%
lib/packages/shared-types/uploads.ts 100% 100% 100% 100%
lib/packages/shared-types/user.ts 100% 100% 100% 100%
lib/packages/shared-types/events/app-k.ts 100% 100% 100% 100%
lib/packages/shared-types/events/capitated-amendment.ts 100% 100% 100% 100%
lib/packages/shared-types/events/capitated-initial.ts 100% 100% 100% 100%
lib/packages/shared-types/events/capitated-renewal.ts 100% 100% 100% 100%
lib/packages/shared-types/events/contracting-amendment.ts 100% 100% 100% 100%
lib/packages/shared-types/events/contracting-initial.ts 100% 100% 100% 100%
lib/packages/shared-types/events/contracting-renewal.ts 100% 100% 100% 100%
lib/packages/shared-types/events/index.ts 100% 100% 100% 100%
lib/packages/shared-types/events/new-chip-submission.ts 100% 100% 100% 100%
lib/packages/shared-types/events/new-medicaid-submission.ts 100% 100% 100% 100%
lib/packages/shared-types/events/remove-appk-child.ts 100% 100% 100% 100%
lib/packages/shared-types/events/respond-to-rai.ts 100% 100% 100% 100%
lib/packages/shared-types/events/seatool.ts 100% 100% 100% 100%
lib/packages/shared-types/events/temporary-extension.ts 100% 100% 100% 100%
lib/packages/shared-types/events/toggle-withdraw-rai.ts 100% 100% 100% 100%
lib/packages/shared-types/events/update-id.ts 100% 100% 100% 100%
lib/packages/shared-types/events/upload-subsequent-documents.ts 100% 100% 100% 100%
lib/packages/shared-types/events/withdraw-package.ts 100% 100% 100% 100%
lib/packages/shared-types/events/withdraw-rai.ts 100% 50% 100% 100%
lib/packages/shared-types/opensearch/changelog/index.ts 100% 100% 100% 100%
lib/packages/shared-types/opensearch/changelog/transforms/app-k.ts 90.9% 66.66% 87.5% 85.71% 24
lib/packages/shared-types/opensearch/changelog/transforms/capitated-amendment.ts 90.9% 66.66% 87.5% 85.71% 24
lib/packages/shared-types/opensearch/changelog/transforms/capitated-initial.ts 90.9% 66.66% 87.5% 85.71% 24
lib/packages/shared-types/opensearch/changelog/transforms/capitated-renewal.ts 90.9% 66.66% 87.5% 85.71% 24
lib/packages/shared-types/opensearch/changelog/transforms/contracting-amendment.ts 90.9% 66.66% 87.5% 85.71% 24
lib/packages/shared-types/opensearch/changelog/transforms/contracting-initial.ts 90.9% 66.66% 87.5% 85.71% 24
lib/packages/shared-types/opensearch/changelog/transforms/contracting-renewal.ts 90.9% 66.66% 87.5% 85.71% 24
lib/packages/shared-types/opensearch/changelog/transforms/new-chip-submission.ts 90.9% 66.66% 87.5% 85.71% 25
lib/packages/shared-types/opensearch/changelog/transforms/new-medicaid-submission.ts 90.9% 66.66% 87.5% 85.71% 24
lib/packages/shared-types/opensearch/changelog/transforms/respond-to-rai.ts 90.9% 66.66% 87.5% 85.71% 24
lib/packages/shared-types/opensearch/changelog/transforms/temporary-extension.ts 90.9% 66.66% 87.5% 85.71% 24
lib/packages/shared-types/opensearch/changelog/transforms/toggle-withdraw-rai.ts 100% 100% 75% 100%
lib/packages/shared-types/opensearch/changelog/transforms/upload-subsequent-documents.ts 54.54% 14.28% 50% 57.14% 7-18, 9-15
lib/packages/shared-types/opensearch/changelog/transforms/withdraw-package.ts 90.9% 66.66% 87.5% 85.71% 24
lib/packages/shared-types/opensearch/changelog/transforms/withdraw-rai.ts 90.9% 66.66% 87.5% 85.71% 24
lib/packages/shared-types/opensearch/cpocs/transforms/Officers.ts 100% 100% 75% 100%
lib/packages/shared-types/opensearch/main/index.ts 100% 100% 100% 100%
lib/packages/shared-types/opensearch/main/transforms/app-k.ts 100% 100% 75% 100%
lib/packages/shared-types/opensearch/main/transforms/capitated-amendment.ts 100% 100% 75% 100%
lib/packages/shared-types/opensearch/main/transforms/capitated-initial.ts 100% 50% 75% 100%
lib/packages/shared-types/opensearch/main/transforms/capitated-renewal.ts 100% 100% 75% 100%
lib/packages/shared-types/opensearch/main/transforms/changedDate.ts 100% 100% 75% 100%
lib/packages/shared-types/opensearch/main/transforms/contracting-amendment.ts 100% 100% 75% 100%
lib/packages/shared-types/opensearch/main/transforms/contracting-initial.ts 100% 50% 75% 100%
lib/packages/shared-types/opensearch/main/transforms/contracting-renewal.ts 100% 100% 75% 100%
lib/packages/shared-types/opensearch/main/transforms/new-chip-submission.ts 100% 100% 75% 100%
lib/packages/shared-types/opensearch/main/transforms/new-medicaid-submission.ts 100% 100% 75% 100%
lib/packages/shared-types/opensearch/main/transforms/remove-appk-child.ts 50% 0% 0% 33.33% 4-10
lib/packages/shared-types/opensearch/main/transforms/respond-to-rai.ts 100% 50% 75% 100%
lib/packages/shared-types/opensearch/main/transforms/seatool.ts 81.15% 71.29% 75.86% 85.71% 46-55, 109, 47-55, 109
lib/packages/shared-types/opensearch/main/transforms/temporary-extension.ts 100% 100% 75% 100%
lib/packages/shared-types/opensearch/main/transforms/toggle-withdraw-rai.ts 100% 50% 75% 100%
lib/packages/shared-types/opensearch/main/transforms/upload-subsequent-documents.ts 100% 50% 75% 100%
lib/packages/shared-types/opensearch/main/transforms/withdraw-package.ts 100% 50% 75% 100%
lib/packages/shared-types/opensearch/main/transforms/withdraw-rai-response.ts 100% 50% 75% 100%
lib/packages/shared-types/opensearch/subtypes/transforms/Type.ts 100% 100% 75% 100%
lib/packages/shared-types/opensearch/types/transforms/SPA_Type.ts 100% 100% 75% 100%
lib/packages/shared-types/seatool-statics/Plan_Types.ts 100% 100% 100% 100%
lib/packages/shared-types/seatool-statics/SPW_Status.ts 100% 100% 100% 100%
lib/packages/shared-types/seatool-tables/Officers.ts 100% 100% 100% 100%
lib/packages/shared-types/seatool-tables/SPA_Type.ts 100% 100% 100% 100%
lib/packages/shared-types/seatool-tables/State_Plan.ts 100% 100% 100% 100%
lib/packages/shared-types/seatool-tables/Type.ts 100% 100% 100% 100%
lib/packages/shared-utils/action-type.ts 100% 100% 100% 100%
lib/packages/shared-utils/cloudformation.ts 100% 75% 75% 100%
lib/packages/shared-utils/date-helper.ts 100% 87.5% 50% 100%
lib/packages/shared-utils/decode.ts 100% 100% 50% 100%
lib/packages/shared-utils/feature-flags.ts 100% 100% 100% 100%
lib/packages/shared-utils/package-check.ts 100% 100% 100% 100%
lib/packages/shared-utils/regex.ts 100% 90.47% 75% 100%
lib/packages/shared-utils/retry.ts 100% 100% 100% 100%
lib/packages/shared-utils/s3-url-parser.ts 100% 100% 50% 100%
lib/packages/shared-utils/seatool-date-helper.ts 93.33% 72.72% 66.66% 100% 27
lib/packages/shared-utils/secrets-manager.ts 100% 100% 50% 100%
lib/packages/shared-utils/testData.ts 100% 100% 100% 100%
lib/packages/shared-utils/user-helper.ts 100% 100% 100% 100%
lib/packages/shared-utils/validate-env-variable.ts 100% 100% 50% 100%
lib/packages/shared-utils/package-actions/getAvailableActions.ts 100% 87.5% 100% 100%
lib/packages/shared-utils/package-actions/rules.ts 100% 97.32% 100% 100%
react-app/src/config.tsx 100% 100% 100% 100%
react-app/src/router.tsx 75% 100% 0% 75% 130
react-app/src/zodIdValidator.ts 100% 100% 100% 100%
react-app/src/api/amplifyConfig.ts 100% 100% 100% 100%
react-app/src/api/getAttachmentUrl.ts 100% 100% 100% 100%
react-app/src/api/itemExists.ts 100% 100% 100% 100%
react-app/src/api/useGetCPOCs.ts 75% 50% 50% 83.33% 17
react-app/src/api/useGetCounties.ts 78.94% 80% 75% 81.25% 15, 42-43
react-app/src/api/useGetForm.ts 66.66% 100% 33.33% 72.72% 15-16, 30
react-app/src/api/useGetItem.ts 72% 100% 62.5% 72% 40-51
react-app/src/api/useGetPackageActions.ts 100% 100% 100% 100%
react-app/src/api/useGetSystemNotifs.ts 72% 63.63% 66.66% 73.91% 31-35, 39-40
react-app/src/api/useGetTypes.ts 66.66% 78.57% 42.85% 66.66% 34-54
react-app/src/api/useGetUser.ts 100% 84.61% 100% 100%
react-app/src/api/useSearch.ts 77.27% 75% 66.66% 75% 40, 54-57, 81-85
react-app/src/components/ActionForm/ActionFormAttachments.tsx 100% 100% 100% 100%
react-app/src/components/ActionForm/AdditionalInformation.tsx 100% 100% 100% 100%
react-app/src/components/ActionForm/actionForm.components.tsx 100% 93.33% 100% 100%
react-app/src/components/ActionForm/actionForm.utilities.ts 100% 75% 100% 100%
react-app/src/components/ActionForm/index.tsx 94.59% 85.29% 87.5% 94.44% 275-276
react-app/src/components/Alert/index.tsx 100% 100% 100% 100%
react-app/src/components/Banner/MMDLSpaBanner.tsx 83.33% 40% 50% 80% 37
react-app/src/components/Banner/banner.tsx 100% 83.33% 100% 100%
react-app/src/components/BreadCrumb/BreadCrumb.tsx 100% 100% 100% 100%
react-app/src/components/BreadCrumb/create-breadcrumbs.ts 100% 100% 100% 100%
react-app/src/components/Cards/CardWithTopBorder.tsx 100% 100% 100% 100%
react-app/src/components/Cards/OptionCard.tsx 100% 66.66% 100% 100%
react-app/src/components/Cards/SectionCard.tsx 100% 100% 100% 100%
react-app/src/components/Chip/index.tsx 100% 100% 100% 100%
react-app/src/components/ConfirmationDialog/ConfirmationDialog.tsx 0% 0% 0% 0%
react-app/src/components/ConfirmationDialog/userPrompt.tsx 100% 80% 100% 100%
react-app/src/components/Container/SimplePageContainer.tsx 100% 100% 100% 100%
react-app/src/components/Container/Accordion/index.tsx 100% 100% 100% 100%
react-app/src/components/DetailsSection/index.tsx 100% 100% 100% 100%
react-app/src/components/Dialog/index.tsx 100% 100% 100% 100%
react-app/src/components/ErrorAlert/index.tsx 100% 100% 100% 100%
react-app/src/components/Footer/index.tsx 100% 100% 100% 100%
react-app/src/components/Form/old-content.tsx 70% 28.57% 40% 70% 16-24, 27-36, 55-92
react-app/src/components/Form/content/ContentWrappers.tsx 88.88% 28.57% 50% 88.88% 74-88
react-app/src/components/Form/content/PackageSection.tsx 100% 50% 100% 100%
react-app/src/components/Form/content/RequiredIndicator.tsx 100% 100% 100% 100%
react-app/src/components/HowItWorks/index.tsx 100% 100% 100% 100%
react-app/src/components/Inputs/button.tsx 100% 75% 100% 100%
react-app/src/components/Inputs/calendar.tsx 100% 100% 100% 100%
react-app/src/components/Inputs/checkbox.tsx 100% 100% 100% 100%
react-app/src/components/Inputs/date-picker.tsx 100% 100% 100% 100%
react-app/src/components/Inputs/form.tsx 96.77% 92.85% 100% 96.77% 48
react-app/src/components/Inputs/input.tsx 100% 30% 100% 100%
react-app/src/components/Inputs/label.tsx 100% 100% 100% 100%
react-app/src/components/Inputs/multiselect.tsx 100% 100% 100% 100%
react-app/src/components/Inputs/radio-group.tsx 100% 100% 100% 100%
react-app/src/components/Inputs/select.tsx 100% 100% 100% 100%
react-app/src/components/Inputs/switch.tsx 100% 100% 100% 100%
react-app/src/components/Inputs/textarea.tsx 100% 50% 100% 100%
react-app/src/components/Inputs/toggle.tsx 100% 100% 100% 100%
react-app/src/components/Inputs/upload.tsx 90.32% 77.77% 100% 90% 75-77
react-app/src/components/Inputs/upload.utilities.ts 100% 80% 100% 100%
react-app/src/components/Layout/index.tsx 93.47% 94.73% 100% 95.34% 91, 263-264
react-app/src/components/LoadingSpinner/index.tsx 100% 100% 100% 100%
react-app/src/components/LockIcon/index.tsx 100% 50% 100% 100%
react-app/src/components/MaintenanceBanner/index.tsx 100% 100% 100% 100%
react-app/src/components/Opensearch/utils.ts 100% 100% 100% 100%
react-app/src/components/Opensearch/changelog/index.ts 100% 100% 100% 100%
react-app/src/components/Opensearch/main/index.tsx 92.3% 81.81% 87.5% 94.44% 66-69
react-app/src/components/Opensearch/main/Filtering/FilterProvider.tsx 100% 100% 100% 100%
react-app/src/components/Opensearch/main/Filtering/index.tsx 100% 100% 100% 100%
react-app/src/components/Opensearch/main/Filtering/Chipbar/index.tsx 95.12% 92.59% 93.75% 100% 35, 81
react-app/src/components/Opensearch/main/Filtering/Drawer/consts.ts 100% 100% 100% 100%
react-app/src/components/Opensearch/main/Filtering/Drawer/hooks.ts 98.64% 90.62% 100% 98.46% 93
react-app/src/components/Opensearch/main/Filtering/Drawer/index.tsx 100% 100% 100% 100%
react-app/src/components/Opensearch/main/Filtering/Drawer/Filterable/Boolean.tsx 100% 100% 100% 100%
react-app/src/components/Opensearch/main/Filtering/Drawer/Filterable/DateRange.tsx 100% 90.47% 100% 100%
react-app/src/components/Opensearch/main/Filtering/Drawer/Filterable/Multicheck.tsx 100% 100% 100% 100%
react-app/src/components/Opensearch/main/Filtering/Drawer/Filterable/Select.tsx 100% 100% 100% 100%
react-app/src/components/Opensearch/main/Filtering/Export/index.tsx 95.45% 86.66% 100% 95% 30
react-app/src/components/Opensearch/main/Provider/index.tsx 100% 100% 100% 100%
react-app/src/components/Opensearch/main/Settings/Visibility.tsx 100% 100% 100% 100%
react-app/src/components/Opensearch/main/Table/index.tsx 100% 100% 100% 100%
react-app/src/components/Pagination/index.tsx 100% 100% 100% 100%
react-app/src/components/Pagination/utils.ts 94.44% 92.85% 100% 93.75% 41-45
react-app/src/components/Popover/index.tsx 100% 100% 100% 100%
react-app/src/components/RHF/Document.tsx 100% 100% 100% 100%
react-app/src/components/RHF/Field.tsx 100% 80% 100% 100%
react-app/src/components/RHF/FieldArray.tsx 100% 92.85% 100% 100%
react-app/src/components/RHF/FormGroup.tsx 100% 100% 100% 100%
react-app/src/components/RHF/RHFTextDisplay.tsx 100% 100% 100% 100%
react-app/src/components/RHF/Section.tsx 100% 100% 100% 100%
react-app/src/components/RHF/Slot.tsx 100% 91.66% 100% 100%
react-app/src/components/RHF/SlotField.tsx 71.42% 62.16% 60% 73.68% 89-91, 96-102, 159, 185
react-app/src/components/RHF/dependencyWrapper.tsx 94.64% 92.64% 90.9% 96.07% 7, 100
react-app/src/components/RHF/utils/additionalRules.ts 97.14% 92.18% 100% 98.36% 55, 137
react-app/src/components/RHF/utils/initializer.ts 100% 100% 100% 100%
react-app/src/components/RHF/utils/is.ts 94.73% 87.5% 88.88% 100% 18
react-app/src/components/RHF/utils/validator.ts 93.16% 86.11% 100% 94.94% 159-160, 170, 172, 188-189
react-app/src/components/SearchForm/index.tsx 100% 100% 100% 100%
react-app/src/components/Sheet/index.tsx 100% 100% 100% 100%
react-app/src/components/Table/index.tsx 100% 66.66% 100% 100%
react-app/src/components/Tabs/index.tsx 100% 100% 100% 100%
react-app/src/components/TimeoutModal/index.tsx 95.45% 100% 83.33% 95.45% 41
react-app/src/components/Tooltip/index.tsx 100% 100% 100% 100%
react-app/src/components/UsaBanner/index.tsx 100% 100% 100% 100%
react-app/src/consts/blank-value.ts 100% 100% 100% 100%
react-app/src/features/dashboard/Lists/renderCells/index.tsx 100% 100% 100% 100%
react-app/src/features/dashboard/Lists/spas/consts.tsx 100% 100% 100% 100%
react-app/src/features/dashboard/Lists/spas/index.tsx 100% 100% 100% 100%
react-app/src/features/dashboard/Lists/waivers/consts.tsx 100% 100% 100% 100%
react-app/src/features/dashboard/Lists/waivers/index.tsx 100% 100% 100% 100%
react-app/src/features/faq/index.tsx 62.5% 50% 75% 62.5% 20-26, 45-47
react-app/src/features/faq/content/abpGuides.ts 100% 100% 100% 100%
react-app/src/features/faq/content/abpTemplate.ts 100% 100% 100% 100%
react-app/src/features/faq/content/chpGuides.ts 100% 100% 100% 100%
react-app/src/features/faq/content/chpRenderSection.tsx 100% 33.33% 100% 100%
react-app/src/features/faq/content/chpTemplates.ts 100% 100% 100% 100%
react-app/src/features/faq/content/mpcGuides.ts 100% 100% 100% 100%
react-app/src/features/faq/content/mpcTemplates.ts 100% 100% 100% 100%
react-app/src/features/faq/content/oneMACFAQContent.tsx 58.82% 55.55% 88.88% 58.82% 282-289
react-app/src/features/forms/faqLinks.ts 100% 50% 100% 100%
react-app/src/features/forms/new-submission/Chip.tsx 80% 100% 75% 80% 83
react-app/src/features/forms/new-submission/Medicaid.tsx 80% 100% 75% 80% 104
react-app/src/features/forms/post-submission/post-submission-forms.tsx 37.5% 0% 0% 37.5% 65-70, 76-78
react-app/src/features/forms/post-submission/amend/index.tsx 100% 87.5% 100% 100%
react-app/src/features/forms/post-submission/respond-to-rai/index.tsx 78.57% 66.66% 50% 78.57% 24, 71, 104
react-app/src/features/forms/post-submission/toggle-withdraw-rai/index.tsx 66.66% 100% 50% 66.66% 19, 47
react-app/src/features/forms/post-submission/upload-subsequent-documents/index.tsx 71.79% 56.25% 88.88% 71.79% 22, 70, 78-89, 110, 114, 159
react-app/src/features/forms/post-submission/withdraw-package/index.tsx 76.92% 66.66% 50% 76.92% 43, 97, 145
react-app/src/features/forms/post-submission/withdraw-rai/index.tsx 100% 33.33% 100% 100%
react-app/src/features/forms/waiver/app-k/index.tsx 80% 66.66% 75% 80% 126
react-app/src/features/forms/waiver/capitated/Amendment.tsx 80% 100% 80% 80% 130
react-app/src/features/forms/waiver/capitated/Initial.tsx 80% 100% 75% 80% 94
react-app/src/features/forms/waiver/capitated/Renewal.tsx 83.33% 100% 80% 83.33% 117
react-app/src/features/forms/waiver/contracting/Amendment.tsx 80% 100% 80% 80% 129
react-app/src/features/forms/waiver/contracting/Initial.tsx 75% 100% 75% 75% 95
react-app/src/features/forms/waiver/contracting/Renewal.tsx 80% 100% 80% 80% 121
react-app/src/features/forms/waiver/temporary-extension/index.tsx 85.71% 100% 77.77% 85.71% 187-188
react-app/src/features/guides/index.tsx 100% 0% 0% 100%
react-app/src/features/package/hooks.tsx 8.33% 0% 0% 8.33% 11-40
react-app/src/features/package/index.tsx 41.66% 0% 50% 41.66% 63-82, 86, 101
react-app/src/features/package/admin-changes/index.tsx 100% 93.75% 66.66% 100%
react-app/src/features/package/package-actions/index.tsx 100% 16.66% 100% 100%
react-app/src/features/package/package-activity/hook.ts 91.3% 50% 100% 95.23% 16, 23
react-app/src/features/package/package-activity/index.tsx 94.28% 89.47% 100% 94.28% 160, 167
react-app/src/features/package/package-details/appk.tsx 39.13% 100% 20% 39.13% 18, 22-47, 78-93
react-app/src/features/package/package-details/hooks.tsx 80% 59.64% 79.31% 80.64% 13-27, 77-78, 86-87
react-app/src/features/package/package-details/index.tsx 78.57% 60% 100% 91.66% 58, 60, 61
react-app/src/features/package/package-status/index.tsx 83.33% 93.33% 100% 100% 9
react-app/src/features/profile/index.tsx 100% 100% 100% 100%
react-app/src/features/selection-flow/options.tsx 100% 100% 100% 100%
react-app/src/features/selection-flow/plan-types.tsx 45.45% 0% 0% 45.45% 25-28, 38-43, 63-68, 71-76, 79-84, 87-92, 94-99, 101-106, 108-113, 115-120
react-app/src/features/selection-flow/external-landing/ExternalAppLandingPage.tsx 60% 100% 33.33% 60% 49, 70-99
react-app/src/features/welcome/index.tsx 73.33% 50% 75% 73.33% 20-21, 29, 34
react-app/src/formSchemas/app-k.ts 100% 100% 100% 100%
react-app/src/formSchemas/capitated-amendment.ts 100% 100% 100% 100%
react-app/src/formSchemas/capitated-initial.ts 100% 100% 100% 100%
react-app/src/formSchemas/capitated-renewal.ts 100% 100% 100% 100%
react-app/src/formSchemas/contracting-amendment.ts 100% 100% 100% 100%
react-app/src/formSchemas/contracting-initial.ts 100% 100% 100% 100%
react-app/src/formSchemas/contracting-renewal.ts 100% 100% 100% 100%
react-app/src/formSchemas/index.ts 100% 100% 100% 100%
react-app/src/formSchemas/new-chip-submission.ts 100% 100% 100% 100%
react-app/src/formSchemas/new-medicaid-submission.ts 100% 100% 100% 100%
react-app/src/formSchemas/respond-to-rai.ts 100% 100% 100% 100%
react-app/src/formSchemas/temporary-extension.ts 88.88% 100% 100% 88.88% 75-76
react-app/src/formSchemas/toggle-withdraw-rai.ts 100% 100% 100% 100%
react-app/src/formSchemas/upload-subsequent-documents.ts 100% 100% 100% 100%
react-app/src/formSchemas/withdraw-package.ts 100% 80% 100% 100%
react-app/src/formSchemas/withdraw-rai.ts 100% 100% 100% 100%
react-app/src/hooks/useDebounce.ts 100% 50% 100% 100%
react-app/src/hooks/useHideBanner.ts 100% 100% 100% 100%
react-app/src/hooks/useLabelMappings.ts 100% 100% 100% 100%
react-app/src/hooks/useLocalStorage.ts 96% 83.33% 100% 100% 22
react-app/src/hooks/useMediaQuery.ts 92.3% 50% 100% 92.3% 9
react-app/src/hooks/useParams.ts 83.33% 78.57% 75% 87.5% 24, 30, 37, 61-63
react-app/src/hooks/useReadOnlyUser.tsx 100% 100% 100% 100%
react-app/src/hooks/useCountdown/index.ts 91.66% 75% 100% 91.3% 31-32
react-app/src/hooks/useIdle/index.ts 95.23% 50% 88.88% 94.73% 44
react-app/src/utils/basic-observable.ts 100% 100% 100% 100%
react-app/src/utils/createContextProvider.ts 63.63% 33.33% 100% 63.63% 42-45
react-app/src/utils/crumbs.ts 100% 100% 100% 100%
react-app/src/utils/formOrigin.ts 92.85% 81.25% 100% 92.85% 34-36
react-app/src/utils/labelMappers.ts 83.33% 80% 100% 83.33% 20, 24
react-app/src/utils/location.ts 100% 100% 100% 100%
react-app/src/utils/stateNames.ts 100% 100% 100% 100%
react-app/src/utils/textHelpers.ts 100% 100% 100% 100%
react-app/src/utils/user.ts 100% 100% 100% 100%
react-app/src/utils/utils.ts 100% 100% 100% 100%
react-app/src/utils/zod.ts 100% 90% 100% 100%
react-app/src/utils/Poller/DataPoller.ts 100% 80% 100% 100%
react-app/src/utils/Poller/documentPoller.ts 100% 100% 100% 100%
Generated in workflow #2321 for commit 14c7141 by the Vitest Coverage Report Action

Copy link
Collaborator

@andieswift andieswift left a comment

Choose a reason for hiding this comment

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

Nice work Tiff! Love the use of useRef 💯

Copy link
Contributor

🎉 This PR is included in version 1.5.0-val.138 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants