Skip to content
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

Release 3.1.57 (Develop) #1660

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open

Release 3.1.57 (Develop) #1660

wants to merge 29 commits into from

Conversation

ebkr
Copy link
Owner

@ebkr ebkr commented Mar 10, 2025

No description provided.

ebkr and others added 29 commits February 26, 2025 18:43

Verified

This commit was signed with the committer’s verified signature.
jameslamb James Lamb
(cherry picked from commit dd13184)

Verified

This commit was signed with the committer’s verified signature.
jameslamb James Lamb
To reduce time spent on the splash screen, recent changes skip
refreshing the online mod list if older version is found in IndexedDB
cache. This means the user might have outdated mod list when importing
a profile, and the manager can't import mods it doesn't know about. To
mitigate the issue, a warning was added to profile preview step with an
option for the user to update the mod list.

However, the warning uses the mod list in Vuex to check if a mod is
available, which is a mistake since that only checks if the mod itself
is known, and not whether the mod version in the profile is known. This
caused recently updated mods to not always trigger the warning. The
download part uses IndexedDB as its source of truth, and silently
ignored the unknown mods/versions, since user has explicitly decided to
import a partial profile.

To fix the issue, both parts now use IndexedDB as the source of truth.

The implementation in ImportProfileModal now somewhat akwardly handles
the mod information as ExportMods (read from mods.yml and required to
know which mods are disabled), ThunderstoreMods (required to use
existing UI components), and ThunderstoreCombos (required to download a
specific version of the mod). This could potentially be simplified but
is outside the scope of this PR.

ExportMod support was dropped from TsModsModule functions to remove the
footgun that caused this whole problem.

Verified

This commit was signed with the committer’s verified signature.
jameslamb James Lamb
Fix profile import silently leaving some mods uninstalled

Verified

This commit was signed with the committer’s verified signature.
jameslamb James Lamb

Verified

This commit was signed with the committer’s verified signature.
jameslamb James Lamb
Add game: Gang Beasts

Verified

This commit was signed with the committer’s verified signature.
jameslamb James Lamb

Verified

This commit was signed with the committer’s verified signature.
jameslamb James Lamb
Add R.E.P.O.

Verified

This commit was signed with the committer’s verified signature.
jameslamb James Lamb

Verified

This commit was signed with the committer’s verified signature.
jameslamb James Lamb
… present

Verified

This commit was signed with the committer’s verified signature.
jameslamb James Lamb

Verified

This commit was signed with the committer’s verified signature.
jameslamb James Lamb
Added dispatch to update API cache in background if cache was already present

Verified

This commit was signed with the committer’s verified signature.
jameslamb James Lamb

Verified

This commit was signed with the committer’s verified signature.
jameslamb James Lamb
Release 3.1.57

Verified

This commit was signed with the committer’s verified signature.
jameslamb James Lamb
The empty value returned by the API is null, not undefined. This caused
the button to be erroneously rendered on OnlineModList where strict
check against undefined was used. Clicking the button then caused an
unhandled error.

Verified

This commit was signed with the committer’s verified signature.
jameslamb James Lamb

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
- This reverts an accidental change which was made previously
Update game cover images for Gang Beasts, R.E.P.O., and Zort
Add 3 new games: Dusk, Monster Train 2 and My Dream Setup
Only filter out versions when not dealing with modpacks
Fix OnlineModList rendering donate buttons for mods without donation links
A warning was logged when the actual prop passed to the component
overwrote the default value.
Remove default value definition to avoid causing rerendering
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants