Skip to content

[UI] Hide the Saves-Sync Quick on the game page menu behind a setting - #5323

Merged
flavioislima merged 6 commits into
mainfrom
fix/sync_saves_gmpage
Feb 18, 2026
Merged

flavioislima merged 6 commits into
mainfrom
fix/sync_saves_gmpage

Conversation

@flavioislima

@flavioislima flavioislima commented Feb 16, 2026 •

Copy link
Copy Markdown
Member

Added a new setting to disable in case someone doesn't like it and also to fix some edge cases:

image

Use the following Checklist if you have changed something on the Backend or Frontend:

  • Tested the feature and it's working on a current and clean install.
  • Tested the main App features and they are still working on a current and clean install. (Login, Install, Play, Uninstall, Move games, etc.)
  • Created / Updated Tests (If necessary)
  • Created / Updated documentation (If necessary)

@flavioislima flavioislima added the pr:ready-for-review Feature-complete, ready for the grind! :P label Feb 16, 2026
@flavioislima flavioislima added this to the 2.19.2 milestone Feb 16, 2026

@arielj arielj left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, just some comments to de-duplicate things (I'm sure it will be easy to forget in the future that we have the same component coded in 2 places)

@flavioislima
flavioislima requested a review from arielj February 17, 2026 16:10
@flavioislima

Copy link
Copy Markdown
Member Author

Deduplicated the code so we have one single component now

onClick={() => handleSync(command.value as SyncType)}
disabled={
(gameInfo.runner === 'legendary' && savesPath === '') ||
(gameInfo.runner === 'gog' && gogSaves.length === 0)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this conditional is correct. Wouldn't you also have to check whether there is a path set for any of the GOG-provided save files? So

// Instead of `gogSaves.length === 0`
... && !gogSaves.any((save) => save.location))

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, will fix it. Although, for some reason it is working, but could be edge cases.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@flavioislima
flavioislima merged commit 51a36d7 into main Feb 18, 2026
9 checks passed
@flavioislima
flavioislima deleted the fix/sync_saves_gmpage branch February 18, 2026 22:44
@Heroic-Games-Launcher Heroic-Games-Launcher locked and limited conversation to collaborators Feb 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

pr:ready-for-review Feature-complete, ready for the grind! :P

Projects

None yet

Development

Successfully merging this pull request may close these issues.

If saves path is not set, Heroic fails to download saves silently for the user

3 participants