Skip to content
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 postgres trigger captures #5165

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

dieriba
Copy link
Collaborator

@dieriba dieriba commented Jan 28, 2025

Important

Add support for PostgreSQL triggers in backend and frontend, including configuration, management, and testing capabilities.

  • Backend:
    • Add PostgreSQL trigger support in capture.rs, http_triggers.rs, postgres_triggers/handler.rs, postgres_triggers/mod.rs, and postgres_triggers/trigger.rs.
    • Implement functions for creating, updating, and deleting PostgreSQL triggers and publications.
    • Add PostgresTriggerConfig and related structs for configuration.
    • Add API endpoints for managing PostgreSQL triggers and testing connections.
  • Frontend:
    • Add UI components for PostgreSQL trigger configuration in CaptureWrapper.svelte, PostgresEditorConfigSection.svelte, PostgresTriggerEditor.svelte, and PostgresTriggersPanel.svelte.
    • Implement logic for handling PostgreSQL trigger creation and testing in CaptureButton.svelte, TestTriggerConnection.svelte, and TriggersEditor.svelte.
    • Update triggers.ts to include PostgreSQL as a trigger kind.

This description was created by Ellipsis for 0ee9f7d. It will automatically update as commits are pushed.

Copy link

cloudflare-workers-and-pages bot commented Jan 28, 2025

Deploying windmill with  Cloudflare Pages  Cloudflare Pages

Latest commit: 943fe48
Status: ✅  Deploy successful!
Preview URL: https://41519dd3.windmill.pages.dev
Branch Preview URL: https://feat-postgres-trigger-captur.windmill.pages.dev

View logs

@dieriba dieriba marked this pull request as ready for review January 29, 2025 18:54
@dieriba dieriba requested a review from rubenfiszel as a code owner January 29, 2025 18:54
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to 0ee9f7d in 1 minute and 17 seconds

More details
  • Looked at 2605 lines of code in 36 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_pPv4ikDsvJdSRfyG


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@dieriba dieriba changed the title feat: 🚧 add postgres trigger config in back feat: 🚧 add postgres trigger captures Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant