Skip to content

Conversation

@joshri
Copy link
Contributor

@joshri joshri commented Jan 13, 2023

Closes #1988

The bulk of this code comes from @opudrovs excellent work on the dependency tab for automations in OSS - using it here required adding the dependsOn field to the terraform backend, and creating the TerraformObjectNode type, which adds a couple fields to make Terraform objects compatible with the existing code (isCurrentNode, parentIds, type, and id).

I also moved the styled components for the NoRunsMessage to the Shared.ts file and reused them here.

image

@joshri joshri added the area/ui label Jan 13, 2023
@joshri joshri requested a review from opudrovs January 13, 2023 19:46
Copy link
Contributor

@opudrovs opudrovs left a comment

Choose a reason for hiding this comment

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

LGTM! 🎉 Great job, @joshri !

Adding unit tests from the DependenciesView in Core and reworking them for the Terraform Dependencies View would be great, but we can do it in a followup PR. As well as tweak arrow positioning a bit in the same followup PR. But it is working great for me in general!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dependency tab for Terraform objects

3 participants