From f6ebe816cdb711dc92e64d0e6bd03ff017884cb5 Mon Sep 17 00:00:00 2001 From: thodel Date: Wed, 25 Nov 2026 11:41:12 +0100 Subject: [PATCH 1/2] Planner: sort courses by type, mark too-early courses light red The course list now shows exercises, seminars, colloquia, then the micro-credited workshops (ProjM before PPP), then lectures and meetings. The kind "course" is labelled "Exercise". Courses the study plan places in a later semester are tinted light red in the list, and their check gets its own light red level; elective seminars and workshops stay notes. Co-Authored-By: Claude Opus 5.5 --- teaching/planning/courses.js | 2 +- teaching/planning/index.qmd | 16 ++++++++++------ teaching/planning/planning.js | 34 ++++++++++++++++++++++++++-------- 3 files changed, 37 insertions(+), 15 deletions(-) diff --git a/teaching/planning/courses.js b/teaching/planning/courses.js index f36e1c0..0af5bc6 100644 --- a/teaching/planning/courses.js +++ b/teaching/planning/courses.js @@ -2,7 +2,7 @@ // Edit this file to add or change courses. Dates: YYYY-MM-DD, times: HH:MM. // // Each course: -// id, title, kind (seminar | colloquium | lecture | course | workshop | meeting | online), +// id, title, kind (seminar | colloquium | lecture | course = exercise | workshop | meeting | online), // ects, semester (FS2027 | HS2027), lecturers, language, ksl, // block: introduction | advanced | reflection | theory | application | final | elective | none // programmes: which programmes the course counts for: ["major", "minor"] diff --git a/teaching/planning/index.qmd b/teaching/planning/index.qmd index 9d42852..24fbddc 100644 --- a/teaching/planning/index.qmd +++ b/teaching/planning/index.qmd @@ -3,7 +3,7 @@ title: "Semester planner" subtitle: "Hermione's time turner" description: "Pick your DH courses for a semester, see them in a weekly calendar, and check for overlaps and problems" date: "2026-11-12" -date-modified: "2026-11-19" +date-modified: "2026-11-25" toc: false page-layout: full resources: @@ -12,7 +12,7 @@ resources: --- ::: {.callout-note title="How it works"} -Choose (1) the semester you want to plan, (2) your semester in DH, (3) Major or Minor and (4), for the Major, your specialisation. Filter the course list and **add** courses: they appear in the weekly calendar. Overlapping sessions are marked in red; courses that are planned for a later semester or do not count for your programme are flagged. Your selection is kept in this browser only. +Choose (1) the semester you want to plan, (2) your semester in DH, (3) Major or Minor and (4), for the Major, your specialisation. Filter the course list and **add** courses: they appear in the weekly calendar. Overlapping sessions are marked in red; courses that are planned for a later semester are marked light red, and courses that do not count for your programme are flagged. Your selection is kept in this browser only. **Download .ics** saves the dates of your plan as a calendar file for Outlook, Apple Calendar or Google Calendar. It is a one-off copy: courses without fixed dates are left out, and if dates change, download the file again and replace the old events. @@ -38,9 +38,9 @@ Choose (1) the semester you want to plan, (2) your semester in DH, (3) Major or