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

[SD-102] Added additional features needed for KYC map migration #1306

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

jeffdowdle
Copy link
Contributor

Issue: https://digital-vic.atlassian.net/browse/SD-102

What I did

  • Added support for LGAs to the rplAddressSuggestionsFunction
    • LGA suggestions will appear at the top of the suggestions when the maxLGASuggestions is greater than 0.
    • Screenshot 2024-08-28 at 8 35 45 AM
    • Screenshot 2024-08-28 at 8 35 54 AM
  • Added OOTB support for adding a 'tag' next to a suggestion, if a suggestion has the tag attribute it will display next to the suggestion label:
    • Screenshot 2024-08-28 at 8 38 40 AM
    • Screenshot 2024-08-28 at 8 38 56 AM
  • Added OOTB support for zooming to a point on the map:
    • When a suggestion has a bbox property, the map will zoom to fit that bounding box
    • Otherwise, if a suggestion has a center property, the map will zoom to that coordinate
    • A suggestion can now have a 'zoomLevel` property which controls the desired zoom level when zooming into a center point

How to test

Checklist

For all PR's

  • I've added relevant changes to the project Readme if needed.
  • I've updated the documentation site as needed.
  • I have added unit tests to cover my changes (if not applicable, please state why in a comment)

For new components only

  • I have added a story covering all variants
  • I have checked a11y tab in storybook passes
  • Any events are emitted on the event bus

@jeffdowdle jeffdowdle added this to the 2.15.0 milestone Aug 27, 2024
@jeffdowdle jeffdowdle merged commit 9bd4182 into release/2.15.0 Aug 28, 2024
6 checks passed
@jeffdowdle jeffdowdle deleted the feature/SD-102-kyc-map-support branch August 28, 2024 04:33
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