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

refactor(app, components, shared-data, protocol-designer, react-api-client): update to react 18 #14114

Merged
merged 34 commits into from
Dec 14, 2023

Conversation

b-cooper
Copy link
Contributor

@b-cooper b-cooper commented Dec 6, 2023

Overview

Update all react projects to react 18 and manage it's sub dependencies

Changelog

Review requests

Risk assessment

high

Copy link

codecov bot commented Dec 6, 2023

Codecov Report

Merging #14114 (d9ce1fe) into edge (5883939) will decrease coverage by 2.26%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             edge   #14114      +/-   ##
==========================================
- Coverage   70.38%   68.13%   -2.26%     
==========================================
  Files        2510     1632     -878     
  Lines       71292    54449   -16843     
  Branches     9019     4034    -4985     
==========================================
- Hits        50179    37097   -13082     
+ Misses      18901    16723    -2178     
+ Partials     2212      629    -1583     
Flag Coverage Δ
app 38.77% <ø> (-28.88%) ⬇️
components 50.56% <ø> (-10.34%) ⬇️
labware-library 41.10% <ø> (-10.40%) ⬇️
protocol-designer 34.96% <ø> (-9.59%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
components/src/alerts/AlertItem.tsx 62.50% <ø> (-25.00%) ⬇️
...nents/src/hardware-sim/Pipette/EmanatingNozzle.tsx 100.00% <ø> (ø)
components/src/interaction-enhancers/useHover.ts 50.00% <ø> (-43.75%) ⬇️
components/src/tooltips/useTooltip.ts 75.00% <ø> (-6.25%) ⬇️

... and 1042 files with indirect coverage changes

@b-cooper b-cooper changed the title Chore react 18 no hmr refactor(app, components, shared-data, protocol-designer, react-api-client): update to react 18 Dec 12, 2023
@b-cooper b-cooper marked this pull request as ready for review December 12, 2023 23:43
@b-cooper b-cooper requested a review from a team as a code owner December 12, 2023 23:43
@b-cooper b-cooper requested a review from a team December 12, 2023 23:43
@b-cooper b-cooper requested a review from a team as a code owner December 12, 2023 23:43
@b-cooper b-cooper requested review from brenthagen and removed request for a team December 12, 2023 23:43
@b-cooper b-cooper requested review from a team and shlokamin and removed request for brenthagen, a team and shlokamin December 12, 2023 23:48
Copy link
Contributor

@brenthagen brenthagen left a comment

Choose a reason for hiding this comment

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

smoke tested app, components, PD, looks good ✔️

Copy link
Collaborator

@jerader jerader left a comment

Choose a reason for hiding this comment

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

I did some smoke testing and its looking good for the most part. There are several cypress tests failing in PD. The batchEdit and mixSettings passes locally. But the migration tests are failing due to a modal upon import, which is a bit concerning to me. It would be great if we can investigate that before this merges in.

@shlokamin
Copy link
Member

yeah lets fix those cypress tests — im looking into it now

@b-cooper b-cooper merged commit d5ee4fc into edge Dec 14, 2023
35 checks passed
@b-cooper b-cooper deleted the chore_react-18-no-hmr branch December 14, 2023 21:58
ncdiehl11 pushed a commit that referenced this pull request Dec 19, 2023
…lient): update to react 18 (#14114)

Update all react projects to react 18 and manage its sub dependencies

Co-authored-by: Shlok Amin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants