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

chore(deps): update to React v19 #1861

Merged
merged 3 commits into from
Feb 19, 2025
Merged

chore(deps): update to React v19 #1861

merged 3 commits into from
Feb 19, 2025

Conversation

huwshimi
Copy link
Contributor

Done

  • Upgrade to React 19.
  • Switch to the v19 compatible version of usePortal in react-components.

QA

  • Check that the UI loads and have a bit of a look to make sure nothing is broken.

@webteam-app
Copy link

Copy link

github-actions bot commented Feb 14, 2025

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 98% (🎯 95%) 15094 / 15402
🟢 Statements 98% (🎯 95%) 15094 / 15402
🟢 Functions 98.19% (🎯 95%) 598 / 609
🟢 Branches 92.03% (🎯 90%) 2959 / 3215
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/animations/FadeIn.tsx 100% 100% 100% 100%
src/animations/FadeUpIn.tsx 100% 100% 100% 100%
src/animations/SlideDownFadeOut.tsx 100% 100% 100% 100%
src/components/AppLink/AppLink.tsx 100% 100% 100% 100%
src/components/Aside/Aside.tsx 81.13% 75% 66.66% 81.13% 48, 50-59
src/components/Banner/Banner.tsx 100% 100% 100% 100%
src/components/Breadcrumb/Breadcrumb.tsx 97.11% 84.61% 100% 97.11% 23-24, 73
src/components/CaptureRoutes/CaptureRoutes.tsx 100% 100% 100% 100%
src/components/ConnectionError/ConnectionError.tsx 100% 100% 100% 100%
src/components/ContentReveal/ContentReveal.tsx 100% 100% 100% 100%
src/components/EntityInfo/EntityInfo.tsx 100% 100% 100% 100%
src/components/FormikFormData/FormikFormData.tsx 100% 100% 100% 100%
src/components/InfoPanel/InfoPanel.tsx 100% 60% 100% 100%
src/components/LoadingHandler/LoadingHandler.tsx 100% 100% 100% 100%
src/components/LogIn/LogIn.tsx 100% 100% 100% 100%
src/components/MachineLink/MachineLink.tsx 100% 100% 100% 100%
src/components/NotFound/NotFound.tsx 100% 100% 100% 100%
src/components/RadioInputBox/RadioInputBox.tsx 92.85% 88.88% 66.66% 92.85% 79-84
src/components/SegmentedControl/SegmentedControl.tsx 100% 100% 100% 100%
src/components/ToastCard/ToastCard.tsx 98.24% 90% 100% 98.24% 41
src/components/UnitLink/UnitLink.tsx 100% 100% 100% 100%
src/components/secrets/SecretForm/Fields/Fields.tsx 100% 100% 100% 100%
src/hooks/useLogout.tsx 100% 100% 100% 100%
src/pages/AdvancedSearch/AdvancedSearch.tsx 100% 100% 100% 100%
src/pages/AdvancedSearch/CodeSnippetBlock/CodeSnippetBlock.tsx 100% 100% 100% 100%
src/pages/AdvancedSearch/ErrorsBlock/ErrorsBlock.tsx 100% 100% 100% 100%
src/pages/AdvancedSearch/ResultsBlock/ResultsBlock.tsx 100% 100% 100% 100%
src/pages/AdvancedSearch/ResultsModelLink/ResultsModelLink.tsx 100% 100% 100% 100%
src/pages/AdvancedSearch/SearchForm/SearchForm.tsx 100% 100% 100% 100%
src/pages/AdvancedSearch/SearchForm/QueryLink/QueryLink.tsx 100% 100% 100% 100%
src/pages/AdvancedSearch/SearchForm/SearchHelp/SearchHelp.tsx 100% 100% 100% 100%
src/pages/AdvancedSearch/SearchForm/SearchHistoryMenu/SearchHistoryMenu.tsx 100% 100% 100% 100%
src/pages/EntityDetails/App/App.tsx 96.35% 76.92% 85.71% 96.35% 76-77, 82-83, 96, 131-132, 139, 156, 310, 354, 368
src/pages/EntityDetails/Model/Logs/ActionLogs/ActionPayloadModal/ActionPayloadModal.tsx 100% 100% 100% 100%
src/pages/EntityDetails/Model/Logs/AuditLogs/AuditLogs.tsx 100% 100% 100% 100%
src/pages/EntityDetails/Model/Secrets/SecretContent/SecretContent.tsx 100% 95.23% 100% 100%
src/pages/Logs/Logs.tsx 100% 100% 100% 100%
src/pages/Permissions/Permissions.tsx 100% 100% 100% 100%
src/panels/ActionsPanel/ActionsPanel.tsx 99.49% 92.5% 100% 99.49% 136
src/panels/ActionsPanel/CharmActionsPanel/CharmActionsPanel.tsx 100% 82.35% 100% 100%
src/panels/ActionsPanel/CharmActionsPanel/ConfirmationDialog/ConfirmationDialog.tsx 100% 89.47% 100% 100%
src/panels/ActionsPanel/ConfirmationDialog/ConfirmationDialog.tsx 100% 100% 100% 100%
src/panels/AuditLogsFilterPanel/AuditLogsFilterPanel.tsx 100% 100% 100% 100%
src/panels/AuditLogsFilterPanel/Fields/Fields.tsx 100% 100% 100% 100%
src/panels/CharmsAndActionsPanel/CharmActionsPanelTitle/CharmActionsPanelTitle.tsx 100% 100% 100% 100%
src/panels/CharmsPanel/CharmsPanel.tsx 95.16% 100% 75% 95.16% 31-33
src/panels/CharmsPanel/CharmApplicationsDetails/CharmApplicationsDetails.tsx 100% 85.71% 100% 100%
src/panels/ConfigPanel/ConfigPanel.tsx 99.49% 97.8% 100% 99.49% 415-416
src/panels/ConfigPanel/BooleanConfig/BooleanConfig.tsx 100% 75% 100% 100%
src/panels/ConfigPanel/ChangedKeyValues/ChangedKeyValues.tsx 100% 87.5% 100% 100%
src/panels/ConfigPanel/ConfigField/ConfigField.tsx 96.89% 90.69% 100% 96.89% 89-90, 106-107, 172
src/panels/ConfigPanel/ConfirmationDialog/ConfirmationDialog.tsx 98.71% 94.87% 100% 98.71% 142-143
src/panels/ConfigPanel/NumberConfig/NumberConfig.tsx 100% 100% 100% 100%
src/panels/ConfigPanel/SecretsPicker/SecretsPicker.tsx 100% 96.66% 100% 100%
src/panels/ConfigPanel/TextAreaConfig/TextAreaConfig.tsx 100% 83.33% 100% 100%
src/panels/PanelInlineErrors/PanelInlineErrors.tsx 100% 100% 100% 100%
src/panels/RemoveSecretPanel/Fields/Fields.tsx 100% 100% 100% 100%
src/panels/ShareModelPanel/ShareModel.tsx 99.42% 96.87% 100% 99.42% 129-130
Generated in workflow #115 for commit d1c976c by the Vitest Coverage Report Action

Copy link
Contributor

@Ninfa-Jeon Ninfa-Jeon left a comment

Choose a reason for hiding this comment

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

LGTM

@huwshimi huwshimi merged commit 342f39b into canonical:main Feb 19, 2025
8 checks passed
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