1
0
mirror of synced 2026-01-17 12:07:50 -05:00
Commit Graph

393 Commits

Author SHA1 Message Date
Tim Roes
f9c57ffa91 🪟 🔧 Update eslint and add dependencies explicitly (#21868)
* Update eslint

* Fix TS issues
2023-01-26 13:27:20 +01:00
Octavia Squidington III
b9de100058 Bump Airbyte version from 0.40.28 to 0.40.29 (#21767)
Co-authored-by: lmossman <lmossman@users.noreply.github.com>
2023-01-23 23:22:45 -08:00
Tim Roes
828b32a3a2 🪟 🔧 Migrate from react-scripts to Vite (#21421)
* Migrate to Vite

* Continue work on vite migration

* More environment fixes

* Add CSP headers to dev server

* Remove react-scripts

* Shim process.env

* Cleanup

* Create ESLint failure for CI test

* create vite-plugins package

* Update nodeJS

* Make eslint warnings fail build

* Remove trailing empty line in nvmrc

* Match package.json with nvmrc

* Fix eslint test breakage

* Revert node upgrade

* Remove setupProxy script

* Change default API endpoints to be http
2023-01-23 21:10:23 +01:00
Tim Roes
f104508f23 🪟 🔧 Allow overwriting experiments and features during development (#20843)
* Allow overwriting experiments via special file

* Allow feature overwriting via .features.dev

* Adjust to discussion
2023-01-17 10:55:17 +01:00
Tim Roes
1502ef422e 🪟 🐛 Fix jest tests to fail build correctly (#21408)
* Fix jest tests to fail build correctly

* Add failing test for demo

* Update StatusCell.test.tsx
2023-01-13 21:00:26 +01:00
Joe Reuter
f6967f1d93 🪟🎉 Connector builder: Schema inferrer UI (#21154)
* fix stuff

* add inferred schema to API

* fix yaml changes

* fix yaml formatting

* add whitespace back

* basic ui

* advanced UI

* Remove unused one

* reset package lock

* resolve merge conflicts

* styling

* show button and icon in the normal schema tab

* restructure

* handle yaml view

* small fix

* review comments

* make monaco resize

* review comments
2023-01-13 12:52:27 +00:00
Octavia Squidington III
02e0258948 Bump Airbyte version from 0.40.27 to 0.40.28 (#21359)
Co-authored-by: lmossman <lmossman@users.noreply.github.com>
2023-01-12 16:47:07 -08:00
Tim Roes
8c35783002 Use jest directly as test runner (#21174) 2023-01-10 12:33:44 +01:00
Octavia Squidington III
00fb4bba09 Bump Airbyte version from 0.40.26 to 0.40.27 (#21135)
Co-authored-by: lmossman <lmossman@users.noreply.github.com>
2023-01-06 14:27:01 -08:00
Joe Reuter
db3d3983dd 🪟🎉 Connector builder: Substream slicer and cartesian slicer (#20861)
* improve some types

* improve further

* clean up a bit more

* refactor loading state

* move loading state up

* remove isLoading references

* remove unused props and make fetch connector error work

* remove special component for name

* remove top level state for unifinished flows

* start removing uiwidget

* Update airbyte-webapp/src/views/Connector/ConnectorCard/ConnectorCard.module.scss

Co-authored-by: Tim Roes <tim@airbyte.io>

* remove undefined option for selected id

* remove unused prop

* fix types

* remove uiwidget state

* clean up

* adjust comment

* handle errors in a nice way

* do not respect default on oneOf fields

* rename to formblock

* reduce re-renders

* pass error to secure inputs

* simplify and improve styling

* align top

* code review

* remove comment

* review comments

* rename file

* be strict about boolean values

* add example

* track form error in error boundary

* review comments

* handle unexpected cases better

* enrich error with connector id

* 🪟🎉 Add copy stream button (#20577)

* add copy stream button

* review comments

* rename prop

* 🪟🎉 Connector builder: Integrate connector form for test input (#20385)

* move connector builder components into the same shared components/connectorBuilder directory

* move diff over from poc branch

* save current progress

* add modal for adding streams

* focus stream after adding and reset button style

* add reset confirm modal and select view on add

* style global config and streams buttons

* styling improvements

* handle long stream names better

* pull in connector manifest schema directly

* add box shadows to resizable panels

* upgrade orval and use connector manifest schema directly

* remove airbyte protocol from connector builder api spec

* generate python models from openapi change

* fix position of yaml toggle

* handle no stream case with better looking message

* group global fields into single object and fix console error

* confirmation modal on toggling dirty form + cleanup

* fix connector name display

* undo change to manifest schema

* remove commented code

* remove unnecessary change

* fix spacing

* use shadow mixin for connector img

* add comment about connector img

* change onSubmit to no-op

* remove console log

* clean up styling

* simplify sidebar to remove StreamSelectButton component

* swap colors of toggle

* move FormikPatch to src/core/form

* move types up to connectorBuilder/ level

* use grid display for ui yaml toggle button

* use spread instead of setting array index directly

* add intl in missing places

* pull connector manifest schema in through separate openapi spec

* use correct intl string id

* throttle setting json manifest in yaml editor

* use  button prop instead of manually styling

* consolidate AddStreamButton styles

* fix sidebar flex styles

* use specific flex properties instead of flex

* clean up download and reset button styles

* use row-reverse for yaml editor download button

* fix stream selector styles to remove margins

* give connector setup guide panel same corner and shadow styles

* remove blur from page display

* set view to stream when selected in test panel

* add placeholder when stream name is empty

* switch to index-based stream selection to preserve testing panel selected stream on rename

* handle empty name in stream selector

* make connector form work in connector builder

* fix small stuff

* add warning label

* review comments

* adjust translation

Co-authored-by: lmossman <lake@airbyte.io>

* use request_body_json instead of request_body_data

* 🪟 🎨 Move `Add` button into the line of Connector Builder key value list fields (#20699)

* move add button into line

* add stories for empty with control, and content + control

* change button name to Control

* 🪟🎉 Connector builder: Allow defining inputs (#20431)

* move connector builder components into the same shared components/connectorBuilder directory

* move diff over from poc branch

* save current progress

* add modal for adding streams

* focus stream after adding and reset button style

* add reset confirm modal and select view on add

* style global config and streams buttons

* styling improvements

* handle long stream names better

* pull in connector manifest schema directly

* add box shadows to resizable panels

* upgrade orval and use connector manifest schema directly

* remove airbyte protocol from connector builder api spec

* generate python models from openapi change

* fix position of yaml toggle

* handle no stream case with better looking message

* group global fields into single object and fix console error

* confirmation modal on toggling dirty form + cleanup

* fix connector name display

* undo change to manifest schema

* remove commented code

* remove unnecessary change

* fix spacing

* use shadow mixin for connector img

* add comment about connector img

* change onSubmit to no-op

* remove console log

* clean up styling

* simplify sidebar to remove StreamSelectButton component

* swap colors of toggle

* move FormikPatch to src/core/form

* move types up to connectorBuilder/ level

* use grid display for ui yaml toggle button

* use spread instead of setting array index directly

* add intl in missing places

* pull connector manifest schema in through separate openapi spec

* use correct intl string id

* throttle setting json manifest in yaml editor

* use  button prop instead of manually styling

* consolidate AddStreamButton styles

* fix sidebar flex styles

* use specific flex properties instead of flex

* clean up download and reset button styles

* use row-reverse for yaml editor download button

* fix stream selector styles to remove margins

* give connector setup guide panel same corner and shadow styles

* remove blur from page display

* set view to stream when selected in test panel

* add placeholder when stream name is empty

* switch to index-based stream selection to preserve testing panel selected stream on rename

* handle empty name in stream selector

* make connector form work in connector builder

* wip

* fix small stuff

* add basic input UI

* user inputs

* make most of inputs configuration work

* fix a bunch of stuff

* handle unknown config types

* add warning label

* fix label

* fix some styling

* review comments

* improve state management and error handling

* handle stored form values that don't contain new fields properly

* Update airbyte-webapp/src/locales/en.json

Co-authored-by: Lake Mossman <lake@airbyte.io>

* Update airbyte-webapp/src/components/connectorBuilder/Builder/InputsView.tsx

Co-authored-by: Lake Mossman <lake@airbyte.io>

* inputs editing weirdness

* input form reset

* using the Label component

* 🪟🎉 Connector builder authentication (#20645)

* allow auth configuration

* check for conflicts with the inferred inputs

* fix invisible inputs

* reduce redundancy and hide advanced input options for inferred inputs

* unnecessary validation

* typo

* unnecessary effect hook

* build spec even for invalid forms but do not update stream list

* fix keys

* 🪟🎉 Connector builder: Session token and oauth authentication (#20712)

* session token and oauth authentication

* fill in session token variable

* typos

* make sure validation error does not go away

* 🪟🎉 Connector builder: Always validate inputs form (#20664)

* validate user input outside of form

* review comments

Co-authored-by: lmossman <lake@airbyte.io>

Co-authored-by: lmossman <lake@airbyte.io>

* fix merge conflict with dropdown prop being renamed to control

* [Connector Builder] Add paginator (#20698)

* move connector builder components into the same shared components/connectorBuilder directory

* move diff over from poc branch

* save current progress

* add modal for adding streams

* focus stream after adding and reset button style

* add reset confirm modal and select view on add

* style global config and streams buttons

* styling improvements

* handle long stream names better

* pull in connector manifest schema directly

* add box shadows to resizable panels

* upgrade orval and use connector manifest schema directly

* remove airbyte protocol from connector builder api spec

* generate python models from openapi change

* fix position of yaml toggle

* handle no stream case with better looking message

* group global fields into single object and fix console error

* confirmation modal on toggling dirty form + cleanup

* fix connector name display

* undo change to manifest schema

* remove commented code

* remove unnecessary change

* fix spacing

* use shadow mixin for connector img

* add comment about connector img

* change onSubmit to no-op

* remove console log

* clean up styling

* simplify sidebar to remove StreamSelectButton component

* swap colors of toggle

* move FormikPatch to src/core/form

* move types up to connectorBuilder/ level

* use grid display for ui yaml toggle button

* use spread instead of setting array index directly

* add intl in missing places

* pull connector manifest schema in through separate openapi spec

* use correct intl string id

* throttle setting json manifest in yaml editor

* use  button prop instead of manually styling

* consolidate AddStreamButton styles

* fix sidebar flex styles

* use specific flex properties instead of flex

* clean up download and reset button styles

* use row-reverse for yaml editor download button

* fix stream selector styles to remove margins

* give connector setup guide panel same corner and shadow styles

* remove blur from page display

* set view to stream when selected in test panel

* add placeholder when stream name is empty

* switch to index-based stream selection to preserve testing panel selected stream on rename

* handle empty name in stream selector

* make connector form work in connector builder

* wip

* fix small stuff

* add basic input UI

* user inputs

* make most of inputs configuration work

* fix a bunch of stuff

* handle unknown config types

* add warning label

* fix label

* fix some styling

* review comments

* improve state management and error handling

* allow auth configuration

* check for conflicts with the inferred inputs

* fix invisible inputs

* handle stored form values that don't contain new fields properly

* session token and oauth authentication

* fill in session token variable

* fix merge of default values

* add primaryKey and cursorField to builder types, and consolidate default valeues to types.ts

* add cursor and primary key fields to ui

* save

* add page size and token option inputs

* fixes after rebase

* add pagination

* fix pagination types

* handle empty field_name better

* Update airbyte-webapp/src/locales/en.json

Co-authored-by: Lake Mossman <lake@airbyte.io>

* Update airbyte-webapp/src/components/connectorBuilder/Builder/InputsView.tsx

Co-authored-by: Lake Mossman <lake@airbyte.io>

* inputs editing weirdness

* input form reset

* using the Label component

* reduce redundancy and hide advanced input options for inferred inputs

* unnecessary validation

* typo

* unnecessary effect hook

* build spec even for invalid forms but do not update stream list

* typos

* make sure validation error does not go away

* make primary key and cursor optional, and reorder

* save toggle group progress

* fix style of toggle label

* handle empty values better

* fix page size/token option field validation and rendering

* handle cursor pagination page size option correctly

Co-authored-by: Joe Reuter <joe@airbyte.io>

* [Connector Builder] Add stream slicer (#20748)

* move connector builder components into the same shared components/connectorBuilder directory

* move diff over from poc branch

* save current progress

* add modal for adding streams

* focus stream after adding and reset button style

* add reset confirm modal and select view on add

* style global config and streams buttons

* styling improvements

* handle long stream names better

* pull in connector manifest schema directly

* add box shadows to resizable panels

* upgrade orval and use connector manifest schema directly

* remove airbyte protocol from connector builder api spec

* generate python models from openapi change

* fix position of yaml toggle

* handle no stream case with better looking message

* group global fields into single object and fix console error

* confirmation modal on toggling dirty form + cleanup

* fix connector name display

* undo change to manifest schema

* remove commented code

* remove unnecessary change

* fix spacing

* use shadow mixin for connector img

* add comment about connector img

* change onSubmit to no-op

* remove console log

* clean up styling

* simplify sidebar to remove StreamSelectButton component

* swap colors of toggle

* move FormikPatch to src/core/form

* move types up to connectorBuilder/ level

* use grid display for ui yaml toggle button

* use spread instead of setting array index directly

* add intl in missing places

* pull connector manifest schema in through separate openapi spec

* use correct intl string id

* throttle setting json manifest in yaml editor

* use  button prop instead of manually styling

* consolidate AddStreamButton styles

* fix sidebar flex styles

* use specific flex properties instead of flex

* clean up download and reset button styles

* use row-reverse for yaml editor download button

* fix stream selector styles to remove margins

* give connector setup guide panel same corner and shadow styles

* remove blur from page display

* set view to stream when selected in test panel

* add placeholder when stream name is empty

* switch to index-based stream selection to preserve testing panel selected stream on rename

* handle empty name in stream selector

* make connector form work in connector builder

* wip

* fix small stuff

* add basic input UI

* user inputs

* make most of inputs configuration work

* fix a bunch of stuff

* handle unknown config types

* add warning label

* fix label

* fix some styling

* review comments

* improve state management and error handling

* allow auth configuration

* check for conflicts with the inferred inputs

* fix invisible inputs

* handle stored form values that don't contain new fields properly

* session token and oauth authentication

* fill in session token variable

* fix merge of default values

* add primaryKey and cursorField to builder types, and consolidate default valeues to types.ts

* add cursor and primary key fields to ui

* save

* add page size and token option inputs

* fixes after rebase

* add pagination

* fix pagination types

* handle empty field_name better

* Update airbyte-webapp/src/locales/en.json

Co-authored-by: Lake Mossman <lake@airbyte.io>

* Update airbyte-webapp/src/components/connectorBuilder/Builder/InputsView.tsx

Co-authored-by: Lake Mossman <lake@airbyte.io>

* inputs editing weirdness

* input form reset

* using the Label component

* reduce redundancy and hide advanced input options for inferred inputs

* unnecessary validation

* typo

* unnecessary effect hook

* build spec even for invalid forms but do not update stream list

* typos

* make sure validation error does not go away

* make primary key and cursor optional, and reorder

* save toggle group progress

* fix style of toggle label

* handle empty values better

* fix page size/token option field validation and rendering

* handle cursor pagination page size option correctly

* save stream slicer progress

* finish stream slicer

* fix stream slicer fields and validation

Co-authored-by: Joe Reuter <joe@airbyte.io>

* debounce form builder values update to reduce load

* 🪟🔧  Connector builder: use new lowcode manifest (#20715)

* use new manifest yaml

* Update airbyte-webapp/src/components/connectorBuilder/types.ts

Co-authored-by: Lake Mossman <lake@airbyte.io>

* use updated manifest types

Co-authored-by: Lake Mossman <lake@airbyte.io>

* add substream slicer

* add substream and cartesian slicer

* debounce validation as well

* akways show stream test button in error state if there are errors

* fix type of oauth input

* add validation schema for add stream form

* validate all views on test click

* add type to prevent console warning

* do not allow path for substream slicer request option

* do not show request option for substream slicer

* rewrite stream slice field tooltip

Co-authored-by: Tim Roes <tim@airbyte.io>
Co-authored-by: lmossman <lake@airbyte.io>
2023-01-05 23:01:48 +00:00
Octavia Squidington III
27bd807fd1 Bump Airbyte version from 0.40.25 to 0.40.26 (#20630)
Co-authored-by: lmossman <lmossman@users.noreply.github.com>
2022-12-18 15:54:55 -08:00
Tim Roes
bec8ef2f8e 🪟🔧 Fix node version on CI (#20287)
* Fix node version on CI

* Use lts/gallium

* Restore setup-node actions where needed

* Package-lock changes

* Regenerate package-lock.json
2022-12-12 12:34:12 +01:00
Octavia Squidington III
f5e15dee77 Bump Airbyte version from 0.40.24 to 0.40.25 (#20279)
Co-authored-by: girarda <girarda@users.noreply.github.com>
2022-12-08 17:30:50 -08:00
Vladimir
3877df9ae7 🪟 🎨 New stream details panel (#19219)
* move all stream details table related components to separate folder;
create the first version of table powered by current implementation of react-table;

* init a copy of existing <Table /> component - <NextTable />

* fixed calc error

* first implementation of NextTable:
- use css modules instead of styled cmp
- extracted base table styles
- remove props used just for styling(customPadding, light, etc.)
- no typings

* remove StreamDetailsHeader

* updated StreamFieldsTable

* fix typings error

* update NextTable cells classnames

* remove last styled component from NextTable

* add base tests for NextTable component

* remove comments

* replace "any" type with "unknown" where possible

* add react-table v8 package

* update NextTable component

* update NextTable component

* extend react-table ColumnMeta interface

* update StreamFieldsTable component

* update NextTable tests

* update NextTable storybook

* fixed crashed StreamConnectionHeader during connection creation

* replace useConnectionEditService with useConnectionFormService hook

* remove getIcon wrap function and combine all parts in separate component

* update styles

* extract common logic to separate function

* fix performance

* fix not capitalized table header cell

* fix checkbox style issue

* make thead sticky by default

* fix not scrollable table

* fixed top bar overflow during scrolling table

* fix top bar overflow during scrolling table - second try

* fix hidden cursor and pk columns

* fix hidden cursor and pk columns

* fix PR comments: replace css values with variables

* remove unnecessary hook dependencies

* fix relative import component path

* add space around panel;
add 100px top gap height

* fix arrow color

* align table padding with toggle

* add ArrowRight icon from design
replace faArrowRight with ArrowRight

* move NextTable component to ui folder

* move StreamDetailsPanel component to separate folder

* move StreamPanelHeader component to separate folder

* remove obsolete DetailsPanel components

* move all DetailsPanel related components to separate folder

* fix when no namespace

* fixed details panel header sync mode label

* fix relative import path

* move react-table.d.ts to src/types

* remove fake destination data type column

* add FormattedMessage to ConnectorHeaderGroupIcon

* fix StreamPanelHeader style to match Figma

* change td color from grey-100 to grey-50
fix relative path

* temporary remove @tanstack/react-table package

* add @tanstack/react-table back to package.json

* fix cross icon color
fix items alignment in flex container
2022-12-08 15:42:50 +02:00
Octavia Squidington III
1581821930 Bump Airbyte version from 0.40.23 to 0.40.24 (#20206)
Co-authored-by: girarda <girarda@users.noreply.github.com>
2022-12-07 15:44:56 -08:00
Joey Marshment-Howell
6e155d31f6 🪟 🎉 Add datepicker for date/date-time fields in connector form (#19678)
Co-authored-by: Tim Roes <tim@airbyte.io>
Co-authored-by: Lake Mossman <lake@airbyte.io>
2022-12-07 12:22:40 +00:00
Lake Mossman
e55757bcc9 [Connector Builder] upgrade orval and use connector manifest schema directly (#20166)
* upgrade orval and use connector manifest schema directly

* remove airbyte protocol from connector builder api spec

* generate python models from openapi change
2022-12-06 17:29:45 -08:00
Tim Roes
bd9eedf4d7 🪟 🔧 Add ConnectorIds utility (#19826)
* Add ConnectorIds utility

* Fix typo

* Update airbyte-webapp/packages/eslint-plugin/no-hardcoded-connector-ids.js

Co-authored-by: Lake Mossman <lake@airbyte.io>

* Change variable name

* Use in tests

* Remove unnecessary comment

* Adjust linting errors

Co-authored-by: Lake Mossman <lake@airbyte.io>
2022-12-02 23:54:03 +01:00
Octavia Squidington III
77112b02bf Bump Airbyte version from 0.40.22 to 0.40.23 (#19941)
Co-authored-by: davinchia <davinchia@users.noreply.github.com>
2022-11-30 20:02:24 +00:00
Alex Birdsall
aeb6801683 Allow overriding cloud env in start:cloud script (#19857)
Uses basic bash variable substitution syntax to define `frontend-dev` as
a default value for `$AB_ENV` instead of hardcoded; tested and working
in bash, zsh, and fish shells.

To specify different environments:
```sh
  # `$AB_ENV` is the default value, `"frontend-dev"`
  npm run start:cloud

  # `$AB_ENV` is the user-supplied value, `"dev-2"`; expects a corresponding `.env.dev-2` file to exist
  AB_ENV=dev-2 npm run start:cloud
```
2022-11-29 11:48:22 -08:00
Octavia Squidington III
4c5d6ead94 Bump Airbyte version from 0.40.21 to 0.40.22 (#19687)
Co-authored-by: lmossman <lmossman@users.noreply.github.com>
Co-authored-by: lmossman <lake@airbyte.io>
2022-11-21 17:43:32 -08:00
Octavia Squidington III
8341076cb3 Bump Airbyte version from 0.40.20 to 0.40.21 (#19634)
Co-authored-by: krishnaglick <krishnaglick@users.noreply.github.com>
2022-11-18 20:39:06 -05:00
Octavia Squidington III
ed4ec64712 Bump Airbyte version from 0.40.19 to 0.40.20 (#19614)
Co-authored-by: lmossman <lmossman@users.noreply.github.com>
2022-11-18 11:53:57 -08:00
Octavia Squidington III
061bce197a Bump Airbyte version from 0.40.18 to 0.40.19 (#19579)
Co-authored-by: lmossman <lmossman@users.noreply.github.com>
2022-11-18 00:26:01 -08:00
Tim Roes
558bc6df6b Upgrade minimatch (#19464) 2022-11-16 10:17:31 +01:00
Tim Roes
8969824b41 🪟 🔧 Add a start:cloud command to the webapp (#19026)
* Add a start:cloud command to the webapp

* Update airbyte-webapp/scripts/environment.js

Co-authored-by: Joey Marshment-Howell <josephkmh@users.noreply.github.com>

Co-authored-by: Joey Marshment-Howell <josephkmh@users.noreply.github.com>
2022-11-07 14:52:49 +01:00
Lake Mossman
535e8da9e3 Connector builder test result display (#18533)
* [SPIKE] add Builder page with editor

* add YamlEditor component

* export colors from CSS

* move template into dedicated file

* fix initial load from local storage

* move download button into separate component

* fix stylelint

* remove console log

* add todo

* make monaco background transparent and apply gradient to parent div background

* clarify comment

* remove unnecessary 180deg

* lock the builder UI behind a feature

* use rgb instead of hex to fix stylelint

* use _colors.scss and disable hex length stylelint rule

* disable rule in file

* generify ConnectorDocumentationLayout into TwoPanelLayout

* use TwoPanelLayout for BuilderPage

* add darker gradient color to _colors.scss and use in gradient

* move /builder to /connector-builder

* rename TwoPanelLayout to ResizablePanels

* put gradient on parent container instead

* make lightOverlay actually overlay instead of un-rendering children

* add testing panel component and stream selector

* fix rotated text

* fix more styling

* remove unnecessary comment

* add starting flex to right panel

* replace react-select dropdown with headless-ui listbox

* add test controls and fix button icon styling

* add Configure Test Input button and modal

* add connector builder client

* move connector builder state into dedicated context

* fix bold prop in Text component to not throw error

* pass parsed yaml->json into query

* store config in connector builder state context

* add result display

* fix styles of result display

* move config menu into testing panel

* capitalize stream names

* undo changes to Text component, since that is being addressed in a separate PR

* fix more merge issues and fix generated schema usage

* capitalize header

* remove console log

* rename data to streamRead

* fix stylelint and use variables

* use another variable for spacing

* use stream name in state data object

* add paginator component

* save progress on result display

* generify stream selector and add slice selector

* add page display with tabs

* fix scrolling and add logic to make mocking results easier

* make mocks more unique

* wire up slice selector to content shown

* improve placeholder text style

* add gap in page display

* make controlled component and fix mocks

* move tab titles into intl

* fix typo

* move placeholder into intl

* update listbox and paginator to be more generic

* clean up paginator styles

* undo change to App.tsx

* cleanup

* use intl for slice label fallback

* remove manifest and config from react-query keys to prevent losing results when editing yaml

* switch to functional style for generic components
2022-11-03 16:32:33 -07:00
Tim Roes
a44c841d0d 🪟 🔧 Upgrade husky to 8.0.1 (#18719)
* Upgrade Husky

* Upgrade Husky

* Upgrade Husky

* Upgrade Husky

* Upgrade Husky
2022-11-02 09:18:40 -07:00
Octavia Squidington III
b299688f3b Bump Airbyte version from 0.40.17 to 0.40.18 (#18827)
Co-authored-by: grishick <grishick@users.noreply.github.com>
2022-11-01 19:35:23 -07:00
Lake Mossman
6dd52d0e76 Implement Connector Builder testing panel (first iteration) (#18449)
* [SPIKE] add Builder page with editor

* add YamlEditor component

* export colors from CSS

* move template into dedicated file

* fix initial load from local storage

* move download button into separate component

* fix stylelint

* remove console log

* add todo

* make monaco background transparent and apply gradient to parent div background

* clarify comment

* remove unnecessary 180deg

* lock the builder UI behind a feature

* use rgb instead of hex to fix stylelint

* use _colors.scss and disable hex length stylelint rule

* disable rule in file

* generify ConnectorDocumentationLayout into TwoPanelLayout

* use TwoPanelLayout for BuilderPage

* add darker gradient color to _colors.scss and use in gradient

* move /builder to /connector-builder

* rename TwoPanelLayout to ResizablePanels

* put gradient on parent container instead

* make lightOverlay actually overlay instead of un-rendering children

* add testing panel component and stream selector

* fix rotated text

* fix more styling

* remove unnecessary comment

* add starting flex to right panel

* replace react-select dropdown with headless-ui listbox

* add test controls and fix button icon styling

* add Configure Test Input button and modal

* add connector builder client

* move connector builder state into dedicated context

* fix bold prop in Text component to not throw error

* pass parsed yaml->json into query

* store config in connector builder state context

* add result display

* fix styles of result display

* move config menu into testing panel

* capitalize stream names

* undo changes to Text component, since that is being addressed in a separate PR

* fix more merge issues and fix generated schema usage

* capitalize header

* remove console log

* rename data to streamRead

* fix stylelint and use variables

* use another variable for spacing

* use stream name in state data object

* move ConnectorBuilderStateProvider into ConnectorBuilderPage

* fix sizing of modal

* fix styling of active stream selector option

* Update airbyte-webapp/src/components/StreamTestingPanel/ResultDisplay.tsx

Co-authored-by: Tim Roes <tim@airbyte.io>

* Update airbyte-webapp/src/components/StreamTestingPanel/ResultDisplay.tsx

Co-authored-by: Tim Roes <tim@airbyte.io>

* hide result display panel if no data

* remove button specificity styling hacks, use size prop instead

* Update airbyte-webapp/src/components/StreamTestingPanel/StreamSelector.tsx

Co-authored-by: Tim Roes <tim@airbyte.io>

* change logs to errors

Co-authored-by: Tim Roes <tim@airbyte.io>
2022-10-27 22:39:22 -07:00
Octavia Squidington III
73336ff4de Bump Airbyte version from 0.40.16 to 0.40.17 (#18316)
Co-authored-by: edgao <edgao@users.noreply.github.com>
2022-10-21 14:00:39 -07:00
Octavia Squidington III
ce0bbf3f75 Bump Airbyte version from 0.40.15 to 0.40.16 (#18268)
Co-authored-by: evantahler <evantahler@users.noreply.github.com>
2022-10-20 13:29:54 -07:00
Octavia Squidington III
a5a0409ad5 Bump Airbyte version from 0.40.14 to 0.40.15 (#17970)
Co-authored-by: benmoriceau <benmoriceau@users.noreply.github.com>
2022-10-17 13:33:20 -07:00
Edmundo Ruiz Ghanem
7c919e0051 🪟 🔧 Add Datadog support to webapp, cleanup sentry init (#17821)
* Add support for Datadog Real User Monitoring (RUM)

* Move sentry init to its own util

* loadDatadogRum -> initDatadogRum

* Move comment back to app index

* Lazy load Sentry and Datadog

* Update version value for Datadog to match Sentry

* Switch process.env with window for sentry and datadog init

* Remove import optimizations from Sentry and Datadog
2022-10-12 17:35:20 +02:00
Tim Roes
6c5a150b81 🪟 🔧 Ignore classnames during jest snapshot comparison (#17773)
* Ignore classnames during jest snapshot comparison

* Replace by simple placeholder

* Update snapshots
2022-10-10 12:43:59 +02:00
Octavia Squidington III
9cb32437e4 Bump Airbyte version from 0.40.13 to 0.40.14 (#17762)
Co-authored-by: benmoriceau <benmoriceau@users.noreply.github.com>
2022-10-07 14:18:21 -07:00
Tim Roes
a1854a4a53 Fix console errors (#17696) 2022-10-07 11:34:04 +02:00
Octavia Squidington III
e382a6e6db Bump Airbyte version from 0.40.12 to 0.40.13 (#17682)
Co-authored-by: xiaohansong <xiaohansong@users.noreply.github.com>
Co-authored-by: Xiaohan Song <xiaohan@airbyte.io>
2022-10-06 15:12:18 -07:00
Octavia Squidington III
71c8e3c062 Bump Airbyte version from 0.40.11 to 0.40.12 (#17653)
Co-authored-by: lmossman <lmossman@users.noreply.github.com>
2022-10-05 18:25:09 -07:00
Octavia Squidington III
e333aa9365 Bump Airbyte version from 0.40.10 to 0.40.11 (#17610)
Co-authored-by: benmoriceau <benmoriceau@users.noreply.github.com>
2022-10-05 08:35:39 -07:00
Octavia Squidington III
1c40fe6644 Bump Airbyte version from 0.40.9 to 0.40.10 (#17359)
Co-authored-by: benmoriceau <benmoriceau@users.noreply.github.com>
2022-09-28 17:09:25 -07:00
Octavia Squidington III
8dfb8b0c92 Bump Airbyte version from 0.40.8 to 0.40.9 (#17093)
Co-authored-by: terencecho <terencecho@users.noreply.github.com>
2022-09-23 09:46:09 -05:00
Edmundo Ruiz Ghanem
810d3a1d1e 🪟 🧹 Update Inter font to use variable fonts (#16926)
* Update Inter font styles to import variable version

* Rename regular SCSS font var to primary

* Remove non-standard css rule, add public to pre-commit linting
2022-09-22 09:15:55 -04:00
Octavia Squidington III
387b96a924 Bump Airbyte version from 0.40.7 to 0.40.8 (#17009)
Co-authored-by: gosusnp <gosusnp@users.noreply.github.com>
2022-09-21 15:57:29 -07:00
Octavia Squidington III
607a7d68ff Bump Airbyte version from 0.40.6 to 0.40.7 (#16785)
Co-authored-by: benmoriceau <benmoriceau@users.noreply.github.com>
2022-09-16 11:36:44 -07:00
Vladimir
7b54fb1d06 🪟 🎉 Suggest most frequently used Destinations / Suggest Google Sheets as a first destination (#16355)
* add SlickSlider component

* add FrequentlyUsedDestinations component

* update FrequentlyUsedDestinations storybook

* add test for FrequentlyUsedDestinations component

* move SlickSlider to base components

* minor refactor

* fix typo

* fix wrong spinner position

* add click handlers to FrequentlyUsedDestinations component, update storybook and test

* add i18n translation

* update ConnectorCard interface name

* simplify interface for ConnectorServiceTypeControl component

* add FrequentlyUsedDestinations to ServiceForm

* refactor ConnectorCard with css module

* replace css props values with vars

* don't show "set up source/destination" button if service is not selected

* fix broken Formik dependency

* create StartWithDestination component

* extend ConnectorCard component to support fullWidth style

* fix reexport components from root components folder

* make children prop as required in SlickSlider

* move "Close onboarding" button a little down

* add StartWithDestination component to ServiceForm

* make DestinationConnectorCard type consistent

* make connectorName prop optional in ConnectorCard

* add tests for StartWithDestination component

* fix and add test for FrequentlyUsedDestinations component

* update StoryBook stories

* update test for FrequentlyUsedDestinations component

* minor fix: simplify arrow func

* fix failed build: empty arrow func

* fix failed build: not mocked custom hook

* fix linter errors

* fix WCAG linter errors

* fix WCAG linter errors - broken style

* fix Formik warning

* fix stylelint errors

* remove unneeded destination ids

* remove unneeded destination id

* update test snapshots

* Update airbyte-webapp/src/components/ConnectorCard/index.tsx

Co-authored-by: Krishna (kc) Glick <krishna@airbyte.io>

* Update airbyte-webapp/src/views/Connector/ServiceForm/ServiceForm.tsx

Co-authored-by: Krishna (kc) Glick <krishna@airbyte.io>

* Update airbyte-webapp/src/views/Connector/ServiceForm/components/FrequentlyUsedDestinations/FrequentlyUsedDestinations.tsx

Co-authored-by: Krishna (kc) Glick <krishna@airbyte.io>

* Update airbyte-webapp/src/views/Connector/ServiceForm/components/StartWithDestination/StartWithDestination.tsx

Co-authored-by: Krishna (kc) Glick <krishna@airbyte.io>

* Update airbyte-webapp/src/views/Connector/ServiceForm/components/FrequentlyUsedDestinations/FrequentlyUsedDestinations.tsx

Co-authored-by: Krishna (kc) Glick <krishna@airbyte.io>

* Update airbyte-webapp/src/views/Connector/ServiceForm/components/StartWithDestination/StartWithDestination.tsx

Co-authored-by: Krishna (kc) Glick <krishna@airbyte.io>

* format code

* move mockData to separate folder

* move arrowButton components outside the SlickSlider

* add pointer to destination's cards

* add test for conditionally rendered submit form button

* update test snapshots

* fix package-lock merge conflict

* fix after merge with the latest master

* update test snapshots

* remove solution when Card has "position: absolute"

* fix capitalized text

* update test snapshots

* fix eslint warnings

Co-authored-by: Krishna (kc) Glick <krishna@airbyte.io>
2022-09-16 18:57:30 +03:00
Tim Roes
ed7489cf71 Prepare for React v18 upgrade (#16694) 2022-09-14 20:08:09 +02:00
Octavia Squidington III
83799372cf Bump Airbyte version from 0.40.5 to 0.40.6 (#16656)
Co-authored-by: benmoriceau <benmoriceau@users.noreply.github.com>
2022-09-13 11:56:33 -07:00
Krishna (kc) Glick
e419e0f69d Ignore .stories.tsx for coverage reports (#16646) 2022-09-13 14:35:02 -04:00
Krishna (kc) Glick
11925f9399 Upgrade React Select (#16027)
* I'm not in love with the end result here, but it's been upgraded and compiles.

* Fixing overflow text issue

* Tim CR
2022-09-13 09:45:00 -04:00