Open cassidyjames opened 3 years ago
I could give this a shot in a day or two.
BTW what is the rationale for showing first-party elementary apps (like Calculator) here? I get that they show up in the GTK AppCenter, but so do Web and Evince.
@dar5hak they're first-party apps shipped as Flatpak in AppCenter, so it makes sense to show them. In the future we could even ship new but not-preinstalled apps in AppCenter.
I would be open to showing the GNOME apps as well if we rebranded them as we do in the OS itself, as these apps are not really the same as the upstream versions. To do so, we'd need to ship updated AppStream for them, which would fix them in the GTK client as well.
So I'm okay with either approach, but filtering them here seems like a quicker first step until we can sort it out on the AppStream side.
Makes sense. I see the possibility where some first-party app isn’t a candidate for being pre-installed, say, something targeted at developers.
I haven't been able to work on this, but for anyone who wants to try, these resources will be helpful:
starts_with
filterNo luck with the custom filter.
I tried with contains
but apparently Liquid doesn't have a straightforward not
operator, so you can do this:
flatpak_apps | where_exp:"app","app.id contains 'org.gnome'"
but not this:
flatpak_apps | where_exp:"app","not app.id contains 'org.gnome'"
Web and Evince show up since they are available in the remote, but they are not really the same as other curated AppCenter apps.