-
Notifications
You must be signed in to change notification settings - Fork 12
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
Secrets list as dropdown from existing secrets and frontend warnings for deleted secrets #37
Merged
danielgrittner
merged 21 commits into
main
from
ADM-369/Secrets-list-as-dropdown-from-existing-secrets
Nov 4, 2024
Merged
Changes from 20 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
40321e7
feat: add new SaveWorkflowProvider and use it in save-workflow-button
leon-schmid 32e7fc5
refactor: populate SecretsStore in workflow-editor and wrap content i…
leon-schmid e65deca
feat: add dropdown to select stored secrets or redirect to set one to…
leon-schmid 371a375
feat: show warning in frontend for particular action node if a previo…
leon-schmid 5f87f24
fix: linting errors
leon-schmid 8955122
refactor: change store interface for missing secrets for action node
leon-schmid 13deda5
feat: improve UI design for missing secrets alert for action node
leon-schmid 95bd9ed
refactor: change store interface for deleted secrets
leon-schmid e16ef49
fix: don't cache workflow
leon-schmid 25ed337
refactor: change notification banner for missing secrets for action
leon-schmid 3b631ff
fix: remove unused import
leon-schmid da9bb9c
fix: use updated provider
leon-schmid faadc26
refactor: store interface for deleted secrets
leon-schmid 8cd605f
refactor: magic number for disabling cache
leon-schmid f9cd92b
feat: return boolean to see if saving workflow was a success
leon-schmid 4b59595
chore: implement requested changes
leon-schmid 32e10d4
refactor: use Flex componen properties instead of tailwindcss
leon-schmid 013e8ae
fix: throw error when workflow name is invalid
leon-schmid ad89e44
chore: implement requested changes
leon-schmid df638cd
chore: implement requested changes
leon-schmid 4f62392
fix: workflow exist at given point in function
leon-schmid File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Improve deleted secrets detection implementation.
The logic for detecting deleted secrets can be simplified and improved:
deletedSecrets
check at line 139.Here's the suggested implementation:
📝 Committable suggestion