Closed PeterYurkovich closed 5 months ago
@PeterYurkovich: This pull request references OU-455 which is a valid jira issue.
Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.17.0" version, but no target version was set.
@PeterYurkovich: This pull request references OU-455 which is a valid jira issue.
Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.17.0" version, but no target version was set.
@PeterYurkovich: This pull request references OU-455 which is a valid jira issue.
Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.17.0" version, but no target version was set.
@PeterYurkovich: all tests passed!
Full PR test history. Your PR dashboard.
@PeterYurkovich: This pull request references OU-455 which is a valid jira issue.
Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.17.0" version, but no target version was set.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jgbernalp, PeterYurkovich
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/cherry-pick release-0.1
@PeterYurkovich: new pull request created: #31
The action creation uses the key 'alert-detail-toolbar-actions' to add add the "Troubleshooting Panel" button to the alerts detail page. However, the developer perspective also uses that key to retrieve actions. This led to an unexpected URL being parsed, causing an uncaught error.
This PR looks to prevent an uncaught error and prevent the developer perspective from having access to the troubleshooting panel button.
It also refactors two useState's + a useEffect into two useMemo's since they are only being used as computed values.
Of note this PR adds a console.error whenever the URL fails to get parsed, which may be incorrect. I can see the value in knowing why something failed when trying to debug, but also it may be providing extraneous information and filling up the console with errors when it isn't relevant most of the time.