Skip to content
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

ALCS-2081 Added condition cards on homepage #2095

Merged
merged 13 commits into from
Feb 4, 2025

Conversation

fbarreta
Copy link
Collaborator

Condition Cards on homepage

@fbarreta fbarreta self-assigned this Jan 30, 2025
Copy link
Collaborator

@Abradat Abradat left a comment

Choose a reason for hiding this comment

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

Overall, I think it would be better that we create and maintain DTOs for specific cases. By keeping them general, we would grow them bigger over time according to our use cases, and it would introduce issues such as performance, dependency, etc.

My suggestion would be to create a customized DTO for this specific use case so we don't touch other DTOs and don't add more fields to them like Application Decision DTO.

"ApplicationDecisionConditionCardBoardDto" can be an example that is customized for a specific use case. Most of the fields such as "decisionOrder", "decisionUuid", "decisionIsFlagged", "isReconsideration", and "isModification" are required for this specific use case, so they're fetched from different services and mapped to this DTO.

Copy link
Collaborator

@Abradat Abradat left a comment

Choose a reason for hiding this comment

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

LGTM!

@fbarreta fbarreta merged commit 28e7625 into develop Feb 4, 2025
5 checks passed
@fbarreta fbarreta deleted the feature/ALCS-2081-condition-cards-on-homepage branch February 4, 2025 21:31
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