Skip to content

Add possibility to remove items using long press,#13580

Open
rcg67gtv wants to merge 3 commits into
TeamNewPipe:refactorfrom
rcg67gtv:refactor-long-press-to-delete
Open

Add possibility to remove items using long press,#13580
rcg67gtv wants to merge 3 commits into
TeamNewPipe:refactorfrom
rcg67gtv:refactor-long-press-to-delete

Conversation

@rcg67gtv
Copy link
Copy Markdown

@rcg67gtv rcg67gtv commented May 28, 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

  • Add possibility to remove items using long press, from tab list and Peertube instance list, for devices that do not support swiping and drag and drop, e.g. Android TV.

Before/After Screenshots/Screen Record

  • Before: You could only swipe to remove.
  • After: Now a long press will give a delete dialog.
screenshot

Related issues

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 May 28, 2026
from tab list and Peertube instance list,
for devices that do not support drag and drop, e.g. Android TV.
@rcg67gtv rcg67gtv force-pushed the refactor-long-press-to-delete branch from 97e8fa1 to 712ea5b Compare May 28, 2026 12:08
@absurdlylongusername
Copy link
Copy Markdown
Member

Thank you for your contribution to NewPipe. For all future PRs, please follow contribution guidelines:

If you want to help out with an existing bug report or feature request, leave a comment on that issue saying you want to try your hand at it.

You have not done this.

Also this solution does not fix #12635, it only partly addresses it.

If the goal is to improve UX for TV users, it would be better to just have buttons on the item itself to delete instead of having to long press: since the drag icon is useless anyway in this scenario.

Likewise to have buttons to move item up/down: like ⬆⬇❌ on each item, and for deletes to either have a confirmation, or have a way to undo it if you delete by accident (preferably the second).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/medium PRs with less than 250 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants