Skip to content

Enhancement : Handled empty city selection with friendly placeholder and message (#17)#42

Open
kavanatn wants to merge 1 commit intoJotthecode:mainfrom
kavanatn:feature/no-city-placeholder
Open

Enhancement : Handled empty city selection with friendly placeholder and message (#17)#42
kavanatn wants to merge 1 commit intoJotthecode:mainfrom
kavanatn:feature/no-city-placeholder

Conversation

@kavanatn
Copy link

@kavanatn kavanatn commented Aug 7, 2025

This PR fixes issue #17

✅ Changes made:

  • Added a .gitignore file
  • Updated app.py to handle empty city name inputs gracefully
  • Minor code cleanup for better readability and stability

🖼️ Screenshots:

Empty input > When the input is empty, no city is shown. User is prompted to enter a valid city. Valid city > City names are displayed only after entering them in the search bar. Invalid city > "City not found" message shown when the user enters an invalid city name. Successful search > Smooth and successful search experience with improved UX.

Let me know if you'd like to add any feature tags or link to related issues!

@kavanatn kavanatn changed the title Fix: 🌍 Enhancement: Added "Select a city" placeholder and message for empty selection Fix: 🌍 Enhanced and Fix : 🛠️ Handled empty city selection with friendly placeholder and message (#17) Aug 7, 2025
@kavanatn kavanatn changed the title Fix: 🌍 Enhanced and Fix : 🛠️ Handled empty city selection with friendly placeholder and message (#17) 🌍 Enhanced and Fix : 🛠️ Handled empty city selection with friendly placeholder and message (#17) Aug 7, 2025
@kavanatn kavanatn changed the title 🌍 Enhanced and Fix : 🛠️ Handled empty city selection with friendly placeholder and message (#17) Enhancement : Handled empty city selection with friendly placeholder and message (#17) Aug 7, 2025
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.

1 participant