feat(dashboard): tighten explainability detail views
This commit is contained in:
@@ -156,7 +156,16 @@ describe("dashboard procedure support", () => {
|
||||
recentActivity: [],
|
||||
});
|
||||
vi.mocked(getDashboardPeakTimes).mockResolvedValue([
|
||||
{ period: "2026-03", totalHours: 160.34, capacityHours: 200.12, utilizationPct: 80 },
|
||||
{
|
||||
period: "2026-03",
|
||||
totalHours: 160.34,
|
||||
capacityHours: 200.12,
|
||||
utilizationPct: 80,
|
||||
derivation: {
|
||||
calendarContextCount: 1,
|
||||
calendarLocations: [{ countryCode: "DE", federalState: "BY", metroCityName: "Munich" }],
|
||||
},
|
||||
},
|
||||
]);
|
||||
vi.mocked(getDashboardTopValueResources).mockResolvedValue([
|
||||
{
|
||||
@@ -166,7 +175,17 @@ describe("dashboard procedure support", () => {
|
||||
chapter: "CGI",
|
||||
lcrCents: 12345,
|
||||
valueScore: 98,
|
||||
valueScoreBreakdown: {
|
||||
skillDepth: 94,
|
||||
skillBreadth: 86,
|
||||
costEfficiency: 82,
|
||||
chargeability: 88,
|
||||
experience: 96,
|
||||
total: 98,
|
||||
},
|
||||
valueScoreUpdatedAt: new Date("2026-03-05T00:00:00.000Z"),
|
||||
countryCode: "DE",
|
||||
countryName: "Germany",
|
||||
federalState: "BY",
|
||||
metroCityName: "Munich",
|
||||
},
|
||||
@@ -193,6 +212,8 @@ describe("dashboard procedure support", () => {
|
||||
totalHoursPerDay: 160.3,
|
||||
capacityHours: 200.1,
|
||||
utilizationPct: 80,
|
||||
calendarContextCount: 1,
|
||||
calendarLocations: [{ countryCode: "DE", federalState: "BY", metroCityName: "Munich" }],
|
||||
},
|
||||
],
|
||||
topResources: [
|
||||
@@ -202,7 +223,17 @@ describe("dashboard procedure support", () => {
|
||||
chapter: "CGI",
|
||||
lcr: "123,45 EUR",
|
||||
valueScore: 98,
|
||||
valueScoreBreakdown: {
|
||||
skillDepth: 94,
|
||||
skillBreadth: 86,
|
||||
costEfficiency: 82,
|
||||
chargeability: 88,
|
||||
experience: 96,
|
||||
total: 98,
|
||||
},
|
||||
valueScoreUpdatedAt: "2026-03-05T00:00:00.000Z",
|
||||
countryCode: "DE",
|
||||
countryName: "Germany",
|
||||
federalState: "BY",
|
||||
metroCityName: "Munich",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user