today_ai_weather/app
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
..
admin feat: add city popularity displays by time period 2025-02-12 13:28:47 +08:00
assets feat: add photo swipe lightbox functionality 2025-02-01 14:19:19 +08:00
concerns style: format code for consistency 2025-01-23 19:03:14 +08:00
controllers feat: add city search functionality 2025-02-12 14:00:03 +08:00
helpers feat: add admin management features for cities 2025-02-11 17:40:13 +08:00
javascript feat: add city search functionality 2025-02-12 14:00:03 +08:00
mailers init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
models feat: add city search functionality 2025-02-12 14:00:03 +08:00
services feat: enhance image generation prompt clarity 2025-02-12 11:56:09 +08:00
views feat: add city search functionality 2025-02-12 14:00:03 +08:00
workers fix: update generation interval for weather arts worker 2025-02-11 23:32:47 +08:00