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

Improve User Experience by Prompting for Location Permission on Site Load #32

Open
Satyam-Mishra-1 opened this issue Oct 8, 2024 · 0 comments

Comments

@Satyam-Mishra-1
Copy link
Contributor

Currently, the Weather App sets Jaipur as the default location when the site is loaded, and users can manually click the "Current Location" button to track their weather. However, this is not ideal for user experience, as users should be prompted to grant location permission immediately upon loading the site.

Enhancement Request:

  • When the site is loaded, the app should automatically prompt users for location permission.
  • If granted, the app should retrieve the weather data based on the user's current location.
  • This will eliminate the need for the user to manually select the "Current Location" button, providing a smoother experience.

Current Behavior:

  • The app defaults to Jaipur.
  • Users have to manually click the "Current Location" button to get accurate weather data.

Expected Behavior:

  • Prompt users for location permission on site load.
  • Use the current location for weather tracking instead of defaulting to a specific city.

Screenshot:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants