Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CFS doesn't list all my courses #6

Open
MikeTheGreat opened this issue Sep 26, 2019 · 4 comments
Open

CFS doesn't list all my courses #6

MikeTheGreat opened this issue Sep 26, 2019 · 4 comments

Comments

@MikeTheGreat
Copy link

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?

@kkysen
Copy link

kkysen commented Jan 27, 2020

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.

@drew-royster
Copy link
Owner

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.

@MikeTheGreat
Copy link
Author

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

@kkysen
Copy link

kkysen commented Jun 22, 2020

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.

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

No branches or pull requests

3 participants