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

feat: Zoom to results control #213

Merged
merged 8 commits into from
Aug 7, 2024
Merged

Conversation

ccallendar
Copy link
Contributor

@ccallendar ccallendar commented Aug 2, 2024

Description

Added a Zoom To Results control button on the map page (bottom right corner) that is hidden behind a feature flag (VITE_ZOOM_TO_RESULTS_CONTROL_FLAG).
When clicked it will zoom to show all search results on the map.

Fixes #210

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Unit tests

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

Also added another feature flag (VITE_OSM_GRAYSCALE_FLAG) for turning the OSM map tiles gray.


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 deployed in:

mishraomp
mishraomp previously approved these changes Aug 2, 2024
Copy link
Contributor

@mishraomp mishraomp left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

sonarcloud bot commented Aug 7, 2024

Quality Gate Passed Quality Gate passed for 'nr-omrr-transparency-frontend'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@mishraomp mishraomp merged commit c68e428 into main Aug 7, 2024
18 checks passed
@mishraomp mishraomp deleted the feat/zoom-to-results-control branch August 7, 2024 16: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.

Add Back To Search Results button
2 participants