-
Notifications
You must be signed in to change notification settings - Fork 297
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
: Fix translation issue for participation modes in exam management
#9293
Programming exercises
: Fix translation issue for participation modes in exam management
#9293
Conversation
WalkthroughThe changes involve enhancements to the programming exercise management components, specifically focusing on the integration of an online IDE feature. Updates were made to HTML templates for improved display logic and conditional rendering based on the availability of the online IDE. Additionally, new profile constants and boolean properties were introduced in the TypeScript files to manage the state of the online IDE functionality effectively. The testing setup was also updated to reflect these changes. Changes
Tip New featuresWalkthrough comment now includes:
Notes:
Recent review detailsConfiguration used: .coderabbit.yaml Files selected for processing (1)
Additional context usedPath-based instructions (1)
Additional comments not posted (5)
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 using PR comments)
Other keywords and placeholders
Documentation and Community
|
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.
Actionable comments posted: 2
...anage/exercise-groups/programming-exercise-cell/programming-exercise-group-cell.component.ts
Show resolved
Hide resolved
src/main/webapp/app/exercises/programming/manage/programming-exercise.component.ts
Show resolved
Hide resolved
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.
👍 fixes the not showing translation fields. Tested on Ts3
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.
I left a suggestion regarding the spacing in the "Participation Mode" column. Adding another span
into the div with justify-content-between
has created some space that I think we could remove.
Can you also have a look at the failing client tests?
...age/exercise-groups/programming-exercise-cell/programming-exercise-group-cell.component.html
Outdated
Show resolved
Hide resolved
Co-authored-by: Patrik Zander <38403547+pzdr7@users.noreply.github.com>
…in exam management (#9293)
Checklist
General
Client
authorities
to all new routes and checked the course groups for displaying navigation elements (links, buttons).Changes affecting Programming Exercises
Motivation and Context
As discovered by @SimonEntholzer translations for the
Participation Modes
were faulty in the exam management. This PR fixes the translations and also hides informations about the Online IDE when it's not enabled on the respective server.Description
I reused the implementation for the (correctly working and dev-approved) non-exam exercise management components and applied it to exams. As I touched the code anyways, I added a new check that only shows the Online IDE informations when the respective profile is active.
Steps for Testing
Exam Mode Testing
Prerequisites:
Participation Mode
is well readable and no translation errors are shownTestserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.
Review Progress
Performance Review
Code Review
Manual Tests
Exam Mode Test
Performance Tests
Test Coverage
Screenshots
Bugged view as reported by @SimonEntholzer
New, fixed version on a server without
THEIA
profile enabledNew, fixed version on a server with
THEIA
profile enabledSummary by CodeRabbit
New Features
Bug Fixes