* feat(explorer): add basic table for all types in a batch
* feat(explorer): use marketlink for market ids in batch
* feat(explorer): add ordersummary
* feat(explorer): improve caching with some slight overfetching and cache config
* chore: regenerate types from version 66
* chore: fix transfer type mappings
* chore: update triggering ratio to use strings
* chore: regen explorer types
* build(explorer): fix linting error in regenerated explorer types
* chore: remove expiry fields from tests and fix imports to use updated generated code
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* feat(#2465): change red to vega pink
* feat(#2465): change red to vega pink part 2
* fix: update vega.red to vega.pink
* feat: color the charts
* feat: color the charts
* feat: color the charts
* fix: use dark pink and green
* fix: use dark pink and green
* feat(#2467): color long/short toggle and place order button
* fix: colors wick showing within candle
* fix: remove opacity from chart
* fix: use vega dark pink and green for vol cell
* fix: toggle and button colors
* feat(#2465): toggle peer checked text white
* fix: add liquidity supplied gap-2 in tooltip data grid
* fix: add indicator temporarily
* chore: update colors
* chore: update from x-dark to vega-x
* fix: rename symbols
* chore: update sell candles to only use stroke as they are solidly filled
* fix: remove use state
* fix: remove network account types
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* feat(explorer): initial empty list component on block txs list
* feat(explorer): messages formatting
* chore(explorer): update generated types
* feat(explorer): empty state for markets and assets and governance and blocks and txs
* feat(explorer): use loader rather than the word loading
* feat(explorer): use loader rather than the word loading in more places
* feat(explorer): empty state appears below headers in more pages
* feat(explorer): txs per block update
* feat(explorer): update tests to match new messages
* test(explorer): add test for loading and empty states for assets
* test(explorer): add test for loading and empty states for more routes
* test(explorer): change loading detector
* chore: switch theme to zustand, delete context
* chore: switch apps/componenets to consume the hook
* chore: update storybook theme usage to use documentElement
* chore: dry up theme switcher listener for storybooks
* feat: optional theme param to allow toggling
* chore: add additional check for matchMedia function
* chore: change block explorer test to use light theme as its the default
* chore: remove unused headerprops for multisig-signer
* chore: remove unused props from theme switcher component
* chore: dry up validateTheme func
* chore: remove unused props from explorer header test
* chore: use new theme switcher in account history container
* feat(2326): styled up validators intro as per designs, including site-wide tweaking to headers for consistency
* feat(2326): styled up reduced height epoch progress bar
* feat(2326): styled up inline 'reveal all validators' table row. Test failing
* feat(2326): failing test fixed
* feat(2326): components and styling for validator table
* feat(2326): making proposals section consistent with new validators styling
* feat(2326): extra consistency changes
* feat(2326): linting fixes
* feat(2326): a couple of e2e test fixes
* feat(2326): more e2e test fixes
* fix(explorer): initial tx delegation view
* fix(explorer): fix dangling duplicate type
* feat(explorer): add governanceasset component to show prices correct for that asset
* feat(explorer): add undelegate view
* feat(explorer): status code component shows error message if available
* fix(explorer): remove unused type
* chore: remove apollo type gen and clean up types lib
* fix: format
* fix: tests
* fix: format
* fix: hammer token types til sh*t turns green
* fix: format
* fix: apparently format again
* fix: lint
* fix: build-specs
* fix: format
* chore: regen types
* chore: regenerate types again
* fix: format
* frontend-monorepo-1263 validator status of pending now named 'candidate' in the ui
* feat(1263): validator table updates, calculating penalties
* feat(1263): bit of cleanup
* feat(1263): tables built and values derived
* feat(1263): tweaks
* feat(1263): upping site max width to 1500px
* feat(1263): tweak to normalised voting power column width
* feat(1263): ensure validator rows when hovered have cursor:pointer
* feat(1263): consensus validators now have a ranking field by voting power shown in the table
* feat(1263): fixed linting errors
* feat(1263): a couple of extra tests and correct import of schema to use enums
* Update apps/token/src/routes/staking/home/validator-tables/standby-pending-validators-table.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Update apps/token/src/routes/staking/home/validator-tables/validator-tables.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Update apps/token/src/routes/staking/home/validator-tables/validator-tables.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Update apps/token/src/routes/staking/home/validator-tables/validator-tables.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* feat(1263): tweaks from PR comments, initial push of util to remove 'node' from arrs
* feat(1263): updated new util to remove 'node' from 'edges'. Implemented across the monorepo
* feat(1263): cleaned up splitting validators into consensus, pending and ersatz to put into tables
* feat(1263): used decimals from app state in validator-tables.tsx
* feat(1263): removed redundant compact import
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* 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>
* feat: create new buttons
* feat: update anchor and button link styles
* feat: add icon support
* feat: fix full width with icon
* feat: convert invalid button props to use new props
* feat: tidy up explorer
* feat: more tidy up for token and trading
* feat: move styles to css file using @apply
* chore: remove css with @apply as its not working in apps
* fix: deposit form button
* feat: use default tailwind config, start on forms
* feat: fixup trade grid styles
* feat: form styles
* feat: styles for order book and tables
* feat: make key management use dropdown
* feat: update various components
* feat: tidy up wallet section
* feat: token tidy up
* feat: token governance styles
* Feat/927: Dialog styling
* feat: token styles
* feat: add font familys
* feat: change token borders to be softer
* feat: console-lite changes to support new theme
* Feat/927: Centered key-value-table.tsx spacing
* Feat/927: Tweak to Explorer site border colours to be inline with trading
* Feat/927: Tweak to Explorer header
* Feat/927: Theme switcher icon colours
* Feat/927: Fix for Explorer block data styling
* feat: fix tests, add status footer and change logos
* feat: render both theme icons to avoid hydration error
* chore: run migrations for project
* fix: tailwindconfig build to work with new next version
* feat: use document page for next as per documentation
* chore: update build targets to use development mode when serving
* fix: console-lite default text colors
* chore: fix tooltip text break, change submit button
* feat: adjust console-lite styles to work with tabs
* feat: add bespoke dialog for console-lite market-selector
* Feat/927: Theme switcher now has prop for fixed bg colour
* Feat/927: Font size and border radius tweak for toggles
* Feat/927: Cleaned up trade-grid.tsx spacing
* feat: responsive styles for market header and nav
* feat: update designs for market popover
* fix: nav active state
* chore: allow classname to be passed to button
* Feat/927: Fix Token width on desktop (was overflowing)
* Feat/927: Fix token header h1 from wrapping
* Feat/927: Tweak for claim-flow.tsx
* fix: connect button test
* Feat/927: Proposals list styling polish
* Feat/927: key-value-table.tsx spacing tweak
* feat: add copy button to kp dropdown
* Feat/927: Removing old theme params and uses
* Feat/927: Removing old theme params and uses, documenting the now used otb sizes
* feat: use key val table in asset dialog
* feat: align tooltip styles
* fix: orderbook grid alignment
* chore: linting
* fix: dialog sizing in medium mode, node switcher styles
* chore: remove unused color classes
* feat: update radio and checkbox designs
* feat: updates to storybook
* feat: update design system stories
* chore: stories update
* chore: rename resize panels and tidy
* feat: fix checkbox tick
* fix: add poyfills for jest in trading test setup
* chore: fix checkbox tests
* chore: fix tests
* chore: fix tests again
* chore: revert token wallet name test
* fix: tooltip tests on console-lite
* fix: wallet dropdown test
Co-authored-by: sam-keen <samuel.kleinmann@gmail.com>