Enhance timetable functionality and UI integration
- Updated protocol documentation to include new `classId` and `roomLabel` fields in the timetable API responses. - Added classes and rooms to the timetable response structure, improving data accessibility for client applications. - Enhanced the UI components to display timetable information, including class and room details, in the management and people panels. - Implemented functionality to fetch and display personal timetables for individuals, ensuring a comprehensive view of schedules. - Revised localization strings to support new timetable features and improve user experience. - Added tests to validate the new timetable functionalities and ensure robustness in handling timetable data.
This commit is contained in:
@@ -70,7 +70,8 @@ internal sealed class GameLoopService(
|
||||
worker.RosterSnapshot,
|
||||
worker.ApplicantSnapshot,
|
||||
worker.CatalogSnapshot,
|
||||
worker.TimetableSnapshot);
|
||||
worker.TimetableSnapshot,
|
||||
worker.MapSnapshot);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -643,4 +644,5 @@ internal sealed record PublishedSchoolPeople(
|
||||
Roster? Roster,
|
||||
ApplicantPool? Applicants,
|
||||
DefCatalog? Catalog,
|
||||
Timetable? Timetable);
|
||||
Timetable? Timetable,
|
||||
MapLayout? Map);
|
||||
|
||||
Reference in New Issue
Block a user