From 299250f71c024686dc36d7d5290750d7ff615ec8 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Fri, 21 Jul 2023 16:08:38 +0800 Subject: projects/kanvas: v0.1.2 update --- docs/projects/kanvas.md | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) (limited to 'docs') diff --git a/docs/projects/kanvas.md b/docs/projects/kanvas.md index 90c9a7e..8527e3f 100644 --- a/docs/projects/kanvas.md +++ b/docs/projects/kanvas.md @@ -1,7 +1,7 @@ # Kanvas Note: this blogpost may be edited to reflect future changes in the -project. Current version is 0.1.1, released 2022-05-05. +project. Current version is 0.1.2, released 2023-07-21. ## Background story @@ -18,7 +18,7 @@ And two more reasons why I *don't* use it: - The traffic is unencrypted (He enabled TLS later) So I went ahead to make one for my desktop environment, KDE Plasma. The -latest release is 0.1.1. +latest release is 0.1.2. ![Rectangular widget split vertically into "Announcements" and "Assignments". An announcement is marked important, i.e. bold red. Several @@ -30,7 +30,7 @@ Nomenclature: an "activity" is either an announcement or an assignment. ## Download - [OpenDesktop Pling](https://www.pling.com/p/1783206/) -- [Direct download](https://fkfd.me/static/kanvas-0.1.1.plasmoid) +- [Direct download](https://fkfd.me/static/kanvas-0.1.2.plasmoid) ## Features @@ -48,14 +48,23 @@ Nomenclature: an "activity" is either an announcement or an assignment. - Click "Refresh" to, you know, refresh. - Both lists are automatically refreshed at a configurable interval. -## Disclaimer +## v0.1.2 Update and Disclaimer -At least once, Kanvas erroneously marked an assignment "Submitted". This -was because the assignment had its `has_submitted_submissions` set to true -in Canvas's API response despite the fact that it had never been touched. -I have no idea what is going on inside Canvas. Now that I've warned you, -it is *your responsibility* to double check whether an assignment is -actually submitted or not. +I used to assume the `has_submitted_submissions` property of an assignment +in the API response meant _your_ submissions. It turns out that it means +anyone in your class. + +In v0.1.2 I fixed the one-year-old bug. The updated Kanvas makes another +API request to find your submission. Now, an assignment will show up as +"submitted" if: + +- you actually clicked "submit" +- you didn't, but the TAs have graded it + +The latter may happen to exams on paper. + +Still, though, it is *your responsibility* to double check whether an +assignment is actually submitted or not. ## Configuration -- cgit v1.2.3