Update Coolify extension - Delete Resource Action + Support DBs in Resources#17622
Merged
raycastbot merged 3 commits intoraycast:mainfrom Mar 7, 2025
Merged
Update Coolify extension - Delete Resource Action + Support DBs in Resources#17622raycastbot merged 3 commits intoraycast:mainfrom
Coolify extension - Delete Resource Action + Support DBs in Resources#17622raycastbot merged 3 commits intoraycast:mainfrom
Conversation
Collaborator
|
Thank you for the update! 🎉 Due to our current reduced availability, the initial review may take up to 10-15 business days |
Contributor
There was a problem hiding this comment.
PR Summary
This PR adds delete functionality and database resource management to the Coolify extension, allowing users to perform actions like start/stop/restart on various database types and delete resources with cleanup options.
- New
DeleteResourcecomponent insrc/resources.tsxprovides granular deletion options including volume/network/configuration cleanup - Added
DatabaseTypeenum insrc/lib/types.tsto support 8 different database types (Clickhouse, MariaDB, etc.) - Implemented
getResourceTypeEndpointinsrc/lib/utils.tsto properly route database-related API calls - The
resourcescommand description inpackage.jsoncould be updated to reflect new database and delete capabilities - Consider using
showFailureToastfrom@raycast/utilsin try-catch blocks for error handling
6 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile
pernielsentikaer
approved these changes
Mar 7, 2025
Collaborator
pernielsentikaer
left a comment
There was a problem hiding this comment.
Hi 👋
Looks good to me, approved 🔥
Contributor
|
Published to the Raycast Store: |
Collaborator
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Resourcesyou can delete by also specifying what to delete and if you want to cleanup afterwards (similar to Coolify UI)Resourcesyou can now performAction(start, stop, restart) on Databases (Clickhouse, DragonFly, KeyDB, MariaDB, MongoDB, MySQL, PostgreSQL, Redis)Screencast
Screencast of Delete:
coolify-delete-resource.mp4
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare located outside the metadata folder if they were not generated with our metadata tool