department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
282 stars 203 forks source link

[CST] Decision letter available alert gets specific language for open claims and goes away when claim is closed. #77240

Open skylerschain opened 8 months ago

skylerschain commented 8 months ago

Value Statement

As a Veteran I want to know that I have a decision letter available for part of my claim even if the claim is still open So that I have an accurate understanding of my claim status (that certain contentions are still open and some have been decided)


Background Context

Sometimes a decision letter is available for certain contentions in a claim, even if the overall claim is still open (usually occurs if contentions were deferred).

We had a design for this in the old version of the UI. We need to design and implement this for the V2 detail pages.

Design

FIGMA

Proposed UI

Screenshot 2024-06-21 at 3 16 08 PM

Current UI

Screenshot 2024-08-26 at 4 59 07 PM

Engineering

From Peri: "There is currently not any logic on the Status Tab that shows a link to the claims letter page or mentions a decision letter when A claim is opened OR when a claim has a decision letter sent.

The specific logic that we use to determine if a claim is opened is a helper function called isClaimOpen() that is passed in the following claim fields claim.attributes.status and claim.attributes.closedDate. The claim is considered opened as long as the status is not COMPLETE and the closedDate is null. The specific logic that we use to determine if a claim has a decisionLetterSent is by looking at the claim field claim.attributes.decisionLetterSent."

Out of scope

Open questions

Tasks

Definition of Done

Acceptance Criteria

jacobworrell commented 3 months ago

veterans who have decision letters for open claims can see them in the claim status tool claim letter section.

skylerschain commented 3 months ago

@jacobworrell True but they won't know to go there to look for it without some sort of notification. I think it's worth keeping a ticket open to add that.

jacobworrell commented 2 months ago

@skylerschain a partially decided claim will show the same message as a closed claim directing them to the claim letters section of CST. Jerek and I investigated this and the message will show up for a claim that is still open. If you'd like a different message to show for partially decided claims, that might make sense, but I think the value prop for this ticket would need to change.

skylerschain commented 2 months ago

The value prop is the same:

As a Veteran I want to know that I have a decision letter available for part of my claim even if the claim is still open so that I have an accurate understanding of my claim status

Below is the message we show for closed claims, and this language definitely makes it sound like the claim is closed, which in this case it's not. So we need a different version for when some contentions are still being decided. The spec is here.

Screenshot 2024-08-20 at 11 02 19 AM
jacobworrell commented 1 month ago

@skylerschain please update mock with correct position of alert.

skylerschain commented 1 month ago

Mock finalized and FIGMA link in #Design section has been updated.

skylerschain commented 1 month ago

Removed this from Tasks:

Reason: As described in the spec, there is no signal differentiation between when the Veteran has one decision letter and claim is open and when the Veteran has multiple decision letters and the claim is open. So UI treatment will be the same in both cases.

jacobworrell commented 4 weeks ago

@jerekshoe please review so we can merge

jerekshoe commented 4 weeks ago

@skylerschain The last sentence in the alert mentions that the copy of the decision letter in the mail should arrive within 10 days after the claim is closed, but in this case the claim isn't closed yet (and it may not be closed for a while). Should we have changed the copy there?

skylerschain commented 4 weeks ago

@jerekshoe Good catch.

@samcoforma Can we update the last line of the alert:

Before:

We’ll also send you a copy of your decision letter by mail. It should arrive within 10 days after the date we closed your claim, but it may take longer.

After:

We’ll also send you a copy of your decision letter by mail. It should arrive within 10 days, but it may take longer.