* feat: mobile navbar on Console
* feat: mobile navbar on Console - adjust unit test
* feat: mobile navbar on Console - adjust unit test
* feat: mobile navbar on Console - adjust themes
* feat: mobile navbar on Console - add some unit tests
* feat: mobile navbar on Console - refactor solution
* feat: mobile navbar on Console - adjust int tests
* feat: mobile navbar on Console - adjust styling
* feat: mobile navbar on Console - move close button into the drawer
* feat: mobile navbar on Console - adjust int tests
* chore: close drawe after navigation
* chore: mobile navbar on Console - adjust unit tests
* chore: mobile navbar on Console - adjust unit tests
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* 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>
* 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>
* fix: border too thick, use grid head component
* fix: unused and superfluous classes, define border color in one place
* fix: tooltip should be on data not label
* 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>
* chore: change tab panel background and spacing
* chore: prevent tabs shiting on click, bg tweak
* chore: adjust chrome layout/spacing
* chore: fix horizontal alignment when accordion chevron rotates
* chore: adjusting bold levels and making market name pink on light theme
* chore: changing white theme header to black background
* chore: re-ordering bottom tabs
* chore: tweaking font sizes
* chore: adjusting dropdown button hover colour
* chore: colour tweaks for accessibility, plus orderbook column widths
* Remove redundant style
Removed 'bg-white' left by error.
* Setting header text to white
* chore: alterative fix to prevent tabs moving
* chore: fixing header font colours
* chore: adding padding to orderbook
* chore: preventing modal close icon from moving on focus
* chore: remove inner shadow from selectbox
* chore: adding padding to orderbook
* chore: preventing @ sign from moving when changing order type
* chore: fix background colour on smaller responsive view
* chore: fix truncated market header on smaller responsive view
* chore: reorder tabs in smaller responsive view to match standard view
* fix: fix broken test
* fix: deposits tests, also convert to basic cypress
* add new home tests which test redirect to trading page and markets page
* chore: replace portfolio page feature with raw cypress
* chore: replace market page feature with raw cypress tests
* chore: replace home page tests with global.ts for wallet connections
* chore: add raw cypress withdrawals tests with mocks
* fix: complete withdrawals prompt and add assertion for it
* chore: remove unnecessary cypress envs now that we are mocking assets
* chore: ignore lint errors temporarily
* chore: add mock for deposit page query, add wait for mocked queries to resolve
* fix: order of waiting for withdraw page query
* fix: validate vega wallet connection
* chore: remove rest of page objects and convert trading page feature to regular cypress
* fix: assertion on transaction dialog after withdrawal
* chore: split withdraw and withdrawals pages into separate files
* chore: split trading tests into own files, connect wallet once for deal ticket
* feat: convert home page tests to raw cypress
* scaffold dealticket package, remove trading views from react-helpers
* add deal ticket component, add intent utils, expand dialog and form group styles
* add splash component, show market not found message if market doesnt exist
* tidy up error handling
* add handleError method for vega tx hook
* add better testname for provider test, flesh out tests a bit more for deal ticket
* Add unit tests for useVegaTransaction and useOrderSubmit hooks
* add wrapper component for order dialog styles
* add vega styled loader to ui toolkit and use in order dialog
* add title prop to order dialog
* split limit and market tickets into own files
* add button radio component
* revert dialog styles
* move splash component to ui-toolkit, add story
* convert intent to enum
* Make button always type=button unless type prop is passed
* inline filter logic for tif selector
* add date-fns, add datetime to helpers
* add order types to wallet package, make price undefined if order type is market
* use enums in deal ticket logic
* tidy up order state by moving submit and transaction hooks out of deal ticket
* add comment for dialog styles
* remove decimal from price input
* add types package, delete old generated types from trading project
* rename types package to graphql
* update generate command to point to correct locations
* fix use order submit test
* BDD and navigation tests passing
* Remove commented steps
* Steps up to placing order
* Date picker and date-fns update
* Vega connector wallet tests
* Passing up to request sent, updated date picker
* Tests for sell orders and errors
* Update market feature
* Fix failing tests
* Update wallet login
* Readded tx hash assertion and remaining tests
* Add CI wallet import
* Update .github/workflows/cypress.yml
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Resolved PR comments
* Fix yaml error
* Attempt to fix failing tests in CI
* Run Cypress in Chrome
* Add reload if public key error displayed
* Fix wallet name
* Add force click and waits
* Increase timeout for deal ticket page
* Removed network list from yaml and using input error id
* Increase timeout to 8 seconds
* Re add deleted test id
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* add manage dialog to wallet lib, add it to trading app
* add test for wallet button
* add tests for manage dialog
* move tooltip to ui-toolkit, add copy with tooltip component for manage dialog
* add better labelling
* add tooltip story
* add story for copy-with-tooltip
* add tests for tooltip and copy-with-tooltip
* move useFakeTimers call to beforeAll
* adjust design of manage dialog
* fix linting issues
* add deposit page
* add web3 provider using web3-react package
* add env setup, add guard for incorrect chain id
* add lib for web3-provider
* make wallet and ethereum connect dialogs look more consistent
* add setup tests file for jest-dom
* remove chain id config and just use appChainId prop, add disconnect button to invalid chainId state
* remove .env file for now, will complete as own ticket
* switch handling of connect dialog state to the consuming app
* rename web3-provider package to just web3
* envs for each environment so we can specify chainId
* remove fallback to testnet for apollo client creation
* make web3container enforce connection before rendering childen
* move infura id to env var
* add custom properties to style ag grid tables
* use theme styles, make nav text sizes responsive
* move row and header heights to parent
* use max-w-full