WIP: StatisticsView Rework #247

Draft
flixcoo wants to merge 42 commits from feature/193-statisticsview-rework into feature/180-Spielerprofile-implementieren
Owner

Zugehörige Issue(s)

Closes #193

Beschreibung

-

Änderungen

  • StatisticTileFactory implementiert, welche die Statistik anhand der gesetzten Filter berechnet

ToDo

  • Matchcount pro Gruppe

Datenbank

Neue Tabellen

  • StatisticTable: Speichert die erstellten Statistiken
  • StatisticGameTable: Speichert Statistik-Spielvorlage-Assoziationen
  • StatisticGroupTable: Speichert Statistik-Gruppen-Assoziationen
  • StatisticScopeTable: Speichert Statistik-Bereich-Assoziationen

Neue Views

  • CreateStatisticsView implementiert, in welchem Statistiken erstellt werden können.
  • StatisticDetailView implementiert, in welchem die ganze Statistik und der unterliegende Filter eingesehen und der displayCount eingestellt werden kann.

Refactoring

  • GameColor -> AppColor
  • DAO-Methoden:
    • map() Attribute angepasst
    • query.get() -> Variabelname result
    • query.getSingle()/.getSingleOrNull() -> Variabelname result
    • result.map() -> Variabelname row

PR-Checkliste

  • Ich habe für Navigationen den AdaptiveNavigator` verwendet
  • Ich habe alle Strings lokalisiert (de/en)
  • Ich habe die Testdaten aktualisiert oder erweitert
  • Ich habe das JSON-Schema angepasst
  • Ich habe Tests für neue Datenbank/DAO-Funktionen hinzugefügt

Zusätzliche Anmerkungen

No response

### Zugehörige Issue(s) Closes #193 ### Beschreibung \- ### Änderungen - [x] `StatisticTileFactory` implementiert, welche die Statistik anhand der gesetzten Filter berechnet #### ToDo - [ ] Matchcount pro Gruppe #### Datenbank Neue Tabellen - StatisticTable: Speichert die erstellten Statistiken - StatisticGameTable: Speichert Statistik-Spielvorlage-Assoziationen - StatisticGroupTable: Speichert Statistik-Gruppen-Assoziationen - StatisticScopeTable: Speichert Statistik-Bereich-Assoziationen #### Neue Views - `CreateStatisticsView` implementiert, in welchem Statistiken erstellt werden können. - `StatisticDetailView` implementiert, in welchem die ganze Statistik und der unterliegende Filter eingesehen und der displayCount eingestellt werden kann. #### Refactoring - `GameColor` -> `AppColor` - DAO-Methoden: - `map()` Attribute angepasst - `query.get()` -> Variabelname `result` - `query.getSingle()`/`.getSingleOrNull()` -> Variabelname `result` - `result.map()` -> Variabelname `row` ### PR-Checkliste - [ ] Ich habe für Navigationen den AdaptiveNavigator` verwendet - [ ] Ich habe alle Strings lokalisiert (de/en) - [ ] Ich habe die Testdaten aktualisiert oder erweitert - [ ] Ich habe das JSON-Schema angepasst - [ ] Ich habe Tests für neue Datenbank/DAO-Funktionen hinzugefügt ### Zusätzliche Anmerkungen _No response_
flixcoo changed target branch from development to feature/180-Spielerprofile-implementieren 2026-05-23 23:26:55 +00:00
flixcoo added 3 commits 2026-05-23 23:26:55 +00:00
feat: create statistics view
All checks were successful
Pull Request Pipeline / lint (pull_request) Successful in 48s
Pull Request Pipeline / test (pull_request) Successful in 49s
Pull Request Pipeline / localizations (pull_request) Successful in 27s
134f77c5a3
flixcoo added 3 commits 2026-05-24 11:52:37 +00:00
feat: basic database functionality
Some checks failed
Pull Request Pipeline / lint (pull_request) Failing after 47s
Pull Request Pipeline / test (pull_request) Successful in 49s
Pull Request Pipeline / localizations (pull_request) Successful in 27s
807ae61df7
flixcoo added 1 commit 2026-05-24 13:16:17 +00:00
feat: added statistic tile factory
Some checks failed
Pull Request Pipeline / lint (pull_request) Failing after 47s
Pull Request Pipeline / test (pull_request) Successful in 49s
Pull Request Pipeline / localizations (pull_request) Successful in 27s
2e3b462533
flixcoo added 10 commits 2026-05-24 22:39:14 +00:00
feat: statistic detail view
Some checks failed
Pull Request Pipeline / lint (pull_request) Failing after 47s
Pull Request Pipeline / test (pull_request) Successful in 48s
Pull Request Pipeline / localizations (pull_request) Failing after 27s
bfb40d2eab
flixcoo added 3 commits 2026-05-25 11:06:42 +00:00
feat: dynamic display count shown in tile
Some checks failed
Pull Request Pipeline / lint (pull_request) Successful in 47s
Pull Request Pipeline / test (pull_request) Successful in 49s
Pull Request Pipeline / localizations (pull_request) Failing after 29s
fb2f6d3adc
flixcoo added 1 commit 2026-05-25 11:17:07 +00:00
fix: localizations
All checks were successful
Pull Request Pipeline / lint (pull_request) Successful in 47s
Pull Request Pipeline / test (pull_request) Successful in 49s
Pull Request Pipeline / localizations (pull_request) Successful in 28s
730341dc7e
flixcoo added 2 commits 2026-05-25 11:25:28 +00:00
Merge remote-tracking branch 'origin/feature/193-statisticsview-rework' into feature/193-statisticsview-rework
All checks were successful
Pull Request Pipeline / lint (pull_request) Successful in 46s
Pull Request Pipeline / test (pull_request) Successful in 48s
Pull Request Pipeline / localizations (pull_request) Successful in 26s
e1d0eb4bd4
# Conflicts:
#	lib/l10n/arb/app_de.arb
#	lib/l10n/arb/app_en.arb
#	lib/l10n/generated/app_localizations_de.dart
#	lib/l10n/generated/app_localizations_en.dart
flixcoo added 18 commits 2026-05-25 12:57:15 +00:00
fix(deps): update dart dependencies (non-major) (#248)
Some checks failed
Push Pipeline / update_version (push) Successful in 6s
Push Pipeline / generate_licenses (push) Successful in 39s
Push Pipeline / test (push) Failing after 47s
Push Pipeline / generate_localizations (push) Successful in 28s
Push Pipeline / sort_arb_files (push) Successful in 33s
Push Pipeline / format (push) Successful in 53s
Push Pipeline / build (push) Has been cancelled
84bb8ccccc
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [build_runner](https://github.com/dart-lang/build) ([source](https://github.com/dart-lang/build/tree/HEAD/build_runner)) | dev_dependencies | minor | `^2.7.0` -> `^2.15.0` |
| [cupertino_icons](https://github.com/flutter/packages) ([source](https://github.com/flutter/packages/tree/HEAD/third_party/packages/cupertino_icons)) | dependencies | patch | `^1.0.6` -> `^1.0.9` |
| [dart](https://dart.dev/) ([source](https://github.com/dart-lang/sdk)) |  | minor | `^3.8.1` -> `^3.12.0` |
| [dart_pubspec_licenses](https://github.com/espresso3389/flutter_oss_licenses/tree/master/packages/dart_pubspec_licenses) ([source](https://github.com/espresso3389/flutter_oss_licenses)) | dev_dependencies | minor | `^3.0.14` -> `^3.2.0` |
| [drift](https://drift.simonbinder.eu/) ([source](https://github.com/simolus3/drift)) | dependencies | minor | `^2.27.0` -> `^2.33.0` |
| [drift_dev](https://drift.simonbinder.eu/) ([source](https://github.com/simolus3/drift)) | dev_dependencies | minor | `^2.27.0` -> `^2.33.0` |
| [drift_flutter](https://drift.simonbinder.eu/) ([source](https://github.com/simolus3/drift)) | dependencies | minor | `^0.2.4` -> `^0.3.0` |
| [file_saver](https://hassanansari.dev) ([source](https://github.com/incrediblezayed/file_saver)) | dependencies | minor | `^0.3.1` -> `^0.4.0` |
| [package_info_plus](https://github.com/fluttercommunity/plus_plugins) ([source](https://github.com/fluttercommunity/plus_plugins/tree/HEAD/packages/package_info_plus/package_info_plus)) | dependencies | patch | `^9.0.0` -> `^9.0.1` |
| [skeletonizer](https://github.com/Milad-Akarie/skeletonizer) | dependencies | patch | `^2.1.0+1` -> `^2.1.3` |
| [uuid](https://github.com/Daegalus/dart-uuid) | dependencies | patch | `^4.5.2` -> `^4.5.3` |

>  **Important**
>
> Release Notes retrieval for this PR were skipped because no github.com credentials were available.
> If you are self-hosted, please see [this instruction](https://github.com/renovatebot/renovate/blob/master/docs/usage/examples/self-hosting.md#githubcom-token-for-release-notes).

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMSIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcG1lbnQiLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: Felix Kirchner <felix.kirchner.fk@gmail.com>
Reviewed-on: #248
Co-authored-by: Gitea Actions <actions@yannick-weigert.de>
Co-committed-by: Gitea Actions <actions@yannick-weigert.de>
Updated test job
Some checks failed
Push Pipeline / update_version (push) Successful in 6s
Push Pipeline / generate_licenses (push) Successful in 38s
Push Pipeline / generate_localizations (push) Successful in 28s
Push Pipeline / test (push) Successful in 1m33s
Push Pipeline / sort_arb_files (push) Successful in 30s
Push Pipeline / format (push) Successful in 54s
Push Pipeline / build (push) Failing after 20s
362ab2a945
fix: build job
Some checks failed
Push Pipeline / update_version (push) Successful in 5s
Push Pipeline / generate_licenses (push) Successful in 39s
Push Pipeline / generate_localizations (push) Successful in 28s
Push Pipeline / test (push) Successful in 1m32s
Push Pipeline / sort_arb_files (push) Successful in 30s
Push Pipeline / format (push) Successful in 53s
Push Pipeline / build (push) Failing after 14s
ad5cd98327
fix: build job
All checks were successful
Push Pipeline / update_version (push) Successful in 6s
Push Pipeline / generate_licenses (push) Successful in 37s
Push Pipeline / generate_localizations (push) Successful in 28s
Push Pipeline / test (push) Successful in 1m32s
Push Pipeline / sort_arb_files (push) Successful in 31s
Push Pipeline / format (push) Successful in 54s
Push Pipeline / build (push) Successful in 4m55s
f7973a4bc2
Merge branch 'feature/193-statisticsview-rework' into development
Some checks failed
Push Pipeline / update_version (push) Successful in 6s
Push Pipeline / generate_licenses (push) Successful in 40s
Push Pipeline / generate_localizations (push) Successful in 30s
Push Pipeline / test (push) Successful in 1m34s
Push Pipeline / sort_arb_files (push) Failing after 32s
Push Pipeline / format (push) Has been skipped
Push Pipeline / build (push) Has been skipped
24f49e17b9
# Conflicts:
#	pubspec.lock
#	pubspec.yaml
Revert "Merge branch 'feature/193-statisticsview-rework' into development"
All checks were successful
Push Pipeline / update_version (push) Successful in 6s
Push Pipeline / generate_licenses (push) Successful in 38s
Push Pipeline / generate_localizations (push) Successful in 29s
Push Pipeline / test (push) Successful in 1m35s
Push Pipeline / sort_arb_files (push) Successful in 31s
Push Pipeline / format (push) Successful in 55s
Push Pipeline / build (push) Successful in 4m58s
9b208f4780
This reverts commit 24f49e17b9, reversing
changes made to dba6c218d6.

# Conflicts:
#	pubspec.yaml
flixcoo added 1 commit 2026-05-25 17:23:05 +00:00
Revert to 4bd2f97
All checks were successful
Pull Request Pipeline / lint (pull_request) Successful in 45s
Pull Request Pipeline / localizations (pull_request) Successful in 29s
Pull Request Pipeline / test (pull_request) Successful in 1m31s
eaf7822732
flixcoo self-assigned this 2026-05-26 11:58:09 +00:00
flixcoo added this to the Alpha milestone 2026-05-26 11:58:12 +00:00
All checks were successful
Pull Request Pipeline / lint (pull_request) Successful in 45s
Pull Request Pipeline / localizations (pull_request) Successful in 29s
Pull Request Pipeline / test (pull_request) Successful in 1m31s
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/193-statisticsview-rework:feature/193-statisticsview-rework
git checkout feature/193-statisticsview-rework
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: liquid-development/game-tracker#247