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

Introduce Custom Dialogs #928

Merged
merged 1 commit into from
Jun 18, 2024
Merged

Introduce Custom Dialogs #928

merged 1 commit into from
Jun 18, 2024

Conversation

CryZe
Copy link
Collaborator

@CryZe CryZe commented Jun 18, 2024

This introduces custom dialogs to LiveSplit One. Previously we've used the builtin browser dialogs that are very limited in what they can do.

Additionally this introduces a bunch of smaller changes:

  • The splits editor is now more optimized and only searches for the game name whenever it or the list of games changes.
  • The PWA badge now resets when the app is reloaded.
  • Guests on the leaderboard can now have flags.
  • If a user encounters a bug, there's now dedicated toast popups that don't disappear and direct the user to the issue tracker.
  • The Sum of Best cleaner now ensures the run can't be modified while the cleaning is in progress, which would lead to memory corruption, especially with the async nature of the new dialogs.
  • Cancelling out of opening files doesn't lead to an error anymore.

The following changes are introduced by updating livesplit-core:

  • When resizing images / reencoding them as PNG, we now use a higher compression setting.
  • Invalid timer states are not representable anymore.

This introduces custom dialogs to LiveSplit One. Previously we've used
the builtin browser dialogs that are very limited in what they can do.

Additionally this introduces a bunch of smaller changes:
- The splits editor is now more optimized and only searches for the game
  name whenever it or the list of games changes.
- The PWA badge now resets when the app is reloaded.
- Guests on the leaderboard can now have flags.
- If a user encounters a bug, there's now dedicated toast popups that
  don't disappear and direct the user to the issue tracker.
- The Sum of Best cleaner now ensures the run can't be modified while
  the cleaning is in progress, which would lead to memory corruption,
  especially with the async nature of the new dialogs.
- Cancelling out of opening files doesn't lead to an error anymore.

The following changes are introduced by updating `livesplit-core`:
- When resizing images / reencoding them as PNG, we now use a higher
  compression setting.
- Invalid timer states are not unrepresentable anymore.
@CryZe CryZe added bug There's a bug in LiveSplit One. enhancement A new feature or general improvement to LiveSplit One. speedrun.com integration The issue is about integration with speedrun.com. UI The issue is about the user interface. high priority This is a high priority issue. labels Jun 18, 2024
@CryZe CryZe requested a review from wooferzfg June 18, 2024 19:27
@CryZe CryZe merged commit 5b575d8 into LiveSplit:master Jun 18, 2024
1 check passed
@CryZe CryZe deleted the dialogs-and-co branch June 18, 2024 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug There's a bug in LiveSplit One. enhancement A new feature or general improvement to LiveSplit One. high priority This is a high priority issue. speedrun.com integration The issue is about integration with speedrun.com. UI The issue is about the user interface.
Projects
None yet
1 participant