-
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
Development
: Migrate exam and exam exercise import to signals
#10106
base: develop
Are you sure you want to change the base?
Conversation
# Conflicts: # src/main/webapp/app/exam/manage/exam-management.module.ts
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. |
# Conflicts: # src/main/webapp/app/exam/manage/exam-management.module.ts # src/main/webapp/app/exam/manage/exams/exam-exercise-import/exam-exercise-import.component.ts # src/main/webapp/app/exam/manage/exams/exam-import/exam-import-paging.service.ts # src/main/webapp/app/exam/manage/exams/exam-import/exam-import.component.ts # src/test/javascript/spec/component/exam/exam-update.component.spec.ts
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. |
# Conflicts: # src/main/webapp/app/exam/manage/exam-management.module.ts # src/test/javascript/spec/component/exam/manage/exam-import.component.spec.ts
General
: Migrate exam and exam exercise import to signals, inject and standaloneGeneral
: Migrate exam and exam exercise import to signals
WalkthroughThis pull request refactors how component inputs are accessed by transitioning from direct property access to function calls. In several Angular components and their corresponding tests, the use of the Changes
Sequence Diagram(s)sequenceDiagram
participant P as Parent Component/Test
participant E as ExamExerciseImportComponent
P->>E: Set input using setInput('exam', examObject)
E->>E: Initialize exam via input.required<Exam>()
E->>E: Invoke exam() to retrieve exam data
E->>Template: Bind exam().exerciseGroups in HTML
sequenceDiagram
participant P as Parent Component/Test
participant I as ExamImportComponent
P->>I: Set inputs using setInput (e.g., subsequentExerciseGroupSelection, targetExamId)
I->>I: Initialize inputs via input() functions
I->>I: Call input functions (e.g., subsequentExerciseGroupSelection()) during processing
I->>Child: Access child component via viewChild.required()
Possibly related PRs
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (8)
💤 Files with no reviewable changes (1)
✅ Files skipped from review due to trivial changes (1)
🧰 Additional context used📓 Path-based instructions (3)`src/main/webapp/**/*.html`: @if and @for are new and valid ...
`src/main/webapp/**/*.ts`: angular_style:https://angular.io/...
`src/test/javascript/spec/**/*.ts`: jest: true; mock: NgMock...
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (14)
✨ Finishing Touches
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
|
General
: Migrate exam and exam exercise import to signalsDevelopment
: Migrate exam and exam exercise import to signals
Checklist
General
Client
Description
This PR updates the Exam and Exam Exercise Import components to use Signals.
Steps for Testing
Prerequisites:
Review Progress
Performance Review
Code Review
Manual Tests
Summary by CodeRabbit