* Feat/1513: Vote buttons using subscription and dialog for tx
* Feat/1513: Staking journey using dialog
* Feat/1513: Cleaning up unused imports
* Feat/1513: Format tweak
* chore: fix order validation when market is in pending state
* chore: fix order validation when market is in pending state
* chore: fix order validation when market is in pending state
* chore: fix order validation when market is in pending state - add some urgent memo
* chore: fix order validation when market is in pending state - add unit test
* chore: fix order validation when market is in pending state - add memos in right places
Co-authored-by: maciek <maciek@vegaprotocol.io>
* feat: #1763 display the product type in select market lists
* fix: #1763 add on top of deal ticket button notice that you are buying product type contracts
* fix: #1763 remove message above deal-ticket button
* fix: #1763 left align product type title
* fix: #1763 header align left for product type
* feat: add yellow theme for navbar, adjust dropdown and theme switcher styles
* feat: set yellow theme when network is testnet
* feat: adjust button styles to accomodate different color backgrounds
* chore: migrate network stats and clean up liquidity lib
* fix: format
* fix: test imports
* fix: format
* fix: market info expiry format tests
* fix: format again
* fix: build
* fix: #1863 Market info reference price should be formatted with asset dp
* fix: #1863 Market info reference price should be formatted with asset dp
* fix: format numbers in orders-list
* Feat/1512: Proposal type as enum, hoisted proposal type and min voting balance
* Feat/1512: Setup and new LP tally for update market proposals
* Feat/1512: Added LP data (if update market) to proposal-votes-table.tsx
* Feat/1512: Fixing some broken tests and added unit tests for proposal-votes-table
* Feat/1512: Tests for use-vote-information hook
* Feat/1512: Tests for use-network-params hook
* Feat/1512: Fixed some regenerated types
* Feat/1512: Addressed comments from PR
* Feat/1512: Condensed all useMemos in use-vote-information into a single one
* Feat/1512: Small tweak to Thumbs element
* fix: #1537 add lp provider sub
* fix: change LP title & update party.id
* fix: #1537 fix obligation and supplied
* fix: #1537 add min width on accounts
* fix: #1537 consistent null check
* fix: #1537 update lp data providers
* fix: add acounts data provider but requires party id
* feat: #1537 LP data provider - marketID & query or subscribe for accounts - partyId
* fix: #1537 remove log and fix build
* fix: #1537 fix build console lite and lp dashboard
* fix: #1537 fix tsconfig lp dahsboard
* fix: #1537 use interval to poll LP data - sub not working yet
* feat: use close position hook and dialog setup
* chore: update wallet tx interface for batch market instruction
* feat: add usage of data provider to show relevant order information
* feat: render correctly formatted values in close position dialog
* feat: make vega tx dialog more flexibly by allowing custom ui for every state of the tx
* feat: adjust text alignment and spacing between active orders and order to close
* feat: add unit tests
* chore: remove stray log
* chore: fix lint
* chore: ignore ts error for formatter function of vesting chart
* feat: split components up, memozie variables
* feat: add shared loading state to prevent content popping in
* feat: add time in force label
* feat: move transaction result hook to wallet lib
* feat: prevent being able to close vega tx dialog, must reject tx
* chore: add test for useTransactionResult hook
* chore: fix positiosn test after hook relocation
* Revert "feat: prevent being able to close vega tx dialog, must reject tx"
This reverts commit d1ecda69c3c55822bb042320f82b2e1c3833b99a.
* chore: add check for order edge to be defined
* chore: remove close callback
* feat: use tx result state to determine dialog state
* chore: update close position hook to check for transaction result
* fix: readd types tif selection persistance
* feat: convert order event func to be async, use it in close position for more result context
* fix: rename utils
* chore: adjust error language
Co-authored-by: Madalina Raicu <madalina@raygroup.uk>
* feat: #1659 add link to market in orders table
* feat: #1794 use volume 24h instead of indicative volume
* fix: remove total fees that was defined but not used in select columns
* fix: fix cypress test for volume (24h) header
* fix: add volume 24h tooltip
* fix: trading mode and volume order
* feat: info about test network in transaction dialogs
* feat: info about test network in transaction dialogs
* feat: info about test network in transaction dialogs
* feat: info about test network in transaction dialogs - add unit test
* feat: info about test network in transaction dialogs - add unit test
* feat: info about test network in transaction dialogs - add unit test
* feat: info about test network in transaction dialogs - add unit test
Co-authored-by: maciek <maciek@vegaprotocol.io>
* chore: move market depth queries to .graphql file
* chore: fix orderbook data updates
* chore: allow to overlap subscription update with stored data in market depth
* fix: #1486 move deal ticket hooks from console-lite to be re-used in trading app for console v2
* fix: #1486 typo
* feat: #1486 deal ticket query update, console-lite fix
* feat: #1486 console-lite fix
* feat: #1486 initial hook to get fee details
* feat: #1486 add tooltips
* feat: #1486 add fees cell from market-info in tooltip
* fix: #1486 edit deal-ticket.spec.ts titles and index.ts of deal ticket hooks
* feat: #1486 move all hooks for slippage into deal ticket
* fix: #1486 fix linting deal-ticket issue
* fix: set price, fix NaN percentage, watch full order object
* fix: update only when market price is updated
* feat: #1486 add fees from est. order query, fees breakdown, fix BigNumber NaN issue
* feat: #1486 add fee factors in generate deal ticket query
* fix: #1486 show margin on short
* fix: #1486 format price and fix dal ticket use order margin import
* fix: #1486 fix price memo
* feat: #1486 update estimate ordr query with order price or mark price
* fix: #1486 revert apps/console-lite/.env
* fix: #1486 fix NaN value on close out
* fix: #1486 revert close out calculation
* fix: #1486 prevent NaN close out
* fix: #1486 revert close out
* feat: #1486 add fee factor percentages in tooltip and fix NaN
* fix: #1486 fix deal-ticket-steps est close out null handling
* fix: #1486 fix deal-ticket-steps est close out null handling
* fix: #1486 add tooltip for fees
* fix: #1486 fix console-lite formatting on notional size and close out
* fix: #1486 total fees formatting inside the hook
* feat: #1486 add qutote to fees tooltip
* fix: #1486 update hook, price, console-lite and styling
* chore: fix mock types
* fix: #1486 fix tests in console-lite
* fix: #1486 add declaration.d.ts to console-lite-e2e
* fix: #1486 fix deal ticket test
* fix: #1486 fix deal ticket test
Co-authored-by: Rado <szpiechrados@gmail.com>
* chore: fix for persist force value selection after change of order type
* chore: fix for persist force value selection after change of order type fix some int test
* chore: fix for persist force value selection after change of order fast fixes
Co-authored-by: maciek <maciek@vegaprotocol.io>
* chore: single position table (1645)
chore: single position table (1645)
* chore: tests fixed
* chore: remove unused withSummaryRow arg
* chore: use ag grid value formatter type helper
* chore: update console-lite to use value formatter params helper
* chore: fix e2e test by ignoring pinned row
Co-authored-by: Rado <szpiechrados@gmail.com>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* feat: add connect vega wallet button to the deal ticket
* feat: add connect vega wallet button to the deal ticket - manage some int tests
Co-authored-by: maciek <maciek@vegaprotocol.io>
* chore: break down components to smaller chunks for better performance
* chore: break down components to smaller chunks for better performance
* chore: break down components to smaller chunks for better performance - fix failing tests
* chore: break down components to smaller chunks for better performance - adjust token app cases
* chore: break down components to smaller chunks for better performance - small fixes
* chore: break down components to smaller chunks for better performance - small fixes
* chore: break down components to smaller chunks for better performance - small fixes
* chore: break down components to smaller chunks for better performance - small fixes
* chore: break down components to smaller chunks for better performance - add nwe store for pageTitle
* chore: break down components to smaller chunks for better performance - sm fix
* chore: break down components to smaller chunks for better performance - sm fix
* chore: break down components to smaller chunks for better performance - sm imprv
* chore: break down components to smaller chunks for better performance - change prop names
* chore: break down components to smaller chunks for better performance - fix some test
* chore: break down components to smaller chunks for better performance - change cypress url
* chore: break down components to smaller chunks for better perf - set back redundant changes
* chore: resolve conflicts
Co-authored-by: maciek <maciek@vegaprotocol.io>
* fix: bad data flow
* chore: generate types
* chore: move component to where it is used
* chore: move things top the routes where they are actually used
* chore: more moving of files
* chore: generate types
* chore: replace old type files with new
* test: fix tests
* Fix/1326: Do not allow proposal voting unless sufficient associated tokens
* Fix/1326: Renaming string
* Fix/1326: Changes from PR comments and vote-buttons tests
* Fix/1326: Switched to enum
* Fix/1326: Used enum in unit tests
* feat(#1536): remove zero volume rows from orderbook
* feat(#1536): add orderbook debug console
* feat(#1536): move best bid/ask price line position outside of render functon
* feat(#1536): orderbook scroll to price fixes
* feat: #1648 add deposit button and show accounts 0 state
* fix: remove text-white and text-black
* fix: #1648 revert and add back row model type and data source in accounts table
* fix: #1648 fix linting issue
* fix: #1648 table tweaks buttons at the bottom
* fix: #1644 hide withdrawals history title
* fix: #1648 fix accounts-table test
* fix: #1648 fix trading-accounts.cy.ts test
* fix: leave ag grid to show overlay if data is simply null but there is no error or it's not loading
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
* chore: market header live update
* chore: market header live update
* chore: market header live update - adjust some mocks
* chore: market header live update - add single market query
* chore: market header live update - small fixes
* chore: market header live update - fix int tests
* chore: market header live update - fix int tests
* chore: market header live update - remove unnecessary props from query
* chore: market header live update - change concept - split for small comps
* chore: market header live update - small fix for mocks
* chore: market header live update - fix updates throttling
* chore: market header live update - improve update methods of data providers
* chore: market header live update - improve update methods of data providers
* chore: market header live update - improve update methods store for get rid of blinking
* chore: market header live update - fix title component
Co-authored-by: maciek <maciek@vegaprotocol.io>
* fix: #1642 show in type column if order is pegged or LP
* Update libs/orders/src/lib/components/order-list/order-list.spec.tsx
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* Update libs/orders/src/lib/components/order-list/order-list.spec.tsx
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* fix: invalid uncrossing price
* chore: align estimated uncrossing price with size label
* fix: 0 used balance on margin and bond accounts should not be displayed
* fix: small tweaks and bugfixes
* fix: filter empty acounts
* fix: fix unit test
* fix: fix unit test
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* feat: updated withdrawal tab (849)
* added pending table to the token app, added pending completed filtering to the data provider
* amended and added unit tests
* amended time formats
* added units
* fixes errors
* addressed comments
* fix: make sparkline appear after change cell
* fix: make price come after expiry in market header
* fix: refer to size rather than amount in validation
* fix: radio colors in light theme
* fix: remove orange border from vega tx pending state
* chore: combine deposit and withdraw buttons into single cell
* chore: update accounts table test, remove console warning from breakdown tests
* chore: update order validation test
* chore: place market table header in correct position
* chore: use actual change id to avoid clash
* fix: remove assertion in fills table that is flakey
* chore: render fills table with act
* fix: add a wait time for infura queries to resolve
* chore: seoplia migration
* fix: remove trailing slash from etherscan urls
* fix: make mock assets for withdraw form real assets so working with infura works
* chore: remove stray screen.debug
* fix: global mocks for chainid
* fix: add additional chain id mock for withdrawals page
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>