* feat: #994 add price monitoring bounds and candles update interface
* fix: move best bid price to diff section
* 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
* fix: remove indicativeVolume and oracleSpecBinding from market info
* fix: add oracleSpecBinding back
* Update libs/deal-ticket/src/components/info-market.tsx
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
* fix: memo yesterday's timestamp
* fix: memo timestamp on market info
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
* fix: update appolo client and set key fields for instruments
* fix: use in-memory cache and tradable instrument id
* fix: revert switch case
* fix: add more info in gen market list for home.cy.ts
* fix: instrument keyfield still false
* fix: revert simple trading app and explorer updates - fixing tests
* fix: remove id from instrument data provider in simple trading app
* fix: remove id from market selector market names query
* Update apps/trading-e2e/src/support/mocks/generate-market-list.ts
* Update apps/trading-e2e/src/support/mocks/generate-market-list.ts
* Update apps/trading-e2e/src/support/mocks/generate-market-list.ts
* Update apps/trading-e2e/src/support/mocks/generate-market-list.ts
* feat: use MarketList query only
* fix: remove Market.ts from index
* feat: 30 refactor dialog, market list, change query
* feat: #30 add indicativeVolume, total fees, tooltip, large dialog, tooltip accepts html description
* fix: #30 total fees display in tooltip
* fix: #30 toggle title on dialog open
* fix: #30 fix order, price, high, low utils
* fix: #30 fix test for market utils
* feat: #30 add popover with markets to select
* feat: #30 storybook popover
* feat: #30 remove border on trigger and add some other classes
* fix: #30 fix format check with format:write
* feat: #30 add tooltip on taker fee
* feat: #30 add tooltip on taker fee
* fix: #30 format on select market list
* fix: #30 remove unknown cast in test mock data
* fix: #30 show markets where you have open positions
* fix: #30 double check if open positions
* fix: #30 dialog has only small/large sizes
* feat: #30 add border on trigger and change padding and no wrap
* fix: #30 if fees or factors are not found
* fix: #30 remove markets.cy tests as markets page is now gone
* fix#30 remove view full market list test
* fix: #30 add rotating arrow on market title
* fix: #30 add ease-in-out on popover
* fix: #30 add ease-in-out on popover
* fix: #30 align select a market table
* fix: #30 select a market title
* fix: #30 select a market title
* fix: #30 fix any validateDOMnesting issues
* fix: #30 show loading market data
* fix: #30 add list of header columns
* fix: #30 add list of header columns
* fix: #30 small refactoring after review
* fix: #30 update bold undreline class names
* fix: #30 add large-mobile size
* feat: #30 refactor select markets tables to render array of columns
* fix: #30 remove size from select market dialog
* fix: #30 add extra file for columns
* fix: #30 update formtting
* fix: #30 make sure popup closes on same market navigation
* fix: rename market-utils, add calcCandle methods, store market id on select
* fix: useMemo ondata and marketPositionData + orderbook stories fix
* feat: #30 add open volume positions
* fix: add market summary back
* fix: update formatting
* fix: use currentcolor on arrow
* fix: create all markets page
* fix: add overflow-y auto
* fix: enlarge select market to get started dialog
* fix: revert markets container
* fix: use query to fix flickering on position markets
* fix: edit unordered list in tooltips
* fix: fix tooltip table
* fix: fix home.cy.ts
* chore: skip /markets tests
* feat: remove dialog state handling from dialog and split out edit dialog
* feat: add complete state to use-vega-transaction, fix cancel dialog
* feat: add custom dialog content for order submission
* feat: handle custom title and custom intent
* feat: separate components, make order dialog wrapper more generic
* feat: remove dialog wrapper and add icon to dialog
* chore: remove other dialog wrappers and use icon and title props on main dialog
* chore: adjust default color of dialog text
* fix: tests for tx dialog and vega tx hook
* fix: order edit and cancel hook tests
* chore: add edit dialog to stories
* fix: e2e test for deal ticket
* feat: return dialog from hook
* refactor: add use-order-event hook to dedupe bus event logic
* refactor: add custom title and intent to order submit dialog
* chore: remove console logs
* fix: type error due to component being named idalog
* chore: add helper function for converting nanoseconds
* chore: remove capitalization text transform to dialog titles
* chore: remove unused import
* feat: handle titles and intents for cancel and edit
* chore: remove unused var
* 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: 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: 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>
* 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>
* 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>
* 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>
* 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
* fix: move MarketList wait back
* fix: dont wait for MarketList query
* fix: move assertion to actual test body so other tests can run
* fix: ensure page rendered before checking url after redirect
* fix: grid layout
* fix: withdrawals test by giving explicit dates to mocked withdrawals so they are ordered correctly
* fix: remove supreflous intercepts and use one intercept for all gql queries
* fix: mock vega tx per test, beforeEach not working
* fix: wait for both queries
* fix: move MarketList wait back
* fix: dont wait for MarketList query
* fix: move assertion to actual test body so other tests can run
* fix: ensure page rendered before checking url after redirect
* feat: unhardcode contract addresses
* fix: linting and tests
* feat: switch contract usage in token app to use unhardcoded addresses
* chore: remove other usage of hard coded contract addresses
* feat: convert contracts to classes, update claim contract to fix circular dependency
* feat: add hard coded contract addresses to contracts page
* fix: misc tidy up
* chore: rename ethers big num conversion func
* fix: remove pending transactions modal
* chore: add single toBigNum function that can accept number string or EthersBignNumber
* chore: delete unused tranche helpers and decimals functions from smart contracts lib
* feat: add faucetable token class
* fix: reset tx state after early exit from approve tx
* feat: re add transaction modal using zustand store
* fix: loader colors for eth wallet
* fix: pass ethereum config to gurantee existence before tx execution
* add docker image for building explorer
* add arg
* env file changes
* add docker file to build env file
* add requirement for env file in explorer
* fix env file syntax
* containers functional
* default to testnet
* make env flag logic consistent in all places
* pre populate env file
* ensure working for all projects
* address PR comment
* generalising env for token
* invert config dependency from ui toolkit
* fix: merge issues
* docs: running containers documentation
* style: lint
* fix: env varibales not being added properly
* chore: fix merge issues
* chore: fix docker file to support new exectutors
* chore: set address on all contracts as a property
* feat: pull token from contract rather than relying on env var
* chore: fix typing
* chore: remove duplicated prop
* chore: don't use chainId
* style: lint
* style: lint
* Merge branch 'master' into feat/dockerize-frontends
* Merge remote-tracking branch 'origin/master' into feat/dockerize-frontends
* test: revert changes to explorer e2e file
* fix: creating client without base causing token to error
* test: fix tests erroring in before hook due to file not being found
* chore: remove node env from configurable flags
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* fix: deposits tests, also convert to basic cypress
* add new home tests which test redirect to trading page and markets page
* chore: replace portfolio page feature with raw cypress
* chore: replace market page feature with raw cypress tests
* chore: replace home page tests with global.ts for wallet connections
* chore: add raw cypress withdrawals tests with mocks
* fix: complete withdrawals prompt and add assertion for it
* chore: remove unnecessary cypress envs now that we are mocking assets
* chore: ignore lint errors temporarily
* chore: add mock for deposit page query, add wait for mocked queries to resolve
* fix: order of waiting for withdraw page query
* fix: validate vega wallet connection
* chore: remove rest of page objects and convert trading page feature to regular cypress
* fix: assertion on transaction dialog after withdrawal
* chore: split withdraw and withdrawals pages into separate files
* chore: split trading tests into own files, connect wallet once for deal ticket
* feat: convert home page tests to raw cypress
* test: extract data via graphql in prep for date order checks
* test: linting changes
* test: overlay tests expanded
* test: linting follow up
* test: extra tests and increase timeouts
waiting on pr to improve scoping locators to the dialog and checking columns for content
* test: linting
* test: tweaks required to aid in initial wait
* test: linting
* test: removed a couple of imports not being used
* test: addressing typescript issues
* test: linting
* chore: type errors
* test: tidy up tests after typescript changes
* test: quick fix due to multiple links - using first
going forward it would be better to have ids for wrappers
Co-authored-by: Dexter <dexter.edwards93@gmail.com>
* [#151] market-depth code cleanup
* [#303] Make ask and bid relative volume bars relative to maximum bid or ask volume
* [#151] align cmulative vol bars to left
* [#151] replace orderbook zoom in zoom out buttons with dropdown
* [#151] fill gaps in orderbook data
* Order book mocks added
* [#151] mark mid price in orderbook
* [303] Show number in orderbook cumulative volume column
* [#808] show indicative uncrossing volume instead of volume if market is in auction mode
* Method for asserting order book style
* [#303] Add test id attributes to orderbook cells
* Cleanup steps after merge
* Order book test passing
* Change method name
* Revert "[#151] fill gaps in orderbook data"
This reverts commit 90ea4e4ab3.
* [#303] Orderbook rows render optimization
* test: update feature with @todo tests
Same tests can be found in Notion
* [#303] Orderbook scroll to mid price
* [#303] orderbook scroll to row pixel perfect alignment
* [#303] Bring back best offer horizontal lines
* [#303] Preserve center price level on row number change, adjust indicativePrice to resoluton
* feat(orderbook): add storybook
Refs: #303
* feat(orderbook): fix no rows handling
Refs: #303
* feat(orderbook): add orderbook stories for auction and continous market
Refs: #303
* feat(orderbook): add stories for empty orderbook
Refs: #303
* feat(orderbook): fix footer position when there is no data
Refs: #303
* feat(orderbook): seperate number of rows for buy and sell in storybook
Refs: #303
* feat(orderbook): keep mid price in middle until user will scroll
Refs: #303
* feat(orderbook): style scrollbar
* feat(orderbook): style scrollbar
* feat(orderbook): adjust gaps
* feat(orderbook): adjust gaps
* test: addition for autofilled order and mid price lines
* fix: lint
* feat(orderbook): make it posiible to write RTL tests
* feat(orderbook): fix price focus, add unit tests
* feat(orderbook): fix price scroll to mid proce, add unit tests
* feat(orderbook): improvements
- fix scrollbar colors in firefox
- bring back resolution dropdown chevron
- hide go to mid button when locked on mid price
- right align ask vol bar
- change grid gap to 5px
- add vertical lines between columns
- display "No data" if theis no orderbook data
- align header labels to right
* feat(orderbook): fix formatting
* feat(orderbook): add 5px gap
* feat(orderbook): improvements after code review
* feat(orderbook): display full height vertical lines
* fix: change in mid position
* feat(orderbook): fix number cannot be converted to BigInt because it is not integer
* feat(orderbook): fix TS2307 in trading-e2e caused by .module.scss import
Co-authored-by: Joe <joe@vega.xyz>