Skip to content

Main2v next#101

Merged
fmuecke merged 6 commits intovNEXTfrom
main2vNEXT
Nov 10, 2025
Merged

Main2v next#101
fmuecke merged 6 commits intovNEXTfrom
main2vNEXT

Conversation

@fmuecke
Copy link
Owner

@fmuecke fmuecke commented Nov 10, 2025

No description provided.

fmuecke and others added 6 commits November 5, 2025 14:57
* Implemented a possibility to save and load team matches via json files and added autosaving in case of crashes
* fixed team scores not updating when loading
* main timer will now stop after second waza-ari (by fixing sm order) fixes #88
* added saving of text and bg colors for an encounter
* addressed some issues of the pr
  - removed catch all from autosaving
  - fixed file open mode
  - fixed nullptr referencing
  - fixed wrong error handling
  - added input validation
  - added consts for default save file name and version
  - added reset confirmation when clicking new
  - added possibility to load file even with mismatched version number
* Refactor team save/load helpers
  - separated UI from tournament data serialization logic
  - created TournamentSerialization class to handle saving/loading tournament data to/from JSON
  - added tests for tournament serialization
  - renamed "File" menu to "Tournament" and "Open File" to "Load" for better clarity
  - updated UI strings to reflect tournament context
  - removed action "Save File" in favor of "Save As" to emphasize saving tournament data
* Simplified autosave logic
  - always saving and loading from default autosave file
  - added test for auto loading
  - using default directory (currently application dir) instad of home (still todo: use appdata)
* Storing autosave into recommended app data/app config location
* Bumped up version number
* Fixing warning due to overlapping data member
* Updating translations

Co-authored-by: mahrtwig <leseratte-MaHa@web.de>
- missing function declaration SetFight
- using ensure_qt_app to only create one app instance within the tests
- catch2 adaptions
- re-formated with clang
- fixes #83
- proper resolution of the testsData path in the tests so the test executable can be started from any directory
@fmuecke fmuecke merged commit a73371b into vNEXT Nov 10, 2025
1 check passed
@fmuecke fmuecke deleted the main2vNEXT branch November 10, 2025 17:58
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.

1 participant