[BUG]: Carousel is static in Netflix-style home layout
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
Start with HomeScreen.kt around lines 967 and 981 and NetflixHome.kt around stableNetflixBillboard and handleNetflixHomeKey; compare the existing MobileHeroCarousel pager. Trace how the selected title feeds the billboard logo and trailer, then decide how Left/Right should interact with the buttons. Done when the TV billboard advances among its candidates, pauses as specified, and title changes update its trailer and logo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
With the Netflix-style home layout enabled on Android TV, the large billboard card at the top of the home screen shows a single title and never moves on to another. It looks like a carousel but behaves like a static banner.
Steps to reproduce
- On Android TV, turn on the Netflix-style home layout in Settings.
- Open the home screen and stay on the billboard at the top.
- Wait, or press Left/Right.
Expected
The billboard cycles through several titles, either automatically or when the user pages through them.
Actual
- The same title stays up indefinitely.
- Left/Right only move between the billboard's two buttons. They never change the title.
Findings from the code
HomeScreen.kt(~line 967):billboardItemis a singleMediaItem?, not a list.HomeScreen.kt(~line 981): it's chosen once withstableNetflixBillboard(restored, candidates) { it.random() }, a random pick from the candidates.NetflixHome.kt(stableNetflixBillboard, ~line 215) deliberately keeps the previously selected item, so it only changes if the item leaves the candidate list or the profile changes.NetflixHome.kt(handleNetflixHomeKey, ~lines 243-244): Left/Right on the billboard only setheroButtonIndexto 0 or 1.- No timer, pager or auto-advance drives the TV billboard. The only effects in the billboard code handle focus, scrolling and trailer playback.
netflixBillboardCandidates()already builds a list of candidates from Top 10 / trending, so the data for a carousel already exists.- For comparison, the mobile layout (
MobileHeroCarouselinHomeScreen.kt) does use a pager.
Suggested direction
- Keep the full candidate list instead of a single item.
- Rotate automatically every ~8-10 seconds, pausing while the billboard is unfocused or a trailer is playing.
- Let Left/Right step through titles while the billboard is focused. This needs a decision, since those keys currently switch between the Play and More Info buttons.
- Make sure the trailer and logo update correctly when the title changes.
Environment
Android TV, Netflix-style home layout enabled. Findings above come from reading the code on main. I haven't verified the behaviour on a device beyond the observation described.
- Ngôn ngữ chính
- Kotlin
- Star
- 760
- Fork
- 122
- Merge trung bình
- 22 giờ 38 phút
- Pull request đã merge (30 ngày)
- 80
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ProdigyV21/ARVIO
-
type:bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
ProdigyV21/ARVIO#931 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: web type:feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
ProdigyV21/ARVIO#444 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ProdigyV21/ARVIO#367 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
type:feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
ProdigyV21/ARVIO#932 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[FEATURE]:next buttonĐang mởtype:feature
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 62/100
ProdigyV21/ARVIO#929 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ProdigyV21/ARVIO
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
krishnanunnir/vulcan-launcher#113 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
A model answer with prose after its fenced JSON is rejected as NOT_JSONCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởafk-ok importer size:S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
enorm-labs/event-junkie#5404 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 2 ngày
-
PNI-only contacts synced from Storage Service are left with RegisteredState.UNKNOWN and never appear in New ChatCó thể đã có người làm @ArviFoxy đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
signalapp/Signal-Android#15142 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ready-for-agent
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày