feat(falukant): implement score threshold logic and enhance UI feedback for certificate progression
All checks were successful
Deploy to production / deploy (push) Successful in 3m3s

- Added a new function to calculate score thresholds based on certificate levels, improving the logic for determining promotion eligibility.
- Updated the FalukantService to include new properties for score and requirement checks, enhancing the decision-making process for certificate readiness.
- Enhanced the OverviewView component to display detailed hints and states regarding certificate progression, providing users with clearer feedback on their status.
- Localized new strings in multiple languages to support the updated UI elements and hints, improving user experience across different languages.
This commit is contained in:
Torsten Schulz (local)
2026-04-01 15:47:11 +02:00
parent d39cea2c01
commit 10fc78e81d
6 changed files with 143 additions and 8 deletions

View File

@@ -130,8 +130,21 @@
"levelMatrix": "Mga produkto per certificate level",
"levelLabel": "Level {level}",
"score": "Puntos",
"scoreGate": "Kinahanglan nga puntos para sa sunod nga level",
"ready": "Andam na para sa sunod nga promotion",
"notReady": "Wala pa maabot ang mga kinahanglanon",
"state": {
"ready": "Pwede na ang promotion sumala sa daemon",
"minimumsMetScoreBlocked": "Naabot na ang minimum, pero gipugngan pa sa puntos",
"scoreMetMinimumsMissing": "Sakto na ang puntos, pero kulang pa ang minimum nga kinahanglanon",
"notReady": "Dili pa andam para sa promotion"
},
"hint": {
"ready": "Para sa level {next}, naabot na ang minimum nga mga kinahanglanon ug ang score threshold nga {threshold}.",
"minimumsMetScoreBlocked": "Naabot na ang makita nga minimum nga mga kinahanglanon para sa level {next}, pero motugot lang ang daemon sa promotion kung maabot sa weighted score ang threshold nga {threshold}. Sa pagkakaron, kutob ra sa level {target} ang score.",
"scoreMetMinimumsMissing": "Ang weighted score igo na unta para sa level {next}, pero naa pay kulang nga minimum nga kinahanglanon.",
"notReady": "Para sa level {next}, kinahanglan maabot ang minimum nga mga kinahanglanon ug ang score threshold nga {threshold}."
},
"factors": "Karon nga mga bili",
"requirements": "Mga kinahanglanon sa sunod nga level"
},