Open ajakabcin opened 2 months ago
I created a Claims and appeals markdown file under engineering-docs, which i hope will be more evergreen than the comprehensive docs that Angela wrote up from 2022. I was thinking maybe I can start migrating some of these to the new folder.
To answer the question in this ticket:
claim received
This hard-coded copy is handled in lines 47–49 in the Claim component:
<h3 className="vads-u-margin-top--0">
{capitalizeFirstLetter(getClaimType(claim))} claim received {dateRecd}
</h3>
appeal updated/submitted
This hard-coded copy is handled in line 80 in the Appeal component:
appealTitle += ` updated on ${format(
new Date(replace(updatedEventDateString)),
'MMMM d, yyyy',
)}`;
This hard-coded copy is handled in line 107 in the Appeal component:
<p className="vads-u-margin-y--0">
Submitted on:{' '}
{format(
new Date(requestEvent.date.replace(/-/g, '/')),
'MMMM d, yyyy',
)}
</p>
@ariperez can you take a look at this?
thank you for this @allisonlu I'm going to roll to next sprint so we can discuss with @mattmarino-adhoc if we should be changing the appeals "submitted" date to align with how we refer to claims "received" date.
Also bringing down to a 1 - if we decide to make a change to the appeals dates that'll be a separate ticket.
Background
We received an inquiry via slack as to how we are treating disability benefit claims in
claim received
status. There seems to be conflicting information though in terms of how we handle claims (where we use the phrasingreceived on date
) vs an appeal (where we seem to be using the phrasesubmitted on date
). We need to first nail down exactly how we're handling the display for claims and appeals independently and then determine how or if the logic needs to be divided.Tasks
claim received
statusclaim received
(is there an "appeal received" or is claim used to refer to either in this case?)received
statusAcceptance Criteria