-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Migrate playlist fragment to Jetpack Compose #11259
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
base: refactor
Are you sure you want to change the base?
Migrate playlist fragment to Jetpack Compose #11259
Conversation
64bdabb
to
b6751c2
Compare
d9a06a8
to
8049fa5
Compare
This comment was marked as outdated.
This comment was marked as outdated.
# Conflicts: # app/build.gradle # app/src/main/java/org/schabi/newpipe/MainActivity.java # app/src/main/java/org/schabi/newpipe/error/ReCaptchaActivity.java # app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java # app/src/main/java/org/schabi/newpipe/fragments/list/comments/CommentsFragment.kt # app/src/main/java/org/schabi/newpipe/fragments/list/playlist/PlaylistFragment.java # app/src/main/java/org/schabi/newpipe/ktx/Bundle.kt # app/src/main/java/org/schabi/newpipe/local/bookmark/BookmarkFragment.java # app/src/main/java/org/schabi/newpipe/paging/CommentsSource.kt # app/src/main/java/org/schabi/newpipe/ui/components/common/DescriptionText.kt # app/src/main/java/org/schabi/newpipe/ui/components/common/LoadingIndicator.kt # app/src/main/java/org/schabi/newpipe/viewmodels/CommentsViewModel.kt # build.gradle
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 19 out of 32 changed files in this pull request and generated no comments.
Files not reviewed (13)
- app/build.gradle: Language not supported
- app/src/androidTest/java/org/schabi/newpipe/database/DatabaseMigrationTest.kt: Language not supported
- app/src/main/java/org/schabi/newpipe/database/playlist/dao/PlaylistRemoteDAO.kt: Language not supported
- app/src/main/java/org/schabi/newpipe/fragments/list/playlist/PlaylistFragment.kt: Language not supported
- app/src/main/java/org/schabi/newpipe/local/playlist/RemotePlaylistManager.kt: Language not supported
- app/src/main/java/org/schabi/newpipe/paging/PlaylistItemsSource.kt: Language not supported
- app/src/main/java/org/schabi/newpipe/ui/components/comment/Comment.kt: Language not supported
- app/src/main/java/org/schabi/newpipe/ui/components/comment/CommentRepliesHeader.kt: Language not supported
- app/src/main/java/org/schabi/newpipe/ui/components/comment/CommentSection.kt: Language not supported
- app/src/main/java/org/schabi/newpipe/ui/components/common/DescriptionText.kt: Language not supported
- app/src/main/java/org/schabi/newpipe/ui/components/common/IconButtonWithLabel.kt: Language not supported
- app/src/main/java/org/schabi/newpipe/ui/components/common/PlaybackControlButtons.kt: Language not supported
- app/src/main/java/org/schabi/newpipe/ui/components/items/ItemList.kt: Language not supported
Comments suppressed due to low confidence (4)
app/src/main/java/org/schabi/newpipe/settings/tabs/Tab.java:608
- Ensure that the target Java version supports pattern matching for instanceof to avoid compilation issues.
if (!(obj instanceof PlaylistTab other)) {
app/src/main/java/org/schabi/newpipe/fragments/list/channel/ChannelFragment.java:195
- Verify that the MenuProvider is automatically removed when using a lifecycle owner; if not, consider reinstituting a manual removal in onDestroy().
activity.addMenuProvider(menuProvider, getViewLifecycleOwner());
app/src/main/java/org/schabi/newpipe/database/playlist/model/PlaylistRemoteEntity.java:84
- Confirm that PlaylistScreenInfo supplies all the required fields formerly provided by PlaylistInfo, and update any relevant documentation if necessary.
public PlaylistRemoteEntity(final PlaylistScreenInfo info) {
app/src/main/java/org/schabi/newpipe/database/playlist/dao/PlaylistRemoteDAO.java:1
- Ensure that removal of the PlaylistRemoteDAO file is intentional and that all references to this DAO have been removed or migrated.
package org.schabi.newpipe.database.playlist.dao;
# Conflicts: # app/src/main/java/org/schabi/newpipe/database/playlist/dao/PlaylistRemoteDAO.java # app/src/main/java/org/schabi/newpipe/database/playlist/model/PlaylistRemoteEntity.java # app/src/main/java/org/schabi/newpipe/fragments/list/channel/ChannelFragment.java # app/src/main/java/org/schabi/newpipe/local/playlist/RemotePlaylistManager.java
|
What is it?
Description of the changes in your PR
Before/After Screenshots/Screen Record
Screen_recording_20240710_085704.mp4
Fixes the following issue(s)
Relies on the following changes
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.
Due diligence