From 757507f2120952c7646be243a13b6f7e291f3cc6 Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Wed, 8 Apr 2026 14:26:42 +0200 Subject: [PATCH] feat(TournamentStats): integrate InternalTournamentStats dialog and state management - Added InternalTournamentStats component to App.vue for displaying tournament statistics. - Implemented state management for the dialog's visibility using Vuex, allowing for better control of the dialog's open state. - Updated the TournamentsView to utilize the new Vuex mutation for opening the statistics dialog. - Enhanced the InternalTournamentStats component with a new gender selection dropdown, replacing the previous checkbox implementation for improved user experience. - Updated localization strings to support new filtering options and terminology related to gender and age classes across multiple languages. --- frontend/src/App.vue | 35 ++++++-- .../tournament/InternalTournamentStats.vue | 83 ++++++++++--------- frontend/src/i18n/locales/de-CH.json | 4 + frontend/src/i18n/locales/de-extended.json | 4 + frontend/src/i18n/locales/de.json | 4 +- frontend/src/i18n/locales/en-AU.json | 4 + frontend/src/i18n/locales/en-GB.json | 4 +- frontend/src/i18n/locales/en-US.json | 4 + frontend/src/store.js | 12 ++- frontend/src/views/TournamentsView.vue | 7 +- 10 files changed, 104 insertions(+), 57 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index fcc7b8f3..79055271 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -180,6 +180,11 @@ + +