Skip to content

[MDS-6362] NoW documents not being properly added to NoW reviews #3403

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

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

matbusby-fw
Copy link
Collaborator

@matbusby-fw matbusby-fw commented Feb 5, 2025

The onFileLoad function wasn't firing in the current iteration. I couldn't find a solid reason why not, but I elected to simply update the component to Typescript and adjust some imports, and it seems to be working correctly now.

  • Refactored NOWReviewForm from a class-based component to a functional component and migrated from JavaScript to TypeScript.
  • Updated related validation logic, state handling with hooks, and Redux integration using TypeScript-friendly patterns.
  • Adjusted the API to handle document data as objects instead of tuples

Objective

MDS-6362

image

Refactored NOWReviewForm from a class-based component to a functional component and migrated from JavaScript to TypeScript. Updated related validation logic, state handling with hooks, and Redux integration using TypeScript-friendly patterns. Adjusted the API to handle document data as objects instead of tuples to improve clarity and maintainability.
Copy link

sonarqubecloud bot commented Feb 5, 2025

Quality Gate Failed Quality Gate failed for 'bcgov-sonarcloud_mds_core-web'

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

See analysis details on SonarQube Cloud

Copy link

sonarqubecloud bot commented Feb 5, 2025

@matbusby-fw matbusby-fw marked this pull request as ready for review February 5, 2025 21:35
@matbusby-fw matbusby-fw added the 👍 Ready for review Pull request has been double checked by the author and is ready for comments and feedback. label Feb 5, 2025
@matbusby-fw matbusby-fw merged commit b1847b4 into develop Feb 5, 2025
17 of 18 checks passed
@matbusby-fw matbusby-fw deleted the mds-6362-now-document-upload-bug branch February 5, 2025 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👍 Ready for review Pull request has been double checked by the author and is ready for comments and feedback.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants