elementary / appcenter

Pay-what-you-can app store for elementary OS
https://elementary.io
GNU General Public License v3.0
542 stars 102 forks source link

Allow users to choose whether they want to show apps from added repo in AppCenter #1609

Open kdwk opened 3 years ago

kdwk commented 3 years ago

Problem

Users can't opt out of adding the entire repo to AppCenter, so if they sideload a single app from, say, Flathub, all Flathub apps will appear in AppCenter, which some people (such as me) might not want.

Proposal

Add an option for users to choose whether they would like to 'Show apps from this source in AppCenter'. If so, proceed as it does now. If not, add the repo anyway (so the app can be sideloaded) and hide apps from it from AppCenter

Mock-up

IMG_1502

davidmhewitt commented 3 years ago

This is just the way Flatpak works. It adds the repository so that it can receive updates to the app you installed and the related runtimes from that repository.

If you remove the repository, you remove all the apps that came from it.

I'm closing this as it's technically impossible to do anything about in Sideload.

kdwk commented 3 years ago

This is just the way Flatpak works. It adds the repository so that it can receive updates to the app you installed and the related runtimes from that repository.

If you remove the repository, you remove all the apps that came from it.

I'm closing this as it's technically impossible to do anything about in Sideload.

Oops. Sorry for the misleading title. I’ve changed it so it is more representative of my suggestion. I meant ‘showing more apps from that repo in AppCenter’, not ‘to add the repo or not’. Since hiding apps from a repo in AppCenter is possible, please re-open the issue

davidmhewitt commented 3 years ago

Ah, I see, I misunderstood this as you didn't want the repo at all.

I'll move this to AppCenter and re-open as 99% of the work will be there and just some way to to control it in Sideload.

However, this isn't an insignificant piece of work. It's easy to just show all Flatpak repos in AppCenter. Filtering them and deciding how to handle updates etc could be quite complex.

Invarianz commented 1 year ago

I'm note entirely sure if my issue is 100% related to this one. I also realized that after adding a single app from Flathub that it was difficult to discern between apps from AppCenter or from the Flathub source. Only if I click the icon on an app I can choose the source or go by the hint to see if its a curated or non-curated app.

As an example: I installed some cloud synchronization App from Flathub. After that I realized that I wanted a matrix client in Elementary so opened the AppCenter under "Communication" to a find a curated one. I clicked through everything just to find out that there is no curated Matrix client. It would have been way easier if I was able to filter or search by app-source.

I would suggest some sort of toggle in the AppCenter preferences or filter in the search box, so we can filter by app-source or by curated or non-curated.

colinkiama commented 2 months ago

I think the issue should be renamed to: "Add filter to only show apps from AppCenter repo"