* 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>
* feat(explorer): change styling party details page
* feat(explorer): use panel component in txs-stats-info.tsx
* feat(explorer): change order for party details sections
* chore: fix for persist force value selection after change of order type
* chore: fix for persist force value selection after change of order type fix some int test
* chore: fix for persist force value selection after change of order fast fixes
Co-authored-by: maciek <maciek@vegaprotocol.io>
* 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>
* chore(explorer): add stagnet 1 env vars
* feat(explorer): add info block component
* feat(explorer): change tx order type lozenge
* feat(explorer): change truncated-link.tsx style
* feat(explorer): add stats info component for txs
* feat(explorer): change page title size
* feat(explorer): update txs list and add txs for party
* fix(explorer): remove unused var
* fix(explorer): change copy and remove unused vars
* fix(explorer): pr review fixes
* feat: add connect vega wallet button to the deal ticket
* feat: add connect vega wallet button to the deal ticket - manage some int tests
Co-authored-by: maciek <maciek@vegaprotocol.io>
* fix: voting during waiting for node vote
allow voting during waiting for node vote, bug fix for vote cancelled, show correct status
* fix: adjust vote information to be more correct
* test: begin adding tests for current proposal status
* chore: clean up render logic, add more tests for current proposal status
* chore: add tests for failed proposals
* test: add final tests for vote information
* test: fix rebase issues
* test: test for update asset proposal
* test: added test for hiding validator list
* chore: update vegacapsule config files
* fix: lint
* chore: add reason to skipped test
* 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>
* fix: bad data flow
* chore: generate types
* chore: move component to where it is used
* chore: move things top the routes where they are actually used
* chore: more moving of files
* chore: generate types
* chore: replace old type files with new
* test: fix tests
* Fix/1326: Do not allow proposal voting unless sufficient associated tokens
* Fix/1326: Renaming string
* Fix/1326: Changes from PR comments and vote-buttons tests
* Fix/1326: Switched to enum
* Fix/1326: Used enum in unit tests
* fix: incorrect connection logic on the associate page
* test: add tests for staking wallet container
* chore: move files to be consistent with other routes structures
* chore: rename to be consistent with other route strcutures
* style: lint
* test: allow seeing of node information when not connected to wallets
* test: add test for disassociate page
* 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(explorer): replace tendermint api with block explorer api for transaction related searches
* feat(explorer): replace detect search type to be by process of elimination as temp measure
* fix(explorer): fix broken tests
* 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>
* Feat/1541: Hide top third of validators to promote decentralisation
* Feat/1541: Hide top third of validators
* Feat/1541: Only top validators if 3 or more
* feat: updated withdrawal tab (849)
* added pending table to the token app, added pending completed filtering to the data provider
* amended and added unit tests
* amended time formats
* added units
* fixes errors
* addressed comments
* fix: make sparkline appear after change cell
* fix: make price come after expiry in market header
* fix: refer to size rather than amount in validation
* fix: radio colors in light theme
* fix: remove orange border from vega tx pending state
* chore: combine deposit and withdraw buttons into single cell
* chore: update accounts table test, remove console warning from breakdown tests
* chore: update order validation test
* chore: place market table header in correct position
* chore: use actual change id to avoid clash
* fix: remove assertion in fills table that is flakey
* chore: render fills table with act
* fix: add a wait time for infura queries to resolve
* chore: seoplia migration
* fix: remove trailing slash from etherscan urls
* fix: make mock assets for withdraw form real assets so working with infura works
* chore: remove stray screen.debug
* fix: global mocks for chainid
* fix: add additional chain id mock for withdrawals page
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: replace Order type with existing OrderSubmissionBody['orderSubmission']
* chore: drop WithMarket from Order, Trade and Fill types
* chore: fix order list mock
* chore: ignore apollo errors - to be reverted after API will be fixed
* fix: navigtaion link market - no global local storage init
* fix: update active link check
* fix: fix any hydration errors and default fallback to markets
Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
* Feat/807: ABI and classes for the contract methods
* Feat/807: Added a new multisig-signer app
* Feat/807: Added a new multisig-signer app
* Feat/800: Untested signer forms
* Feat/800: Moved reused bg video into ui-toolkit to use in multisig-signer project, and cleaned up some spacing that was overlooked in the stats theme changes
* Feat/800: Componentised a bit, made the app look ok
* Feat/800: Linting, prettifying, removing some unneeded tests, ensuring e2e tests run
* Feat/800: Bit of translation
* chore: fix type errors
* chore: some parts error handling
* feat: handle error and not found cases
* feat: add changes to remove signer form as well
* chore: rename component
* chore: fix type issues
* feat: add web3 connector logic
* feat: allow disconnecting and show connected eth wallet info
* Feat/800: Removed unused 'useApolloClient'
* Feat/800: Ensure bundle.nonce and bundle.signatures have '0x' prepended
* Feat/800: Removed unused e2e directory
* Feat/800: Removed unnecessary app test
* Feat/800: Removed unnecessary router
* Feat/800: Capturing GQL errors in Sentry
* Feat/800: Removing references to the unused e2e test directory
* Feat/807: Consistent react hook imports
* Feat/807: Removed unnecessary spreads
Co-authored-by: Dexter <dexter.edwards93@gmail.com>
* feat: allow second type arg to be generic as you dont always need the value
* feat: update order data provider to include fields required to determine if editable or cancellable
* feat: use ag grid type helpers and add rendering logic to cancel and amend buttons
* feat: combine cancel/edit buttons into single cell for better spacing
* feat: add test cases for dispaly of amend/cancel buttons
* chore: add missing fields to mock generate function
* chore: remove unnecessary wait for in fills test that was sporadically failing
* fix: add missing fields to generate order function
* fix: add missing fields to generate order function for console-lite
* chore: set default fetchPolicy, handle subscription errors like query errors,add unsubscribe timeout
* chore: improve no data handling in fills, ordes and trades
* chore: make reset delay optional, fix pagination and useOrderListData spec
* 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>
* feat: add not found page
* test: add tests for not found
* Update apps/token/src/i18n/translations/dev.json
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* test: fix test for new updated copy
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* feat: added asset details dialog to market select (1226)
* Update libs/ui-toolkit/src/components/dialog/dialog.tsx
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* removed focus complexity from popover, refactored
* chore: after rebase fixes
* fix: fixed console-lite asset details dialog func - after rebase
* fix: added mock for one failing test, removed console.log
* fix: removed increased timeout - not needed
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* Feat/800: Configured routes for different proposal types
* Feat/800: Refactored propose.tsx to be a hub for the new proposal routes
* Feat/800: Link style tweak for proposals guide
* Feat/927: Hydrating the new proposal forms
* chore: fix typings for shared components
* Feat/927: Proposal forms built with reusable components
* Feat/800: Updated network params, added new method to get param keys as well as values, updated generated types
* Feat/800: Updated and built more reusable proposal form components
* Feat/800: Removed old catchall file of reusable proposal form components
* Feat/800: Added utils for vote deadline and enactment timestamps
* Feat/800: Readded necessary 'color-scheme-dark' class for dark-theme date and datetime inputs
* Feat/800: Tweak to icon positioning on the dialog component
* Feat/800: Regenerated types for network params
* Feat/800: Added iso8601-duration package for working with API vote deadline and enactment data
* Feat/800: Reworked the proposal forms
* Feat/800: Couple of translation additions
* Feat/800: Another translation addition
* Feat/800: Raw proposal test (tests as per old proposal form test)
* Feat/800: Some basic proposal form tests
* Feat/800: Fixing small types error in test
* Feat/800: Updating simple proposal form tests
* Feat/800: Set up env-specific proposal docs links
* Feat/800: Deadlines to the bottom of proposal forms
* Feat/800: Another type error from API changes fixed
* Feat/800: Added the spam protection min tokens network param to proposal forms requests, and the min requirements now displays the larger value of spam protection or min proposer balance
* Feat/800: Network param value change now a textarea
* Feat/800: Improved way to pass docs url
* Feat/800: Added useful explorer links to proposal forms
* Feat/800: Show current value of selected network param in proposal form
* Feat/800: Removed wallet-confirmation buffer, suspect it is not necessary
* Feat/800: Condense vote and enactment ui into single component for simpler state management, memoised some stuff
* Feat/800: Set a default select option for the market selector
* Feat/800: For network params that aren't JSON, display the network param current value in a readonly text input rather than the syntax highlighter
* Feat/800: Corrected network param form network params
* Feat/800: Timestamp functions for closing, enactment and validation, with tests
* Feat/800: More translations
* Feat/800: Added validation options to proposal-form-vote-and-enactment-deadline.tsx, generally improved the component and added tests
* Feat/800: Improved workings of proposal-form-min-requirements.tsx and wrote tests
* Feat/800: Tests for the other reusable form components
* Feat/800: Improved tests for the proposal forms
* Feat/800: Corrected mistake in get-enactment-timestamp.ts
* Feat/800: Fixed type issues that were preventing spotting an error
* Feat/800: Added some extra docs links
* Feat/800: Using renamed Dialog passed in from useProposalSubmit
* refactor: network params to return an object
* fix: update net param form, remove old net params obj
* fix: check for params before rendering
* Feat/800: Rename and simplify isJson based off PR comment
* Feat/800: Small tweaks to timestamp helpers based on PR comments
* Feat/800: Removed proposal-docs-link.tsx
* Feat/800: Used bignumber for min-requirements calculation
* Feat/800: Update tests to work with merged network params branch
* Feat/800: Removed unnecessary translations splitting
* Feat/800: Removed unwanted test
* Feat/800: Removed unwanted tests
* Feat/800: Consistent arrow functions
* Feat/800: Sorted links
* Feat/800: Removed unnecessary typecasting
* Feat/800: Refactored routing
* Feat/800: Refactored mocking of proposal forms to use MockedProvider
* Feat/800: Correct response from the raw proposal submission test
* Feat/800: Removed console.logs added for debugging
* Feat/800: Result of running 'nx format:write'
* Feat/800: Cleaning up lint warnings
* Update apps/token/.env.stagnet3
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Feat/800: Added extra test for docs link in the proposal-form-terms component
* Feat/800: Removed stray console.log
* Feat/800: Added basic render test for proposal-form-terms and cleaned up a bit
* Feat/800: Added tests for the correct form components for the different forms
* Feat/800: Split up the proposal-form-vote-and-enactment-deadline components inside the file to make things a bit more readable
* Feat/800: router config webpack chunk name tweak
* Feat/800: Lint issue fixed
* Feat/800: Fixed timing issue with get-[deadline]-timestamp tests
* Feat/800: Setting a system time in proposal-form-vote-and-enactment-deadline.spec.tsx that doesn't get affected by British Summer Time
* Feat/800: Skipping a cypress test as the newProposalButton no longer takes a user directly to a proposal form. Leaving it in the codebase as the test is very likely to be updated.
* Feat/800: Adding comment on why I've skipped a cypress test
Co-authored-by: Dexter <dexter@vega.xyz>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* chore: disable video record for token e2e
* chore: disable videos in all tests
* fix: change main-branch-name to base-ref
* chore: disable capsule being run when not necessary
* fix: missing true
* chore: fix typo
* chore: fix if contruction
* chore: fix env
* chore: fix envs
* chore: try to fix develop ref
* test: initial commit
* test: commit
* test: extra tests and references added also new tag 0.55.0 for builds
* test: lint
* test: back to 0.54 for capsule cypress until tests fixed
* test: skip two tests since wallet name no longer shown soon to be fixed
* test: couple more tests to fulfill ACs
* test: lint
* test: more tests
* test: lint
* test: extra check within test
* test: lint
* test: minor
* test: improve test flake and skip test bugs outstanding
* test: lint and increase epoch length by second
* test: more tests
* test: lint
* test: lint
* test: lint
* test: teardown functionality
* test: lint
* test: epoch speed up and network restart stuff
* test: lint
* test: change epoch duration
* test: timing tweaks due to failures in CI
* test: lint
* test: more timing tweaks
* test: lint
* test: timing tweak
* test: lint
* test: lint
* test: config changes