Skip to content

Removal of Tabs from the Main Page if based on a deleted base element #12353

@dev-victoria

Description

@dev-victoria

Checklist

  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I'm aware that this is a request for NewPipe itself and that requests for adding a new service need to be made at NewPipeExtractor.
  • I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise.
  • This issue contains only one feature request.
  • I have read and understood the contribution guidelines.

Feature description

Currently one is able to delete a Playlist or Channel Group, while it is represented on the main page.
This leads to an empty abandoned Tab on the main page.
Currently I have not detected an error from this situation. It feels a little unclean tho.

I suggest to either:

  • automatically remove the tab from the current main page and the settings on deletion.
  • prevent the user from deleting, prompting to remove the Tab first.

In both cases it would be necessary to check whether a tab of the current element to delete exists.
I think just preventing would be easier to code, but that depends on what is being done with #7578

This would also be a topic, if implemented, for deletion from #2088

Why do you want this feature?

I have no use for left over tabs in the main page.
I think the suggested behavior is reasonable and could prevent confusion for the user.

Additional information

Current Situation - Tabs of deleted Elements

Channel Group:
Image
Playlist:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    GUIIssue is related to the graphical user interfacefeature requestIssue is related to a feature in the app

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions