Skip to content

Language options #3123

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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Language options #3123

wants to merge 8 commits into from

Conversation

tohlh
Copy link

@tohlh tohlh commented Apr 5, 2025

This PR's objective to add language options support to Source Academy. The use case for now is to allow instructors to configure the strictness of Source Typed variants.

This PR enables the assessments workspace to correctly fetch and process the new Library schema from the backend.

Please first merge the PR on js-slang before merging this one.

Copy link
Member

@RichDom2185 RichDom2185 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just the one comment, thanks!

@@ -177,6 +177,7 @@ export type Library = {
2?: string; // For mission control
}>;
moduleParams?: any;
languageOptions?: any;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double check, can we avoid any here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have fixed this on the latest push. Thanks!

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

Successfully merging this pull request may close these issues.

2 participants