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

Forms-396_filter_bc_geo_address_output #874

Merged
merged 39 commits into from
Jul 17, 2023

Conversation

timisenco2015
Copy link
Contributor

Description

Created simplifies custom BC GeoAddress component generates full address and coordinates. Users can use this component as an alternative to BC Address Component, which generates a huge output.

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 run the npm script lint on the frontend and backend
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • I have approval from the product owner for the contribution in this pull request

Further comments

@github-actions
Copy link

github-actions bot commented Jul 12, 2023

Coverage Report (Application)

Totals Coverage
Statements: 40.45% ( 2388 / 5904 )
Methods: 35.53% ( 297 / 836 )
Lines: 46.32% ( 1625 / 3508 )
Branches: 29.87% ( 466 / 1560 )

@github-actions
Copy link

Coverage Report (Frontend)

Totals Coverage
Statements: 70.03% ( 1054 / 1505 )
Methods: 66.9% ( 188 / 281 )
Lines: 74.42% ( 736 / 989 )
Branches: 55.32% ( 130 / 235 )

update branch with upstream master branch
…omponent

Removed the Address 1, Address 2, City, Country, Province and Postal textfields from both BC Address Component and Simple BC Address Component
remove unused textfields
Removed disabled property from both BC Address and Simple BC Address response property and display value property
removed disabled property
let searchAddresses = await geoAddressService.addressQuerySearch(query);

if (searchAddresses?.features && Array.isArray(searchAddresses.features)) {
await searchAddresses.features.forEach((element) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

@timisenco2015 why would we need await here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was returning empty addresses

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually, it is not needed. I will remove it.

@bcgov-citz-ccft bcgov-citz-ccft merged commit 7637d8f into master Jul 17, 2023
11 checks passed
@timisenco2015 timisenco2015 deleted the FORMS-396_Filter_BC_GeoAddress_Output branch August 14, 2023 15:38
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.

3 participants