Skip to content

#193 - upgrade of several low risk package#296

Merged
stasel merged 5 commits intomainfrom
task/issue-193-upgrade-client-packages
Feb 7, 2026
Merged

#193 - upgrade of several low risk package#296
stasel merged 5 commits intomainfrom
task/issue-193-upgrade-client-packages

Conversation

@zalexa19
Copy link
Contributor

@zalexa19 zalexa19 commented Feb 6, 2026

started upgrading the client packages

This requires testing on adding/editing stikes, tests and interactions 😬

Copilot AI review requested due to automatic review settings February 6, 2026 22:46
@HackYourFutures HackYourFutures temporarily deployed to dojo-task-issue-193-upg-8yvfmx February 6, 2026 22:46 Inactive
@zalexa19 zalexa19 force-pushed the task/issue-193-upgrade-client-packages branch from 1e89e85 to 1d0925e Compare February 6, 2026 22:48
@HackYourFutures HackYourFutures temporarily deployed to dojo-task-issue-193-upg-8yvfmx February 6, 2026 22:49 Inactive
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR begins upgrading the client-side dependency stack (notably MUI X packages and related tooling) and updates the React components/configuration needed to accommodate upgrade-driven API/type changes.

Changes:

  • Upgraded client dependencies (MUI X Charts/Date Pickers, Google OAuth, TypeScript/types, Vite plugin React, ESLint plugins) and regenerated package-lock.json.
  • Updated MUI component props to newer patterns (e.g., slotProps usage in EducationInfo).
  • Refactored several modal components to rely on key-based remounting for form state reset, and adjusted chart typing after the MUI X Charts upgrade.

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
client/src/features/trainee-profile/interactions/components/InteractionDetailsModal.tsx Refactors modal state initialization; removes effect/reset logic.
client/src/features/trainee-profile/interactions/InteractionsInfo.tsx Adds modal remount key strategy for “add interaction” flow.
client/src/features/trainee-profile/education/tests/TestsComponent.tsx Adds modal remount key strategy for “add test” flow.
client/src/features/trainee-profile/education/tests/TestDetailsModal.tsx Refactors modal state initialization; removes effect/reset logic.
client/src/features/trainee-profile/education/strikes/StrikesComponent.tsx Adds modal remount key strategy for strikes modal.
client/src/features/trainee-profile/education/strikes/StrikeDetailsModal.tsx Refactors modal state initialization; removes effect/reset logic.
client/src/features/trainee-profile/education/EducationInfo.tsx Migrates TextField props to slotProps for upgraded MUI APIs.
client/src/features/dashboard/components/DashboardPieChart.tsx Adjusts PieChart data typing after MUI X Charts upgrade.
client/package.json Bumps client dependencies/devDependencies for the upgrade.
client/package-lock.json Lockfile updates reflecting new versions and transitive deps.
client/eslint.config.js Updates ESLint flat config structure for upgraded plugins/config APIs.
Files not reviewed (1)
  • client/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@HackYourFutures HackYourFutures temporarily deployed to dojo-task-issue-193-upg-8yvfmx February 7, 2026 14:28 Inactive
@zalexa19 zalexa19 force-pushed the task/issue-193-upgrade-client-packages branch from ff43fe1 to deb3ed5 Compare February 7, 2026 14:29
@HackYourFutures HackYourFutures temporarily deployed to dojo-task-issue-193-upg-8yvfmx February 7, 2026 14:30 Inactive
@HackYourFutures HackYourFutures temporarily deployed to dojo-task-issue-193-upg-8yvfmx February 7, 2026 14:58 Inactive
@zalexa19 zalexa19 changed the title #193 #193 - upgrade of several low risk package Feb 7, 2026
Copy link
Member

@stasel stasel left a comment

Choose a reason for hiding this comment

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

Looks good, tested on the deployment - everything seems to be working

@stasel stasel merged commit 02e3ccd into main Feb 7, 2026
1 check passed
@stasel stasel deleted the task/issue-193-upgrade-client-packages branch February 7, 2026 20:02
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