-
Notifications
You must be signed in to change notification settings - Fork 184
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
Discover page #74
Comments
TODO for filter component: add select year, user score, runtime (advanced) |
@ctuanle m thử lm cái filter ni nha, t qua lm bên cái search |
@Khanhtran47 gọi api á ? |
@ctuanle ừ call api (thay api movie list hiện tại bằng api discover movie đồ rứa sau thay mấy cái query của link url fetch để filter), t nghĩ là xài useFetcher của remix đồ để call lại, mé hơi rắc rối thiệt -.- |
@Khanhtran47 okay để t thử 🤖 |
@ctuanle hoặc khi filter thì m chuyển route sang 1 trang index ứng với cái filter luôn, k bt đk |
@ctuanle à cái select từ cái dropdown lấy value hơi ngu tý 😅 |
@Khanhtran47 trang index ở đây là gì nhỉ, như movies/discover?filter_query_bla hay movies/index
😅 |
@ctuanle kiểu movies/discover?sort=...?genre=...?...=... dạng rứa nếu m chuyển route còn muốn giữ nguyên route thì xài useFetcher |
@Khanhtran47 oke |
- note: prefill filter with params from url
@ctuanle Filter movie and tv with discover api
https://developers.themoviedb.org/3/discover/movie-discover
https://developers.themoviedb.org/3/discover/tv-discover
The text was updated successfully, but these errors were encountered: