canvasFileSync icon indicating copy to clipboard operation
canvasFileSync copied to clipboard

CFS doesn't list all my courses

Open MikeTheGreat opened this issue 5 years ago • 4 comments

When I first installed & ran this it only listed about a half-dozen courses. I've been using Canvas for a while and have more like 100.

Sadly, the ones I'm teaching this quarter weren't listed in the list :(

What info can I get to help debugging this?

MikeTheGreat avatar Sep 26 '19 23:09 MikeTheGreat

The listActiveCanvasCourses function in src/utils/apis.js doesn't take into account the Canvas API's pagination, so only 10 courses are returned. It should read the Link response header, which contains links to the remaining pages, so it can get all the courses.

kkysen avatar Jan 27 '20 03:01 kkysen

Thanks @kkysen I must have assumed that people wouldn't be in 10 active courses at the same time.

@MikeTheGreat you are a teacher? This may be helpful for you, but it was designed to keep students up to date with the course files their teacher posts.

drew-royster avatar Jun 22 '20 16:06 drew-royster

I am a teacher. :)

I don't know why my college doesn't change the older courses to 'Inactive' but I can see the list of all 100-ish courses that I've been listed as the teacher in.

At this point I'm trying to keep stuff up to date by having my Canvas courses linking to my DropBox files, which allows me to edit them locally and not worry about them getting out of date

MikeTheGreat avatar Jun 22 '20 17:06 MikeTheGreat

My old courses aren't always listed as inactive, and I'd like to have them tracked as well anyways. I wasn't sure if you were still working on this, but I'd really appreciate it if you could get it to work with all courses.

kkysen avatar Jun 22 '20 19:06 kkysen