* Update README with instructions
* Prevent test failures from intentionally-thrown errors
* Rephrase cypress open instructions in README
* Add CI repro documentation
* Added an e2e test: creates a connection, then edits the schedule type
* Schedule types successfully tested!
* Removing .only
* Prefix testing
* Analytics calls fire as expected
* Strict connection save check for schedule type
* better check
* Fixing failing tests
* Lake CR
* Update airbyte-webapp-e2e-tests/cypress/integration/connection.spec.ts
* Can't test
* make tests more reliable
* switch back to localhost
* run test 100 times
* pass props through to Text element
* ensure names are unique from one test run to the next
* fix test result check
* display error messages if they exist
* get it working with styled components first
* migrate to scss module
* use variables and text component
* add data-id back for cypress
* cleanup from pr review
* feat: added cron field to connections form
* fix: tests are failing for formConfig
* fix: made changes requested
* fix: tests are failing for formConfig
* fix: tests are failing for formConfig
* fix: tests are failing for formConfig
* fix: tests are failing in cypress
* fix: merge conflicts
* fix: tests are failing
* fix: validation error for formik fields
* fix: tests are failing
* fix: tests are failing
* Update airbyte-webapp/src/views/Connection/ConnectionForm/components/ScheduleField.tsx
Co-authored-by: Krishna (kc) Glick <krishna@airbyte.io>
* Update airbyte-webapp/src/views/Connection/ConnectionForm/components/ScheduleField.tsx
Co-authored-by: Krishna (kc) Glick <krishna@airbyte.io>
* fix: make the requested changes
* fix: tests are failing
* fix: tests are failing
* feat: added cron test for the string
* Update airbyte-webapp/src/views/Connection/ConnectionForm/formConfig.test.ts
Co-authored-by: Lake Mossman <lake@airbyte.io>
* fix: error message for invalid cron string
Co-authored-by: Krishna (kc) Glick <krishna@airbyte.io>
Co-authored-by: Lake Mossman <lake@airbyte.io>
* exclude webapp from spotless styling
* also exclude airbyte-webapp-e2e-tests
* add comma
* add prettier to airbyte-webapp-e2e-tests
* run prettier on airbyte-webapp-e2e-tests
* refractor: use scheduleData instead of schedule for connection
* refractor: move away from ConnectionSchedule type
* fix: make the requested changes
* fix: send schedule in create connection call
* fix: use scheduleData and scheduleType completely
* fix: use scheduleData instead of schedule
* add new Configs for multi-cloud
* add api endpoints for setting workflow attempt id and createOrUpdate state
* update activities to call APIs instead of persistence
* workerApp refactor to separately initialize control or data plane dependencies
* modify syncWorkflow to call new activity that decides which task queue for data plane tasks
* misc to get build working
* move StateConverter to worker, so that server and worker can both access without needing to introduce any new dependencies
* update configs - remove extranneous helpers, clarify naming and comments, removed COMBINED value
* forgot to actually remove COMBINED enum value, this removes it
* add WorkerApp todo for breaking API Client into a scoped client
* rename decideTaskQueueActivity var to routeToTaskQueueActivity
* pr comments
* naming fix
* refactor secretHydrator instantiation
* WorkerApp PR feedback: move API client logic to separate class, use updated configs, etc
* add a RouterService class that is injected into RouteToTaskQueueActivityImpl
* AttemptApi cleanup and added unit test coverage
* fix confusion between AttemptId and AttemptNumber in new AttemptApi
* remove unused getDataPlaneSecretsHydrator
* remove unused import
Co-authored-by: Xiaohan Song <xiaohan@airbyte.io>
* save
* clean up more usages and remove withRefreshedCatalog
* make webapp use correct endpoint
* add back intercept
* fix acceptance test
* fix log
* remove 'new' from test name
* remove sub-1-hour frequency options, and add current connection frequency to dropdown
* fix e2e test
* add additional frequency to end of options instead of beginning
* use better jest expect methods
* refactor getFrequencyConfig util function to just use connection schedule values
* move frequencyConfig to a TS file and remove unnecessary type field
* use named export
Co-authored-by: Tim Roes <tim@airbyte.io>
* [WIP] new per stream flow
* Start work on ModalSerice
* Continue work
* Fix typo
* Change wording
* Add todos and remove dead code
* Remove dead message
* Adjust to new API
* Adjust to new modal changes
* Remove debug output
* Fix e2e test
* Add data-testids
* Adjust for PR review
* Switch to new ModalFooter/Body components
* Add ModalService tests
* Downgrade user-events again
* Only compare selected streams
* Update airbyte-webapp/src/locales/en.json
Co-authored-by: Andy Jih <andyjih@users.noreply.github.com>
* Update airbyte-webapp/src/locales/en.json
Co-authored-by: Andy Jih <andyjih@users.noreply.github.com>
* Remove redundant space
Co-authored-by: Andy Jih <andyjih@users.noreply.github.com>
* align text to center in edit mode
* fix firing onChange event twice
* fix wrong prop drilling
* fix issues:
- unable to delete last chart in input
- delete the whole name by 'select all' command
- trim entered names
- don't allow to save empty names
* remove debug from test
* remove unused import
* update tests due to changes in base Input component
* reorder default input data-testId in order to have ability to overwrite it
* fix e2e tests
* Improvements:
- replace "props: any" with right types
- rename 'addEnterEscFuncForInput' to more general and self-describable name
* replace styled components with scss modules
* add eslint-plugin-css-modules rules
* Fixes:
- turn on eslint css modules rule as error
- remove unused styles
* minor fix after master merge
* Revert "Fixes:"
This reverts commit d7fb68abc6.
* Revert "add eslint-plugin-css-modules rules"
This reverts commit 0333a70108.
* apply suggested changes after PR review
* add updates due to changes in PR #13914
* add react-app-rewired to tweak webpack config and fix the css order issue
* remove test flag "CI=true"
* Revert "add react-app-rewired to tweak webpack config and fix the css order issue"
This reverts commit 81d7ba42
* Update frequency cell in connection table to return Manual when manual sync
* Move frequency labels to en.json
* Update frequencyConfig text prop to type
Add getFrequencyConfig utility to correctly find frequency configuration
* Fix testid for createTestConnection dropdown
* Show manual in Replication settings dropdown when schedule is manual
* Split form.every string into minutes and seconds with pluralization
Signed-off-by: Edmundo Ruiz Ghanem <edmundo@airbyte.io>
* Updte testid in update connection test
* feat: connection name can be edited through UI
* fix: changes requested by edmundito
* 1. feat: Added connection name edit in connection settings
2. feat: Added connection name in listing connections page
3. fix: requested changes
* chore: handle UI and e2e tests
* chore: fix e2e tests for webapp
* fix: UI margins
* fix: webe2e tests
* fix: input is not focused when clicked on name
* fix: disable input while making API call
* feat: added enter/esc functionality to connection name edit
* remove documentation link
* remove X from documentation panel
* cleanup hook sending empty string
* documentation panel open by default
* add padding to edit source/destination pages
* clean up styling
* use laptop size viewport
* remove unneeded suspense
* cleanup
* cleanup
* don't show docs or overlay on mobile
* use react-use windowSize
* Record e2e tests to cypress dashboard
* Make env variable accessible in script
* Improve e2e_test script
* Properly wait for server to be ready
* Isolate test suites better
* More test isolation
* Revert baseUrl for development
* Add replication page. Remove connection form from settings
* Fix styles for delete block
* Add transfer form
* Fix transfer
* Remove source and destination icon and name from connection form
* Remove frequency field from edit connection form
* Add transformation view
* Update title for connection page
* Hide transformation page
* Edit search in connection form
* Add CollapsibleCard, FormCard
* Edit columns
* Split connection pages
* Implement core views for new connection form
* Add info tooltip
* Edit sync cell
* Edit styles for checkbox
* Edit radiobutton styles
* Fix styles
* Add toggle
* Extract logs to separate service
* Fix styles for sync mode dropdown
* Bulk fix
* Make namespace definition an optional field
* Implement bulkEdit for syncMode
* Refactor bulk edit. Refactor table components
* Add bulk reset
* Move components to style folder
* Add custom guard for operations
* Replace formatted message with FormattedHtmlMessage
* Minor review comments
* Add ts-expect-error
* Use gap for css
* move files a bit
* Fix issue with unselecting manual sync
* Remove ?? [] condition
* Add message for unsupported operation
* Remove top from tooltip
* Fix e2e tests for connection
* fix update connection e2e test
* Fix e2e tests for connection update
* Do not display options for keys when is not possible
Co-authored-by: Julia Astapenko <julia.chvyrova@gmail.com>