Closed jlge closed 7 months ago
This update introduces significant enhancements to the process of importing and initializing assessments and courses within an educational platform. It focuses on streamlining the course creation flow by adding the ability to import courses and assessments from tarball files, alongside refining UI components for better user interaction. New color variables and styles have been added to improve visual feedback, and the backend sees improvements in error handling and data processing, ensuring a smoother experience for both administrators and users.
File(s) | Change Summary |
---|---|
app/assets/javascripts/app-level.js app/assets/javascripts/edit_assessment.js |
Initialized tabs in app-level.js and removed tab initialization from edit_assessment.js . |
app/assets/stylesheets/_variables.scss app/assets/stylesheets/install_assessment.css.scss |
Introduced new color variables and styles for assessment import features. |
app/controllers/assessments_controller.rb |
Major refactoring to support importing assessments, including new methods and improved error handling. |
app/controllers/courses_controller.rb |
Added actions and methods for creating courses from tar files and improved course creation flow. |
app/models/assessment.rb |
Enhanced error handling in load_config_file and updated construct_folder method. |
app/views/assessments/... app/views/courses/... |
Refactored views to support new importing features and introduced templates for course creation and assessment installation. |
config/routes.rb |
Renamed routes and added new ones for assessment and course import functionalities. |
spec/controllers/... |
Updated controller specs to reflect new and renamed actions related to course and assessment imports. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
Motivation and Context
How Has This Been Tested?
Types of changes
Checklist:
overcommit --install && overcommit --sign
to use pre-commit hook for linting