-
Notifications
You must be signed in to change notification settings - Fork 619
feat: Engine delete modal now prompts to permanently delete, calls new route #4998
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
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4998 +/- ##
=======================================
Coverage 45.30% 45.30%
=======================================
Files 1059 1059
Lines 54707 54707
Branches 3954 3954
=======================================
Hits 24786 24786
Misses 29230 29230
Partials 691 691
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
Merge activity
|
…w route (#4998) <!-- start pr-codex --> ## PR-Codex overview This PR focuses on renaming and modifying the functionality related to deleting cloud-hosted engines in the `useEngine` hook and its usage in the `EngineInstancesTable`. The changes include updates to input types, function names, and UI elements for clarity and consistency. ### Detailed summary - Renamed `RemoveCloudHostedInput` to `DeleteCloudHostedInput`. - Changed `instanceId` to `deploymentId` in the input type. - Renamed `useEngineRemoveCloudHosted` to `useEngineDeleteCloudHosted`. - Updated API endpoint in the mutation function. - Changed UI labels from "Remove" to "Delete" and "Cancel Engine Subscription" to "Permanently Delete Engine". - Added feedback textarea in the delete confirmation modal. - Enhanced alert messages for irreversible actions. - Updated handling of deletion confirmation acknowledgment. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
b1db7b8 to
8247448
Compare
PR-Codex overview
This PR focuses on renaming and restructuring the functionality related to deleting cloud-hosted engines in the
useEnginehook and theEngineInstancesTablecomponent, enhancing clarity and user experience by changing terminology and improving the delete process.Detailed summary
RemoveCloudHostedInputtoDeleteCloudHostedInputand updated its properties.useEngineRemoveCloudHostedtouseEngineDeleteCloudHosted.