-
Notifications
You must be signed in to change notification settings - Fork 304
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
: Add information box to exercise details page
#9089
Conversation
23025a3
to
dc599f6
Compare
Programming exercises
: Add information box to exercise details page
WalkthroughThe recent updates significantly enhance the Angular application by refining content display logic, introducing new components, and improving user interface elements. Key changes include a more structured approach to rendering information, better configurability of components, and streamlined data handling through a new type encapsulation. These enhancements aim to improve responsiveness, maintainability, and overall user experience, making interactions more intuitive and efficient. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant UI
participant Service
participant Component
User->>UI: Interacts with exercise components
UI->>Component: Triggers data fetch/update
Component->>Service: Requests necessary information
Service-->>Component: Provides updated data
Component-->>UI: Renders new information in UI
UI-->>User: Displays updated content
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: 8
src/test/playwright/support/pageobjects/exercises/ExerciseResultPage.ts
Outdated
Show resolved
Hide resolved
src/main/webapp/app/exam/participate/exam-start-information/exam-start-information.component.ts
Outdated
Show resolved
Hide resolved
...test/playwright/support/pageobjects/exercises/programming/ProgrammingExerciseOverviewPage.ts
Outdated
Show resolved
Hide resolved
...test/playwright/support/pageobjects/exercises/programming/ProgrammingExerciseOverviewPage.ts
Outdated
Show resolved
Hide resolved
src/test/javascript/spec/component/shared/information-box.component.spec.ts
Outdated
Show resolved
Hide resolved
...cript/spec/component/exercises/shared/headers/exercise-headers-information.component.spec.ts
Outdated
Show resolved
Hide resolved
src/main/webapp/app/overview/exercise-details/course-exercise-details.component.ts
Outdated
Show resolved
Hide resolved
...ed/exercise-headers/exercise-headers-information/exercise-headers-information.component.html
Outdated
Show resolved
Hide resolved
...ared/exercise-headers/exercise-headers-information/exercise-headers-information.component.ts
Outdated
Show resolved
Hide resolved
src/main/webapp/app/overview/exercise-details/course-exercise-details.component.ts
Outdated
Show resolved
Hide resolved
src/main/webapp/app/overview/exercise-details/course-exercise-details.component.ts
Show resolved
Hide resolved
src/main/webapp/app/shared/information-box/information-box.component.ts
Outdated
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.
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.
...ared/exercise-headers/exercise-headers-information/exercise-headers-information.component.ts
Outdated
Show resolved
Hide resolved
...ared/exercise-headers/exercise-headers-information/exercise-headers-information.component.ts
Outdated
Show resolved
Hide resolved
src/test/javascript/spec/component/shared/difficulty-level.component.spec.ts
Show resolved
Hide resolved
c354c13
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.
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.
Re-approved
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.
Reapprove
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.
Reapprove
There hasn't been any activity on this pull request recently. Therefore, this pull request has been automatically marked as stale and will be closed if no further activity occurs within seven days. Thank you for your contributions. |
There hasn't been any activity on this pull request recently. Therefore, this pull request has been automatically marked as stale and will be closed if no further activity occurs within seven days. Thank you for your contributions. |
There hasn't been any activity on this pull request recently. Therefore, this pull request has been automatically marked as stale and will be closed if no further activity occurs within seven days. Thank you for your contributions. |
Checklist
General
Client
authorities
to all new routes and checked the course groups for displaying navigation elements (links, buttons).Motivation and Context
This PR is part of the new design; it enhances usability and aligns with the updated layout.
Description
All important information for an exercise is now displayed in the information boxes at the top. Additionally, the Instructor Actions are consolidated into a dropdown button.
Steps for 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
Test Coverage
Screenshots
Summary by CodeRabbit
Summary by CodeRabbit
New Features
ExerciseHeadersInformationComponent
for displaying exercise-related information.DifficultyLevelComponent
to visually represent difficulty levels with color coding.ResultComponent
andSubmissionResultStatusComponent
to conditionally display completion information.CodeButtonComponent
andOpenCodeEditorButtonComponent
to include a dynamichideLabelMobile
feature for better mobile responsiveness.isDateLessThanAWeekInTheFuture
utility function for easier date management.Bug Fixes
Style Updates
Documentation
Tests
ExerciseHeadersInformationComponent
andDifficultyLevelComponent
to ensure expected functionality.CourseExerciseDetailsComponent
to include interactions with the newExerciseHeadersInformationComponent
.