-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
🪟🐛 Connector builder UI: Fix datetime stream slicer #21161
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally and it works as expected. Had a couple small nits on the descriptions but otherwise LGTM
airbyte-webapp/src/components/connectorBuilder/Builder/StreamSlicerSection.tsx
Outdated
Show resolved
Hide resolved
airbyte-webapp/src/components/connectorBuilder/Builder/StreamSlicerSection.tsx
Outdated
Show resolved
Hide resolved
…licerSection.tsx Co-authored-by: Lake Mossman <lake@airbyte.io>
…licerSection.tsx Co-authored-by: Lake Mossman <lake@airbyte.io>
You can see how it failed the build here (before the fix with the unit tests was merged in): https://github.com/airbytehq/airbyte/actions/runs/3882948666/jobs/6623703102 |
* fix datetime stream slicer * Update airbyte-webapp/src/components/connectorBuilder/Builder/StreamSlicerSection.tsx Co-authored-by: Lake Mossman <lake@airbyte.io> * Update airbyte-webapp/src/components/connectorBuilder/Builder/StreamSlicerSection.tsx Co-authored-by: Lake Mossman <lake@airbyte.io> Co-authored-by: Lake Mossman <lake@airbyte.io>
The 0.16 upgrade of the CDK changed some fields in the datetime stream slicer. This PR adjusts the UI accordingly:
cursor_granularity
Didn't add a better pattern for these inputs because the ISO standard for durations is a little more complex and I think a wrong pattern is worse than none, especially as the server is doing validation as well.
We can add one back in a later step.