-
Notifications
You must be signed in to change notification settings - Fork 66
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
add decision_letter_sent field to claims and appeals overview #12387
Conversation
@@ -65,7 +66,8 @@ def parse_appeal(entry) | |||
completed: !entry['attributes']['active'], | |||
date_filed: entry['attributes']['events'][filed_index]['date'], | |||
updated_at: entry['attributes']['events'].last['date'], | |||
display_title: get_appeals_display_title(subtype, entry['attributes']['programArea']) | |||
display_title: get_appeals_display_title(subtype, entry['attributes']['programArea']), | |||
decision_letter_sent: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
appeal decision letters aren't included in decision letter listing right now. Will be added later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One question, but otherwise looks good.
@@ -7,6 +7,7 @@ class ClaimsAndAppeals < PaginationBase | |||
params(Schemas::DateRangeSchema) do | |||
optional(:use_cache).maybe(:bool, :filled?) | |||
optional(:show_completed).maybe(:bool, :filled?) | |||
optional(:decision_letter_sent).maybe(:bool, :filled?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary? These contracts are for validating incoming params from the mobile client. Unless we're planning to filter based on this value, I doubt this is a controller param.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops. yeah that slipped in when I was trying to debug something and forgot to remove it. fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Summary
FE is adding a tag to index page of claims and appeals, this adds a field that will allow them to check if a claim or appeal has a decision letter.
Related issue(s)
department-of-veterans-affairs/va-mobile-app#5339
Testing done
Screenshots
Note: Optional
What areas of the site does it impact?
(Describe what parts of the site are impacted andifcode touched other areas)
Acceptance criteria
Requested Feedback
(OPTIONAL)What should the reviewers know in addition to the above. Is there anything specific you wish the reviewer to assist with. Do you have any concerns with this PR, why?