* Add new eslint rules that fit with our code style and downgrade rules to warn
* allowExpressions in fragment eslint rule
* Enable function-component-definition in eslint and fix styles
* Cleanup lint file
* Fix react/function-component-definition warnings manually
* Add more auto-fixable rules and fix
* Fix functions that require usless returns
* Update array-type rule to array-simple
* Fix eslint errors manually
disable assignmentExpression for arrays in prefer-destructuring rule
* Auto fix new linting issues after rebase
* add eslint-plugin-css-modules rules
* Fixes:
- turn on eslint css modules rule as error
- remove unused styles
* add warning message if styled components is used
* Revert "add warning message if styled components is used"
This reverts commit 4e92b8b211.
* replace rule severity with words
* First pass accepting email link invitation
* Update Auth service with signInWithEmailLink calls
* Add AcceptEmailInvite component
* Update FirebaseActionRoute to handle sign in mode
* Rename ResetPasswordAction to FirebseActionRoute
* Add create password setp to AcceptEmailInvite component
* Remove continueURL from invite fetch
* Update accept email invite for user to enter both email and password together
* Set name during email link signup
* Update AcceptEmailInvite to send name
* Add updateName to UserService
* Update AuthService to set name during sign up
* Remove steps from AcceptEmailInvite component
Remove setPassword from AuthService
* Add header and title to accept invite page
* Move invite error messages to en file
* For invite link pages, show login link instead of sign up
* Disable name update on sign in via email lnk
* Resend email invite when the invite link is expired
* Fix status message in accept email invite page
* Re-enable set user's name during sign up email invite
* Update signUpWithEmailLink so that sign up is successful even if we fail to update the user's name
* Update comments on GoogleAuthService signInWithEmailLink
* Add newsletter and accept terms checkboxes to accept email invite component
* Extract signup form from signup page
* Extract fields from signup form
* Update accept email invite component to use field components from signup form
* Ensure that sign up button is disable until form is valid and security checkbox is checked
* Make error status text color in accept email link red
* Update workspace check in DefaultView so that user lands in workspace selector when there are no workspaces
* Add coment around continueUrl param usage in UserService
* Remove usless default case in GoogleAuthService
* Display Connection State in Setting page
* memoize callback
* rendering and confirmaton
* setState API
* Input validation
* remove JSON step
* rename apiMethod to `updateState`
* test and adjust route
* skip if sync is running
* prevent state update when sync is running
* code editor component
* errors fixed
* scss style
* make linter happy
* Back to monaco editor
* Remove ability to edit state
* Adjust FE code
* Fix CSS problem
* Update airbyte-webapp/src/locales/en.json
Co-authored-by: Edmundo Ruiz Ghanem <168664+edmundito@users.noreply.github.com>
* just use PRE to render state for now
Co-authored-by: Tim Roes <tim@airbyte.io>
Co-authored-by: Edmundo Ruiz Ghanem <168664+edmundito@users.noreply.github.com>
* Update connection updates with build update utility
* Add buildConnectionUpdate utility
* Update components that update the connection to use utility when necessary
* Use conection name when saving connection from replication view to prevent override from refreshed catalog
* Improve connection check on ReplicationView onSubmit function
* Add updated color palette to SCSS and theme
* Migrate current color palette to new colors
* Add border and spacing variables
* Remove legacy color mapping from scss side
* 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
* Update form tracker to track TransformationForm instead of parent form
* Update Setup connection icon to be disabled while creating or editing a transformation
* Add properties to track start/end editing in TransformationField
* Bubble up prop tracking to ConnectionForm
* Update CreateControls submit button to disable when form is not valid or a transformation is editing
* Update TransformationForm to clear form tracking when canceling edit.
* Disable save button while adding or editing a custom transformation in transformation page
* Update FormCard to be able to disable submit button and disable if form is not valid
* Update TransformationView to track if transformation is edited to enable and disable submit button
* fix bottom margin on create source/destination pages
* Add padding to bottom and convert styles to scss
* replace icon style with scss
* add side margin to pages and change style to scss
* move repeated bottom margin size to variable
* Update updateConnection calls to include connection name
Update updateConnection calls in ConnectionName component to include all required fields
* Ensure that edit connection name sends update once
* ugly but works
* make it prettier
* move StreamHeader to scss modules, add CatalogSection scss
* better... todo: spacing between rows, border radii
* fix size/spacing to match figma
* bug fix - page title
* only show on edit mode
* improve spacing of header rows
* fix styling for dropdown section
* adjust styles for readonly mode
* Changes from PR review
* justify flex-end instead of end
* turn on "curly" rule
* set a loading state for 'Cancel' button if user clicked
* extend ToolTip component to support 'not-allowed' cursor
* disable 'Reset data' and 'Sync now' buttons if sync is in 'pending' or 'running' status
* set loading state and disable buttons in ResetDataModal if reset process is launched
* extend ToolTip component - shoe desired cursor type when tooltip is active
* refactored: control tooltips showing this props
* replace functions call in jsx with components
* add style for loading 'danger' button
* minor improvements - use ternary operator conditionally setting the desired text
* set loading state to 'false' if async action has failed
* extend ConfirmationModal - to support optional cancelButtonText prop
* extend useLoadingState component - to show an error notification if async action is failed
* show notification message on top
* replace using ResetData modal with default text with useConfirmationModalService
* replace ResetDataModal (refresh schema) with useConfirmationModalService
* remove obsolete ResetDataModal component
* updated tests
* replace ResetDataModal (changed column) with useConfirmationModalService
* Update error occurred view with updated design
Add the ability to set CTA button text and click handler
Migrate to SCSS module
Signed-off-by: Edmundo Ruiz Ghanem <edmundo@airbyte.io>
* Move error view title string to en file
* Remove navigation stuff from BaseClearView because it's no longer used
Update error views to have go back cta
* Update errorView.title from three dots to ellipsis
Co-authored-by: Tim Roes <tim@airbyte.io>
* Remove alt text from ErrorOccurredView image
Co-authored-by: Tim Roes <tim@airbyte.io>
* Crop biting-nails img and update style
Co-authored-by: Tim Roes <tim@airbyte.io>
* Allow overwriting i18n messages via LaunchDarkly
* add string type check
* Add unit tests
* Change to have locale part of user attributes
* Add test for strong tags
* Disable form inputs while testing and saving source and destination
* Replace delete button in EditorRow with real button
* Fix input disabled state so it doesn't hover on disable
* Disable TagInput hover state when disabled