Skip to content

122 comment on a post#132

Merged
JonayKB merged 5 commits into
mainfrom
122-comment-on-a-post
May 3, 2025
Merged

122 comment on a post#132
JonayKB merged 5 commits into
mainfrom
122-comment-on-a-post

Conversation

@JonayKB
Copy link
Copy Markdown
Owner

@JonayKB JonayKB commented May 3, 2025

No description provided.

@JonayKB JonayKB requested review from Copilot and rabgonzalez May 3, 2025 20:22
@JonayKB JonayKB self-assigned this May 3, 2025
@JonayKB JonayKB linked an issue May 3, 2025 that may be closed by this pull request
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a new constructor for User and extends comment functionality by adding new service methods, mappers, and controllers to handle posting and retrieving comments. Additionally, it updates query logic in the activity repository and enhances image cleanup tasks.

Reviewed Changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
API/src/main/java/es/iespuertodelacruz/routinefights/user/domain/User.java Added a new constructor accepting an ID
API/src/main/java/es/iespuertodelacruz/routinefights/user/common/IUserCommon.java Minor formatting update
API/src/main/java/es/iespuertodelacruz/routinefights/shared/tasks/ImagesTasks.java Added a TODO comment for handling extra image types
API/src/main/java/es/iespuertodelacruz/routinefights/post/infrastructure/adapters/secondary/services/PostEntityService.java Added a new findById method
API/src/main/java/es/iespuertodelacruz/routinefights/post/domain/ports/secondary/IPostRepository.java Added findById contract
API/src/main/java/es/iespuertodelacruz/routinefights/post/commons/PostCommons.java Added a transient annotation for the streak field
API/src/main/java/es/iespuertodelacruz/routinefights/comment/** New comment service, repository, mapper, DTOs, controller, and domain
API/src/main/java/es/iespuertodelacruz/routinefights/activity/infrastructure/adapters/secondary/repositories/IActivityEntityRepository.java Updated queries to manage streak fields
Comments suppressed due to low confidence (2)

API/src/main/java/es/iespuertodelacruz/routinefights/comment/infrastructure/adapters/secondary/entities/CommentEntity.java:33

  • [nitpick] Consider renaming 'replingComment' to 'replyingComment' to improve clarity and consistency.
@TargetNode() private CommentEntity replingComment;

API/src/main/java/es/iespuertodelacruz/routinefights/activity/infrastructure/adapters/secondary/repositories/IActivityEntityRepository.java:70

  • The duplicate setting of 'a.streak' may override the coalesce default from the previous SET. Consider removing this redundant SET to preserve the intended default value.
SET a.streak = p.streak

@JonayKB JonayKB merged commit 6d961d8 into main May 3, 2025
3 checks passed
JonayKB added a commit that referenced this pull request Jan 24, 2026
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.

Comment on a post

2 participants