vega-frontend-monorepo/apps/trading
Joe Tsang 205f4124f1
Test/deal ticket tests (#161)
* scaffold dealticket package, remove trading views from react-helpers

* add deal ticket component, add intent utils, expand dialog and form group styles

* add splash component, show market not found message if market doesnt exist

* tidy up error handling

* add handleError method for vega tx hook

* add better testname for provider test, flesh out tests a bit more for deal ticket

* Add unit tests for useVegaTransaction and useOrderSubmit hooks

* add wrapper component for order dialog styles

* add vega styled loader to ui toolkit and use in order dialog

* add title prop to order dialog

* split limit and market tickets into own files

* add button radio component

* revert dialog styles

* move splash component to ui-toolkit, add story

* convert intent to enum

* Make button always type=button unless type prop is passed

* inline filter logic for tif selector

* add date-fns, add datetime to helpers

* add order types to wallet package, make price undefined if order type is market

* use enums in deal ticket logic

* tidy up order state by moving submit and transaction hooks out of deal ticket

* add comment for dialog styles

* remove decimal from price input

* add types package, delete old generated types from trading project

* rename types package to graphql

* update generate command to point to correct locations

* fix use order submit test

* BDD and navigation tests passing

* Remove commented steps

* Steps up to placing order

* Date picker and date-fns update

* Vega connector wallet tests

* Passing up to request sent, updated date picker

* Tests for sell orders and errors

* Update market feature

* Fix failing tests

* Update wallet login

* Readded tx hash assertion and remaining tests

* Add CI wallet import

* Update .github/workflows/cypress.yml

Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>

* Resolved PR comments

* Fix yaml error

* Attempt to fix failing tests in CI

* Run Cypress in Chrome

* Add reload if public key error displayed

* Fix wallet name

* Add force click and waits

* Increase timeout for deal ticket page

* Removed network list from yaml and using input error id

* Increase timeout to 8 seconds

* Re add deleted test id

Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
2022-04-04 16:11:27 +01:00
..
components Test/deal ticket tests (#161) 2022-04-04 16:11:27 +01:00
hooks colocate querys with libs 2022-03-29 15:52:51 -07:00
lib [#128] Add market data details to positions query 2022-03-29 19:13:00 +02:00
pages Test/deal ticket tests (#161) 2022-04-04 16:11:27 +01:00
public Create a Mono-repo for DeFiUI + ui toolkit using nx 2022-02-11 15:02:11 +01:00
specs Feat/84 Order list (#89) 2022-03-23 12:08:10 -07:00
.env Fix/Typos in Infura env var 2022-03-25 08:54:31 -07:00
.env.devent Fix/Typos in Infura env var 2022-03-25 08:54:31 -07:00
.env.mainnet Fix/Typos in Infura env var 2022-03-25 08:54:31 -07:00
.env.stagnet1 Fix/Typos in Infura env var 2022-03-25 08:54:31 -07:00
.env.stagnet2 Fix/Typos in Infura env var 2022-03-25 08:54:31 -07:00
.env.testnet Fix/Typos in Infura env var 2022-03-25 08:54:31 -07:00
.eslintrc.json colocate querys with libs 2022-03-29 15:52:51 -07:00
index.d.ts Create a Mono-repo for DeFiUI + ui toolkit using nx 2022-02-11 15:02:11 +01:00
jest.config.js Feat/84 Order list (#89) 2022-03-23 12:08:10 -07:00
next-env.d.ts Create a Mono-repo for DeFiUI + ui toolkit using nx 2022-02-11 15:02:11 +01:00
next.config.js add dialog to ui-toolkit, add functionality to provider to render connect dialog and connectors ui 2022-03-10 20:51:05 -08:00
postcss.config.js Extract tailwindcss config to libs 2022-02-23 16:29:07 -08:00
project.json #29 Add market-list-table 2022-03-18 13:13:14 +01:00
setup-tests.ts Feat/84 Order list (#89) 2022-03-23 12:08:10 -07:00
tailwind.config.js Added custom module for classes that aren't in Tailwind - allows us to use contextual alternates for Alpha Lyrae 2022-03-30 16:56:48 +01:00
tsconfig.json Task/Strict mode enabled for trading app (#150) 2022-03-28 12:34:45 -07:00
tsconfig.spec.json Create a Mono-repo for DeFiUI + ui toolkit using nx 2022-02-11 15:02:11 +01:00