-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
feat: Add quick-remove button to array parameter in Cloud Config #3121
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: Add quick-remove button to array parameter in Cloud Config #3121
Conversation
|
🚀 Thanks for opening this pull request! We appreciate your effort in improving the project. Please let us know once your pull request is ready for review. |
📝 WalkthroughWalkthroughThis pull request adds array entry removal functionality to the Config component. A new RemoveArrayEntryDialog component enables users to remove entries from array-type parameters, supporting both direct value removal and filtering by key paths. The Config component integrates dialog state management, lifecycle methods, and API interactions to handle the removal workflow, with corresponding styling updates for action icons. Changes
Sequence DiagramsequenceDiagram
actor User
participant Config as Config Component
participant Dialog as RemoveArrayEntryDialog
participant API as Backend API
participant Store as Config State
User->>Config: Click Remove Icon
Config->>Config: openRemoveEntryDialog(param)
Config->>Dialog: Render with param data
Dialog->>Dialog: extractKeyPaths() for objects
User->>Dialog: Enter value (+ optional key filter)
User->>Dialog: Click Remove
Dialog->>Dialog: getValue() & build payload
Dialog->>Config: handleConfirm(removeConfig)
Config->>API: updateConfig(newArray)
API-->>Config: Success response
Config->>Store: Update local config + history
Config->>Config: closeRemoveEntryDialog()
Config->>User: Show success notification
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
# [8.3.0-alpha.4](8.3.0-alpha.3...8.3.0-alpha.4) (2026-01-16) ### Features * Add quick-remove button to array parameter in Cloud Config ([#3121](#3121)) ([b632074](b632074))
|
🎉 This change has been released in version 8.3.0-alpha.4 |
New Pull Request Checklist
Issue Description
There is no way to easily remove a value from a Cloud Config param of type array.
Approach
This adds a remove button (-) to the Cloud Config param to remove a value without having to manually edit the whole array object. If the array contains objects, it allows to conveniently remove all objects that match a key-path and value, like
a.b.c: true.Summary by CodeRabbit
New Features
Style
✏️ Tip: You can customize this high-level summary in your review settings.