-
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
Integrated code lifecycle
: Show result progress bar in exam overview and exercise details pages
#10048
Integrated code lifecycle
: Show result progress bar in exam overview and exercise details pages
#10048
Conversation
WalkthroughThe pull request introduces modifications to two HTML template files, adding a Changes
Possibly related PRs
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (2)🔇 Additional comments (2)src/main/webapp/app/detail-overview-list/components/programming-test-status-detail/programming-test-status-detail.component.html (1)
The addition of Let's verify the component accepts this property: ✅ Verification successfulProperty exists and is properly defined in the component The @Input() showProgressBar = false; 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify jhi-updating-result component accepts showProgressBar property
# Search for the component definition to confirm the property exists
ast-grep --pattern 'class UpdatingResultComponent {
$$$
@Input() showProgressBar: boolean;
$$$
}'
Length of output: 229 Script: #!/bin/bash
# Let's try a different approach to find the component definition
# First, let's locate the updating-result component file
fd "updating-result.component.ts"
# Then let's use ripgrep to search for Input decorators and showProgressBar
rg "@Input\(\)" -A 5 -B 5
Length of output: 65703 Script: #!/bin/bash
# Let's search for the UpdatingResult component definition and its properties
rg -l "UpdatingResult" --type ts
# Then let's examine the component file content
cat src/main/webapp/app/exercises/shared/result/updating-result.component.ts
Length of output: 12783 src/main/webapp/app/exam/participate/exercises/exercise-overview-page/exam-exercise-overview-page.component.html (1)
The changes enhance the UI by:
Let's verify there are no conflicting display styles: ✅ Verification successfulAdding The changes are verified to be safe because:
🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Check for any conflicting display styles
# Search for other display-related styles applied to jhi-updating-result
rg -g '*.scss' -g '*.css' 'jhi-updating-result'
Length of output: 47 Script: #!/bin/bash
# Let's check the component's template and styles more broadly
# 1. Find the component's style file
fd "exam-exercise-overview-page.component.(scss|css)$"
# 2. Check for any display-related styles in the parent directories
fd ".(scss|css)$" src/main/webapp/app/exam/participate/exercises/
# 3. Check the component's class to understand the context better
rg -A 5 "class ExamExerciseOverviewPageComponent"
Length of output: 1931 Script: #!/bin/bash
# Let's check the content of the component's style file and the template
cat "src/main/webapp/app/exam/participate/exercises/exercise-overview-page/exam-exercise-overview-page.scss"
# Also check the template for any other display-related classes around this component
rg -A 3 -B 3 "jhi-updating-result" src/main/webapp/app/exam/participate/exercises/exercise-overview-page/exam-exercise-overview-page.component.html
Length of output: 897 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.
Code changes look reasonable
Integrated Code lifecycle
: Show result progressbar in exam overview and exercise details pagesIntegrated code lifecycle
: Show result progressbar in exam overview and exercise details pages
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
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.
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 ts1, 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.
Integrated code lifecycle
: Show result progressbar in exam overview and exercise details pagesIntegrated code lifecycle
: Show result progress bar in exam overview and exercise details pages
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
We want to show the progress bar in the exercise details view and exam overview page (see screenshots)
Steps for Testing
Prerequisites:
Exam Mode Testing
Prerequisites:
Testserver 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
Screenshots
Summary by CodeRabbit
New Features
Style