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

Add BC OrgBook and BC Geocoder Lookups to SHAS Intake Form #85

Closed

Conversation

wilwong89
Copy link
Contributor

Description

Adjusted intake form to search OrgBook and Geocoder APIs for BC registered businesses and addresses.

Types of changes

New feature (non-breaking change which adds functionality)

Checklist

  • I have read the CONTRIBUTING doc
  • I have checked that unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

@wilwong89 wilwong89 marked this pull request as ready for review May 31, 2024 11:34
Copy link

Coverage Report (Application)

Totals Coverage
Statements: 47.94% ( 698 / 1456 )
Methods: 38.27% ( 106 / 277 )
Lines: 60.76% ( 466 / 767 )
Branches: 30.58% ( 126 / 412 )

Copy link

github-actions bot commented May 31, 2024

Coverage Report (Frontend)

Totals Coverage
Statements: 33.57% ( 1062 / 3164 )
Methods: 31.38% ( 198 / 631 )
Lines: 36.44% ( 626 / 1718 )
Branches: 29.2% ( 238 / 815 )

@@ -189,6 +254,7 @@ onBeforeMount(async () => {
</script>

<template>
<div>{{ formRef?.values }}</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

consider getting rid of this if dev is complete

@sanjaytkbabu
Copy link
Contributor

Getting the following error when searching for an address:
"Error: Error
Cannot read properties of undefined (reading 'geocoderApi')"

@@ -23,7 +23,7 @@ router.get(
);

// Submission create draft endpoint
router.put('/draft', submissionValidator.createDraft, (req: Request, res: Response, next: NextFunction): void => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Wondering if the validator isn't needed anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this got accidentally added in one of the many merges for the release/housing-intake form. I recall this validator wasn't meant for this route.

@wilwong89 wilwong89 force-pushed the feature/orgbook-address-lookup branch from 26f0d40 to 144952b Compare June 3, 2024 15:49
@wilwong89 wilwong89 closed this Jun 3, 2024
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