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

Ensure Persistent Latitude and Longitude Parameters in URL for 'Near Me' enabled Searches #156

Open
ebrahimghane opened this issue Jan 13, 2024 · 1 comment

Comments

@ebrahimghane
Copy link
Contributor

ebrahimghane commented Jan 13, 2024

Objective: Modify the 'Near Me' search feature to consistently include latitude and longitude (lat/lon) parameters in the URL for all search requests. This should occur whenever the 'Near Me' feature is used, addressing issues where the lat/lon parameters are sometimes not visible in the URL due to SPA behaviors or other reasons.

Detailed Requirement:

  1. The URL should always reflect the lat/lon parameters when the 'Near Me' feature is active.
  2. This change aims to make the search feature more transparent and user-friendly by showing the applied lat/lon filters directly in the URL.

Optional Enhancement:

  • The use of a 'near-me=1' parameter in the route handling is not mandatory. However, if it aids in identifying when the 'Near Me' feature is active for a user, it can be considered as an additional parameter in the URL.

Context and Rationale:

  • The current implementation sometimes does not display the lat/lon in the URL, leading to a lack of clarity for the user.
  • Ensuring consistent visibility of these parameters will improve user experience and functionality understanding.
@ebrahimghane ebrahimghane changed the title We need to enable users to bookmark and share the URL of their search results when they select the 'Near Me' option, without altering the 'Near Me' filter continuously. Ensure Persistent Latitude and Longitude Parameters in URL for 'Near Me' enabled Searches Feb 2, 2024
@hamidsarani
Copy link
Contributor

Estimate: 10h
Deadline: 2 Days after start

The issue:
sometimes lat/lon parameters not included in the URL (Thats mean results are not filtered by Near Me option)

What we should do:

  • Test and find issue
  • Keep lat/lon parameters included in the URL all the time whenever Near Me option is enabled

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

No branches or pull requests

2 participants