GNOME Bugzilla – Bug 782824
ui: Allow to add games manually
Last modified: 2017-07-14 12:06:15 UTC
Many users complained of games not being found, this is caused by Tracker not being installed on the machine of by it not tracking the game files for some reason. To solve that, I suggest we let the users manually add games via an "Add game" button on the collection's header bar and by saving URIs of games passed to the command line.
Once such a way to add games is added, the empty state page should state it. Also once all of this done, Games can be added here: https://wiki.gnome.org/Newcomers/ChooseProject.
Created attachment 352146 [details] [review] preferences: Add the Plugins tab
Created attachment 352147 [details] [review] preferences: Remove the Plugins button
Created attachment 352282 [details] [review] core: Add GameCollection.get_accepted_mime_types() This will be used in the next commit to filter files in a game file chooser.
Created attachment 352283 [details] [review] ui: Add the 'add-game-files' action The action will be used in the next commit to triggers a game file chooser, letting the user select files to add to the games collection.
Created attachment 352284 [details] [review] ui: Add a "Add game files" button This button is added to the collection header bar. This allows to add games to the collection from files.
Review of attachment 352284 [details] [review]: Just a minor error. LGTM otherwise. ::: data/ui/collection-header-bar.ui @@ +21,3 @@ + </child> + <child> + <class name="image-button"/> image name is not correct
Attachment 352282 [details] pushed as 5c5a9e8 - core: Add GameCollection.get_accepted_mime_types() Attachment 352283 [details] pushed as c75aafd - ui: Add the 'add-game-files' action Attachment 352284 [details] pushed as f4d7475 - ui: Add a "Add game files" button
"_Cancel" and "_Add" buttons in commit c75aafdeb35eaa239a8a1b544a54e434914e21a5 are not marked for translation.
Created attachment 352345 [details] [review] ui: Make "Add games" dialog buttons translatable
Thanks Piotr.
Comment on attachment 352345 [details] [review] ui: Make "Add games" dialog buttons translatable Attachment 352345 [details] pushed as 0c18c2c - ui: Make "Add games" dialog buttons translatable
Created attachment 355590 [details] [review] core: Make GameCollection private There is no need for it to be public.
Created attachment 355591 [details] [review] build: Add sqlite3 dependency This will be used in the next commits by the database module.
Created attachment 355592 [details] [review] Add the database module This will be used in the next commit to store game URIs added by the user.
Created attachment 355593 [details] [review] ui: Save user game URIs in the database Store the URIs given by the user via the command line or the "Add games" button so they can be restored when restarting the application.
Attachment 355590 [details] pushed as 815f084 - core: Make GameCollection private Attachment 355591 [details] pushed as 002cab8 - build: Add sqlite3 dependency Attachment 355592 [details] pushed as de38e53 - Add the database module Attachment 355593 [details] pushed as 0524c14 - ui: Save user game URIs in the database