-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move from rest-hooks to react-query (#11524)
* Refactor sync and rest connections calls * Refactor connections store to react-query * Fix imports * Refactor workspaces to react-query * Remove SourceDefinition and DestinationDefinition resources * Refactor Source and Destination resources * Move discover_schema request to react-query * Remove rest-hooks specific code * Fix lint errors * Fix lint * Update package.lock * Disable refetch * Minor code update * Fix wrong port * set initialSetupComplete for /get request in e2e * Add query mocks * Use completed setup prop instead of true * Fix e2e assignment Co-authored-by: Tim Roes <tim@airbyte.io> * Add invalidation scopes * Remove not required invalidation Co-authored-by: Tim Roes <tim@airbyte.io>
- Loading branch information
Showing
94 changed files
with
1,716 additions
and
2,248 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
airbyte-webapp-e2e-tests/cypress/support/commands/workspaces.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
import { addDecorator } from "@storybook/react"; | ||
|
||
import { withProviders } from "./withProvider"; | ||
import { MockDecorator } from "./restHooksDecorator"; | ||
|
||
addDecorator(withProviders); | ||
addDecorator(MockDecorator); | ||
|
||
export const parameters = {}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.