Skip to content

feat: integrate reporter profile pictures across report and claim workflows#289

Merged
Riomalos-ZyrrahFeil merged 3 commits intodevelopfrom
fix/profile
Jan 9, 2026
Merged

feat: integrate reporter profile pictures across report and claim workflows#289
Riomalos-ZyrrahFeil merged 3 commits intodevelopfrom
fix/profile

Conversation

@Riomalos-ZyrrahFeil
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

⚠️ AI Code Analysis: I found some potential issues for you to review.

.collect(Collectors.toList()));
}

User reporter = userRepository.findById(report.getUserId()).orElse(null);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📏 Style Violation: Line exceeds 80 characters
(Current: 81). Please break this line.

<img [src]="report()?.reporter_profile_picture"
alt="Avatar" class="avatar-img">
@if (reportOwnerPicture()) {
<img [src]="getReportOwnerPicture()" alt="Avatar" class="avatar-img">
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📏 Style Violation: Line exceeds 80 characters
(Current: 89). Please break this line.

this.patchFormForExistingClaim(claim);
return foundReport ? this.userService
.getUserById(foundReport.user_id) : of(null);
return foundReport ? this.userService.getUserById(foundReport.user_id) : of(null);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📏 Style Violation: Line exceeds 80 characters
(Current: 92). Please break this line.

}

// Connects to your Spring Boot image controller
const secureBaseUrl = environment.apiUrl.replace('http://', 'https://').replace(/\/$/, '');
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📏 Style Violation: Line exceeds 80 characters
(Current: 95). Please break this line.

const path = this.item().reporter_profile_picture;
if (!path) return 'assets/profile-avatar.png';

const secureBaseUrl = environment.apiUrl.replace('http://', 'https://').replace(/\/$/, '');
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📏 Style Violation: Line exceeds 80 characters
(Current: 95). Please break this line.

@Riomalos-ZyrrahFeil Riomalos-ZyrrahFeil merged commit 56bf4e1 into develop Jan 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants