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

Moving geolocation feature to ElasticPressLabs #3

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

Rahmon
Copy link
Contributor

@Rahmon Rahmon commented Mar 8, 2021

Description of the Change

This change adds a new Feature that supports geolocation.

Ref: 10up/ElasticPress#2096

Alternate Designs

Benefits

Possible Drawbacks

Verification Process

  1. In the Elasticpress dashboard, enable the feature Geolocation Search;
  2. Set the "Location Me" selector field and check if you can see the button "Use My Location";
  3. Create two meta fields for a post with the name latitude and longitude and set the values with your latitude and longitude.
  4. Run an index;
  5. On the site, click on the button "Use My Location";
  6. Search for some term that appears in the post used in step 3 and the result should be only this post;
  7. Click on "Stop using my location", search again using the same term and the result may include other posts;

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests passed.

Applicable Issues

Changelog Entry

Added new Feature that supports geolocation

@Rahmon Rahmon added the enhancement New feature or request label Mar 8, 2021
@Rahmon Rahmon self-assigned this Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants