* fix(#2413): separate collateral used and available cells
* fix(#2413): fix accounts table test update
* fix(#2413): move progress bar in breakdown.tsx
* feat: add eth and vega transaction stores
feat: replace useStoredEthereumTransaction with useEthTransactionManager
feat: add event bus subsciption to vega transaction store
feat: handle order cancellation
feat: rename Deposit, Order and Withdraw status field to be unique
Revert "feat: rename Deposit, Order and Withdraw status field to be unique"
This reverts commit f0b314d53fb3ada6fbebaba4fd1e5af6f38beaed.
feat: split transaction update subscription
feat: handle order and deposit transaction
feat: handle withdrawal creation through transaction store
feat: handle withdraw approval
feat: handle panding withdrawls, add createdAt
feat: handle transaction toast/dialog dismissal
feat: add use vega transaction store tests
feat: add use vega transaction store tests
feat: add use vega transaction menager tests
feat: add use vega transaction menager tests
feat: add use vega transaction updater tests
feat: improve use vega transaction updater tests
feat: add use eth transaction store
feat: add use eth withdraw approvals store
feat: add use eth transaction updater tests
fixed tests
* feat: toasts
feat: toasts
feat: toasts
* feat: add use eth withdraw approval manager tests
* feat: add use eth transaction manager tests
* feat: add use eth transaction manager tests
* feat: add useEthWithdrawApprovalsManager tests
* feat: remove Web3Container react container from CreateWithdrawalDialog
* feat: remove Web3Container react container around TransactionsHandler
* feat: remove unnecessary async from PendingWithdrawalsTable
* feat: remove comments from WithdrawalFeedback
* fixed z-index issue
* cypress
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
* chore: switch theme to zustand, delete context
* chore: switch apps/componenets to consume the hook
* chore: update storybook theme usage to use documentElement
* chore: dry up theme switcher listener for storybooks
* feat: optional theme param to allow toggling
* chore: add additional check for matchMedia function
* chore: change block explorer test to use light theme as its the default
* chore: remove unused headerprops for multisig-signer
* chore: remove unused props from theme switcher component
* chore: dry up validateTheme func
* chore: remove unused props from explorer header test
* chore: use new theme switcher in account history container
* feat: account hitory poc
* feat(#469): update account history and chart
* feat(#469): remove radix toggle group
* fix: add use memo and some tweaks to make sure you pass undefined to cancel all
* feat(#469): add new version pennant
* feat(#469): style account history chart and no data splash
* fix(#469): use splash only
* fix(#469): sort assets list
* feat(#469): new pennant version
* fix: update query
* fix: update query
* Update libs/orders/src/lib/components/order-list/order-list.tsx
* Update libs/assets/src/lib/asset-details-dialog.tsx
* feat(#469): update test on trading positions tab
* Update apps/trading-e2e/src/integration/trading-positions.cy.ts
* fix: click on positions in portfolio
* feat(#469): refactor with async renderer
* feat(#469): refactor date range in account history
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* chore: get rid of polling queries on dael ticket
* chore: get rid of polling queries on dael ticket - fix tests
* chore: get rid of polling queries on deal ticket - fix linter
* chore: get rid of polling queries on deal ticket - fix linter
* chore: get rid of polling queries on deal ticket - adjust int test
* chore: get rid of polling queries on deal ticket - adjust int test in console-lite
* chore: get rid of polling queries on deal ticket - adjust unit some test
* chore: get rid of polling queries on deal ticket - adjust unit some test
* chore: get rid of polling queries on deal ticket - clean up some redundant types
* chore: get rid of polling queries on deal ticket - clean up some redundant files
* fix(2380): fixed block duration field to account for the new api format
* fix(2380): removed unneeded import
* fix(2380): a little more hardened against duration being undefined and different environments returning different data
* fix(2380): improved comment
* feat(2326): styled up validators intro as per designs, including site-wide tweaking to headers for consistency
* feat(2326): styled up reduced height epoch progress bar
* feat(2326): styled up inline 'reveal all validators' table row. Test failing
* feat(2326): failing test fixed
* feat(2326): components and styling for validator table
* feat(2326): making proposals section consistent with new validators styling
* feat(2326): extra consistency changes
* feat(2326): linting fixes
* feat(2326): a couple of e2e test fixes
* feat(2326): more e2e test fixes
* feat(#2273): make orders and fills tabs market specific in trade grid
* feat(#2273): fix order navigation and show orders for this market only checkbox
* fix(#2273): fills container should not require market
* feat(#2273): add marketId as hook dependency
* fix: use data-testid in trading orders
* fix(#2273): default to false
* chore: update ledger entries columns
* fix: yarn generate types against stagnet3
* fix: orderbook decimal places issue (#2235)
* fix: positions table fixes notional dp (#2144)
* fix: update decimals on position notional size
* fix: normalize values
* fix: fix positions unit tests
* fix: remove liquidation price
* fix: positions linting issue
* fix: remove liquidation price test
* fix: remove total summary row
* fix: remove comments
* fix: cypress test to not show trailing 0s
* fix: add back liq. price est as cell only
* fix: remove not used params
* chore: merge with release/testnet
* fix: orderbook dp
* Update libs/positions/src/lib/positions-table.spec.tsx
* feat(#1853): use date range filter
* feat(#1853): add date range filter to ledger entries on update
* chore(#1853): add extra checks
* fix: update types on stagnet3
* fix: add checkpoint balance restore
* fix(#1853): fix ledger generic make data provider cast in ledger entries
* fix(#1853): fix transfer type
* fix(#1853): remove TransferTypeMapping cast type
* fix(#1853): remove pagination filtering and use formatForInput from date
* fix(#1853): call filterChangedCallback in onChange method
* fix(#1853): remove subscription from ledger entries table
* fix(#1853): filterChangedCallback called in useEffect gets triggered also on reset
* fix: use-order-list-data hook order of params for makeInfiniteScrollGetRows
* fix(#1853): fix ledger build import all as schema
* fix(#1853): fix schema import
Co-authored-by: maciek <maciek@vegaprotocol.io>
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
* feat: adjust and refactor welcome dialogs
* feat: adjust and refactor welcome dialogs - add int tests
* feat: adjust and refactor welcome dialogs - small fixes and imprvments
* feat: adjust and refactor welcome dialogs - fix a typo
* feat: adjust and refactor welcome dialogs - fix a property name
* feat: adjust and refactor welcome dialogs - fix an unit test
* chore: add some missing properties to the Market type
* chore: improve typing of value formatters in market list page
Replacing ValueFormatterParams with VegaValueFormatterParams<T, Y> in a
bunch of places. Doing this also highlighted we weren't dealing with a
bunch of undefined cases, so we now have fallback formatting for those.
Co-authored-by: Madalina Raicu <madalina@raygroup.uk>
* feat: handle lost connection with wallet during order setting
* Update libs/deal-ticket/src/components/deal-ticket/deal-ticket-manager.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* feat: handle lost connection with wallet during order setting - adjust wording
* feat: handle lost connection with wallet during order setting - adjust wording
* feat: handle lost connection with wallet during order setting - adjust wording
* fix: handle lost connection with wallet add print vega version
* fix: handle lost connection with wallet add print vega version
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* chore: remove apollo type gen and clean up types lib
* fix: format
* fix: tests
* fix: format
* fix: hammer token types til sh*t turns green
* fix: format
* fix: apparently format again
* fix: lint
* fix: build-specs
* fix: format
* chore: regen types
* chore: regenerate types again
* fix: format
* feat: mirror environment
* style: lint
* chore: update networks to have correct data node
* chore: update netowrks to point to correct data nodes
* chore: fix build
* fix: live validation in deal ticket - reset validation after market state or account balance changes
* fix: live validation in deal ticket - reset fix lint error
* fix: live validation in deal ticket - adjust failing int test
* chore: make proposals the home page, redirect home to proposals
* chore: reorganise the remainder of the routes
* chore: small styling bug
* fix: nav links highlighted incorrectly
* feat: rename title, rename routes to new structure, add redirects
* chore: make navbar full width
* feat: new navbar bases on trading navbar
* chore: revert change to the width of the page
* chore: make navbar reactive and support draw
* chore: move draw into its' own file
* chore: move nav into toolkit
* style: lint
* chore: trading to use navbar
* fix: uppercase navbar title
* chore: add test
* fix: merge issue
* style: lint
* test: adjust test URLs
* test: more route adjsuting
* test: fix route name
* test: change URL to be new url
* test: more path corrections
* test: more path fixes
* style: lint
* test: minor test fixes
* test: more test fixes
* test: fix incorrect paths
* test: green build plz
* chore: adjust name as per PR comments
* test: fix path
* test: fix incorrect path
* test: final test fix
* test: plz green
* fix: live validation in deal ticket
* fix: live validation in deal ticket
* fix: live validation in deal ticket
* fix: live validation in deal ticket - fix test mock generate
* chore: split ag-grid table for make one empty ready for new records
* chore: split ag-grid table for make one empty fix linter issues
* chore: split ag-grid table for make one empty change implnt. Add unit test
* chore: split ag-grid table for make one empty fix failing int test
* feat: add status header stat, move header to own component
* chore: fix alignment of price change values when arrow is not rendered
* test: add check for market state display
* feat: add market state component and adjust queries to handle sub updates to market state
* test: update mocks to include data.marketState fields
* chore: add missing market state to console-lite mock
* chore: test adjustment
* fix: botched conflict resolution
* chore: update select market columns test
* chore: add missing fields to test helper functions
Co-authored-by: Rado <szpiechrados@gmail.com>
* frontend-monorepo-1263 validator status of pending now named 'candidate' in the ui
* feat(1263): validator table updates, calculating penalties
* feat(1263): bit of cleanup
* feat(1263): tables built and values derived
* feat(1263): tweaks
* feat(1263): upping site max width to 1500px
* feat(1263): tweak to normalised voting power column width
* feat(1263): ensure validator rows when hovered have cursor:pointer
* feat(1263): consensus validators now have a ranking field by voting power shown in the table
* feat(1263): fixed linting errors
* feat(1263): a couple of extra tests and correct import of schema to use enums
* Update apps/token/src/routes/staking/home/validator-tables/standby-pending-validators-table.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Update apps/token/src/routes/staking/home/validator-tables/validator-tables.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Update apps/token/src/routes/staking/home/validator-tables/validator-tables.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Update apps/token/src/routes/staking/home/validator-tables/validator-tables.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* feat(1263): tweaks from PR comments, initial push of util to remove 'node' from arrs
* feat(1263): updated new util to remove 'node' from 'edges'. Implemented across the monorepo
* feat(1263): cleaned up splitting validators into consensus, pending and ersatz to put into tables
* feat(1263): used decimals from app state in validator-tables.tsx
* feat(1263): removed redundant compact import
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* chore: partial live update of market dropdown
* chore: partial live update of market dropdown
* chore: partial live update of market dropdown - some refactor
* chore: partial live update of market dropdown - some refactor
* chore: partial live update of market dropdown - fix lint error
* chore: partial live update of market dropdown - fix failing tests
* chore: partial live update of market dropdown - fix failing tests
* feat: make a single button to connect to either wallet gui or cli
* chore: update token to use jsonrpc connector
* chore: update stray connector-cli entry
* chore: update mock queries to return matching chain id, change tests to connecting using jsonRpc
* chore: add type map for TIF short code
* chore: update data testid as cli and gui are combined into jsonRpc
* chore: remove unused env vars and update readme