vega-frontend-monorepo/libs/orders
Matthew Russell a5f9ed90e8
Fix/Order dialog state (#850)
* feat: remove dialog state handling from dialog and split out edit dialog

* feat: add complete state to use-vega-transaction, fix cancel dialog

* feat: add custom dialog content for order submission

* feat: handle custom title and custom intent

* feat: separate components, make order dialog wrapper more generic

* feat: remove dialog wrapper and add icon to dialog

* chore: remove other dialog wrappers and use icon and title props on main dialog

* chore: adjust default color of dialog text

* fix: tests for tx dialog and vega tx hook

* fix: order edit and cancel hook tests

* chore: add edit dialog to stories

* fix: e2e test for deal ticket

* feat: return dialog from hook

* refactor: add use-order-event hook to dedupe bus event logic

* refactor: add custom title and intent to order submit dialog

* chore: remove console logs

* fix: type error due to component being named idalog

* chore: add helper function for converting nanoseconds

* chore: remove capitalization text transform to dialog titles

* chore: remove unused import

* feat: handle titles and intents for cancel and edit

* chore: remove unused var
2022-07-26 14:35:30 +01:00
..
.storybook Chore/657 refactor wallet and orders libs (#709) 2022-07-13 15:23:46 +01:00
src Fix/Order dialog state (#850) 2022-07-26 14:35:30 +01:00
.babelrc Chore/657 refactor wallet and orders libs (#709) 2022-07-13 15:23:46 +01:00
.eslintrc.json Chore/657 refactor wallet and orders libs (#709) 2022-07-13 15:23:46 +01:00
jest.config.js Chore/657 refactor wallet and orders libs (#709) 2022-07-13 15:23:46 +01:00
package.json Chore/657 refactor wallet and orders libs (#709) 2022-07-13 15:23:46 +01:00
postcss.config.js Chore/657 refactor wallet and orders libs (#709) 2022-07-13 15:23:46 +01:00
project.json Chore/657 refactor wallet and orders libs (#709) 2022-07-13 15:23:46 +01:00
README.md Chore/657 refactor wallet and orders libs (#709) 2022-07-13 15:23:46 +01:00
tailwind.config.js Chore/657 refactor wallet and orders libs (#709) 2022-07-13 15:23:46 +01:00
tsconfig.json Chore/657 refactor wallet and orders libs (#709) 2022-07-13 15:23:46 +01:00
tsconfig.lib.json Chore/657 refactor wallet and orders libs (#709) 2022-07-13 15:23:46 +01:00
tsconfig.spec.json Chore/657 refactor wallet and orders libs (#709) 2022-07-13 15:23:46 +01:00

Orders

This library was generated with Nx.

Running unit tests

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