-
Notifications
You must be signed in to change notification settings - Fork 295
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
Development
: Change the online code editor for students to monaco
#8130
Development
: Change the online code editor for students to monaco
#8130
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested on ts3, works as described
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deployed the latest version on ts3
Works as intended, the monaco editor is the default editor and default operations can be performed
Programming exercises
: Add a Monaco-based code editor for studentsDevelopment
: Change the online code editor for students to monaco
Checklist
General
Client
Changes affecting Programming Exercises
Motivation and Context
The existing implementation of the code editor suffers from usability and code quality issues, e.g.
any
type for the editor instance, which is exposed to several other componentsThis PR is the first step towards replacing the code editor (and all other editors that rely on Ace) with the Monaco editor. The goal is to have a working version of the Monaco editor within the existing implementation.
Description
Compared to the Ace implementation, the actual editor instance is now restricted to the
MonacoEditorComponent
and its elements. Furthermore, the new implementation does not rely on theany
type.Within the new editor, the build annotations are now fixed in place and are marked as outdated once the repository has changed.
Known issues:
Steps for Testing
Prerequisites:
Making a submission
Viewing manual feedback
Exam Mode Testing
Prerequisites:
Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Review Progress
Performance Review
Code Review
Manual Tests
Exam Mode Test
Test Coverage
Client
Screenshots
General UI
Dark mode:
Light mode:
Build annotations
After building:
After changing the files:
Tutor feedback
Summary by CodeRabbit
New Features
Enhancements
Documentation
Tests
Style
Chores