Skip to content

Option to hide fully watched videos from History page #13260#13275

Open
SandipLow wants to merge 4 commits intoTeamNewPipe:devfrom
SandipLow:feature_pr
Open

Option to hide fully watched videos from History page #13260#13275
SandipLow wants to merge 4 commits intoTeamNewPipe:devfrom
SandipLow:feature_pr

Conversation

@SandipLow
Copy link

@SandipLow SandipLow commented Feb 21, 2026

What is it?

  • Bugfix (user facing)
  • Feature (user facing) ⚠️ Your PR must target the refactor branch
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

Before/After Screenshots/Screen Record

  • Before:
    IMG_20260222_004940_019@109047037
  • After:
    IMG_20260222_004921_337@1412541887
    IMG_20260222_004904_358@736354627

Fixes the following issue(s)

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

@github-actions github-actions bot added the size/medium PRs with less than 250 changed lines label Feb 21, 2026
@dustdfg
Copy link
Contributor

dustdfg commented Feb 21, 2026

I am not sure if it is universal feeling but I feel that check is kinda inverted?

Comment on lines +8 to +9
<LinearLayout
android:layout_width="match_parent"
Copy link
Contributor

@dustdfg dustdfg Feb 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it necessary to add new LinearLayout (especially taking into account nested views performance considerations)? I am not sure but it seems to me that you could just expand existing RelativeLayout (?)

(It is not a "suggestion" because I am not fully sure by myself)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well actually the onclick listener for toggle sortMode is defined for the entire RelativeLayout.. hence why I did that..!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. Not sure why comment didn't appear before 🤔.

Makes sense. But you could do like done in settings_notification_action.xml#notificationActionClickableArea but I am not sure it is the way to go so wait until real reviewer will come...

<string name="unknown_format">Unknown format</string>
<string name="unknown_quality">Unknown quality</string>
<string name="unknown_audio_track">Unknown</string>
<string name="feed_show_watched">Fully watched</string>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There exists feed_show_watched maybe it should be renamed to show_watched or fully_watched and just reused. What other will say?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay I didn't notice that..

Comment on lines +84 to +89
if (!includeFullyWatched) {
return results.stream()
.filter(e -> e.getStreamEntity().getDuration() != e.getProgressMillis() / 1000)
.toList();
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note: there is StreamStateEntity.isFinished but it is another entity. Method uses StreamStatisticsEntry

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh okay.. I didn't know that.. Will refactor the code..

@dustdfg
Copy link
Contributor

dustdfg commented Feb 22, 2026

I am not sure if it is universal feeling but I feel that check is kinda inverted?

Imo there should be a "Hide watched" button

SandipLow and others added 2 commits February 23, 2026 22:33
@ShareASmile ShareASmile added feature request Issue is related to a feature in the app GUI Issue is related to the graphical user interface history Anything to do with previously watched stuff UX Relating to improving user experience labels Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature request Issue is related to a feature in the app GUI Issue is related to the graphical user interface history Anything to do with previously watched stuff size/medium PRs with less than 250 changed lines UX Relating to improving user experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option to hide fully watched videos from History page

3 participants