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

ORV2-2338 Bug Fix #1641

Merged
merged 6 commits into from
Oct 18, 2024
Merged

ORV2-2338 Bug Fix #1641

merged 6 commits into from
Oct 18, 2024

Conversation

zgong-gov
Copy link
Collaborator

@zgong-gov zgong-gov commented Oct 17, 2024

Description

  • Fixes infinite loop bug for permit application form
  • Fixes incorrect display and selection options for duration, conditions, and vehicle options and subtype options
  • Refactoring and reorganization of code
  • Adding various helper methods and hooks to memoize and handle checking equality for reference/object/array types
  • Remove unused (and potentially problematic) objects/lists from useApplicationFormContext that are not directly used by the form and inputs

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Make sure that all duration, conditions, and vehicle selection (and subtype selection) behave properly for the application and amendment forms, and that saving applications/permits will also yield consistently correct data when editing again.

Checklist

  • I have read the CONTRIBUTING doc
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have already been accepted and merged

Further comments


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are promoted to:

Copy link

sonarcloud bot commented Oct 17, 2024

Copy link

sonarcloud bot commented Oct 17, 2024

Copy link

sonarcloud bot commented Oct 17, 2024

Copy link

sonarcloud bot commented Oct 17, 2024

Copy link

sonarcloud bot commented Oct 17, 2024

Quality Gate Failed Quality Gate failed for 'onroutebc frontend'

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

See analysis details on SonarCloud

@zgong-gov zgong-gov merged commit cc90fa6 into main Oct 18, 2024
22 of 23 checks passed
@zgong-gov zgong-gov deleted the ORV2-2338-bugfix branch October 18, 2024 01:44
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