Skip to content

fix(PM-4004, PM-4005): Fix tools page in account settings#1493

Merged
kkartunov merged 3 commits intodevfrom
pm-4004
Feb 26, 2026
Merged

fix(PM-4004, PM-4005): Fix tools page in account settings#1493
kkartunov merged 3 commits intodevfrom
pm-4004

Conversation

@hentrymartin
Copy link
Collaborator

Related JIRA Ticket:

https://topcoder.atlassian.net/browse/PM-4004
https://topcoder.atlassian.net/browse/PM-4005

What's in this PR?

  • Fixed the tools page cancel confirmation popup
  • Fixed populating edit tool items

type='text'
error={formErrors.serviceProviderName}
dirty
forceUpdateValue

Choose a reason for hiding this comment

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

[⚠️ correctness]
The forceUpdateValue prop is being added to the InputText component. Ensure that this prop is supported by the component and behaves as expected. If this is a custom prop, verify its necessity and implementation to avoid unintended side effects.

name='softwareName'
label='Software Name *'
value={selectedSoftwareName}
forceUpdateValue

Choose a reason for hiding this comment

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

[❗❗ correctness]
The forceUpdateValue prop is not a standard prop for InputText. Ensure that this prop is supported by the component or remove it if unnecessary. Using unsupported props can lead to unexpected behavior.

type='text'
error={formErrors.subscriptionName}
dirty
forceUpdateValue

Choose a reason for hiding this comment

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

[⚠️ correctness]
The forceUpdateValue prop is added to the InputText component. Ensure that this prop is necessary and correctly implemented in the InputText component. If it forces a re-render or bypasses controlled component behavior, it could lead to unexpected side effects.

}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [isLoading])
}, [isLoading, props.open])

Choose a reason for hiding this comment

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

[⚠️ correctness]
Adding props.open to the dependency array of useCallback is correct to ensure the handleClose function updates when props.open changes. However, ensure that props.open is indeed a necessary dependency and that its inclusion does not cause unnecessary re-renders or logic issues.

@kkartunov kkartunov merged commit fa78cd7 into dev Feb 26, 2026
8 checks passed
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