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

🐛 Fix getIconByRisk in answer-table.tsx #1316

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

sjd78
Copy link
Member

@sjd78 sjd78 commented Aug 25, 2023

While working on upgrading eslint (PR #1291), a switch/case no-fallthrough error was found in the getIconByRisk function in the AnswerTable component. This error would cause a risk of "red" to actually render as a risk of "yellow". Fixing it separately from the eslint upgrade seems like a good thing.

@codecov
Copy link

codecov bot commented Aug 25, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (ea99f09) 43.04% compared to head (d5efffc) 43.04%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1316   +/-   ##
=======================================
  Coverage   43.04%   43.04%           
=======================================
  Files         145      145           
  Lines        4330     4330           
  Branches      999      999           
=======================================
  Hits         1864     1864           
  Misses       2454     2454           
  Partials       12       12           
Flag Coverage Δ
client 43.04% <ø> (ø)
server ∅ <ø> (∅)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

While working on upgrading eslint, a switch/case `no-fallthrough` error
was found in the `getIconByRisk` function in the `AnswerTable` component.
This error would cause a risk of "red" to actually render as a risk
of "yellow".  Fixing it separately from the eslint upgrade seems like
a good thing.

Signed-off-by: Scott J Dickerson <[email protected]>
@sjd78 sjd78 force-pushed the answer-table-getIconByRisk branch from 2e78cf4 to d5efffc Compare August 27, 2023 21:29
Copy link
Member

@ibolton336 ibolton336 left a comment

Choose a reason for hiding this comment

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

👍

@ibolton336 ibolton336 merged commit 5d784c8 into konveyor:main Aug 28, 2023
6 checks passed
ibolton336 pushed a commit to ibolton336/tackle2-ui that referenced this pull request Aug 29, 2023
While working on upgrading eslint (PR konveyor#1291), a switch/case
`no-fallthrough` error was found in the `getIconByRisk` function in the
`AnswerTable` component. This error would cause a risk of "red" to
actually render as a risk of "yellow". Fixing it separately from the
eslint upgrade seems like a good thing.

Signed-off-by: Scott J Dickerson <[email protected]>
@sjd78 sjd78 deleted the answer-table-getIconByRisk branch September 13, 2023 19:25
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.

2 participants