* 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
* feat(1879): Delegations - removed from explorer queries as currently unused
* feat(1879): Delegations - used delegationsConnection in vega-wallet
* feat(1879): Delegations - updated Token staking form to use new api and query
* feat(1879): updated Token staking info and validator table to use new delegations api
* chore: updates to accomodate change to datasource apis
* chore: update types for proposal submission
* chore: update queries to work with latest core changes
* 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(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
* 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
* 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: 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/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>
* feat: add new generator with config
* feat: split off gql queries to separate files for the new generator
* fix: delete dummy schema
* feat: add generated queries with new codegen
* fix: regenerate from scratch and remove duplicates
* fix: libs and app gen folders
* fix: remove more duplicate queries
* fix: add generated files to be ignored by the formatter
* fix: format
* feat: migrate assets to use new code generator
* fix: generated imports
* fix: lint
* fix: accounts export
* fix: more imports
* fix: add type alias for new type system and regenerate
* fix: format
* fix: export
* fix: format
* fix: delete leftover file from merge
* chore: migrate candles-chart lib
* fix: remove redundant asset files
* chore: migrate accounts
* chore: update glob
* chore: add cleanup to fix-imports to support type migrations for now
* fix: imports
* fix: update market types
* fix: type import paths
* fix: format
* fix: import
* fix: types in e2e tests
* fix: format
* fix: lint
* chore: replaced market name with tradable instrument name (1259)
* removed lodash import that must have added itself magically
* =aligned cypress tests with code changed
* =aligned console lite cypress mocks to the code changes
* changed cypress market info key details test
* changed cypress market info key details test
* generate markets for console lite
* chore: moved proposal queries to lib/governance
* chore: used new rationale title and description
* chore: addressed PR comments, refactored
* chore: moved proposal queries to lib/governance
* chore: used new rationale title and description
* chore: addressed PR comments, refactored
* fix: dropped s after merge
* fix: fixed lodash imports
* chore: filter assets by status (1108)
* chore: moved asset status
* chore: re-adding filterin after merge (changed upstream)
* chore: filter assets by status (1108)
* chore: moved asset status
* types
* fixed deposit cypress tests
* feat: add new generator with config
* feat: split off gql queries to separate files for the new generator
* fix: delete dummy schema
* feat: add generated queries with new codegen
* fix: regenerate from scratch and remove duplicates
* fix: libs and app gen folders
* fix: remove more duplicate queries
* fix: add generated files to be ignored by the formatter
* fix: format
* fix: generated imports
* fix: lint
* fix: accounts export
* fix: more imports
* fix: add type alias for new type system and regenerate
* fix: format
* fix: delete leftover file from merge
* feat: add network switcher to block explorer
* fix: add mock for @vegaprotocol/environment
* fix: #723 add test to see if network switcher gets rendered
* fix: formatting on header.spec.tsx
* fix: order by trading mode not by open timestamp
* fix: add fixed vh on landing content
* fix: order by trading mode
* fix: useMarketList added to data provider
* fix: fix network-parameters.spec.tsx
* fix: network switcher font color & height of table rows
* chore: add market page mock to hook
* fix: remove redundant class
* fix: formatting and height of landing modal
* fix: break-word on ids in market info
* fix: linting issue remove import
* fix: remove markets landing mock as it is similar with market list
* Update apps/trading-e2e/src/integration/home.cy.ts
Co-authored-by: Joe <joe@vega.xyz>