airbyte
airbyte copied to clipboard
feat: added cron field to connections form
What
This PR is adding fields related to the cron feature. Issue: https://github.com/airbytehq/airbyte/issues/13061
https://user-images.githubusercontent.com/17528887/189032649-65fff7cd-a1b2-463e-bd0b-3433090f7836.mov
How
We have added Cron
as a new frequency type to the dropdown based on which we will show 2 new fields (Cron expression and Timezone).
Recommended reading order
-
ConnectionForm.tsx
-
ScheduleField.tsx
-
formConfig.tsx
-
ConnectionTable.tsx
-
FrequencyCell.tsx
🚨 User Impact 🚨
There are no breaking changes. The new feature CRON should be up but should not break the existing manual/basic scheduling functionality.
@lmossman thanks a lot for the review. I made the changes as suggested. Kindly look at them when you get time.
Looks like you've got some merge conflicts!
Looks like you've got some merge conflicts!
Yeah small one resolving it.
Not sure why but one of the comments I replied to is getting minimized. Linking it here so that you don't miss it @harshithmullapudi : https://github.com/airbytehq/airbyte/pull/16375#discussion_r965422757
please merge this, its really important feature
@lmossman can I merge this?
@harshithmullapudi I left one more comment about the error message we are using for the invalid cron expression. Feel free to merge after you address that!
@harshithmullapudi I left one more comment about the error message we are using for the invalid cron expression. Feel free to merge after you address that!
Sorry I already changed it and forgot to push that. Thanks a lot for pointing that out. Thanks a lot for your review and time.
@harshithmullapudi looks like the builds are green so I think we can go ahead and merge