This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
fix(stepDetail): close step detail panel if unable to locate step #1544
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes #1475 and #1371, where the updated step does not have the same
UUID
and then the open step detail view is incorrect. Now, if a step with the sameUUID
is not found, the step detail panel will close.NOTE: This fixes the reported bugs, but the user experience is not ideal. We have discussed using the previously selected step's path to automatically select the new step in that position, or to try to search for the previous step, however, without persisted unique identifiers we are not able to consistently predict where the previous step will be and this could be perceived as a bug rather than a feature. #609 might be able to address this in the future, or we can consider some of the other workarounds discussed in #1475.
Changes
integrationJson
, close the step detail panel and reset the selected step if a step with a matchingUUID
is not foundNot sure what is happening with the code formatting again. 🤔