1
0
mirror of synced 2026-01-16 18:06:29 -05:00
Commit Graph

1369 Commits

Author SHA1 Message Date
Tim Roes
e414595e41 Experiment to use shorter setup guides (#21862) 2023-01-26 14:06:47 +01:00
Tim Roes
f9c57ffa91 🪟 🔧 Update eslint and add dependencies explicitly (#21868)
* Update eslint

* Fix TS issues
2023-01-26 13:27:20 +01:00
Lake Mossman
60da9e470a [Connector Builder] Add Segment event tracking (#21686)
* direct connector builder to first workspace and fix routing

* add connector builder namespace and actions

* track connector builder start event

* track api url created event

* track auth method select

* fix action description

* track user input events

* track sidebar events

* track stream creation

* track copying stream

* track stream delete

* track stream test success/failure

* track download yaml and fix yaml file name

* track events for switching between ui/yaml

* track events for overwriting and merging schemas

* fix stream test failure/success events and add tracking of test initiation

* do not send schema contents in events

* track when stream is selected from testing panel

* fix typo

* handle initial setup completed in e2e tests

* add warning about not putting sensitive info into URL fields

* fix before in e2e test
2023-01-25 15:13:00 -08:00
Anne
e7cc086394 Turn on auto-detect schema env variable (#21814)
* Turn on auto-detect schema env variable
Co-authored-by: Edmundo Ruiz Ghanem <168664+edmundito@users.noreply.github.com>
2023-01-25 13:39:15 -08:00
Edmundo Ruiz Ghanem
0e3d2ba431 Remove z-index rule from Switch component handle (#21857) 2023-01-25 19:07:39 +00:00
Joey Marshment-Howell
00e7336e35 🪟 🎉 Add column selection UI to new stream table (#21058)
* add column selection UI to new stream table

* disable experiment by default

* add option to toggle all selected fields

* fix header styling

* fix missing dependencies

* fix checkbox warnings

* add ability to select/deselect all, ignoring pk and cursor

* typo in merge

* refactor method for single field toggle, add tests

* test that cursor & pk are selected when toggling all fields

* support source defined pk & cursor

* disable field selection checkboxes in readonly mode

* omit selectedFields if field selection disabled

* disable deselection of parent field when child is part of pk or is cursor

* fix disabling checkboxes in readonly mode

* missing dependency
2023-01-25 14:32:55 +00:00
Tim Roes
ecc17b6c64 Remove signup source selection experiment (#21819) 2023-01-25 15:00:52 +01:00
Tim Roes
113b1345a8 Hide anaonymize data field on preference page (#21733) 2023-01-25 11:02:32 +01:00
Edmundo Ruiz Ghanem
b7be7aa73a 🪟 ✍🏼 Fix namespace modal description (#21679)
* Fix typos and wording in namespace modal text

* Fix namespace description and ad support for customformat description

* Add more clarity to the source namespace description
2023-01-24 14:08:38 -05:00
Edmundo Ruiz Ghanem
e4f4718190 Fix streams table from not flushing (#21675) 2023-01-24 14:03:34 -05:00
Alex Birdsall
e2139d92d3 Update FCP email notification phrasing (#21809) 2023-01-24 10:30:21 -08:00
Joey Marshment-Howell
e4a7736802 🪟 🐛 Fix test with potentially mismatching time values (#21795) 2023-01-24 16:54:14 +00: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
Joe Reuter
290b16b0cc 🪟🐛 Connector builder UI: Fix inputs modal (#21643)
* fix

* fix

Co-authored-by: Lake Mossman <lake@airbyte.io>
2023-01-23 18:34:09 -06:00
Tim Roes
072717eb41 Include module name in CSS class names (#21746) 2023-01-23 15:59:19 -08:00
Krishna (kc) Glick
3b1864f288 Checkboxes in dropdowns now correctly visually update when clicked (#21725)
* preventDefault was necessary to make the checkboxes work

* e -> event to reduce file diff
2023-01-23 16:06:12 -05: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
Edmundo Ruiz Ghanem
6595409098 🪟 🎨 Update page bottom margins to be consistent (#21673)
* Fix bottom of Sources and destinations settings page

* Remove unused components

* Remove H3 from titles

* Fix layouts to have consistent page bottom margin

* Set default spacing to 20px / xl
* Remove extraneous padding from pages and let containers handle it
* Check if running cloud app to add extra bottom spacing
* Fix layout issues with connection Edit controls, move line rendering to the transformation cards
* Set "saving" state in create controls to use the create button instead of having a different UI

* Fix padding in DbtTransformationsCard
2023-01-23 11:56:33 -05:00
Joey Marshment-Howell
0fbd3b284e 🪟 🐛 Force refresh of firebase token after verifying email (#21687) 2023-01-23 14:13:37 +00:00
Andy Jih
0548d5f849 minor copy change (#21681) 2023-01-21 10:47:43 -08:00
Alex Birdsall
680f5da491 🪟 🤝 Free connectors program confirmation UI (#21623)
* Extract STRIPE_SUCCESS_QUERY to hook for reuse

Also updates the query string itself so it's no longer identical to the
pre-existing checkout success query: this means that a one-off credit
transaction triggered from the credits page won't be mistaken for
enrollment.

* Hide banners, show pop-up after successful enrollment

* Show confirmation when user requests verification email

* Reraise sendEmailVerification errors, so calling code can register success-only actions in a `.then` callback

* Increase the z-index of the Toast UI, so that pop-up notifications aren't obscured by an active modal
2023-01-20 15:39:17 -08:00
Edmundo Ruiz Ghanem
0562b9672c 🪟 🎨 Fix stream table heading design issues (#21554)
* Use ConnectorHeaderGroupIcon in new streams table header, align checkbox with icon

* Make info icon 11px to match design
2023-01-20 21:06:46 +00:00
Gopi Krishna
8a95c5c720 removed unused props clickable, wasActive from button component (#18124)
Co-authored-by: Krishna (kc) Glick <krishna@airbyte.io>
Co-authored-by: perangel <perangel@gmail.com>
Co-authored-by: Conor <cpdeethree@users.noreply.github.com>
Co-authored-by: Marcos Marx <marcosmarxm@users.noreply.github.com>
2023-01-20 09:45:47 -05:00
Krishna (kc) Glick
a50ae01ad1 Add tooltips to overflow text on streams table (#21253)
* WIP

* styling wip

* Simple implementation

* Calculated tooltips based on field length

* Use default dark tooltip

* Cleaned up code and fixed a bug. The existing cursor & PK selects have their own tooltips.

* console.log cleanup and re-adding commented fields

* Snapshot tests

* source defined primary key was causing issues

* Handle encoded text

* Fix encoded html error
2023-01-19 22:07:32 +00:00
Krishna (kc) Glick
95f2c453f7 Remove source and destination definition calls that were used only to get the icon. (#21608) 2023-01-19 16:37:26 -05:00
Alex Birdsall
af5843add3 🪟 ☁️ Free alpha/beta connectors pills (#21564)
* check email verification status for real

* Clean up useFreeConnectorProgram

- rename the function to match its filename
- check the experiment within the hook, not at every call site

* add free tag to release stage badge

* Fix ReleaseStageBadge's useFreeConnectorProgram usage

* Add isEnrolled to useFreeConnectorProgram

* Add free pills SVG to enrollment modal header

* Make ReleaseStageBadge show free tag based on prop

Co-authored-by: josephkmh <joseph@airbyte.io>
2023-01-19 20:36:21 +00:00
Alex Birdsall
934ecfa728 🪟 🔧 ☁️ Check email verification status for free connector enrollment (#21514)
* check email verification status for real

* Extract email verification error handling to hook

* Move enrollmentModal's text copy to cloud locale

* Make FCP enrollment modal aware of email verification status

* Clean up useFreeConnectorProgram

- rename the function to match its filename
- check the experiment within the hook, not at every call site

* Update FCP modal for users with unverified emails
2023-01-19 11:50:27 -08:00
Edmundo Ruiz Ghanem
d902a750b6 Disable auto-detect schema notifications settings (#21613) 2023-01-19 18:39:01 +00:00
Joey Marshment-Howell
9ca9d470f7 🪟 🎨 [Free connectors] adjust enrollment modal copy (#21611) 2023-01-19 18:12:26 +00:00
Lake Mossman
492a422d8b [Connector Builder]Add ability to convert from YAML manifest to UI (#21142)
* save

* save more progress

* try setting values directly

* toggle editor

* fix primary key

* enforce consistency in name and primary key

* refactor conversion method to be more readable

* save progress

* allow custom input keys to be used for inferred auth values

* fix isMatch bug and remove console logs

* fix type issues with reflect

* properly handle undefined

* format schema and gracefully handle non-inline schemas

* verify no custom components

* refactor and fix request options type

* rest of refactor

* move manifest to builder form conversion logic into its own file, and handle inferred input overrides properly

* convert substream slicers

* restore warning modal for switching back to UI

* remove console logs

* remove unneeded traceback filtering

* set http method when converting to manifest

* remove commented import

* add unsupported fields to builder form values

* save check stream values from manifest

* save progress

* add more tests

* save record filter in unsupported fields

* use type coersion instead of yaml strings
2023-01-19 17:57:15 +00:00
Lake Mossman
31d7eb39c5 move start/end time options out of optional block (#21541) 2023-01-19 08:47:26 -08:00
Joey Marshment-Howell
9a6831378d 🪟 🎨 [Free connectors] Update modal copy (#21600) 2023-01-19 16:03:55 +00:00
Vladimir
7f33f39809 🪟 🚦 E2E tests: clean up matchers (#20887)
* improve serviceTypeDropdownOption selector

* add test ids to PathPopout component(s)

* add unique id's to table dropdowns

* extend submitButtonClick to support optional click options

* update dropdown(pathPopout) matchers

* add test-id to Overlay component

* remove redundant function brackets

* revert changes onSubmit button click

* fix dropDown overlay issue

* move all duplicated intercepters to beforeEach

* add test id's to Connections, Sources and Destinations tables

* add table helper functions

* update source page actions

* intercepter fixes

* update createTestConnection function with optional replication settings

* remove extra Connection name check

* replace "cypress-postgres" with "pg-promise" npm package

* update cypress config

* Revert "update createTestConnection function with optional replication settings"

This reverts commit 8e47c7837b.

* Revert "remove extra Connection name check"

This reverts commit dfb19c7dd4.

* replace openSourceDestinationFromGrid with specific selector

* replace openSourceDestinationFromGrid with specific selector

* turn on test

* add test-id's

* fix selectors

* update test

* update test snapshots

* fix lost data-testid after resolve merge conflicts

* remove extra check

* move clickOnCellInTable helper to common.ts file

* remove empty line and comments

* fix dropdownType

* replace partial string check with exact

* extract interceptors and waiters to separate file

* fix selector for predefined PK

* fix selector

* add comment regarding dropdown
2023-01-19 17:21:01 +02:00
Yatsuk Bogdan
ceb8a70a1b Fixes webhook updating logic (#21519) 2023-01-19 09:10:50 +02:00
Krishna (kc) Glick
5654ef6135 Add connection list filtering to the frontend based on a set of sources or destinations (#21119)
* Update listWorkspaceStandardSyncs to support lists of sources/destinations

* Update API spec

* Implement the connections list filtering for a set of sources or destinations

* Minor pluralization fix

Co-authored-by: Jimmy Ma <jimmy@airbyte.io>
2023-01-18 20:38:07 +00:00
Krishna (kc) Glick
434d8a1388 Filter connections list on source or destination item pages (#21027)
* Adds filtering to the source and destination item pages, as well as cleans up some excess API calls.

* Don't need the Partial<>

* console.log cleanup

* We need to load sources and destinations here so the add source/destination button has the right data available.

* Fixing build w/ master merged in
2023-01-18 15:07:48 -05:00
Teal Larson
d28792836d 🪟 🎉 Free Connectors Program large enrollment callout (#21369)
* genericize alert component

* add className prop to alert

* rename infobox "callout", swap in place for scss module

* fix imports

* use callout in place of alert

* add blue variant, remove icon prop

* remove single use prop, use a classname instead

* WIP

* WIP: i18n is mad

* add render logic

* make i18n happy

* create a hook instead

* make structure more like other experiments

* cleanup from rebase

* cleanup

* one more cleanup bit

* use experiment hook

* use button instead of span for enroll link

* remove unneeded important

* don't show during connector setup (yet)

* implement api data

* bold text, remove redundant function declaration, check experiment status in hook

* use callout in place of alert

* WIP

* styling

* fixes from rebase

* remove unused EnrollLink component

* cleanup from rebase

* use modal

* use api info for conditional render

* use inverseColor for text, add inverseColor to heading, use same padding for both

* fix build

* add back conditional render check

* remove usage of useExperiment into the hook

* cleanup whitespace change
2023-01-18 14:03:55 -05:00
Krishna (kc) Glick
747d15fbf4 The destination definition was already available from the connection form service, no need to make the call again. (#21207) 2023-01-18 18:57:48 +00:00
Teal Larson
115144bd47 🪟 🎉 Free Connectors Program inline enrollment callout (#21315)
* genericize alert component

* add className prop to alert

* rename infobox "callout", swap in place for scss module

* fix imports

* use callout in place of alert

* add blue variant, remove icon prop

* remove single use prop, use a classname instead

* WIP

* WIP: i18n is mad

* add render logic

* make i18n happy

* create a hook instead

* make structure more like other experiments

* fix import order

* cleanup from rebase

* cleanup

* one more cleanup bit

* use new variant name

* pointer

* use experiment hook

* use button instead of span for enroll link

* remove unneeded important

* remove even more css

* hook up enrollment modal

* don't show during connector setup (yet)

* implement api data
2023-01-18 17:45:05 +00:00
Edmundo Ruiz Ghanem
a0b6b9c13e 🪟 🔧 Move connection views and CreateConnection component to components/connection (#21324)
* Move ConnectionForm from views to components/connection
Move FormCard to components/connection/ConnectionEditFormCard
Move CollapsibleCard to components/ui

* Move CreateConnection to components/connection

* CreateConnection -> CreateConnectionForm
2023-01-18 16:47:54 +00:00
Krishna (kc) Glick
fa3e53a1eb Fix table alignment issues in new streams table (#21425)
* Add padding

* Destination Header section scales

* destination section has its own specific styling not shared with the destination + icon. Removed unnecessary loading of source and destination definitions
2023-01-18 15:49:52 +00:00
Baz
4ade1dad88 🎉 Source Shopify: unblock for all workspaces (#21439) 2023-01-18 16:49:52 +02:00
letiescanciano
fcf193db16 🪟 🔧 Update Segment script (#21491)
We weren't using the latest version of the snippet and because of that
we are not able to send data correctly to some destinations that
requires cloud mode (eg. Hubpsot actions)
2023-01-18 15:29:42 +01:00
Edmundo Ruiz Ghanem
c248377795 Update catalog diff modal confirm label to 'OK' (#21520) 2023-01-18 14:27:29 +00:00
Mark Berger
babe755c7c Add missing info tooltips to new streams table headers (#21272)
* Add missing info tooltips to new streams table headers

- Added info tooltips to the new streams table headers
2023-01-18 16:26:07 +02:00
Joe Reuter
3dea132c2e Connector builder: Fix record scrolling (#21392)
* fix spacing

* set size of tab text in testing panel

Co-authored-by: lmossman <lake@airbyte.io>
2023-01-18 10:05:56 +01:00
Augustin
84c37cec74 airbyte-webapp: use the supported field to define supportsNormalization (#21472) 2023-01-17 16:09:00 -08:00
Joe Reuter
244007195e fix race condition (#21378) 2023-01-17 13:42:40 -08:00
Alex Birdsall
c830b7f646 🪟 🔧 Add api handlers for free connectors program (#21414)
* Add client function for cloud free connector info API

* Encapsulate `showEnrollmentUi` in hook, add stub `needsEmailVerification`
2023-01-17 12:17:54 -08:00
Joey Marshment-Howell
b58a95167d 🪟 🎉 Free connector program enrollment modal (#21396) 2023-01-17 15:25:25 +00:00