-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
colw/api-improve-loading-speed (#3080)
* Remove unwanted data from validator query * Only load rewards on open * Poll for rewards every minute * createPersistedQueryLink to send optimistic hash * Skip queries until ActionModal is opened * Rename modal queries for clarity * Only retrieve rewards in Withdraw modal * Lint * Lint and name modal queries * Add comment explaining createPersistedQueryLink * Update test * snapshots * Failing tests on ActionModal * Remove async from function * Action modal tests * Update feature check in ActionModal * Test e2e config update * Update again * Lint * More lint * update backend repo checkout * Uncomment Delegations e2e test * Show loading for validators * Show loading indicator for validators page * Lint * Export SentryDSN property * Update snapshot * Test failing e2e - Button is disabled if delegations aren't loaded * Fix e2e test, data-name selector * Revert "Test failing e2e" c87cc8c * Remove duplicate config key * Update e2e test data property * Await next block * Remove loading state * Update PageValidator snapshot * Update snapshot * Remove unused error state * A small hack to account for a delay in the node TODO: Find a cleaner, server side solution. * Change operator name * Fabo/force network loading for refetch queries (#3111) * some fixes * fixed fetching and caching issues * fixed tests * better failing of e2e tests * renaming * lint * adding log to wait for API * fix totalStake query * fix api query again * switch to local testing * clear cache for transactions * clear undelegations cache * fix typo * remove log * Apply suggestions from code review
- Loading branch information
Showing
38 changed files
with
1,192 additions
and
399 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -18,5 +18,5 @@ export default { | |
|
||
graphqlHost: graphql, | ||
|
||
e2e: process.env.VUE_APP_E2E | ||
e2e: process.env.VUE_APP_E2E || false | ||
} |
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
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
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.