summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2023-07-21 16:08:38 +0800
committerFrederick Yin <fkfd@fkfd.me>2023-07-21 16:08:38 +0800
commit299250f71c024686dc36d7d5290750d7ff615ec8 (patch)
tree5c4a418f0f8a70f3bd87aeb5605c06d15d2db15a
parent09a7a9d6994de5e4fc6224eb72dd4e6a32e106db (diff)
projects/kanvas: v0.1.2 update
-rw-r--r--docs/projects/kanvas.md29
1 files changed, 19 insertions, 10 deletions
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