edugator-cise / edugator-staff-frontend

React, TypeScript, MUI front end for Edugator
https://edugator.app
GNU General Public License v3.0
7 stars 4 forks source link

Multi-Language Support #245

Open nitinramadoss opened 1 year ago

nitinramadoss commented 1 year ago

Introduces multi-language support on the student and instructor view sides.

Description

Adds two extra language options (Java and Python) to the code editor on student view side so that students can select a preferred programming language to solve the problem in. Adds syntax highlighting and modifies Judge0 run and submit configurations to compile and execute the new languages.

Adds an accordion on instructor view side that allows instructors to select supported languages for each problem. Instructors can also configure memory and time constraints for each language. They can also create starter code templates for each problem.

Changes database schema to accommodate language option for each problem. New lang_config attribute for each problem stores language related information for each supported language.

Related Issue

Feature Request: https://github.com/edugator-cise/edugator-staff-frontend/issues/244

Motivation and Context

Students should be allowed to select a preferred language to program in when answering problems. COP 3530 is a language agnostic class, so Edugator should not require C++ knowledge as a prerequisite to answering problems.

How Has This Been Tested?

Validation testing in the backend verifies whether run and submit submission are correct.

Screenshots (if appropriate):

Screenshot 2023-04-26 230430

Screenshot 2023-04-26 230411

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
edugator-staff-frontend ❌ Failed (Inspect) Apr 27, 2023 3:06am
sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 35 Code Smells

No Coverage information No Coverage information
4.6% 4.6% Duplication