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

Add diff view to lookup results #301 #320

Merged
merged 2 commits into from
Apr 3, 2024
Merged

Add diff view to lookup results #301 #320

merged 2 commits into from
Apr 3, 2024

Conversation

oneiros
Copy link
Collaborator

@oneiros oneiros commented Mar 6, 2024

From the issue (#301) and the original discussion I am still not sure, I got it correctly. But I started implementing what I remembered from our discussion of the issue.

When you select a node from a different environment, we already have a diff view for values that are different in the same file from the original environment:

image

I now added the exact same thing to lookup results. So if I do the lookup in the example above I now get:

image

image

Please have a look and let me know if this is what you had in mind.

@oneiros oneiros requested a review from a team as a code owner March 6, 2024 13:40
Just like with regular value display from a single file this
now checks if a node is from a different environment than
the selected one.

If it is, the same tabbed view with a diff is presented,
showing the lookup result in the selected environment and
the diff to the lookup in the original environment.
@rwaffen
Copy link
Member

rwaffen commented Mar 21, 2024

before merging, will be tested by @tuxmea

@tuxmea
Copy link
Member

tuxmea commented Apr 2, 2024

Works as planned.

@tuxmea tuxmea merged commit e2e896a into main Apr 3, 2024
12 checks passed
@tuxmea tuxmea deleted the issue-301 branch April 3, 2024 14:27
@rwaffen rwaffen added the enhancement New feature or request label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants