Enhance Skill Scoring and Profile Functionality
Deploy Development / deploy (push) Successful in 43s
Test Suite / pytest-backend (push) Successful in 42s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m15s
Deploy Development / deploy (push) Successful in 43s
Test Suite / pytest-backend (push) Successful in 42s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m15s
- Introduced a new function to calculate club-specific skill percentages, ensuring values are capped at 100%. - Updated skill profile calculations to include indicators for the best club performance per skill. - Enhanced frontend components to display club best indicators and improved layout for skill profiles. - Refactored CSS styles for skill profile components, ensuring a more cohesive and user-friendly interface. - Updated tests to validate new functionality and ensure accurate representation of skill metrics.
This commit is contained in:
1 parent
78c6c51520
commit
9a0cf7f823
9 files changed
+312
-189
No files matched your search
+50
-23
@@ -2693,46 +2693,73 @@ html.modal-scroll-locked .app-main {
|
||||
.skill-profile-compact {
|
||||
margin-top: 4px;
|
||||
}
|
||||
.skill-profile-compact__label {
|
||||
display: block;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
color: var(--text3);
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.skill-profile-compact__list {
|
||||
.skill-kpi-grid {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
}
|
||||
.skill-profile-compact__item {
|
||||
.skill-kpi-grid--loading,
|
||||
.skill-kpi-grid--empty {
|
||||
margin: 0;
|
||||
}
|
||||
.skill-kpi-tile {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
padding: 6px 8px;
|
||||
gap: 1px;
|
||||
min-width: 5.5rem;
|
||||
max-width: 8.5rem;
|
||||
padding: 5px 8px;
|
||||
border-radius: 8px;
|
||||
background: var(--surface2);
|
||||
border: 1px solid var(--border);
|
||||
background: var(--surface2);
|
||||
flex: 0 1 auto;
|
||||
}
|
||||
.skill-profile-compact__name {
|
||||
.skill-kpi-tile--highlight {
|
||||
border-color: var(--accent);
|
||||
background: var(--accent-light);
|
||||
}
|
||||
.skill-kpi-tile--best {
|
||||
box-shadow: inset 0 0 0 1px var(--accent-dark);
|
||||
}
|
||||
.skill-kpi-tile__cat {
|
||||
font-size: 0.62rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.03em;
|
||||
color: var(--text3);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.skill-kpi-tile__name {
|
||||
font-size: 0.76rem;
|
||||
font-weight: 600;
|
||||
font-size: 0.86rem;
|
||||
color: var(--text1);
|
||||
line-height: 1.2;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
.skill-profile-compact__metric {
|
||||
font-size: 0.78rem;
|
||||
.skill-kpi-tile__pct {
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
color: var(--accent-dark);
|
||||
margin-top: 2px;
|
||||
}
|
||||
.skill-profile-compact__best {
|
||||
margin: 0;
|
||||
font-size: 0.72rem;
|
||||
line-height: 1.35;
|
||||
.skill-profile__name-cat {
|
||||
font-weight: 500;
|
||||
color: var(--text3);
|
||||
}
|
||||
.skill-profile--embedded .skill-profile__body {
|
||||
padding: 0;
|
||||
border-top: none;
|
||||
}
|
||||
.skill-profile--embedded .skill-profile__hint {
|
||||
margin-top: 0;
|
||||
}
|
||||
.fw-prog-card__section-head {
|
||||
display: flex;
|
||||
|
||||
Reference in new issue
Block a user