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

Maintenance updates #358

Merged
merged 4 commits into from
Mar 6, 2024
Merged

Maintenance updates #358

merged 4 commits into from
Mar 6, 2024

Conversation

eatyourgreens
Copy link
Collaborator

  • update outdated dependencies.
  • refactors to fix build warnings.

Patch and minor version updates for frontend dependencies.
Clean up unused variables and React globals.
* refactor: Clean up useEffect build warnings

Fix build warnings in the frontend. Either remove effect hooks, where they can be
replaced, or add the missing dependencies to the effect hook.
See https://react.dev/learn/you-might-not-need-an-effect

* Wrap VariableRow callbacks in useCallback

* refactor slider onChange with useCallback
Replace `useEffect` hooks for form submission with a `useInterval` hook that sets a timeout
and runs a callback if a form has unsaved changes.
Copy link

codecov bot commented Mar 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.35%. Comparing base (ac0c28f) to head (5eddc77).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #358   +/-   ##
=======================================
  Coverage   76.35%   76.35%           
=======================================
  Files          95       95           
  Lines        5379     5379           
=======================================
  Hits         4107     4107           
  Misses       1272     1272           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

sonarqubecloud bot commented Mar 6, 2024

Quality Gate Passed Quality Gate passed for 'pkpdapp'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

sonarqubecloud bot commented Mar 6, 2024

Quality Gate Failed Quality Gate failed for 'pkpdapp-team_pkpdapp_frontend'

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@eatyourgreens eatyourgreens merged commit cf7f109 into master Mar 6, 2024
8 of 9 checks passed
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.

1 participant