* 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>
* feat: [console-lite] - fixes in order close out calcs
* feat: [console-lite] - fixes in order close out calcs - adjust int test
* feat: [console-lite] - fixes in order close out calcs - adjust int test
* feat: [console-lite] - fixes in order close out calcs - adjust int test
* feat: [console-lite] - fixes in order close out calcs - add dash instead 0
* feat: [console-lite] - fixes in order close out calcs - add dash instead 0
Co-authored-by: maciek <maciek@vegaprotocol.io>
* 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
* Feat/710: Block time display improved in block explorer
* Feat/710: Removed unused useMemo
* Feat/710: Updated tests to reflect always passing a string to TimeAgo
* 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
* 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
* frontend-monorepo-646: Staking intro tweaked and tests amended
* frontend-monorepo-646: Sorting grid placements and setting a fixed width for the main content area on larger screens
* frontend-monorepo-646: Removing some redundant elements and tweaking some tests
* test: fixes ahead of ui changes
* test: lint
* test: remove unused import
* test: renabling tests
* test: fixes
* test: fixes to catch up with last PR
* test: removal of tests no longer required
* test: removal of unused import
* Update apps/token/src/i18n/translations/dev.json
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* frontend-monorepo-646: Updated staking text
Co-authored-by: AndyWhiteVega <andy@vegaprotocol.io>
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>