Development: Add action buttons in popover for recommendation system - #2520
Development: Add action buttons in popover for recommendation system#2520ge94zec wants to merge 44 commits into
Development: Add action buttons in popover for recommendation system#2520Conversation
…rget text - added endpoint POST that maps source issues to a target language - added prompt that returns one mapped text snippet per line in source complianceIssues order, other fields carry over - wired compliance mapping through client → server API - separated compliance analysis from score calculation - extracted save flow in JobService into Consumer - improved performance by eliminating redundant analysis steps in job creation
- updated openapi - added comment to AiService - simplified AiService mapping - updated prompt
- show suggestions in the compliance popover - add suggestion actions for replace, add, remove, and dismiss - extend compliance prompt and model with suggestion field - migration suggestions field on liquibase
…or-compliance' into chore/2346-enhance-performance-for-compliance
…or-compliance' into chore/2346-enhance-performance-for-compliance
…rformance-for-compliance # Conflicts: # src/main/java/de/tum/cit/aet/job/repository/JobRepository.java # src/main/java/de/tum/cit/aet/job/service/JobService.java # src/main/webapp/app/job/job-creation-form/job-creation-form.component.ts
…buttons-in-popover-for-recommendation-system # Conflicts: # src/main/resources/config/liquibase/master.xml
Removing supervisingProfessor and image from the @EntityGraph caused those associations to become lazy (the FETCH graph overrides entity-level EAGER). getJobById accesses both via the entity returned from assertCanManageJob, so they must be in the graph to avoid LazyInitializationException. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Refined the compliance suggestion prompt for more accurate/correct output - Added client logic to insert, replace, or remove snippets at the correct index in the editor and persist the change via the form
…buttons-in-popover-for-recommendation-system # Conflicts: # src/main/resources/config/liquibase/master.xml
Development: Add action buttons in popover for recommendation system
Not up to standards ⛔🔴 Issues
|
| Category | Results |
|---|---|
| ErrorProne | 2 medium 1 high |
| Security | 18 high |
| CodeStyle | 1 minor |
| Complexity | 2 medium |
🟢 Metrics 78 complexity
Metric Results Complexity 78
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
…recommendation-system
|
🤖 No OpenAPI or client changes needed. |
…recommendation-system
|
🤖 No OpenAPI or client changes needed. |
- reduce the compliance popover z-index from 1001 to 50 - close the popover when the page or a nested container is scrolled - remove the unused popover hover signal and handler - replace the hover output with a dedicated close event
…buttons-in-popover-for-recommendation-system # Conflicts: # src/main/resources/config/liquibase/master.xml # src/main/resources/prompts/AnalyzeComplianceText.st # src/main/webapp/app/job/job-creation-form/job-creation-form.component.ts
|
📊 Client Test Coverage Too Low 🔍 View coverage locally: pnpm run test:ci
open build/test-results/vitest/coverage/index.html🌐 View coverage from GitHub: |
|
🤖 No OpenAPI or client changes needed. |
# Conflicts: # src/main/java/de/tum/cit/aet/ai/service/AiService.java # src/main/webapp/app/job/job-creation-form/job-creation-form.component.ts
…nslated descriptions - remove the second compliance analysis for the translated description - reuse source-language compliance issues for snippet mapping - update target-language highlights from mapped issues
…or-compliance' into feat/2348-add-action-buttons-in-popover-for-recommendation-system
…lyses - map newly detected issues without retranslating synchronized descriptions - apply accepted suggestions to both language versions - queue actions until target-language mapping completes - insert ADD suggestions after sentence punctuation within list items - prevent duplicate in-flight compliance analyses - preserve mapped highlights and translated suggestions - keep compliance popovers above the sticky footer
|
📊 Client Test Coverage Too Low 🔍 View coverage locally: pnpm run test:ci
open build/test-results/vitest/coverage/index.html🌐 View coverage from GitHub: |
|
🤖 No OpenAPI or client changes needed. |
Not up to standards ⛔🔴 Issues
|
| Category | Results |
|---|---|
| ErrorProne | 2 medium 1 high |
| Security | 18 high |
| CodeStyle | 1 minor |
| Complexity | 2 medium |
🟢 Metrics 78 complexity
Metric Results Complexity 78
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
|
🤖 No OpenAPI or client changes needed. |
|
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. |
…recommendation-system
|
🤖 No OpenAPI or client changes needed. |
Checklist
General
Server
Client
Motivation and Context
Description
Steps for Testing
Prerequisites:
Review Progress
Code Review
Manual Tests
Screenshots
Test Coverage
Client
Server
Last updated: 2026-08-17 12:20:10 UTC