* 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/537: Removed old contract and branching logic for collateral bridge
* Feat/537: Renamed all 'new' name instances in functions, files and types. Regenerated types.
* Feat/537: Added 'creation' field to withdraw-dialog.spec.tsx test
* feat: reselct field so that GTC is default on limit
* feat: set value when switching order type
* fix: deal ticket test
* fix: revert TIF selector file
* Feat/589: Reimplement theme switcher in storybook
* Feat/589: Setting a higher level 'dark' class when dark theme selected
* Feat/589: Removed class test
* feat: 744 multi open accordion but not using pixelated icon anymore
* fix: fix size of the icon and color
* fix: remove styled stitches
* fix: remove styled stitches
* Feat/804: Routing and basic page setup
* Feat/804: Type definition for proposals - awaiting asset docs/changes
* Feat/804: New proposals lib
* Feat/804: Propose form and page
* Feat/804: Removing dud copied unit tests for now
* Feat/804: Added types for new asset proposal
* feat: handle new error types returned from wallet for proposals
* chore: rename lib to governance
* feat: move usage of hook into form component
* feat: some adjustments and test coverage
* chore: tidy up, remove tailwind config
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* chore: remove generated vegawallet client code and implement in rest connector
* feat: add zod validation
* feat: handle specific auth/token delete case
* feat: make withdraw dialog match vega tx dialog
* fix: response stub to be right shape, add content type to requests
* chore: revert unrelated classname change
* frontend-monorepo-633: Oracles in block explorer - initial oracles page and router setup
* frontend-monorepo-633: Oracles in block explorer - added generated types file
* Feat/633: Cleanup for MVP1
* Feat/633: Cleanup of route name
* refactor: deposit manager with a zustand store and refetching balances after contracts complete
* refactor: remove assetId query string functionality
* chore: remove unused import
* chore: add a comment with a link to code explanation
* refactor: capture errors from deposit value get functions
* refactor: add error handling for async perform funcs
* feat: add assets to react helpers for types and erc20 check
* frontend-monorepo-671: Removed old proposal list intro text
* frontend-monorepo-671: Proposals sorted into open and closed state
* frontend-monorepo-671: Proposals also sorted by date, and sorting functions memoized
* frontend-monorepo-671: Updated proposal header for new text and i18n support, updated test
* frontend-monorepo-671: Eth wallet connect button full width
* frontend-monorepo-671: Proposal tests for primary text fixed
* Frontend-monorepo-671: Updated proposal description and tests. Included translations
* Frontend-monorepo-671: Small structural refactor
* frontend-monorepo-715: Added required translations
* frontend-monorepo-715: Proposals list item details
* frontend-monorepo-715: Proposals list item styling
* frontend-monorepo-671: Tests for proposals-list-item-details.tsx
* frontend-monorepo-671: Tests and tweaks for proposals-list.tsx
* frontend-monorepo-671: Reusable test components pulled into test-helpers
* frontend-monorepo-671: Proposals list text filter and tests (partially working tests)
* frontend-monorepo-671: Refactoring generateProposal to clobber rather than merge old arrays
* frontend-monorepo-671: Readded commented out tests
* frontend-monorepo-671: Removed empty files
* frontend-monorepo-671: Made more use of generateProposal overrides
* frontend-monorepo-671: Run prettier
* frontend-monorepo-671: Fixed linting errors
* frontend-monorepo-671: PR suggestions
* frontend-monorepo-671: Used 'describe' and improved test descriptions
* frontend-monorepo-646: PR improvement
* frontend-monorepo-671: Tweak to basic cypress tests
* Frontend-monorepo-45: Adjusted proposal filter and tests to remove rationale
* Frontend-monorepo-45: Removed accidentally duplicated test
* frontend-monorepo-671: More clarity for freeform proposal header
* frontend-monorepo-671: resolve master
* frontend-monorepo-671: Added issue number in comment for proposal rationale
* frontend-monorepo-671: Added issue number in another comment for proposal rationale
* frontend-monorepo-671: Mock timers added for proposals-list-item-details.spec.tsx
* frontend-monorepo-671: Mock timers added for proposals-list.spec.tsx
* frontend-monorepo-671: Improved styling to differentiate open vs closed proposals
* Fixed previous incorrect resolution of master
* frontend-monorepo-45: Removed party data from validators table
* frontend-monorepo-45: Removed redundant query fields
* frontend-monorepo-45: Validator AG Grid working and fields formatted
* frontend-monorepo-45: Removed old node list tests (as now handled by AG Grid)
* Frontend-monorepo-45: Removed unwanted auto-added imports
* Frontend-monorepo-45: Fixing cypress tests
* Frontend-monorepo-45: Removed unnecessary class added as part of layout test
* Frontend-monorepo-45: Removed unnecessary refactor added as part of layout test
* Frontend-monorepo-45: Removed unnecessary grid export added as part of grid setup
* frontend-monorepo-45: Removed unwanted font-size and adjusted avatar size in proportion
* frontend-monorepo-45: Expanded node-list tests
* frontend-monorepo-45: Used toString on translations to make node list coldefs a bit clearer
* frontend-monorepo-45: Converted nodeFactory to use lodash merge and PartialDeep
* frontend-monorepo-45: Refactored so node list AG grid field names are decoupled from translations
* frontend-monorepo-45: Added refreshing when epoch changes
* frontend-monorepo-45: Used epoch data already passed to node list instead of a new query
* frontend-monorepo-45: Node list - used formatNumber from libs/react-helpers
* frontend-monorepo-45: formatNumber now accepts BigNumbers
* 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: first pass at config file
* ci: pass app version
* ci: remove workflows that take a while to run to not waste build mins
* ci: run all steps all the time
* ci: correct tags
* ci: correct output syntax
* ci: use quotes
* ci: fix build platform
* ci: only build amd as PoC
* ci: add push true to step
* ci: publish trading and token containers
* fix: use correct environement variable names
* feat: separate dockerfiles for CRA based apps and next apps
* chore: correct path
* fix: incorrect asset path
* ci: build for both platforms
* ci: publish
* ci: add missing deps
* ci: rename pipelines
* ci: rename
* ci: publish on tag only
* ci: remove additional vs
* Revert "ci: remove workflows that take a while to run to not waste build mins"
This reverts commit 7054367ba0.
* chore: remove comment
* chore: revert accientally committed change
* feat: make use max only use account balance, add custom max messages
* fix: withdraw threshold limit display
* feat: add callstatic to ethereum transaction hook
* feat: improve types for useTransaction hook
* chore: fix types and remove ts-ignore
* chore: convert all smart contract wrapper methods to match metaclass methods
* fix: this context for calling tx
* chore: fix comment and any type
* chore: typo
Co-authored-by: Edd <edd@vega.xyz>
Co-authored-by: Edd <edd@vega.xyz>
* fix: #625 update the info market query with new fields
* fix: #625 generate code for info market query and fix pagination being removed from globalTypes
* fix: add id and filter no trading auctions
* fix: add id and format labels
* fix: add name and code to instrument
* fix: add name and code to instrument
* fix: format check
* feat: add settlement asset and mark price
* feat: add liquidity parameters
* fix: remove settings.json
* fix: price instead of mark price label
* fix: add instrument metadata
* fix: remove unused set lodash
* fix: move Liquidity monitoring parameters after price monitoring
* fix: rename instrument metadata to metadata
* fix: settlement asset could be undefined
* Merge branch 'master' of github.com:vegaprotocol/frontend-monorepo into feat/625-market-info-more-details-open-interest-liquidity-ids-risk
* fix: format market id and trading mode label in key details
* fix: display settlement asset if defined
* fix: format trade-grid.tsx
* 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: 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
* fix: #470 add use order edit hook
* fix: #470 edit order button
* 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: #470 open edit order modal and update storybook
* feat: #470 edit modals set up
* 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
* fix: #470 merge with new order hooks
* fix: #470 fix use-order-edit no red update order-list with code
* fix: #470 invert order show price last in dialog
* fix: #470 able to edit order
* fix: #470 fix dialog transition
* fix: #656#609 show Continuous trading and market state from trade grid header
* fix: #603 filter out rejected markets
* fix: #603 filter out rejected markets
* fix: #470 revert to 17.0.2 react
* fix: #470 revert to 17.0.2 react
* 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
* fix: #470 working edit submit on GTC not on GTT as it is missing expiresAt
* 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: #470 fix expiresAt and price unmarshall values
* fix: #470 fix expiresAt and price unmarshall values
* fix: #470 add extra test on editing order
* fix: pass child react node for order edit on vega tx default
* fix: status and rejection reason optional
* fix: add header transalations and remove commented line
* fix: simplify get list of markets
* fix: check if order.market undefined
* fix: remove cast and check market id
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* 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