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

Need to filter the configurations shown to instructors on the Create New Course page #182

Open
cashaffer opened this issue Oct 23, 2024 · 2 comments

Comments

@cashaffer
Copy link
Member

When an instructor is trying to create a new course using the form at https://opendsa-server.cs.vt.edu/course_offerings/new, the Book Instance pulldown menu offers a list of all the templates currently in the system. Note that many instructors create one or more templates when they create a course using the https://opendsa-server.cs.vt.edu/configurations/book page. So users of the course_offerings/new page are overwhelmed with choices. This needs to be filtered somehow, or filterable under user control. Things to filter on might reasonably be templates belonging to that user and templates associated with their institution. Ideally, a keyword search could also be provided. There could also be a curated list of "official" templates that we maintain that could be filtered on.

Note that somewhat similar issues happen on the course_offerings/new. I think that the "select reference configuration" field shows the same unfiltered list. The "select your configuration" field seems to be a filtered version of this list, though I am not certain what the filtering criteria might be. It is confusing the way these choices are laid out. It would be clearer if the choices were to pick an existing configuration (that can be explicitly filtered from the full list) vs. uploading a file.

@cashaffer
Copy link
Member Author

A sub-issue that adds to the confusion is that users can create variations on a configuration, and the same name appears again on the list (with a date change). This makes it hard for users to pick the configuration that they want.

@awhicks
Copy link
Member

awhicks commented Dec 13, 2024

It appears that the code that generates this list is in a function on line 206 in https://github.com/OpenDSA/OpenDSA-LTI/blob/master/app/controllers/configurations/book_controller.rb

Right now this file looks like this method is scoped to be updated easily. It currently does a directory scan and should probably be modified to query the database for a set of reference configurations plus any owned by authors from their institution (if applicable) then acquire the files.

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

2 participants