vega-frontend-monorepo/libs/environment
m.ray 8e25108701
Feat/463 vega transaction component links to block explorer (#666)
* chore: [#471] update @vegaprotocol/vegawallet-service-api-client to 0.4.12

* fix: [#471] set up storybook in order-list lib and add tailwind

* fix: [#471] organize order list components

* chore: [471] pull theme switcher changes

* feat: [#471] add cancel order button

* feat: [#471] initial impl of use order cancel hook

* fix: [#471] fix format of the price in order list

* fix: #471 fix static assets issue when merging

* fix:  #471 refactor order dialog to vega tx dialog

* fix: #471 move use cancel order hook in wallet lib

* fix: [#471] cancel order dialog and hook refactor

* fix: [#471] remove commented code from storybook preview and fix test

* fix: [#471] update order-list.tsx

* fix: [#471] fix update subscription - show order is cancelled

* fix: [#471] fix eslint error

* chore: [#471] refactoring and add tests for dialogs and cancel hook

* fix: #471 add ref to order list table

* fix: #471 add field for cancel fix test

* fix: #471 rename vega-order-transaction-dialog, error handiling, open dialog on finalized order

* fix: #471 sendTx body mandatory

* fix: #471 use BusEventType.Order to check the typename

* fix: #471 revert using BusEventType.Order to check the typename

* Update libs/wallet/src/order-hooks/use-order-cancel.tsx

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

* fix: #471  fix order-list refactoring and fixes

* fix: #471 generate orders added as a mock in order-list

* fix: #471 reset transaction after order updated

* fix: #471 remove unused import useEffect

* fix: #471 generate mock orders

* fix: #471 revert generate mock orders

* feat: #463 modify vega dialog to direct you to the block explorer transaction

* feat: #463 modify compile-environment.ts

* fix: #471 order list price set to display all decimals

* fix: #471 generate orders updates

* Update apps/trading/.env

* fix: #463 add test and remove explorer URL from trading/env.ts

* Update apps/trading/lib/config/env.ts

* fix: #463 update trading deal ticket

* fix: #463 fix test to check href

Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
2022-06-29 13:55:49 +01:00
..
src Feat/463 vega transaction component links to block explorer (#666) 2022-06-29 13:55:49 +01:00
.babelrc feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
.eslintrc.json feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
jest.config.js feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
package.json feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
project.json feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
README.md feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
tsconfig.json feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
tsconfig.lib.json feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
tsconfig.spec.json feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00

environment

This library was generated with Nx.

Prerequisites

The environment variables needed to be present for any app consuming this library.

NX_VEGA_ENV is the name of the environment.

NX_VEGA_REST is the REST endpoint for the environment.

NX_VEGA_URL OR NX_VEGA_CONFIG_URL - either the network configuration url or a url to a node to directly connect to

For examples, see Block Explorer's .env files here

Running unit tests

Run nx test environment to execute the unit tests via Jest.