* fix: #625 update the info market query with new fields
* fix: #625 generate code for info market query and fix pagination being removed from globalTypes
* fix: add id and filter no trading auctions
* fix: add id and format labels
* fix: add name and code to instrument
* fix: add name and code to instrument
* fix: format check
* feat: add settlement asset and mark price
* feat: add liquidity parameters
* fix: remove settings.json
* fix: price instead of mark price label
* fix: add instrument metadata
* fix: remove unused set lodash
* fix: move Liquidity monitoring parameters after price monitoring
* fix: rename instrument metadata to metadata
* fix: settlement asset could be undefined
* Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo into feat/625-market-info-more-details-open-interest-liquidity-ids-risk
* fix: format market id and trading mode label in key details
* fix: display settlement asset if defined
* fix: format trade-grid.tsx
* chore: fix remaning text for large number
* feat: make use max only use account balance, add custom max messages
* fix: withdraw threshold limit display
* fix: assertions in deposit withdrawy e2e tests
* feat: 470 edit orders hook and @vegaprotocol/vegawallet-service-api-client@0.4.14
* fix: 470 add methods for dialog intent and title
* fix: #657 rename order-list lib to orders
* chore: #657 move hooks to orders lib
* chore: #657 vega tx dialog used for order cancellation and order submission
* chore: #657 use client subscribe and unsubscribe on reset, refactor vegatxdialog
* fix: #657 revert script src=./env-config.js ending
* fix: #657 format project.json
* Update project.json
* fix: #657 cancel all subs and async tasks in useffect cleanup function
* feat: #657 styling updates on vega order dialog
* fix: #657 rename set dialog open and awaiting confirmation dialog update
* fix: #657 updates on cancel order id check
* fix: #657 fix vega tx dialog test
* fix: #657 fix cypress trading-deal-tciket test
* fix: #657 fix data-testid market test
* fix: #470 add use order edit hook
* fix: #470 edit order button
* Update libs/orders/README.md
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Update libs/wallet/src/vega-order-transaction-dialog/vega-order-transaction-dialog.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Update libs/wallet/src/vega-transaction-dialog/vega-transaction-dialog.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Update libs/wallet/src/vega-order-transaction-dialog/vega-order-transaction-dialog.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Update libs/wallet/src/vega-order-transaction-dialog/vega-order-transaction-dialog.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* fix: #657 remove the magic string and use the ordertype enum from types package
* fix: #657 guarantee that order.id is present at this point or we need to determine the id of the order
* fix: #657 fix translation in dialog
* fix: #657 rename wallet types, delete ticket query, set finalized order null in submit
* fix: #657 fix deal ticket steps test
* fix: #657 remove settings.json
* fix: #657 use order submit in orders lib
* fix: #470 open edit order modal and update storybook
* feat: #470 edit modals set up
* fix: #463 final modal links to block explorer
* fix: #745 long/short instead of buy/sell
* fix: #657 use only one vega tx dialog
* fix: #657 keep ref of subscription and unsubscribe
* fix: #657 hide cancelled orders
* fix: #657 sub only when id set
* fix: WIP: trying to unsub when order updated
* fix: #745 long/short instead of buy/sell
* fix: ensure observable defined
* fix: #657 remove redundant test
* fix: #470 merge with new order hooks
* fix: #470 fix use-order-edit no red update order-list with code
* fix: #470 invert order show price last in dialog
* fix: #470 able to edit order
* fix: #470 fix dialog transition
* fix: #656#609 show Continuous trading and market state from trade grid header
* fix: #603 filter out rejected markets
* fix: #603 filter out rejected markets
* fix: #470 revert to 17.0.2 react
* fix: #470 revert to 17.0.2 react
* fix: #603 filter out rejected markets & dialog lg width
* fix: #609 show trading mode Continuous Trading and hide market state
* fix: #656 modify order validation to trade when suspended
* fix: #656 fix use order validation tests
* fix: #656 format volume no
* fix: format volume with positionDecimalPlaces
* fix: tests don't need to be async
* fix: md:w-[720px] to prevent dialog overflow
* fix: add market state translations
* fix: imprt type validation props
* fix: #470 working edit submit on GTC not on GTT as it is missing expiresAt
* Update libs/orders/src/lib/order-hooks/use-order-validation.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* Update libs/orders/src/lib/order-hooks/use-order-validation.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* Update libs/orders/src/lib/order-hooks/use-order-validation.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* Update libs/orders/src/lib/order-hooks/use-order-validation.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* Update libs/orders/src/lib/order-hooks/use-order-validation.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* Update libs/orders/src/lib/order-hooks/use-order-validation.spec.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* Update apps/trading/pages/markets/__generated__/Market.ts
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* fix: fix warning messages based on feedback
* fix: capitalize trading mode
* fix: capitalize trading mode
* fix: remove line 72 on markets.cy.ts
* fix: don't show trigger if unspecified
* fix: format last price and shrink 0 on warning icon
* fix: order sizes must be whole numbers for this market and input warning size 20
* fix: order sizes must be whole numbers for this market and input warning size 20
* fix: format market list
* fix: #470 fix expiresAt and price unmarshall values
* fix: #470 fix expiresAt and price unmarshall values
* fix: #470 add extra test on editing order
* fix: pass child react node for order edit on vega tx default
* fix: status and rejection reason optional
* fix: add header transalations and remove commented line
* fix: simplify get list of markets
* fix: check if order.market undefined
* fix: remove cast and check market id
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* feat: add disconnect feature form ethereum wallet
* fix: unit tests
* fix: format
* fix: format
* fix: e2e withdrawal check
* fix: format again
* fix: eth address in e2e
* fix: env var for eth address
* feat(#218): add skip pagination support to data provider
* feat(#218): add new rows after user scroll top
* feat(#218): add pagination/scroll scenarios to storybook
* feat(#218): switch fills to infinite scroll mode
* feat(#218): switch trades to infinite scroll mode
* feat(#218): fix e2e tests
* feat(#218): set rowModelType to infinite
* feat(#218): fix markets-list
* feat(#218): remove totalCount
* feat(#218): remove totalCount from mocks, revert cypress config
* feat(#218): allow null data in data-provider whan using pagination
* feat(#218): add missing hasNextPage, handle only one page scenario
* feat(#218): improve typing in fills, trades ann market-list tables
* chore: make sure etherscan links open in new tab
* fix: format withdrawal amount correctly in table
* fix: switch to use next Link element so page state not lost
* fix: calc deposit max validation using ethereum storage at
* fix: remaining amount in deposits and refetch allowance
* fix: page background in dark mode
* chore: disable autocomplete for ethaddress
* fix: bump ag grid row size so underline is shown on FF
* fix: expect correctly formatted withdrawal amount
* fix: missing react keys in maps
* fix: complete button text in test
* fix: use sentry/react, fix webpack config path
* fix: #603 filter out rejected markets & dialog lg width
* fix: #609 show trading mode Continuous Trading and hide market state
* fix: #656 modify order validation to trade when suspended
* fix: #656 fix use order validation tests
* fix: #656 format volume no
* fix: format volume with positionDecimalPlaces
* fix: tests don't need to be async
* fix: md:w-[720px] to prevent dialog overflow
* fix: add market state translations
* fix: imprt type validation props
* Update libs/orders/src/lib/order-hooks/use-order-validation.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* Update libs/orders/src/lib/order-hooks/use-order-validation.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* Update libs/orders/src/lib/order-hooks/use-order-validation.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* Update libs/orders/src/lib/order-hooks/use-order-validation.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* Update libs/orders/src/lib/order-hooks/use-order-validation.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* Update libs/orders/src/lib/order-hooks/use-order-validation.spec.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* Update apps/trading/pages/markets/__generated__/Market.ts
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* fix: fix warning messages based on feedback
* fix: capitalize trading mode
* fix: capitalize trading mode
* fix: remove line 72 on markets.cy.ts
* fix: don't show trigger if unspecified
* fix: format last price and shrink 0 on warning icon
* fix: order sizes must be whole numbers for this market and input warning size 20
* fix: order sizes must be whole numbers for this market and input warning size 20
* fix: format market list
* fix: remove market state check from markets.cy.ts
* fix: remove market state check from markets.cy.ts
* fix: remove market state check from markets.cy.ts
* Revert "fix: remove market state check from markets.cy.ts"
This reverts commit c9ab55c98a.
* Revert "fix: remove market state check from markets.cy.ts"
This reverts commit be60e56d8a.
* fix: fix markets.cy.ts failing
* fix: fix markets.cy.ts failing
* fix: fix markets.cy.ts failing
* fix: remove extra test from markets.cy.ts
* fix: update extra test from markets.cy.ts
* fix: update extra test from markets.cy.ts
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* feat: add node swicther
* chore: remove hook form from node switcher
* feat: generate apollo types and add tests
* fix: format
* fix: types
* fix: remove redundant wrapper
* fix: layout styles
* fix: add controlled value to radio group
* fix: flaky node hook test
* feat: add custom input for node and more tests
* feat: wip refactor config hook to run on init
* fix: dont open node switcher on init
* fix: lint
* fix: lint
* fix: cache key error
* fix: format
* fix: lint
* feat: validate connected node on init WIP
* chore: refactor useconfig and usenodes
* fix: revert custom node branch changes
* feat: fix config loading errors and custom node handling
* feat: add test for nodes init
* fix: env error states
* fix: add more tests
* fix: format
* fix: lint and format
* fix: mock type in test
* fix: clean up queries
* fix: node block heights
* fix: make git variables optional
* fix: dialog width on lg screens
* feat: improve mobile looks
* fix: format
* fix: remove commented out styles
* fix: use node data url instead of key
* fix: clean up node switcher dialog props
* fix: add missing title and subtitle for dialog
* fix: show confiug load errors
* feat: handle withdrawal limits
* feat: add withdraw limit ui to withdraw form
* chore: lint error
* fix: mock network param query for e2e tests
* fix: wrong translation in tests
* fix: withdrawals test and revert change in text for trade grid elements
* fix: add check for signature length before progressing withdraw
* chore: change tab panel background and spacing
* chore: prevent tabs shiting on click, bg tweak
* chore: adjust chrome layout/spacing
* chore: fix horizontal alignment when accordion chevron rotates
* chore: adjusting bold levels and making market name pink on light theme
* chore: changing white theme header to black background
* chore: re-ordering bottom tabs
* chore: tweaking font sizes
* chore: adjusting dropdown button hover colour
* chore: colour tweaks for accessibility, plus orderbook column widths
* Remove redundant style
Removed 'bg-white' left by error.
* Setting header text to white
* chore: alterative fix to prevent tabs moving
* chore: fixing header font colours
* chore: adding padding to orderbook
* chore: preventing modal close icon from moving on focus
* chore: remove inner shadow from selectbox
* chore: adding padding to orderbook
* chore: preventing @ sign from moving when changing order type
* chore: fix background colour on smaller responsive view
* chore: fix truncated market header on smaller responsive view
* chore: reorder tabs in smaller responsive view to match standard view
* fix: fix broken test
* feat: 470 edit orders hook and @vegaprotocol/vegawallet-service-api-client@0.4.14
* fix: 470 add methods for dialog intent and title
* fix: #657 rename order-list lib to orders
* chore: #657 move hooks to orders lib
* chore: #657 vega tx dialog used for order cancellation and order submission
* chore: #657 use client subscribe and unsubscribe on reset, refactor vegatxdialog
* fix: #657 revert script src=./env-config.js ending
* fix: #657 format project.json
* Update project.json
* fix: #657 cancel all subs and async tasks in useffect cleanup function
* feat: #657 styling updates on vega order dialog
* fix: #657 rename set dialog open and awaiting confirmation dialog update
* fix: #657 updates on cancel order id check
* fix: #657 fix vega tx dialog test
* fix: #657 fix cypress trading-deal-tciket test
* fix: #657 fix data-testid market test
* Update libs/orders/README.md
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Update libs/wallet/src/vega-order-transaction-dialog/vega-order-transaction-dialog.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Update libs/wallet/src/vega-transaction-dialog/vega-transaction-dialog.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Update libs/wallet/src/vega-order-transaction-dialog/vega-order-transaction-dialog.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Update libs/wallet/src/vega-order-transaction-dialog/vega-order-transaction-dialog.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* fix: #657 remove the magic string and use the ordertype enum from types package
* fix: #657 guarantee that order.id is present at this point or we need to determine the id of the order
* fix: #657 fix translation in dialog
* fix: #657 rename wallet types, delete ticket query, set finalized order null in submit
* fix: #657 fix deal ticket steps test
* fix: #657 remove settings.json
* fix: #657 use order submit in orders lib
* fix: #463 final modal links to block explorer
* fix: #745 long/short instead of buy/sell
* fix: #657 use only one vega tx dialog
* fix: #657 keep ref of subscription and unsubscribe
* fix: #657 hide cancelled orders
* fix: #657 sub only when id set
* fix: WIP: trying to unsub when order updated
* fix: #745 long/short instead of buy/sell
* fix: ensure observable defined
* fix: #657 remove redundant test
* Update libs/orders/src/lib/order-hooks/use-order-submit.ts
* fix: failing test due to resizeobserver loop limit exceeded
* fix: lint
* fix: #657 fix test resize observer loop limit exceeded
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Joe <joe@vega.xyz>
* feat: add node swicther
* chore: remove hook form from node switcher
* feat: generate apollo types and add tests
* fix: format
* fix: types
* fix: remove redundant wrapper
* fix: layout styles
* fix: add controlled value to radio group
* fix: flaky node hook test
* feat: hook in node switcher to the explorer & token footer info
* fix: cache key handling for env config
* fix: env type in tests
* fix: format again
* fix: use netlify git env vars
* fix: remove commented styles
* fix: replace clsx with classnames
* fix: dialog sizes
* fix: fetch config by default
* fix: format
* fix: dialog close
* test(token): eth wallet widget validations with wallet connected
* test(token): change currency tests to be more readable
Co-authored-by: Rado <rado@vegaprotocol.io>
* test(token-e2e): initial commit
* test(token-e2e): lint
* test: function Enhancements
* test: linting
* test: remove custom command type decs
* test: more tests
* test: linting
* test: working with capsule still needs rounding issues sorting
* test: enhancements
* test: enhancements
* test: check enhancements
* test: add brdige logic
* test: share instance rather than recreating on each test
* test: minor bug fix, add comment
* test: ensure working against capsule
* test: teardown functions in place
* test: linting
* test: completion of first iteration of happy paths
* test: lint
* test: typo change
* test: tweaks
* test: fix merge issues
* test: lint
* test: env variable handling and cleanup
* test: lint
* test: enhancements to logging to aid debugging
* test: lint
* test: ehancements after feedback
* test: lint
* Update apps/token-e2e/src/support/wallet-teardown.functions.js
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* test: skipping non-essential tests to reduce time
* test: typo
* test: ci test fails coz capsule runs quicker their - disabled this one check to help
* test: reduction of coverage to help PR time
* test: disable infinte scroll test since capsule blockchain data to small
* test: corrected test: staked tokens field value no longer in a fixed state
* test: clearup to stop test bleed across projects plus bugfix
* test: lint
* test: update .env for trading
* Revert "test: update .env for trading"
This reverts commit 741743e4d2.
Co-authored-by: Dexter <dexter.edwards93@gmail.com>
* fix: use netlify git env vars
* fix: make git info vars optional in env
* fix: remove git info parsing, and use netlify only
* fix: handle missing git repo url
* fix: format
* chore(ui-toolkit): add aria label to icon for a11y (#621)
* chore(ui-toolkit): add labels for form-groups for a11y (#621)
* fix(ui-toolkit): fix form inputs storybook for a11y (#621)
* feat(ui-toolkit): add strict eslint a11y and components config (#621)
* chore(ui-toolkit): add translate t to form labels
* feat(#638): add pagination support to data-provider
* feat(#638): use infinite rowModelType in market list table
* chore(#638): code style fixes
* feat(#638): fix data provider post update callbacks, handle market list table empty data
* feat(#638): amend variable names to improve code readability
* feat: [console-lite] - top nav-bar - first commit
* feat: [console-lite] - top nav-bar - fixes and improvements
* feat: [console-lite] - top nav-bar - add some netlify conf, change header for always black
* feat: [console-lite] - top nav-bar - add some netlify conf, change header for always black
* feat: [console-lite] - top nav-bar - add home link on logo
* feat: [console-lite] - top nav-bar - add job for copying netlify conf file
* feat: [console-lite] - top nav-bar - add job for copying netlify conf file
* feat: [console-lite] - top nav-bar - add a couple of int tests
* feat: [console-lite] - top nav-bar - fix a typo
* feat: [console-lite] - top nav-bar - remove anims due its inconsist with design concept, css fixes
* feat: [console-lite] - top nav-bar - make v-logo a component, add darken green color
* feat: [console-lite] - top nav-bar - move v-logo to existing dir
Co-authored-by: maciek <maciek@vegaprotocol.io>
* feat: scaffold fills components
* feat: add query for fills and populate data in basic table
* feat: refactor portfolio page to use grid and add fills container
* feat: add infinite scroll for fills
* feat: try with data provider, get infinite scroll working
* chore: remove infinite scrolling as subsequent pr will add it
* chore: reorder columns
* chore: remove Autosizer from portfolio grid children as its not needed
* chore: move fills tab to the end
* feat: add storybook, format cells
* feat: add unit test for fills table
* feat: convert lib to next lib
* feat: add pagination variables to fills query to only get latest 300
* fix: fills data provider update function to return result of produce
* fix: yarn.lock
* fix: cypress run by moving test helpers
* fix: re add test helpers for unit tests
* fix: global connection tests
* fix: use fills from mocks
* feat: add update handler for fills
* chore: move value formatter functions into module scope
* 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>
* frontend-monorepo-397 - continuous txs list - glitchy start
* frontend-monorepo-397 - experimentation!
* fix: transactions infinite list loading
* fix: blocks reload
* frontend-monorepo-397 - removed redundant renderFetched component from infinite txs page, and removed debugging
* frontend-monorepo-397 - tests written, added button that opens a dialog with extra Command data to each list item
* frontend-monorepo-397 - Cleaned up styling of txs list a bit, addressed PR comments.
* frontend-monorepo-397 - tweaks to e2e tests
* frontend-monorepo-397 - disabling txs e2e tests for now
* fix: use fetch hook
* Update apps/explorer/src/app/components/txs/txs-infinite-list-item.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* frontend-monorepo-397 - refactored to use AsyncRenderer which now supports custom messaging
* frontend-monorepo-397 Continuous txs: set ignore for timing out tests rather than commenting out
* frontend-monorepo-397: Updated txs-infinite-list-item.tsx to work with the new dialog changes
* frontend-monorepo-397: Ignoring txs page e2e tests properly
Co-authored-by: Dexter <dexter.edwards93@gmail.com>
* feat: add ability to set custom wallet URL
* fix: wallet state not adequately cleared on disconnect
* chore: don't bother to set a prop only to overwrite it
* fix: use correct URL for error message
* chore: remove autofocus as per comment
* chore: correct url
* 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
* fix: #471 order list price set to display all decimals
* fix: #471 generate orders updates
* fix: #471 remove unused import
* fix: #471 remove __typename from mock orders genOrder
* Update libs/wallet/src/order-hooks/order-event-query.ts
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* fix: #471 update order event sub and pull master changes
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* frontend-monorepo-629: Made nav consistent with TFE and added focus-visible states
* frontend-monorepo-629: Header icons working
* frontend-monorepo-629: Tweak of header spacing
* frontend-monorepo-629: Text styles and spacing on all routes bar governance
* frontend-monorepo-629: Minor tweaks to font styles
* frontend-monorepo-629: Removed import from older solution
* frontend-monorepo-629: Evened up wallet padding to better suit the new button shadow styles
* frontend-monorepo-629: White text and mono font where needed in the eth wallet
* frontend-monorepo-629: Set only page header to use alpha lyrae
* frontend-monorepo-629: More use of mono font for balances and some text alignment
* frontend-monorepo-629: Keypair name element only rendered when name present
* frontend-monorepo-629: Stopped header title overflow on small screens
* frontend-monorepo-629: Button height established with padding to allow longer button text without overflow
* frontend-monorepo-629: Mobile wallet title/key alignment improved for mobile
* frontend-monorepo-629: Associated vega in wallet dark mode on
* frontend-monorepo-629: Removed redundant classes on eth wallet connect button
* frontend-monorepo-629: Vega wallet spacing tweaks
* feat(console-lite): add nav icons
* feat(console-lite): refactor resizing into reusable hook
* feat(console-lite): refactor navigation drawer
* feat(console-lite): add blue colour to theme-lite.js
* feat(console-lite): remove liquidity from nav items
* feat(console-lite): make style changes to navbar and add tab-bar for mobile
* chore(console-lite): change div to aside
* fix(console-lite): drawer left to right mode on mobile
* fix(console-lite): add missing className prop to drawer-wrapper.tsx
* feat(console-lite): add accessibility related changes
* fix(console-lite): fix linting errors
* fix(console-lite): fix failing test and add extra accessibility label
* refactor(console-lite): refactor conditional classNames
* refactor(console-lite): move useResize to react-helpers library
* refactor(console-lite): refactor sun and moon classNames
* fix(console-lite): fix broken e2e tests
* feat: 447 Refactored 'progress' intent to be 'prompt' as now white. Added yellow 'selected' intent
* feat: 447 Colour consolidation
* feat: 447 Colour consolidation extra renaming
* feat: 447 Fixing specified red colours
* feat: 447 Removed unused darker red
* feat: 447 Documenting additional colours in storybook
* feat: 447 Buttons updated (except 'accent', which will probably get removed when navs built)
* feat: 447 Text inputs updated
* feat:frontend-monorepo-447: Trading nav
* feat:frontend-monorepo-447: Updated toggle button colours
* feat:frontend-monorepo-447: Custom checkboxes
* feat:frontend-monorepo-447: Tweaks to radio buttons
* feat:frontend-monorepo-447: Input dates get dark color scheme in dark mode
* feat:frontend-monorepo-447: Dropdown updates
* feat:frontend-monorepo-447: Icon menu
* feat:frontend-monorepo-447: Focus visual styles moved to focus-visible for radios and toggle
* feat:frontend-monorepo-447: Tweak to focus styles for text input and textarea
* feat:frontend-monorepo-447: Labeled input
* feat:frontend-monorepo-447: Labeled input description red when in error
* feat:frontend-monorepo-447: Tooltip visual update
* feat:frontend-monorepo-447: Added disabled state to checkbox
* feat:frontend-monorepo-447: Custom select with radix
* feat:frontend-monorepo-447: Reverted back to native Select for a11y concerns
* feat:frontend-monorepo-447: Added visual cue for dropdown items when multiple can be selected
* feat:frontend-monorepo-447: Removed shadow from buttons in Explorer where it looked wrong
* feat:frontend-monorepo-447: Added box shadow classes into tailwind theme
* feat:frontend-monorepo-447: Colour primitives documentation updated
* feat:frontend-monorepo-447: Cleaning up box shadow use further
* feat:frontend-monorepo-447: Intents util updated
* feat:frontend-monorepo-447: Dialog component updated
* feat:frontend-monorepo-447: Callout component updated
* feat:frontend-monorepo-447: Adjusted apps to handle toolkit changes
* feat:frontend-monorepo-447: Moved tabs to ui-toolkit and styled
* feat:frontend-monorepo-447: Fixed ui-toolkit tests
* feat:frontend-monorepo-447: Token eth wallet made dark to support new buttons
* feat:frontend-monorepo-447: Ran prettier
* frontend-monorepo-447: Simplified button class functions and exported for use on other elements
* frontend-monorepo-447: Used newly exported button classes on Link elements in eth-wallet
* frontend-monorepo-447: Moved trading nav from ui-toolkit to trading app
* frontend-monorepo-447: Simplified intents and updated stories
* frontend-monorepo-447: Using classnames in requested spot
* frontend-monorepo-447: Removed unnecessary 'asChild' prop on dropdown triggers
* frontend-monorepo-447: Made use of the XPrimitive Radix naming convention
* frontend-monorepo-447: Simplified types in 'getButtonClasses'
* frontend-monorepo-447: Added 'asChild' to dropdown trigger to avoid nested buttons
* frontend-monorepo-447: Moved input label and description into Formgroup component. Refactored based on tweaked structure
* frontend-monorepo-447: Externally linked input label
* frontend-monorepo-447: Adding correct text colours to Intent.None backgrounds
* frontend-monorepo-447: Improved intent function name
* frontend-monorepo-447: Removed new navbar until implementation ticket is picked up
* frontend-monorepo-447: using testing-library/user-event for tab click unit tests
* frontend-monorepo-447: Removed unused button import
* frontend-monorepo-447: Little extra use of classnames in form-group.tsx
* feat: make navbar pink for light mode
* fix: problem with theme not switching when dependent in js on theme value
* fix: bg of row hover
* fix: dont use vega pink for sell red
* fix: type error in generate orders func
* fix: lint
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* feat: format size and volume with positionDecimalPlaces
* fix: pass in calculated step so client side validation works
* fix: add requested state to order dialog, handle user rejected error
* feat: add test case for user rejecting tx
* feat: add test case for order list fractional sizes
* feat: add test case for fractional volume in positions table
* fix: deal ticket tests imports
* feat: add test case for trades fractional size
* fix: props for orderbook tests
* fix: add missing positionDecimalPlaces fields to mock functions
* fix: improve error handling of service error with type guard