New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support non-desktop components #53
Comments
How do you think the API should look like? Here's the thing:
Should we expose CLI tools under the same apps endpoint, and simply extend the details struct with a "cli: true" field? Or should we provide a separate endpoint? My first thought is to go for the first option as it would simplify a lot of things, e.g. we ca re-use the other existing endpoints like search.
|
Some more questions: appstream-glib is picky about console applications shipping icons. We need that changed too. |
Extensions are now exposed via the summary endpoint or is there more, that I'm not aware of? Also is there more data then this? A nicer name for e.g.?
|
I don't think that's a good approach. People will end up confusing what the app is about and think it's an "offical Flathub app" or whatever. I think CLI apps needs a different design/categories in general; different from desktop apps. |
makes sense for the flathub logo, but having a generic package logo shouldn't cause that problem. we could also overlay the app name onto the image, to help with people thinking they might be the same.
While that would solve the problem, I think it would create new ones, which I think would be worse. Search for example would need to have two listings with both of those different designs. That being said, obviously, having the logos in the first place is the best approach |
This also needs something like a tag on the detail page, to let users easily understand, that it's a cli app |
The issue here is that it's not only about CLI apps (unless that's explicitly your goal) but we also have SDKs/Runtimes/Extensions that needs to be showed somehow :) |
I think it makes sense to break this up. We probably want them to show up differently, especially extensions. And it might be worth it getting the parts in, that we can already solve. |
Yes you're right. |
@bilelmoussaoui was this about the API explicitly? because if so, this should be fixed. |
I opened this when I started working on the frontend and thought of supporting non-desktop apps. |
Okay, so we can only close this after we show |
This might still need a tag or info on the detail page, but let's see how confused users are without. |
Currently, the api endpoints are desktop-app specific. We should expose at least cli, extensions & sdk's. This also would be a step forward to support displaying extensions of an application.
The text was updated successfully, but these errors were encountered: