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

@@ -131,8 +131,21 @@
"levelMatrix": "Products by certificate level",
"levelLabel": "Level {level}",
"score": "Score",
"scoreGate": "Score threshold for the next level",
"ready": "Ready for the next promotion",
"notReady": "Requirements not met yet",
"state": {
"ready": "Promotion possible from the daemon's perspective",
"minimumsMetScoreBlocked": "Minimum requirements met, but score still blocks promotion",
"scoreMetMinimumsMissing": "Score is sufficient, minimum requirements still missing",
"notReady": "Not ready for promotion yet"
},
"hint": {
"ready": "For level {next}, both the minimum requirements and the score threshold of {threshold} are met.",
"minimumsMetScoreBlocked": "The visible minimum requirements for level {next} are met, but the daemon will only allow promotion once the weighted score reaches the threshold {threshold}. Right now the score only reaches level {target}.",
"scoreMetMinimumsMissing": "The weighted score is generally high enough for level {next}, but at least one minimum requirement is still missing.",
"notReady": "For level {next}, both the minimum requirements and the score threshold of {threshold} must be met."
},
"factors": "Current values",
"requirements": "Requirements for the next level",
"factor": {