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

add decision_letter_sent field to claims and appeals overview #12387

Merged
merged 0 commits into from
Apr 18, 2023

Conversation

aherzberg
Copy link
Contributor

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

  • Describe what the old behavior was prior to the change
  • Describe the steps required to verify your changes are working as expected
  • Describe the tests completed and the results

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

  • I fixed|updated|added unit tests and integration tests for each feature (if applicable).
  • No error nor warning in the console.
  • Events are being sent to the appropriate logging solution
  • Documentation has been updated (link to documentation)
  • No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs
  • Feature/bug has a monitor built into Datadog or Grafana (if applicable)
  • If app impacted requires authentication, did you login to a local build and verify all authenticated routes work as expected
  • I added a screenshot of the developed feature

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?

@va-vfs-bot va-vfs-bot temporarily deployed to 5339-v1-claims-and-appeals/main/main April 12, 2023 16:45 Inactive
@va-vsp-bot va-vsp-bot requested a deployment to master/main/5339-v1-claims-and-appeals April 12, 2023 16:46 In progress
@va-vfs-bot va-vfs-bot temporarily deployed to 5339-v1-claims-and-appeals/main/main April 12, 2023 16:58 Inactive
@va-vsp-bot va-vsp-bot requested a deployment to master/main/5339-v1-claims-and-appeals April 12, 2023 23:06 In progress
@va-vfs-bot va-vfs-bot temporarily deployed to 5339-v1-claims-and-appeals/main/main April 12, 2023 23:07 Inactive
@va-vsp-bot va-vsp-bot requested a deployment to master/main/5339-v1-claims-and-appeals April 12, 2023 23:11 In progress
@aherzberg aherzberg marked this pull request as ready for review April 12, 2023 23:12
@aherzberg aherzberg requested review from a team as code owners April 12, 2023 23:12
@va-vsp-bot va-vsp-bot requested a deployment to master/main/5339-v1-claims-and-appeals April 12, 2023 23:12 In progress
@@ -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
Copy link
Contributor Author

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.

@va-vfs-bot va-vfs-bot temporarily deployed to 5339-v1-claims-and-appeals/main/main April 12, 2023 23:24 Inactive
kpethtel
kpethtel previously approved these changes Apr 13, 2023
Copy link
Contributor

@kpethtel kpethtel left a comment

Choose a reason for hiding this comment

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

👍

@va-vsp-bot va-vsp-bot requested a deployment to master/main/5339-v1-claims-and-appeals April 18, 2023 16:49 In progress
@va-vsp-bot va-vsp-bot requested a deployment to 5339-v1-claims-and-appeals/main/main April 18, 2023 16:50 In progress
kpethtel
kpethtel previously approved these changes Apr 18, 2023
Copy link
Contributor

@kpethtel kpethtel left a 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?)
Copy link
Contributor

@kpethtel kpethtel Apr 18, 2023

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.

Copy link
Contributor Author

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

Copy link
Contributor

@kpethtel kpethtel left a comment

Choose a reason for hiding this comment

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

👍

@aherzberg aherzberg merged commit cc3352e into master Apr 18, 2023
@aherzberg aherzberg deleted the 5339-v1-claims-and-appeals branch April 18, 2023 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants