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

Dev support/appeals 29184 4958 #19286

Merged
merged 8 commits into from
Sep 12, 2023
Merged

Conversation

craigrva
Copy link
Contributor

@craigrva craigrva commented Aug 28, 2023

Resolves APPEALS-29184; Original PR
Resolves APPEALS-4958; Original PR

Description

Add keys to <React.Fragment>s in AmaIssueList and TaskRow components

Acceptance Criteria

  • Code compiles correctly
  • No new test failures
  • Case details pages load correctly with no warnings for missing keys on AmaIssueList or TaskRow components

Testing Plan

  1. Go to Jira Issue/Test Plan Link or list them below
  • For feature branches merging into master: Was this deployed to UAT?

Frontend

User Facing Changes

  • Screenshots of UI changes added to PR & Original Issue

BEFORE:
image

AFTER:
image

brandondorner and others added 5 commits August 24, 2023 16:47
This is a tech-debt task and should not change any functionality.
https://jira.devops.va.gov/browse/APPEALS-4958

The timeline components were missing a key prop which was throwing a
React error `Warning: Each child in a list should have a unique
"key" prop.`

In an effort to reduce errors and increase performance we have added
in these component keys.

Further reading on why React keys are important:
https://dev.to/francodalessio/understanding-the-importance-of-the-key-prop-in-react-3ag7
This is a tech-debt task and should not change any functionality.
https://jira.devops.va.gov/browse/APPEALS-29184

`AmaIssueList` was missing a key prop which was throwing a
React error `Warning: Each child in a list should have a unique
"key" prop.`

In an effort to reduce errors and increase performance we have added
in these component keys.

Further reading on why React keys are important:
https://dev.to/francodalessio/understanding-the-importance-of-the-key-prop-in-react-3ag7
…APPEALS-29184

APPEAL/29184 - Add key to `AmaIssueList`
…APPEALS-4958

APPEALS-4958 - Add key prop to `TaskRows` timeline components
@codeclimate
Copy link

codeclimate bot commented Aug 28, 2023

Code Climate has analyzed commit 59756c0 and detected 0 issues on this pull request.

View more on Code Climate.

@craigrva craigrva marked this pull request as ready for review August 28, 2023 19:59
@craigrva craigrva merged commit 35c1f4d into master Sep 12, 2023
12 checks passed
craigrva added a commit that referenced this pull request Sep 12, 2023
@craigrva craigrva deleted the dev-support/APPEALS-29184-4958 branch September 12, 2023 19:07
minhazur9 added a commit that referenced this pull request Sep 26, 2023
…rans-affairs/caseflow into min/APPEALS-24730

* 'feature/APPEALS-18742' of github.com:department-of-veterans-affairs/caseflow:
  APPEALS-24728 Add HWR to LEGACY_MAIL_TASKS (#19433)
  Dev support/appeals 29184 4958 (#19286)
  Remove deprecated CertficationStats and DispatchStats code - APPEALS/25341 (#18999)
  APPEALS-15373 Appellant POA (#19128)
  disable checks to allow lint job to pass (#19436)
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.

3 participants