Skip to content

Update Coolify extension - Delete Resource Action + Support DBs in Resources#17622

Merged
raycastbot merged 3 commits intoraycast:mainfrom
xmok:ext/coolify
Mar 7, 2025
Merged

Update Coolify extension - Delete Resource Action + Support DBs in Resources#17622
raycastbot merged 3 commits intoraycast:mainfrom
xmok:ext/coolify

Conversation

@xmok
Copy link
Contributor

@xmok xmok commented Mar 7, 2025

Description

  • In Resources you can delete by also specifying what to delete and if you want to cleanup afterwards (similar to Coolify UI)
  • In Resources you can now perform Action (start, stop, restart) on Databases (Clickhouse, DragonFly, KeyDB, MariaDB, MongoDB, MySQL, PostgreSQL, Redis)

Screencast

Screencast of Delete:

coolify-delete-resource.mp4

Checklist

@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: coolify Issues related to the coolify extension OP is author The OP of the PR is the author of the extension labels Mar 7, 2025
@raycastbot
Copy link
Collaborator

Thank you for the update! 🎉

Due to our current reduced availability, the initial review may take up to 10-15 business days

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

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 DeleteResource component in src/resources.tsx provides granular deletion options including volume/network/configuration cleanup
  • Added DatabaseType enum in src/lib/types.ts to support 8 different database types (Clickhouse, MariaDB, etc.)
  • Implemented getResourceTypeEndpoint in src/lib/utils.ts to properly route database-related API calls
  • The resources command description in package.json could be updated to reflect new database and delete capabilities
  • Consider using showFailureToast from @raycast/utils in try-catch blocks for error handling

6 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile

Copy link
Collaborator

@pernielsentikaer pernielsentikaer left a comment

Choose a reason for hiding this comment

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

Hi 👋

Looks good to me, approved 🔥

@raycastbot raycastbot merged commit e15270d into raycast:main Mar 7, 2025
2 checks passed
@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2025

Published to the Raycast Store:
https://raycast.com/xmok/coolify

@raycastbot
Copy link
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

@xmok xmok deleted the ext/coolify branch March 7, 2025 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension: coolify Issues related to the coolify extension extension fix / improvement Label for PRs with extension's fix improvements OP is author The OP of the PR is the author of the extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants