Skip to content

feat(webapp, api): allow updating sync frequency for a specific conne… #3881

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SteliosMav
Copy link
Contributor

Issue

Currently, there's no way for users to edit the sync frequency of a connection directly from the dashboard UI. The only available methods are via the public API or Node SDK, which adds unnecessary friction compared to making the change directly in the interface. This limitation was highlighted in Slack by a user trying to modify the frequency for a Salesforce connection.

Fix

Adds support for editing the sync frequency of individual connections directly from the dashboard UI. Users can now click a pencil icon next to the frequency cell to open a dialog, enter a new frequency, validate it, and update it via the API.

Implements the syncController.updateFrequencyForConnection controller under the hood.

Includes:

  • Frequency edit UI with validation, enter key handler, and dynamic button state
  • Integration with new syncController.updateFrequencyForConnection controller
  • SWR refresh with proper loading & error handling

Testing

  1. Create an integration (if you don’t have one already).
  2. Create a connection tied to that integration.
  3. Navigate to the Connections page.
  4. In the Frequency column, you should see a ✏️ pencil icon.
  5. Clicking the icon opens a modal with an input for the new frequency.
  6. Input is validated using a regex (every <number> <unit> format).
  7. The Save button is disabled unless the frequency is valid and different from the current one.
  8. Hitting Enter inside the input or clicking Save should update the frequency and close the modal.

Preview

Screenshot 2025-04-10 at 11 13 05 PM Screenshot 2025-04-10 at 11 12 35 PM

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