vega-frontend-monorepo/apps/token/src/routes
Sam Keen e0bcfe7bbe
Feat/231-explorer-infinite-loading-blocks (#306)
* Making a start with react-window-infinite-loader for the blocks infinite scrolling

* WIP block explorer infinte scroll

* WIP pairing

* pairing tidying

* Applied refetch url params more cleanly, moved useFetch to react-helpers lib

* Add notice of new blocks created since page load, some cleanup of blocks-infinite-list.tsx component

* Attempting a refresh of the 'new blocks' value in blocks-refetch.tsx

* Correctly updating state based on previous value

* Update libs/react-helpers/src/hooks/use-fetch.ts

Co-authored-by: Matthew Russell <mattrussell36@gmail.com>

* Update libs/react-helpers/src/hooks/use-fetch.ts

Co-authored-by: Matthew Russell <mattrussell36@gmail.com>

* Update apps/explorer/src/app/components/blocks/blocks-refetch.tsx

Co-authored-by: Matthew Russell <mattrussell36@gmail.com>

* Cleanup from convos and PR

* Prettier formatting

* struggling with websocket tests

* struggling with websocket tests

* Progress on websocket tests for blocks-refetch.tsx

* Tests for blocks-refetch

* Tests for blocks-infinite-list

* Scroll test for blocks-infinite-list

* Defined NOOP in blocks-infinite-list.tsx

* Separate web sockets for each test

* Separate web sockets for each test

* Tweaked e2e tests to account for blocks taking longer to load

* fix tests

* Removed nx knowledge of empty simple-trading-app-e2e for now

* mock at use fetch level instead of at fetch level

* fix edge cases and add further tests

* fix failing e2e tests

* rename test

* Update apps/explorer-e2e/src/support/pages/blocks-page.ts

* Update apps/explorer-e2e/src/support/pages/blocks-page.ts

* rename

* test: use explicit wait for rather than times

* style: remove console

* test: correct env file

* Revert "test: correct env file"

This reverts commit d01d3cfa5e.

* think env var is incorrect

* correct env file

* fix flakiness

* add minor wait for test flakiness

* longer timeout

Co-authored-by: Dexter <dexter.edwards93@gmail.com>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2022-05-13 12:03:08 +01:00
..
claim Feat/324 sparkline component (#381) 2022-05-09 18:19:19 +03:00
contracts Feat/224 move token app into monorepo (#229) 2022-04-20 12:37:44 -07:00
governance Feat/231-explorer-infinite-loading-blocks (#306) 2022-05-13 12:03:08 +01:00
home Feat/304 token scss to tailwind - part 1 (#327) 2022-05-09 00:53:02 +01:00
not-found Feat/224 move token app into monorepo (#229) 2022-04-20 12:37:44 -07:00
not-permitted Feat/224 move token app into monorepo (#229) 2022-04-20 12:37:44 -07:00
redemption Feat/324 sparkline component (#381) 2022-05-09 18:19:19 +03:00
rewards Feat/304 token scss to tailwind - part 1 (#327) 2022-05-09 00:53:02 +01:00
staking Feat/324 sparkline component (#381) 2022-05-09 18:19:19 +03:00
tranches renaming test files (#351) 2022-05-12 13:32:14 +01:00
withdraw Fix global types imports in generated files (#386) 2022-05-09 13:14:59 +02:00
withdrawals Fix global types imports in generated files (#386) 2022-05-09 13:14:59 +02:00
index.tsx Feat/224 move token app into monorepo (#229) 2022-04-20 12:37:44 -07:00
router-config.tsx Feat/224 move token app into monorepo (#229) 2022-04-20 12:37:44 -07:00