today_ai_weather/app/views
songtianlun 799f3222a9 feat: add city search functionality
- Implement search_by_name scope in City model
- Add SearchController for handling search input
- Include _search_city partial in cities index view
- Update cities_controller to filter cities based on search query

This commit introduces a new feature that allows users to search for
cities by name using an input field. The search is implemented as a
scope in the City model, and it is integrated into the existing
CitiesController. A dedicated SearchController manages the input
submission with a debouncing mechanism for better performance. The
search field is rendered in the cities index view, enhancing user
interactivity and experience.
2025-02-12 14:00:03 +08:00
..
arts feat: add pagination to cities and arts index 2025-01-23 17:30:05 +08:00
cities feat: add city search functionality 2025-02-12 14:00:03 +08:00
devise feat: enhance devise views with new styling 2025-02-11 16:43:05 +08:00
home feat: update latest weather art display 2025-02-02 00:21:51 +08:00
kaminari feat: add pagination to weather arts gallery 2025-01-23 14:10:13 +08:00
layouts feat: enhance user authentication features 2025-02-11 16:18:10 +08:00
pwa init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
shared migrate with countries_states_cities_db 2025-02-08 17:42:50 +08:00
weather_arts feat: add admin panel and update database URL 2025-02-11 16:56:51 +08:00