Skip to content

Development: Add action buttons in popover for recommendation system - #2520

Open
ge94zec wants to merge 14 commits into
mainfrom
feat/2348-add-action-buttons-in-popover-for-recommendation-system
Open

Development: Add action buttons in popover for recommendation system#2520
ge94zec wants to merge 14 commits into
mainfrom
feat/2348-add-action-buttons-in-popover-for-recommendation-system

Conversation

@ge94zec

@ge94zec ge94zec commented May 14, 2026

Copy link
Copy Markdown
Contributor

Checklist

General

Server

Client

  • Important: I implemented the changes with a very good performance, prevented too many (unnecessary) REST calls and made sure the UI is responsive, even with large data (e.g. using paging).
  • I strictly followed the principle of data economy for all client-server REST calls.
  • I strictly followed the client coding and design guidelines.

Motivation and Context

Description

Steps for Testing

Prerequisites:

  1. Log in to TUMApply as Prof
  2. Nav to Create Position
  3. Verify the action buttons behave correctly and text is saved across page switches

Review Progress

Code Review

  • Code Review 1

Manual Tests

  • Test 1

Screenshots

Test Coverage

Warning: Some tests failed in the PR check. Coverage may be incomplete. Please check the workflow logs.

Client

Class/File Line Coverage Lines Expects Ratio
job-creation-form.component.ts 70.51% 1292 96 7.4
editor.component.ts 75.41% 402 28 7.0
ai-compliance-popover.component.ts 47.61% 38 ? ?
suggestion-system.component.ts 30.00% 17 ? ?

Server

Class/File Line Coverage Lines
ComplianceIssue.java 0.00% 27
ComplianceScoreService.java 86.67% 93

Last updated: 2026-08-01 19:42:53 UTC

ge94zec added 5 commits May 8, 2026 16:54
- 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
…buttons-in-popover-for-recommendation-system

# Conflicts:
#	src/main/resources/config/liquibase/master.xml
- 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
@ge94zec ge94zec linked an issue May 14, 2026 that may be closed by this pull request
@ge94zec ge94zec changed the title Feat/2348 add action buttons in popover for recommendation system Development: Add action buttons in popover for recommendation system May 14, 2026
@ge94zec ge94zec self-assigned this May 14, 2026
@codacy-production

codacy-production Bot commented May 14, 2026

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 3 high · 4 medium

Alerts:
⚠ 7 issues (≤ 0 issues of at least minor severity)

Results:
7 new issues

Category Results
UnusedCode 2 medium
ErrorProne 2 medium
Security 3 high

View in Codacy

🟢 Metrics 11 complexity

Metric Results
Complexity 11

View in Codacy

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.

@github-actions github-actions Bot added server Pull requests that update Java code. (Added Automatically!) client Pull requests that update TypeScript code. (Added Automatically!) tests database labels May 14, 2026
@helios-aet
helios-aet Bot temporarily deployed to test-server May 14, 2026 22:41 Inactive
@github-actions

Copy link
Copy Markdown
Contributor

🤖 No OpenAPI or client changes needed.

@helios-aet
helios-aet Bot temporarily deployed to test-server May 15, 2026 03:18 Inactive
- fix popover hidden under sticky footer
- code cleanup
@github-actions

Copy link
Copy Markdown
Contributor

🤖 No OpenAPI or client changes needed.

@helios-aet
helios-aet Bot temporarily deployed to test-server May 15, 2026 04:31 Inactive
@ge94zec
ge94zec marked this pull request as ready for review May 15, 2026 07:20
@ge94zec
ge94zec requested a review from az108 as a code owner May 15, 2026 07:20

@Cathy0123456789 Cathy0123456789 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, small comments on the code

Comment thread src/main/java/de/tum/cit/aet/ai/service/ComplianceScoreService.java
Comment thread src/main/java/de/tum/cit/aet/ai/service/ComplianceScoreService.java
Comment thread src/main/java/de/tum/cit/aet/ai/service/ComplianceScoreService.java
Comment thread src/main/webapp/i18n/de/job.json
Comment thread src/main/webapp/content/scss/prime-ng-overrides.scss
Comment thread src/main/webapp/app/job/job-creation-form/job-creation-form.component.ts Outdated
Comment thread src/main/webapp/content/scss/prime-ng-overrides.scss
…ns-in-popover-for-recommendation-system

# Conflicts:
#	src/main/resources/config/liquibase/master.xml
@github-actions

Copy link
Copy Markdown
Contributor

🤖 No OpenAPI or client changes needed.

@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

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.

@github-actions github-actions Bot added the stale label Jun 2, 2026
@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

🤖 No OpenAPI or client changes needed.

@github-actions

Copy link
Copy Markdown
Contributor

🤖 No OpenAPI or client changes needed.

@github-actions github-actions Bot closed this Jun 25, 2026
- 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
@ge94zec ge94zec reopened this Aug 1, 2026
ge94zec added 2 commits August 1, 2026 18:04
…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
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

📊 Client Test Coverage Too Low

🔍 View coverage locally:

pnpm run test:ci
open build/test-results/vitest/coverage/index.html

🌐 View coverage from GitHub:
Download the "coverage-report-client" artifact from this workflow run.

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

🤖 No OpenAPI or client changes needed.

@github-actions github-actions Bot removed the stale label Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

client Pull requests that update TypeScript code. (Added Automatically!) database server Pull requests that update Java code. (Added Automatically!) tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add action buttons in popover for recommendation system

3 participants