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

[FE][Part 1] Rename Semi-breaking change #19

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

iurii-golovinskii
Copy link
Collaborator

…hanges.0"

@@ -48,6 +48,6 @@ export const ChangeSeverityIndicator: FC<ChangeSeverityIndicatorProps> = memo<Ch
...sx,
}}
data-testid="ChangeSeverityIndicator">
{severity}
{severity === SEMI_BREAKING_CHANGE_SEVERITY ? RISKY_CHANGE_SEVERITY : severity}
Copy link
Collaborator

Choose a reason for hiding this comment

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

is it necessary to remap?

@@ -54,7 +55,7 @@ export const CHANGE_SEVERITY_COLOR_MAP: Record<ChangeSeverity, string> = {

export const CHANGE_SEVERITY_NAME_MAP: Record<ChangeSeverity, string> = {
[BREAKING_CHANGE_SEVERITY]: 'Breaking',
[SEMI_BREAKING_CHANGE_SEVERITY]: 'Semi-breaking',
[SEMI_BREAKING_CHANGE_SEVERITY]: 'Risky',
Copy link
Collaborator

Choose a reason for hiding this comment

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

why key and value are different?

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