steam-repo-manager
steam-repo-manager copied to clipboard
Suggestion: Improvements on UI to show and delete installed videos
After #13, we can now download multiple videos.
As a quick solution, you can add a button to open the video path in the file manager (Note from maintainer: Not possible since xdg open does not work in steam deck gaming mode). The button should just call: subprocess.run(['xdg-open', path_to_folder_here]) (after ensuring that folder exists).
Alternatively, we can/should build a UI to let users delete installed videos. It requires quite some work as it has many corner cases:
- [ ] When deleting, should also delete the JPG thumbnail for the videos that also have a JPG image alongside them.
- [ ] The disabled "download" button could be changed to "delete".
- [ ] The buttons could have an icon label, or a color, to make it immediately obvious which videos are already installed. (e.g. red to delete, blue or green to download; even better if it respects whatever is the user theme)
- [ ] How about installed videos that are not visible in the current search results?
- [ ] How about installed videos that are not available (anymore, or ever) from the search results? Like videos that were manually installed, or videos that were either renamed or deleted from the website. We should probably have a way to show all installed videos in the UI.
There is a button to clear all installed videos near the search input. Also xdg-open do not work in gaming mode.
It's here btw
Oh, I completely missed that button. Sorry!
Still, it would be nice to delete individual videos, instead of all of them. But I understand it requires more work and it has many corner cases.
Atm the "download" button is disabled when a video is installed, we can be more clean and do a "uninstall" button instead the disabled state, we have the title of the video ( so the slug on disk ) without too many issues
That's a good idea. How about the corner case of videos that are on disk but not on search results? Maybe all installed videos should come first, followed by a horizontal ruler, followed by search results? Maybe the installed videos can be a collapsible thing, or another tab. Or a checkbox that only shows installed videos (and thus doesn't query online)?
The "uninstall" button is a good start, though. And I understand designing and building a good UI takes a lot of work.
The "uninstall" button is a good start, though. And I understand designing and building a good UI takes a lot of work
Specially with gtk, I'm the JS dev with web technologies now with native technologies everything is so complex 😞
Can you edit your initial message so I'll reopen issue with UI ideas
Can you edit your initial message so I'll reopen issue with UI ideas
Done!