CapitaineJSparrow / steam-repo-manager

GUI interface on top of https://steamdeckrepo.com/ to install boot videos on your steam deck
GNU General Public License v3.0
70 stars 5 forks source link

Suggestion: Improvements on UI to show and delete installed videos #20

Open denilsonsa opened 1 year ago

denilsonsa commented 1 year ago

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:

CapitaineJSparrow commented 1 year ago

There is a button to clear all installed videos near the search input. Also xdg-open do not work in gaming mode.

CapitaineJSparrow commented 1 year ago
image

It's here btw

denilsonsa commented 1 year ago

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.

CapitaineJSparrow commented 1 year ago

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

denilsonsa commented 1 year ago

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.

CapitaineJSparrow commented 1 year ago

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

denilsonsa commented 1 year ago

Can you edit your initial message so I'll reopen issue with UI ideas

Done!