Skip to content

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

@Satyam-Mishra-1

Description

@Satyam-Mishra-1

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

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions