* fix(#2200): handle NotFound GraphQL errors in async renderer
* fix(#2200): data provider filter apollo graphQL not found error
* fix(#2200): update apollo-client to not report not found error link
* fix(#2200): fix log on not found error link
* fix(#2200): fix set error in data provider
* fix(#2200): extensions type access via index signature
* fix(#2200): log gql errors that are not NotFound and still throw error in data provider
* fix: remove unused import
* chore: update stagnet3 urls
* chore(#2179): remove normalized number formatter functions and update getNumberFormat
* fix(#2179): fix unit tests on all formatters
* fix(#2179): fix some cypress tests
* fix: fix trading-accounts.cy.ts
* fix: update staking and wallet teardown tests
* chore: add e2e run-all command
* fix: wallet-eth test
* fix: fix tests in explorer and token
* fix: fix common.functions.js
* fix: fix common.functions.js in explorer
* fix(#2179): fix common.functions.js in explorer
* fix(#2179): fix common.functions.js in explorer
* fix(#2179): fix common.functions.js in explorer
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* fix: migrate queries to latest apis
* fix: remove oracles section for now
* fix: dive in to fields correctly
* fix: update queries
* fix: fragment for stats fields
* fix: rename triple underscore generated
* chore: refactor types that have moved
* chore(explorer): disable e2e test that asserts json structure
* feat(#1643): add grid set filter, amend filters in orders table
* feat(#1643): strictly type variables in orders data provider
* feat(#1643): add date range param to orders query
* feat(#1643): add date range filter
* feat(#1643): handle data provider updates after variables change in ag-grid infinite row model
* feat(#1643): fix unit tests
* feat(#1643): use DateRangeFilter in positions table instead of agDateColumnFilter
* feat(#1643): add date range filter support to orders data provider
* feat(#1643): fix update functions
* feat(#1643): remove sortable from orders list columns
* chore: remove console.log
* 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>
* 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: inserts of new item in positions
* feat: inserts of new item in positions - move select-market to app dir
* feat: inserts of new item in positions - add delta to update
* feat: inserts of new item in positions - fix e2e mocks
* feat: inserts of new item in positions - fix e2e mocks
* feat: inserts of new item in positions - adjust e2e mocks
* feat: inserts of new item in positions - adjust e2e tests
* feat: inserts of new item in positions - adjust e2e tests
* feat: inserts of new item in positions - adjust e2e trading tests
* feat: inserts of new item in positions - adjust e2e account tests
* feat: inserts of new item in positions - adjust e2e account tests
* feat: inserts of new item in positions - adjust e2e account tests
* feat: inserts of new item in accounts - manage inserting new accounts
* feat: inserts of new item in accounts - adjust console-lite tests
* feat: inserts of new item in accounts - adjust console-v2 tests
* feat: inserts of new item in accounts - adjust console-v2 tests
* feat: inserts of new item in accounts - clean up after merge
* feat: inserts of new item in accounts - fixes after feedback
Co-authored-by: maciek <maciek@vegaprotocol.io>
* feat: update connect dialog to handle api v2
* feat: better error handling
* feat: update to only use strings for pubkey, add json rpc connector
* feat: make json connector follow same patterns as rest connector
* feat: add ability to change wallet location
* feat: add chain id fetch
* feat: improve types
* feat: adjust send tx types
* chore: remove dialog title and chain check temporarily
* feat: additional UI and error handling
* feat: rename keypair and keypairs to pubKey and pubKeys
* feat: make rest and json rpc connectors return consistent data
* feat: rename derived ids more clearly
* feat: update send_transaction response type
* chore: fix tests after context name change
* feat: add utils for wallet, add encode tx func
* feat: return null if tx is rejected
* feat: fix up styles for connect buttons
* feat: handle wallet version check
* feat: add chain id check
* chore: rename select pub key function to match, fix tests
* fix: tests for rest connector form
* feat: add tests for json rpc flow
* feat: connect dialog changes
* chore: change status to enum to avoid magic strings
* feat: add custom icons and handle provided key name
* chore: update global wallet connection e2d tests
* chore: change zod validation to only expected required values
* chore: ignore new generated code files
* chore: fix typos and add translations
* chore: set hosted wallet via env var and only show if not mainnet
* feat: add functionality for try again button
* test: fix failing tests
* chore: fix lint and test
* chore: remove double import
* chore: make console-lite-e2e strict so json connector compiles correctly
* chore: make token e2e tsconfig strict
* chore: make stats-e2e tsconfig strict
* feat: update json rpc request namespace
* feat: simplify connector setup, support try again
* chore: remove comment
* fix: build errors
* chore: make chainId check optional based on presence of appChainId, mock request for tests
* chore: mock chain id request for all apps on all pages
* fix: footer border on small screens
* fix: use beforeEach for chainId query mock
* chore: remove optional chain check, prevent rendering until fetch is complete
* chore: update NX_VEGA_WALLET_URLs as the application now appends the base path, adjust token tests
* fix: token e2e test that checks for pubkey name
* chore: remove duplicated test, update wallet title assertion
* fix: token tests
* fix: token e2e assertions
* fix: withdraw test
* feat: enable json RPC for token
* fix: sendTx command now accpets pubkey as separate arg
* fix: test to use gui option temporarily
Co-authored-by: Dexter <dexter.edwards93@gmail.com>
* chore: use new GQL candle fields
* Revert "chore: downgrade to 0.55 (#1406)"
This reverts commit cc7a4f2ddd.
* chore: update queries to be compatible with 0.56
* fix: update positions data provider to use only marketId field, omit new position insertion for now
* fix: regen types after merging candles query update
* chore: remove unused generated files
* chore: check for null markets connection
* fix: import errors
* chore: export types from market-list, disable unrelated failing tests
Co-authored-by: johnwalley <john@walley.org.uk>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* fix: border too thick, use grid head component
* fix: unused and superfluous classes, define border color in one place
* fix: tooltip should be on data not label
* feat(#473): add positions metrics data provider
* feat(#473) add positions stats
* feat(#473) add positions stats
* feat(#473): add positions stats
* feat(#473): add positions stats
* feat(#473): position metrics, test and refactoring
* feat(#473): add unit tests to positions table
* feat(#473): fix spelling, order positions by updated at desc
* feat(#473): protect from division by 0
* feat(#473): fix trading positions e2e tests
* feat(#473): fix e2e data mocks
* feat(#473): post code review clean up
* feat(#993): dependencies handling in data provider
* feat(#993): fix e2e tests data mocks
* feat(#993): remove position metrics mocks, add market data market id
* feat: #994 add price monitoring bounds and candles update interface
* fix: move best bid price to diff section
* feat(#993): add missing mocks, fix combine function
* fix: add insurance pool and calc volume 24h
* feat: display some oracle min info, asset id, insurance pool, move open interest and 24hVol
* fix: add market-info.cy.ts case
* fix: remove # from numbered price monitoring settings
* fix: add insurance pool test
* fix: format 24hvol
* feat(#993): set loading initially to true, add unit tests
* feat(#993): cleanup, add comments
* feat(#993): remove undefined from client type
* fix: remove indicativeVolume and oracleSpecBinding from market info
* feat(#993): cosmetic changes
* fix: add oracleSpecBinding back
* Update libs/deal-ticket/src/components/info-market.tsx
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
* feat: add initial queries
* fix: memo yesterday's timestamp
* fix: add back info
* fix: update query
* fix: add view full oracle details link and update mappings
* fix: regen code, make link reactnode, fix index.ts
* feat: add liquidity lib, refactor info market
* fix: remove liquidity query from deal-ticket
* feat:(#993): pass informaton about update callback cause
* fix: small ui tweaks
* fix: display in grid
* feat: navigate to oracle by termination id
* feat: #491 add use liquidity provision merging
* fix: remove logs, add extra check on my liquidity provision
* fix: type number trivially inferred from a number literal, remove type annotation
* fix: cypress tests and formatting for market info
* Update libs/deal-ticket/src/components/market-info/info-market.tsx
* fix: use position decimal places for stake and market value proxy
* fix: #491 use size/position decimal places for obligation, supplied and commitment amount
* fix: add size component and use decimal places
* fix: update readme liquidity
* fix: #491 add correct asset decimal formatters
* Update libs/deal-ticket/src/components/market-info/tooltip-mapping.tsx
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* fix: make link instead of button to open liquidity
* fix: #491 add liquidity page, link to trading mode tooltip, tabs hidden or choose active
* fix: remove LP dialog, use only link to page
* fix: add market id in LP view
* fix: follow trade grid design
* fix: add one line tabs , remove link styling, remove any, add value formatters
* fix: remove falsy check LP undefined
* fix: keep date formatter in LP table
* fix: add generic type market info, hooks in body function
* fix: revert number formatters
* fix: use one param only in network params query
* fix: use network param in web3 lib
* fix: move lp container to trading app
* fix: remove resizable panel
* feat: add header component, remove isEstimate
* chore: remove unnecessary type cast
* fix: fix build with children map clone element
* chore: lint
* fix: move use network params to react helpers
* fix: add const for LP tabs
* fix: fix formatting on LP page
* fix: only show tilde for liquidity monitoring auction end date
* fix: market id being rendered twice in market info
* chore: fix lint
* fix: types for generate withdraw form query
* chore: fix intermittent failing withdrawal test
* Update libs/deal-ticket/src/components/market-info/info-market.tsx
* fix: route to LP and update selected market
* fix: add market-info lib
* fix: add tooltips to header stat
* fix: add overflow-y on div within auto sizer
* fix: fix merge conflicts
* fix: size and dialog
* fix: format target stake and supplied stake
* fix: add tooltips ag-grid and fix decimals
* fix: overflow on both axes auto-sizer
* fix: remove symbol, add to commitment
* fix: update tooltips and headers after demo
* fix: network switcher background
* fix: remove any from market info
* fix: integration test
* fix: remove e2e test for risk factors for now until grpc error sorted
* fix: get liquidity panel by test-id
* fix: fix market-info.cy.ts test
* fix: liquidity test
* f
ix: fix link data test id
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Joe <joe@vega.xyz>
* feat: add new generator with config
* feat: split off gql queries to separate files for the new generator
* fix: delete dummy schema
* feat: add generated queries with new codegen
* fix: regenerate from scratch and remove duplicates
* fix: libs and app gen folders
* fix: remove more duplicate queries
* fix: add generated files to be ignored by the formatter
* fix: format
* feat: migrate assets to use new code generator
* fix: generated imports
* fix: lint
* fix: accounts export
* fix: more imports
* fix: add type alias for new type system and regenerate
* fix: format
* fix: export
* fix: format
* fix: delete leftover file from merge
* chore: migrate candles-chart lib
* fix: remove redundant asset files
* chore: migrate accounts
* chore: update glob
* chore: add cleanup to fix-imports to support type migrations for now
* fix: imports
* fix: update market types
* fix: type import paths
* fix: format
* fix: import
* fix: types in e2e tests
* fix: format
* fix: lint
* chore: replaced market name with tradable instrument name (1259)
* removed lodash import that must have added itself magically
* =aligned cypress tests with code changed
* =aligned console lite cypress mocks to the code changes
* changed cypress market info key details test
* changed cypress market info key details test
* generate markets for console lite
* feat: add new generator with config
* feat: split off gql queries to separate files for the new generator
* fix: delete dummy schema
* feat: add generated queries with new codegen
* fix: regenerate from scratch and remove duplicates
* fix: libs and app gen folders
* fix: remove more duplicate queries
* fix: add generated files to be ignored by the formatter
* fix: format
* fix: generated imports
* fix: lint
* fix: accounts export
* fix: more imports
* fix: add type alias for new type system and regenerate
* fix: format
* fix: delete leftover file from merge
* feat: add deposits table to deposits tab on portfolio page
* feat: refactor use-withdraw hook to not invoke eth tx
* feat: rename hook for clarity
* feat: fix withdrawal creation test
* feat: update withdraw-manager and withrawals-table tests
* chore: fix lint
* feat: remove web3 input to avoid double dialog
* chore: use renderHook from testing-library/react
* chore: update to use non deprecated fields
* chore: remove usage of all bridge contract
* feat: correctly merge cache update in withdrawals table
* feat: changes to support token app withdrawals
* chore: add height to ag grid table wrapping element
* feat: add txhash col to withdraw table
* feat: provide better ui if withdrawal is not ready to be completed
* feat: use separate dialogs for txs
* feat: allow user to immediately complete withdrawal if delay not triggered
* feat: add withdraw store to tidy up state management
* chore: fix tests
* chore: convert callback to promises, fix tests, delete withdraw page
* chore: fix lint errors
* fix: withdrawals link in nav
* feat: style changes after design update
* fix: proposal form test
* chore: tidy error ui logic
* feat: review comments
* chore: lint
* feat: add better typing for tables
* chore: put withdrawals tab at the end
* chore: update i18n
* fix: dialog in positions manager due to rename
* chore: increase spacing in withdrawal form
* chore: update tests
* chore: lint
* chore: use new assetsConnection and update cy test
* fix: incorrect shape of withdrawal generate function
* feat: delete withdrawals page now that its shown on the portfolio page
* chore: update tests to check for withdrawals page
* chore: fix tests again
* fix: page title test
* feat: create new buttons
* feat: update anchor and button link styles
* feat: add icon support
* feat: fix full width with icon
* feat: convert invalid button props to use new props
* feat: tidy up explorer
* feat: more tidy up for token and trading
* feat: move styles to css file using @apply
* chore: remove css with @apply as its not working in apps
* fix: deposit form button
* feat: use default tailwind config, start on forms
* feat: fixup trade grid styles
* feat: form styles
* feat: styles for order book and tables
* feat: make key management use dropdown
* feat: update various components
* feat: tidy up wallet section
* feat: token tidy up
* feat: token governance styles
* Feat/927: Dialog styling
* feat: token styles
* feat: add font familys
* feat: change token borders to be softer
* feat: console-lite changes to support new theme
* Feat/927: Centered key-value-table.tsx spacing
* Feat/927: Tweak to Explorer site border colours to be inline with trading
* Feat/927: Tweak to Explorer header
* Feat/927: Theme switcher icon colours
* Feat/927: Fix for Explorer block data styling
* feat: fix tests, add status footer and change logos
* feat: render both theme icons to avoid hydration error
* chore: run migrations for project
* fix: tailwindconfig build to work with new next version
* feat: use document page for next as per documentation
* chore: update build targets to use development mode when serving
* fix: console-lite default text colors
* chore: fix tooltip text break, change submit button
* feat: adjust console-lite styles to work with tabs
* feat: add bespoke dialog for console-lite market-selector
* Feat/927: Theme switcher now has prop for fixed bg colour
* Feat/927: Font size and border radius tweak for toggles
* Feat/927: Cleaned up trade-grid.tsx spacing
* feat: responsive styles for market header and nav
* feat: update designs for market popover
* fix: nav active state
* chore: allow classname to be passed to button
* Feat/927: Fix Token width on desktop (was overflowing)
* Feat/927: Fix token header h1 from wrapping
* Feat/927: Tweak for claim-flow.tsx
* fix: connect button test
* Feat/927: Proposals list styling polish
* Feat/927: key-value-table.tsx spacing tweak
* feat: add copy button to kp dropdown
* Feat/927: Removing old theme params and uses
* Feat/927: Removing old theme params and uses, documenting the now used otb sizes
* feat: use key val table in asset dialog
* feat: align tooltip styles
* fix: orderbook grid alignment
* chore: linting
* fix: dialog sizing in medium mode, node switcher styles
* chore: remove unused color classes
* feat: update radio and checkbox designs
* feat: updates to storybook
* feat: update design system stories
* chore: stories update
* chore: rename resize panels and tidy
* feat: fix checkbox tick
* fix: add poyfills for jest in trading test setup
* chore: fix checkbox tests
* chore: fix tests
* chore: fix tests again
* chore: revert token wallet name test
* fix: tooltip tests on console-lite
* fix: wallet dropdown test
Co-authored-by: sam-keen <samuel.kleinmann@gmail.com>
* chore(#1116 ): status mapping fixes after API changes
* fix: modify proposal status
* fix: update to use numbers in price cell rather than converting