-
Notifications
You must be signed in to change notification settings - Fork 276
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
Programming exercises
: Allow instructors to edit programming exercises in the new code editor
#8389
Programming exercises
: Allow instructors to edit programming exercises in the new code editor
#8389
Conversation
Programming exercises
: Allow editing programming exercises in the Monaco editorProgramming exercises
: Allow instructors to edit programming exercises in the Monaco editor
WalkthroughThis update integrates the Monaco Editor across various components in an Angular application, enhancing the code editor's functionality with conditions for resetting and refreshing the editor, and simplifying the editor's instantiation and configuration. Changes
Possibly related issues
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? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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 ts5. Works as expected
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.
Code lgtm
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 ts4, works as expected
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.
re-tested on ts2, works as expected 👍
Programming exercises
: Allow instructors to edit programming exercises in the Monaco editorProgramming exercises
: Allow instructors to edit programming exercises in the new code editor
Checklist
General
Client
Changes affecting Programming Exercises
Motivation and Context
The Monaco editor, which was introduced in PR #8130, is currently only available to students in two views. This PR contributes to our gradual removal of Ace from the Artemis client.
Description
MonacoEditorComponent
now initializes its editor in the constructor (rather thanngOnInit
) by injecting its container into the DOM using Renderer2. This ensures that the_editor
instance is always available when methods of the component are called and avoids having.Known issues:
Development
: Change the online code editor for students to monaco #8130Pasting is broken on non-Firefox browsers because of an issue involving thefixed inprocess
dependency we use in the client. For these browsers, CTRL+Shift+V works for pastingDevelopment
: Delete process polyfill and adjust paste-related e2e tests #8391Steps for 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
Test Coverage
Client
Screenshots
Summary by CodeRabbit
New Features
Bug Fixes
Refactor