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

Upgrade React version in all clients #5036

Merged
merged 22 commits into from
Jul 9, 2024

Conversation

gilluminate
Copy link
Contributor

@gilluminate gilluminate commented Jun 27, 2024

Closes PROD-2076

Description Of Changes

Upgrade to React 18 along will all dependencies which need upgrading as a result.

Code Changes

  • lots of package upgrades
  • lots of code tweaks as a result (most notably, the removal/migration of React.FC patterns and using Chakra v2s isDisabled for buttons)

Steps to Confirm

  • This will require a full regression
  • Cypress tests passing
  • Unit tests passing
  • Smoke tests passing

Pre-Merge Checklist

  • All CI Pipelines Succeeded
  • Issue Requirements are Met
  • Relevant Follow-Up Issues Created
  • Update CHANGELOG.md

Copy link

vercel bot commented Jun 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fides-plus-nightly ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 9, 2024 10:41pm

Copy link

cypress bot commented Jun 28, 2024

Passing run #8817 ↗︎

0 4 0 0 Flakiness 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

Merge fc4d114 into 25000b4...
Project: fides Commit: 706062acb0 ℹ️
Status: Passed Duration: 00:33 💡
Started: Jul 9, 2024 10:48 PM Ended: Jul 9, 2024 10:49 PM

Review all test suite changes for PR #5036 ↗︎

@gilluminate gilluminate changed the title Prod 2076 upgrade react version in all Upgrade React version in all clients Jun 28, 2024
@@ -190,7 +190,6 @@ const PrivacyNoticeTranslationForm = ({
as={HStack}
spacing={8}
align="start"
grow={1}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this wasn't getting caught before, but is now. there is no grow prop

Comment on lines +12 to +13
description?: string;
name?: string;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

these actually aren't always being set, which is causing errors

Comment on lines -29 to -34
type ManualAccessProcessingDetailProps = {
connectorName: string;
data: ManualInputData;
isSubmitting: boolean;
onSaveClick: (params: PatchUploadManualWebhookDataRequest) => void;
};
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Exporting this from ./types now to be able to share it with ManualProcessingList.tsx

@@ -13,10 +12,6 @@ import {
} from "./user-management.slice";
import UserManagementRow from "./UserManagementRow";

interface UsersTableProps {
users?: User[];
Copy link
Contributor Author

Choose a reason for hiding this comment

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

was no longer used

@gilluminate gilluminate force-pushed the PROD-2076-upgrade-react-version-in-all branch from 3f2c033 to dec1bb3 Compare July 3, 2024 21:48
@gilluminate gilluminate force-pushed the PROD-2076-upgrade-react-version-in-all branch from fc7669c to f87b21d Compare July 3, 2024 23:26
Copy link
Contributor

@jpople jpople left a comment

Choose a reason for hiding this comment

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

Everything is passing for me! Great work.

@gilluminate gilluminate merged commit 36e2c50 into main Jul 9, 2024
13 checks passed
@gilluminate gilluminate deleted the PROD-2076-upgrade-react-version-in-all branch July 9, 2024 22:52
Copy link

cypress bot commented Jul 9, 2024

Passing run #8818 ↗︎

0 4 0 0 Flakiness 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

Upgrade React version in all clients (#5036)
Project: fides Commit: 36e2c50072
Status: Passed Duration: 00:35 💡
Started: Jul 9, 2024 11:03 PM Ended: Jul 9, 2024 11:03 PM

Review all test suite changes for PR #5036 ↗︎

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.

2 participants