Commit Graph

194 Commits

Author SHA1 Message Date
Matthew Russell
313e6e1217
Feat/63 Deal ticket (#82)
* 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

* use intent shadow helper

* remove date-fns and format manually, update submit button error to use input-error

* remove stray console.log
2022-03-17 12:35:46 -07:00
Matthew Russell
d9e57f6694
Add subscription link for graphql client 2022-03-16 12:38:04 -07:00
Bartłomiej Głownia
8a829964be
Feature/38 data grid component (#77)
* Add ag-grid

* Add lazy loaded ag-grid component

* Add theme context, move VegaWallet to separate lib

* Fix trading app cypress configuration

* Lazy load ag-grid theme css files

* Encapsulate theme switch hook
2022-03-14 14:18:11 +01:00
Matthew Russell
a47e4526bb fix vega connect button alignment 2022-03-10 20:51:05 -08:00
Matthew Russell
59d0beebe2 add current key selector, fix revoke token/disconnect 2022-03-10 20:51:05 -08:00
Matthew Russell
ff24a4a3ba add dialog to ui-toolkit, add functionality to provider to render connect dialog and connectors ui 2022-03-10 20:51:05 -08:00
Bartłomiej Głownia
9429f33730 Add filename-case eslint rule 2022-03-08 15:51:18 +01:00
Bartłomiej Głownia
8905ee5ba1 Add storybook/addon-a11y 2022-03-07 13:57:06 -08:00
Bartłomiej Głownia
f048ec2cd5 Add blueprint icons 2022-03-07 13:57:06 -08:00
Dexter
d75218afa6 add sentry 2022-03-07 11:28:08 -08:00
sam-keen
e981b8c7fa Moved to use syntax-highlighter instead of prism 2022-03-04 17:11:56 +00:00
sam-keen
67dc1bfbf1 Created unstyled block explorer transaction and added Prism for code blocks being displayed 2022-03-04 17:11:56 +00:00
Matthew Russell
eed2f08bc9 use already installed lodash.debounce, destructuring 2022-03-02 12:21:35 -08:00
Matthew Russell
a66ac23122 use radix for tab functionality 2022-03-02 12:21:35 -08:00
Matthew Russell
62187b38dd add hook to get window size 2022-03-02 12:21:35 -08:00
Matthew Russell
d1bf044d3d add pages extends so generated query files are ignored by nextjs 2022-03-02 12:21:35 -08:00
Joe
6a8778becd Fix for .env not picked up and Cypress update 2022-03-02 16:25:48 +00:00
jtsang586
b246a92233 BDD set up 2022-03-02 16:25:48 +00:00
Dexter
5a2f806242 add nx as dev dep 2022-03-02 12:21:58 +00:00
Matthew Russell
6ee4a4da72 make navbar use tailwind, remove nx html 2022-02-23 18:08:31 -08:00
Bartłomiej Głownia
30761f2b9d Setup tailwind.css 2022-02-23 16:29:07 -08:00
Dexter
444941e169 json blocks 2022-02-23 08:53:57 +00:00
Dexter
98426f94f8 fix blocks page 2022-02-23 08:53:57 +00:00
Dexter
61f9933214 uuid fix 2022-02-23 08:53:57 +00:00
Dexter
7d5ee75610 add apollo target nx script and run 2022-02-23 08:53:57 +00:00
Dexter
6c70328bb6 apollo generating correctly from root 2022-02-23 08:53:57 +00:00
Dexter
2014831650 add debounced search functionality 2022-02-23 08:53:57 +00:00
Dexter
159cdb6023 migrate stuff into new NX 2022-02-23 08:53:57 +00:00
Bartłomiej Głownia
ddc1fb988a Add .nvmrc and engine, set node version to 16.14.0 2022-02-17 13:43:41 +01:00
Bartłomiej Głownia
8a09f57bd4 Fix build and lint errors 2022-02-14 17:16:21 +01:00
Bartłomiej Głownia
c4ff63adf6 Add husky and lint-staged 2022-02-11 16:06:24 +01:00
Bartłomiej Głownia
355de1a32f Create a Mono-repo for DeFiUI + ui toolkit using nx 2022-02-11 15:02:11 +01:00
Bartłomiej Głownia
1244d1be80 move all files to libs/ui-toolkit 2022-02-11 13:18:34 +01:00
Dexter
5c70b58a99 bump 2021-12-16 12:43:05 +00:00
Dexter
353e7c8991 add test coverage 2021-12-14 13:16:18 +00:00
Dexter
9f6343a9f6 add some basic tests 2021-12-14 12:15:19 +00:00
Dexter
4cc0f28708 update package 2021-12-14 11:40:54 +00:00
Dexter
9bef1025a4 build before publish 2021-12-14 11:32:47 +00:00
Dexter
375625f962 bump 2021-12-14 10:55:51 +00:00
Dexter
fd2fd3e733 remove private 2021-12-13 10:31:55 +00:00
Dexter
391bc6d490 rename package 2021-12-13 10:27:07 +00:00
Dexter
dba238315a add build logic 2021-09-15 20:46:10 +01:00
Dexter
f2af09b9ad basic storybook app with a couple of component from TFE 2021-09-15 19:52:57 +01:00
Dexter
33ad5a8ba2 Initialize project using Create React App 2021-09-15 18:27:17 +01:00