* feat: improve proposal types, add faucet for trading asset
* chore: yarn lock update
* fix: capsule tests to avoid jsx import
* chore: throw error so that ethereum setup failure is caught
* chore: org files and add logging
* chore: revert current trading-e2e .env file
* chore: add .env.capsule for trading tests on capsule
* chore: remove unused nx command
* chore: remove try catchs and allow errors to be caught by cypress
* chore: add slow tag for capsule test
* feat: move create market setup to libs/cypress
* chore: clearly separate vars meant for capsule with vars meant for non-capsule
* feat: remove hardcoded urls and use config obj
* chore: fix missing comma in genesis.tmpl
* chore: added limit order edit price test
* chore: remove encoding of transaction, update proposal tx trigger ratio to string
* chore: fix date and add date verification for update order
* chore: formatting fix
* chore: adjust trading app tests and workflows to be run in capsule in ci (#2574)
* chore: adjust trading app tests and workflows to be run in capsule in ci
* chore: fix token tests
* chore: increase timeout as it fails in ci
* chore: move market check to before function
* chore: add capsule logs to trading
* chore: increase proposal close time, also break up script for better debugging
* chore: bump up ethereum account setup timeout
* chore: suppress fetch logs to help with debugging
* chore: revert cy wraps now with suppressed logging
* chore: decrease tick amount
* chore: promise with timeout for better debugging
* chore: bump individual timeouts
* chore: bump timeout for tx wait promises
* chore: minor fix
* fix: leave Promise<any>
* fix: leave Promise<any>
* chore: fix home fail
Co-authored-by: Joe <joe@vega.xyz>
Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com>
Co-authored-by: Radosław Szpiech <szpiechrados@gmail.com>
Co-authored-by: Madalina Raicu <madalina@raygroup.uk>
* fix(#2569): market id copy update
* fix: enable cell text selection on ag-grid by default
* chore: fix partially filled order test
Co-authored-by: Rado <szpiechrados@gmail.com>
* feat: mobile navbar on Console
* feat: mobile navbar on Console - adjust unit test
* feat: mobile navbar on Console - adjust unit test
* feat: mobile navbar on Console - adjust themes
* feat: mobile navbar on Console - add some unit tests
* feat: mobile navbar on Console - refactor solution
* feat: mobile navbar on Console - adjust int tests
* feat: mobile navbar on Console - adjust styling
* feat: mobile navbar on Console - move close button into the drawer
* feat: mobile navbar on Console - adjust int tests
* chore: close drawe after navigation
* chore: mobile navbar on Console - adjust unit tests
* chore: mobile navbar on Console - adjust unit tests
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* chore: add mirror config for trading
* chore: fix url for mainnet mirror in network config
* fix: remove link if no market id
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* chore: regenerate types from version 66
* chore: fix transfer type mappings
* chore: update triggering ratio to use strings
* chore: regen explorer types
* build(explorer): fix linting error in regenerated explorer types
* chore: remove expiry fields from tests and fix imports to use updated generated code
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* feat(#2465): change red to vega pink
* feat(#2465): change red to vega pink part 2
* fix: update vega.red to vega.pink
* feat: color the charts
* feat: color the charts
* feat: color the charts
* fix: use dark pink and green
* fix: use dark pink and green
* feat(#2467): color long/short toggle and place order button
* fix: colors wick showing within candle
* fix: remove opacity from chart
* fix: use vega dark pink and green for vol cell
* fix: toggle and button colors
* feat(#2465): toggle peer checked text white
* fix: add liquidity supplied gap-2 in tooltip data grid
* fix: add indicator temporarily
* chore: update colors
* chore: update from x-dark to vega-x
* fix: rename symbols
* chore: update sell candles to only use stroke as they are solidly filled
* fix: remove use state
* fix: remove network account types
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* chore: redirect to last visited market instead first from the list
* chore: redirect to last visited market instead first from the list - add int tests
* feat: redirect to last visited market instead first from the list - refactor solution
* feat: redirect to last visited market instead first from the list - fix failing int test
* feat: redirect to last visited market instead first from the list - fix failing int test
* feat: redirect to last visited market instead first from the list - fix failing int test
* feat: redirect to last visited market instead first from the list - use immer in globalStore
* chore: redirect to last visited market - improve use of zustand
* feat(#2367): market liquidity supplied in trade market header
* feat(#2467): calculate LP status
* fix: add LP view link
* fix: add LP view link
* feat(#2367): show liquidity supplied percentage
* feat(#2367): show liquidity supplied percentage
* fix: liquidity-utils test needs big number
* feat(#2456): liquidity status marker
* feat(#2456): liquidity indicator
* feat(#2367): update props lp
* fix: use market data directly
* feat(#2367): move data grid in react-helpers
* feat(#2367): move data grid in react-helpers
* fix: indicator commented
* chore: remove unnecessary styles
* test: update test name
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* 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>
* 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
* 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
* feat(#2307): make liquidity provision table more prominent
* feat(#2307): show title only if content is defined
* feat(#2307): filter LP to show active, undeployed and pending
* fix(#2307): remove showTitle attribute
* fix: check marketId and name before building href
* fix(#2307): revert header changes
* 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
* 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
* 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>
* 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
* fix(#2171): remove user's pubkey from LP query
* fix(#2171): add LP partyID in account events
* fix(#2171): add LP partyID in account events
* 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: accounts-data-provider.spec.ts had missing partyId
* fix: revert not found error commit
* fix: revert and set error in data prov
* fix: make asset dialog use asset id rather than symbol
* fix: tests that relied on asset symbol rather than id
* chore: add missing asset id to mocks
* chore: add asset id to mocks for e2e tests
* chore: add missing asset id for orders mock
* chore: fix console-lite build
* chore: add missing asset ids to mocks
* 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>
* chore: update of deal ticket data
* chore: update of deal ticket data
* chore: update of deal ticket data - fix re-render loop
* chore: update of deal ticket data - add marketDealTicketProvider
* chore: update of deal ticket data - add marketDealTicketProvider
* chore: update of deal ticket data - adjust console-lite to the changes
* chore: update of deal ticket data - fix failing unit tests
* chore: update of deal ticket data - fix failing unit tests
* chore: update of deal ticket data - fix linter failings
* chore: update of deal ticket data - adjust console-lite-e2e
* chore: update of deal ticket data - fix build-spec failings
* chore: update of deal ticket data - fix failing e2e tests
* chore: update of deal ticket data - fix failing e2e tests
* chore: update of deal ticket data - fix failing e2e tests
* chore: update of deal ticket data - remove unnecessary gqls
* chore: update of deal ticket data - remove unnecessary gqls
* chore: update of deal ticket data - remove unnecessary gqls
* chore: update of deal ticket data - fix failings build
* chore: update of deal ticket data - remove redundant data provider
* chore: update of deal ticket data - remove redundant data provider
* chore: update of deal ticket data - fix some types
* 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
* fix: create custom ID for liquidity provision entries
* fix: #1931 rename is LP fragment
* fix(#2063): normalize numbers in lp table and rename isLpFragment
* 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
* chore: updates to accomodate change to datasource apis
* chore: update types for proposal submission
* chore: update queries to work with latest core changes
* chore: make liquidity page client side only
* chore: switch to hash based router
* chore: add index files for each page
* chore: tidy up _app
* chore: convert to use useRoutes
* fix: active state with react-router NavLink
* feat: add routes enum
* chore: restrict link and router imports from next
* chore: update testing navigation to use hash routes
* fix: typoe in eslint rule message
* chore: remove unnecessary getInitialProps function definition
* chore: wrap tests with memory router
* chore: delete unused index.page file
* chore: update suspense fallback state
* chore: add comment for link component span usage, update link to use toolkit styles
* chore: fix lint issues
* chore: delete client deposit page
* chore: revert title in _app so title gets set correctly without rerender
* revert: removal of deposit page so deposit e2e tests still pass
* chore: move client router to index page so valid status codes are still sent
* fix: wrong route path for markets page, cypress tests
* 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
* 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: #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
* 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: 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>
* 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>