Skip to content

feat: enhance course data handling and display in calendar and forms#89

Merged
condyl merged 1 commit intomasterfrom
cb/course-name
Mar 15, 2026
Merged

feat: enhance course data handling and display in calendar and forms#89
condyl merged 1 commit intomasterfrom
cb/course-name

Conversation

@condyl
Copy link
Copy Markdown
Collaborator

@condyl condyl commented Mar 15, 2026

This pull request enhances the handling and display of course names throughout the timetable generator application. The changes ensure that course names are consistently included in the data flow, improve the user interface by showing course names in relevant components, and update the API documentation to reflect the new structure.

Data flow and storage improvements:

  • Course names are now included when storing course data and generating course combinations, ensuring that the courseName property is available wherever course details are processed.
  • The creation of calendar events now attaches the courseName to the event's extended properties for downstream use.
  • The logic for collecting course details in both the calendar component and its associated hook has been updated to include courseName and to filter out blocked events.

User interface enhancements:

  • The calendar event rendering now displays the course name beneath the event title when appropriate, both on mobile and desktop, and improves the formatting for better readability.
  • The course list component now shows the course name in both the collapsed and expanded views of each course item.
  • The course search component normalizes and displays course names in the dropdown, allows searching by course name, and improves keyboard navigation and accessibility.

Documentation updates:

  • The API documentation example response for the course name list endpoint has been updated to reflect the new object structure including label, courseCode, duration, and courseName.
Before After
image image

@condyl condyl requested a review from OhNoBigO March 15, 2026 22:32
@condyl condyl merged commit 4375d55 into master Mar 15, 2026
3 checks passed
@condyl condyl deleted the cb/course-name branch March 15, 2026 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant