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

feat: secret reference graph for understanding how its pulled #2603

Merged
merged 9 commits into from
Oct 25, 2024

Conversation

akhilmhdh
Copy link
Member

@akhilmhdh akhilmhdh commented Oct 17, 2024

Description 📣

This PR introduces a secret reference details window in detail side bar. This helpers user to see the original value and also a graph view inference made to pull the reference.

The function is attached to the original function so that both are kept in sync. The next thing is tracing is optional inside the function so that most of other the time expansion happens its not done

Screenshot 2024-10-17 at 4 29 45 PM

Type ✨

  • Bug fix
  • New feature
  • Improvement
  • Breaking change
  • Documentation

Tests 🛠️

# Here's some code block to paste some code snippets

@akhilmhdh akhilmhdh self-assigned this Oct 17, 2024
@akhilmhdh
Copy link
Member Author

Don't merge this until permission v2 is merged

Copy link
Contributor

@scott-ray-wilson scott-ray-wilson left a comment

Choose a reason for hiding this comment

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

As a general comment on the PR - this new reference tree addition is awesome but I don't think users should have to navigate to this view to see the expanded secret value.

This should be visible from the table itself (both overview and main pages), maybe a hover or button as mentioned here

backend/package-lock.json Outdated Show resolved Hide resolved
backend/src/lib/api-docs/constants.ts Outdated Show resolved Hide resolved
backend/src/lib/api-docs/constants.ts Outdated Show resolved Hide resolved
backend/src/services/secret/secret-service.ts Outdated Show resolved Hide resolved
@akhilmhdh
Copy link
Member Author

akhilmhdh commented Oct 17, 2024

@scott-ray-wilson We don't want to show the entire tree on hover and next issue with hover is what about when they type, and all other cases it will popup.

Second thing is i don't want to fill any more button on main page rows. It's already too much.

Correction: I have decided to make that dashboard to dropdown and move some icons to there.

@akhilmhdh akhilmhdh marked this pull request as draft October 17, 2024 19:48
@akhilmhdh akhilmhdh force-pushed the feat/secret-reference-path-way branch from da872e6 to 4c07716 Compare October 22, 2024 18:41
@akhilmhdh
Copy link
Member Author

Update screenshot
Screenshot 2024-10-22 at 11 44 17 PM
Screenshot 2024-10-22 at 11 53 18 PM
Screenshot 2024-10-22 at 11 57 44 PM

@akhilmhdh akhilmhdh force-pushed the feat/secret-reference-path-way branch from 4c07716 to b9a1629 Compare October 25, 2024 09:16
@maidul98 maidul98 marked this pull request as ready for review October 25, 2024 12:54
@maidul98 maidul98 merged commit 2d82273 into Infisical:main Oct 25, 2024
6 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.

3 participants