Enhance school simulation management by introducing a new SchoolWeekDays option, allowing configuration of the number of working days in a week. Update the API to include school week days in responses and enhance documentation to reflect these changes. Revise UI components to support the new management features, ensuring a seamless user experience when hiring and assigning staff. Update localization strings for improved clarity and consistency across the application.
ci / server (push) Failing after 3m37s
ci / client (push) Successful in 13s

This commit is contained in:
Leonid Pershin
2026-08-19 00:47:09 +03:00
parent 94842ab192
commit 2ebc783585
38 changed files with 1837 additions and 208 deletions
@@ -0,0 +1,9 @@
{
"defName": "StandardDay",
"firstLesson": "08:30",
"lessonCount": 7,
"lessonMinutes": 45,
"breakMinutes": 10,
"longBreakAfter": 3,
"longBreakMinutes": 20,
}
@@ -0,0 +1,22 @@
[
{
"defName": "AutumnBreak",
"start": { "month": 10, "day": 29 },
"end": { "month": 11, "day": 4 },
},
{
"defName": "WinterBreak",
"start": { "month": 12, "day": 31 },
"end": { "month": 1, "day": 13 },
},
{
"defName": "SpringBreak",
"start": { "month": 3, "day": 24 },
"end": { "month": 3, "day": 31 },
},
{
"defName": "SummerBreak",
"start": { "month": 6, "day": 1 },
"end": { "month": 8, "day": 31 },
},
]
@@ -56,6 +56,7 @@
"defName": "Informatics",
"grades": { "min": 5, "max": 11 },
"hoursPerWeek": 1,
"room": "ComputerLab",
"skills": [{ "skill": "Informatics", "share": 1 }],
},
{
@@ -74,6 +75,7 @@
"defName": "PhysicalEducation",
"grades": { "min": 1, "max": 11 },
"hoursPerWeek": 3,
"room": "GymHall",
"skills": [{ "skill": "PhysicalEducation", "share": 1 }],
},
]
@@ -94,4 +94,9 @@
"Athletic": "Athletic",
"Heavy": "Heavy",
"Obese": "Obese",
"StandardDay": "School day",
"AutumnBreak": "Autumn break",
"WinterBreak": "Winter break",
"SpringBreak": "Spring break",
"SummerBreak": "Summer break",
}
@@ -94,4 +94,9 @@
"Athletic": "Атлетическое",
"Heavy": "Плотное",
"Obese": "Полное",
"StandardDay": "Учебный день",
"AutumnBreak": "Осенние каникулы",
"WinterBreak": "Зимние каникулы",
"SpringBreak": "Весенние каникулы",
"SummerBreak": "Летние каникулы",
}