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

missing materials not under 'Course Materials' tab #22

Open
jeremywrnr opened this issue Jan 19, 2015 · 3 comments
Open

missing materials not under 'Course Materials' tab #22

jeremywrnr opened this issue Jan 19, 2015 · 3 comments

Comments

@jeremywrnr
Copy link
Contributor

Sometimes professors can rename the 'Course Materials' tab, which causes get_assignments to miss whatever is uploaded in that tab.

@jeremywrnr jeremywrnr changed the title Assignments misses materials not under 'Course Materials' tab missing materials not under 'Course Materials' tab Jan 19, 2015
@jeremywrnr jeremywrnr mentioned this issue Jan 19, 2015
@AstralSorcerer
Copy link
Member

Is it possible/feasible to determine the correct tab from its content? I think the best way to address this is to have a config file that pairs course names/CRNs to the tab name.

@joeljk13
Copy link
Member

Note that professors don't necessarily put all useful documents/info in one tab. I think it'd be best to be able to access all content from all tabs. We could have a get_tabs function that returns a delimited list of all the tabs (or maybe an array, since we're using bash). Commands like bb_materials could then look for materials in every tab for a given course, so it's guaranteed not to miss anything. If a course only uses "Course Materials", as it seems most courses do, then it just shouldn't find anything in any of the other tabs.

@jeremywrnr
Copy link
Contributor Author

Another, possibly simpler solution would be to just check against common words, like 'Syllabus', 'Lab', 'Assignments'... etc.

However, I think @joeljk13 's idea to get all tabs and then check them for uploaded files would be best.

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