* feat: 744 multi open accordion but not using pixelated icon anymore
* fix: fix size of the icon and color
* fix: remove styled stitches
* fix: remove styled stitches
* 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
* 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
* 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
* 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
* 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
* 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: remove market state check from markets.cy.ts
* fix: remove market state check from markets.cy.ts
* fix: remove market state check from markets.cy.ts
* Revert "fix: remove market state check from markets.cy.ts"
This reverts commit c9ab55c98a.
* Revert "fix: remove market state check from markets.cy.ts"
This reverts commit be60e56d8a.
* fix: fix markets.cy.ts failing
* fix: fix markets.cy.ts failing
* fix: fix markets.cy.ts failing
* fix: remove extra test from markets.cy.ts
* fix: update extra test from markets.cy.ts
* fix: update extra test from markets.cy.ts
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
* feat: add node swicther
* chore: remove hook form from node switcher
* feat: generate apollo types and add tests
* fix: format
* fix: types
* fix: remove redundant wrapper
* fix: layout styles
* fix: add controlled value to radio group
* fix: flaky node hook test
* feat: add custom input for node and more tests
* feat: wip refactor config hook to run on init
* fix: dont open node switcher on init
* fix: lint
* fix: lint
* fix: cache key error
* fix: format
* fix: lint
* feat: validate connected node on init WIP
* chore: refactor useconfig and usenodes
* fix: revert custom node branch changes
* feat: fix config loading errors and custom node handling
* feat: add test for nodes init
* fix: env error states
* fix: add more tests
* fix: format
* fix: lint and format
* fix: mock type in test
* fix: clean up queries
* fix: node block heights
* fix: make git variables optional
* fix: dialog width on lg screens
* feat: improve mobile looks
* fix: format
* fix: remove commented out styles
* fix: use node data url instead of key
* fix: clean up node switcher dialog props
* fix: add missing title and subtitle for dialog
* fix: show confiug load errors
* 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
* feat: add node swicther
* chore: remove hook form from node switcher
* feat: generate apollo types and add tests
* fix: format
* fix: types
* fix: remove redundant wrapper
* fix: layout styles
* fix: add controlled value to radio group
* fix: flaky node hook test
* feat: hook in node switcher to the explorer & token footer info
* fix: cache key handling for env config
* fix: env type in tests
* fix: format again
* fix: use netlify git env vars
* fix: remove commented styles
* fix: replace clsx with classnames
* fix: dialog sizes
* fix: fetch config by default
* fix: format
* fix: dialog close
* test(token): eth wallet widget validations with wallet connected
* test(token): change currency tests to be more readable
Co-authored-by: Rado <rado@vegaprotocol.io>
* chore(ui-toolkit): add aria label to icon for a11y (#621)
* chore(ui-toolkit): add labels for form-groups for a11y (#621)
* fix(ui-toolkit): fix form inputs storybook for a11y (#621)
* feat(ui-toolkit): add strict eslint a11y and components config (#621)
* chore(ui-toolkit): add translate t to form labels
* feat: [console-lite] - top nav-bar - first commit
* feat: [console-lite] - top nav-bar - fixes and improvements
* feat: [console-lite] - top nav-bar - add some netlify conf, change header for always black
* feat: [console-lite] - top nav-bar - add some netlify conf, change header for always black
* feat: [console-lite] - top nav-bar - add home link on logo
* feat: [console-lite] - top nav-bar - add job for copying netlify conf file
* feat: [console-lite] - top nav-bar - add job for copying netlify conf file
* feat: [console-lite] - top nav-bar - add a couple of int tests
* feat: [console-lite] - top nav-bar - fix a typo
* feat: [console-lite] - top nav-bar - remove anims due its inconsist with design concept, css fixes
* feat: [console-lite] - top nav-bar - make v-logo a component, add darken green color
* feat: [console-lite] - top nav-bar - move v-logo to existing dir
Co-authored-by: maciek <maciek@vegaprotocol.io>
* frontend-monorepo-397 - continuous txs list - glitchy start
* frontend-monorepo-397 - experimentation!
* fix: transactions infinite list loading
* fix: blocks reload
* frontend-monorepo-397 - removed redundant renderFetched component from infinite txs page, and removed debugging
* frontend-monorepo-397 - tests written, added button that opens a dialog with extra Command data to each list item
* frontend-monorepo-397 - Cleaned up styling of txs list a bit, addressed PR comments.
* frontend-monorepo-397 - tweaks to e2e tests
* frontend-monorepo-397 - disabling txs e2e tests for now
* fix: use fetch hook
* Update apps/explorer/src/app/components/txs/txs-infinite-list-item.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* frontend-monorepo-397 - refactored to use AsyncRenderer which now supports custom messaging
* frontend-monorepo-397 Continuous txs: set ignore for timing out tests rather than commenting out
* frontend-monorepo-397: Updated txs-infinite-list-item.tsx to work with the new dialog changes
* frontend-monorepo-397: Ignoring txs page e2e tests properly
Co-authored-by: Dexter <dexter.edwards93@gmail.com>
* frontend-monorepo-629: Made nav consistent with TFE and added focus-visible states
* frontend-monorepo-629: Header icons working
* frontend-monorepo-629: Tweak of header spacing
* frontend-monorepo-629: Text styles and spacing on all routes bar governance
* frontend-monorepo-629: Minor tweaks to font styles
* frontend-monorepo-629: Removed import from older solution
* frontend-monorepo-629: Evened up wallet padding to better suit the new button shadow styles
* frontend-monorepo-629: White text and mono font where needed in the eth wallet
* frontend-monorepo-629: Set only page header to use alpha lyrae
* frontend-monorepo-629: More use of mono font for balances and some text alignment
* frontend-monorepo-629: Keypair name element only rendered when name present
* frontend-monorepo-629: Stopped header title overflow on small screens
* frontend-monorepo-629: Button height established with padding to allow longer button text without overflow
* frontend-monorepo-629: Mobile wallet title/key alignment improved for mobile
* frontend-monorepo-629: Associated vega in wallet dark mode on
* frontend-monorepo-629: Removed redundant classes on eth wallet connect button
* frontend-monorepo-629: Vega wallet spacing tweaks
* feat(console-lite): add nav icons
* feat(console-lite): refactor resizing into reusable hook
* feat(console-lite): refactor navigation drawer
* feat(console-lite): add blue colour to theme-lite.js
* feat(console-lite): remove liquidity from nav items
* feat(console-lite): make style changes to navbar and add tab-bar for mobile
* chore(console-lite): change div to aside
* fix(console-lite): drawer left to right mode on mobile
* fix(console-lite): add missing className prop to drawer-wrapper.tsx
* feat(console-lite): add accessibility related changes
* fix(console-lite): fix linting errors
* fix(console-lite): fix failing test and add extra accessibility label
* refactor(console-lite): refactor conditional classNames
* refactor(console-lite): move useResize to react-helpers library
* refactor(console-lite): refactor sun and moon classNames
* fix(console-lite): fix broken e2e tests
* feat: 447 Refactored 'progress' intent to be 'prompt' as now white. Added yellow 'selected' intent
* feat: 447 Colour consolidation
* feat: 447 Colour consolidation extra renaming
* feat: 447 Fixing specified red colours
* feat: 447 Removed unused darker red
* feat: 447 Documenting additional colours in storybook
* feat: 447 Buttons updated (except 'accent', which will probably get removed when navs built)
* feat: 447 Text inputs updated
* feat:frontend-monorepo-447: Trading nav
* feat:frontend-monorepo-447: Updated toggle button colours
* feat:frontend-monorepo-447: Custom checkboxes
* feat:frontend-monorepo-447: Tweaks to radio buttons
* feat:frontend-monorepo-447: Input dates get dark color scheme in dark mode
* feat:frontend-monorepo-447: Dropdown updates
* feat:frontend-monorepo-447: Icon menu
* feat:frontend-monorepo-447: Focus visual styles moved to focus-visible for radios and toggle
* feat:frontend-monorepo-447: Tweak to focus styles for text input and textarea
* feat:frontend-monorepo-447: Labeled input
* feat:frontend-monorepo-447: Labeled input description red when in error
* feat:frontend-monorepo-447: Tooltip visual update
* feat:frontend-monorepo-447: Added disabled state to checkbox
* feat:frontend-monorepo-447: Custom select with radix
* feat:frontend-monorepo-447: Reverted back to native Select for a11y concerns
* feat:frontend-monorepo-447: Added visual cue for dropdown items when multiple can be selected
* feat:frontend-monorepo-447: Removed shadow from buttons in Explorer where it looked wrong
* feat:frontend-monorepo-447: Added box shadow classes into tailwind theme
* feat:frontend-monorepo-447: Colour primitives documentation updated
* feat:frontend-monorepo-447: Cleaning up box shadow use further
* feat:frontend-monorepo-447: Intents util updated
* feat:frontend-monorepo-447: Dialog component updated
* feat:frontend-monorepo-447: Callout component updated
* feat:frontend-monorepo-447: Adjusted apps to handle toolkit changes
* feat:frontend-monorepo-447: Moved tabs to ui-toolkit and styled
* feat:frontend-monorepo-447: Fixed ui-toolkit tests
* feat:frontend-monorepo-447: Token eth wallet made dark to support new buttons
* feat:frontend-monorepo-447: Ran prettier
* frontend-monorepo-447: Simplified button class functions and exported for use on other elements
* frontend-monorepo-447: Used newly exported button classes on Link elements in eth-wallet
* frontend-monorepo-447: Moved trading nav from ui-toolkit to trading app
* frontend-monorepo-447: Simplified intents and updated stories
* frontend-monorepo-447: Using classnames in requested spot
* frontend-monorepo-447: Removed unnecessary 'asChild' prop on dropdown triggers
* frontend-monorepo-447: Made use of the XPrimitive Radix naming convention
* frontend-monorepo-447: Simplified types in 'getButtonClasses'
* frontend-monorepo-447: Added 'asChild' to dropdown trigger to avoid nested buttons
* frontend-monorepo-447: Moved input label and description into Formgroup component. Refactored based on tweaked structure
* frontend-monorepo-447: Externally linked input label
* frontend-monorepo-447: Adding correct text colours to Intent.None backgrounds
* frontend-monorepo-447: Improved intent function name
* frontend-monorepo-447: Removed new navbar until implementation ticket is picked up
* frontend-monorepo-447: using testing-library/user-event for tab click unit tests
* frontend-monorepo-447: Removed unused button import
* frontend-monorepo-447: Little extra use of classnames in form-group.tsx
* feat: make navbar pink for light mode
* fix: problem with theme not switching when dependent in js on theme value
* fix: bg of row hover
* fix: dont use vega pink for sell red
* fix: type error in generate orders func
* fix: lint
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* fix: move MarketList wait back
* fix: dont wait for MarketList query
* fix: move assertion to actual test body so other tests can run
* fix: ensure page rendered before checking url after redirect
* fix: grid layout
* fix: withdrawals test by giving explicit dates to mocked withdrawals so they are ordered correctly
* [#151] market-depth code cleanup
* [#303] Make ask and bid relative volume bars relative to maximum bid or ask volume
* [#151] align cmulative vol bars to left
* [#151] replace orderbook zoom in zoom out buttons with dropdown
* [#151] fill gaps in orderbook data
* Order book mocks added
* [#151] mark mid price in orderbook
* [303] Show number in orderbook cumulative volume column
* [#808] show indicative uncrossing volume instead of volume if market is in auction mode
* Method for asserting order book style
* [#303] Add test id attributes to orderbook cells
* Cleanup steps after merge
* Order book test passing
* Change method name
* Revert "[#151] fill gaps in orderbook data"
This reverts commit 90ea4e4ab3.
* [#303] Orderbook rows render optimization
* test: update feature with @todo tests
Same tests can be found in Notion
* [#303] Orderbook scroll to mid price
* [#303] orderbook scroll to row pixel perfect alignment
* [#303] Bring back best offer horizontal lines
* [#303] Preserve center price level on row number change, adjust indicativePrice to resoluton
* feat(orderbook): add storybook
Refs: #303
* feat(orderbook): fix no rows handling
Refs: #303
* feat(orderbook): add orderbook stories for auction and continous market
Refs: #303
* feat(orderbook): add stories for empty orderbook
Refs: #303
* feat(orderbook): fix footer position when there is no data
Refs: #303
* feat(orderbook): seperate number of rows for buy and sell in storybook
Refs: #303
* feat(orderbook): keep mid price in middle until user will scroll
Refs: #303
* feat(orderbook): style scrollbar
* feat(orderbook): style scrollbar
* feat(orderbook): adjust gaps
* feat(orderbook): adjust gaps
* test: addition for autofilled order and mid price lines
* fix: lint
* feat(orderbook): make it posiible to write RTL tests
* feat(orderbook): fix price focus, add unit tests
* feat(orderbook): fix price scroll to mid proce, add unit tests
* feat(orderbook): improvements
- fix scrollbar colors in firefox
- bring back resolution dropdown chevron
- hide go to mid button when locked on mid price
- right align ask vol bar
- change grid gap to 5px
- add vertical lines between columns
- display "No data" if theis no orderbook data
- align header labels to right
* feat(orderbook): fix formatting
* feat(orderbook): add 5px gap
* feat(orderbook): improvements after code review
* feat(orderbook): display full height vertical lines
* fix: change in mid position
* feat(orderbook): fix number cannot be converted to BigInt because it is not integer
* feat(orderbook): fix TS2307 in trading-e2e caused by .module.scss import
Co-authored-by: Joe <joe@vega.xyz>
* feat: unhardcode contract addresses
* fix: linting and tests
* feat: switch contract usage in token app to use unhardcoded addresses
* chore: remove other usage of hard coded contract addresses
* feat: convert contracts to classes, update claim contract to fix circular dependency
* feat: add hard coded contract addresses to contracts page
* fix: misc tidy up
* chore: rename ethers big num conversion func
* fix: remove pending transactions modal
* chore: add single toBigNum function that can accept number string or EthersBignNumber
* chore: delete unused tranche helpers and decimals functions from smart contracts lib
* feat: add faucetable token class
* fix: reset tx state after early exit from approve tx
* feat: re add transaction modal using zustand store
* fix: loader colors for eth wallet
* fix: pass ethereum config to gurantee existence before tx execution
* chore: lint smart contracts lib
* chore: fix web3container to use children and not render prop
* chore: lint
* fix: use background to mock ethereum wallet to avoid mocking globally for every test
* chore: move web3 mock to common steps and call from withdrawals feature tests
* chore: add callout loaders and input lozenges
* fix: text colors and nav heading
* fix: text color for home links
* chore: fix spacing of wallets
* chore: fix missing translation keys
* chore: add loader to pending associatino tx callout, fix spacing of text within callout
* chore: make sure etherscan links open in a new tab
* fix: redemption page
* fix: spacing of rewards tables list
* fix: link styles on withdraw page
* fix: styles for withdrawal table
* fix: footer links
* fix: staking page links and spacing
* fix: translations
* fix: spacing of callout title, spacing of staking connect step
* fix: vesting page title
* fix: proposals list spacing
* fix: proposal page and vote details
* chore: update translation of metamask wallet connection button
* chore: delete unused files
* chore: dont nest buttons inside links
* chore: lint
* fix: title test after text change
* feat: [#456] select markets modal opening from market title
* feat: add a global zustand store for managing connect dialogs and landing dialog
* feat: add tests
* feat: [#456] make arrow configurable
* feat: [#456] make arrow configurable
* feat: [#456] trading tab active only on portfolio
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: [#445] shallow routing from index (#484)
* fix: [#445] shallow routing from index
* fix: [#445] use link to redirect to market - an attempt to fix reload
* fix: [#445] remove stretched link from last link - it makes all the other links unusable
* fix: [#445] fix lint on select market list - remove stretched link
* fix: [#456] put everything in landing folder to avoid conflicts
* fix: remove condition for cypress for auto connecting
* feat: [#456] add global store and fix href routing
* feat: [#456] add global store and fix href routing
* feat: [#456] add one more test
* feat: [#154] pull market data summary
* feat: [#154] move header above the trade grid child sections
* feat: [#154] flex oerflow and styling updates for market summary
* feat: [#154] fix styling
* fix: [154] fix cyp tests and styling
* fix: [#154] fix markets navigation cypress step
* fix: [#154] fix for navigate to markets link
* fix: failing tests from market change
* fix: [#154] set nav items based on market id and show last viewed market on landing
* fix: [#412] invalid decimal place on realised PnL field
* fix: [#154] remove redundant curly braces
* fix: [#154] show hyphen on volume if market data is undefined
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: dexturr <dexturr@users.noreply.github.com>
Co-authored-by: Joe <joe@vega.xyz>
* feat: add enviromnemt provider to the ui-toolkit
* chore: replace etherscan links
* chore: wrap trading app into environment provider
* chore: move env provider to react-helpers and wrap every app
* chore: remove more env variables from libs and replace them with the env hook
* fix: lint
* fix: update readme with correct formatting command
* fix: warnings for web3 hook
* fix: wrap warning in conditional, print message only when env keys are missing
* fix: incorrect condition on deposit manager fauceting param
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* fix: cleanup token app ethereum config
* chore: add better error handling to the useEnvironment hook
* fix: lint
* fix: formatting
* fix: more lint
* fix: throw error if required env variables are missing
* fix: remove default eth chain id
* fix: add back etherscan testid to withdrawals links
* fix: imports
* fix: try using babel jest for smart contracts test transpilation
* fix: uniform ts syntax
* chore: set resolveJsonModule in base tsconfig
* fix: add missing data-ids for etherscan links
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* [#305] add initial landing dialog on markets page and fix some typos
* [#305] market-list utils and generate schema
* [#305] initial styling of the landing dialog and add arrows
* [#305] routing to markets and add hover and market list tests
* [#305] fix z-index on dialog overlay
* [#305] default market shoulde be oldest market that is currently trading in continuous mode
* [#305] refactor market-list library
* [#305] add arrow unit tests
* Update libs/market-list/src/lib/components/landing/landing-dialog.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Update libs/market-list/src/lib/components/landing/select-market-list.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Update libs/market-list/src/lib/components/landing/select-market-list.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* test: fix failing tests from homepage change
* [#305] sort by id after sorting by date
* test: increase timeout for failing tests in CI
* [#305] destructuring all over the place and some code tweaks, arrows and percentage changes
* [#305] update sparkline to show colour
* [#305] fix order of market list
* [#305] stretchedLink class plus a-tag href for navigation - accessibility updates
* [#305] use href only and remove log
* [#305] use bignumber.js for price calculations
* [#305] change to bg-white/50 on dark mode overlay as asked from UX
* [#305] change to bg-white/50 on dark mode overlay as asked from UX
* [#305] toLocaleString fix
* [#305] toLocaleString fix
* [#305] add price-change-cell and use formatNumber
* [#305] add extra test for select market list
* Update apps/trading/specs/index.spec.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* [#305] use memo, sort by date and id lodash
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
Co-authored-by: Joe <joe@vega.xyz>
* fix: nav colors
* chore: replace blueprint progress bar
* chore: remove blueprint overlay and no unused components
* feat: add radio group to ui-toolkit
* feat: adjust disabled opacity and use radio in forms on staking flow
* chore: rename RadioItem to just Radio
* chore: replace country selector with plain select
* fix: key prop warnings
* feat: convert token drawer from blueprint drawer to radix dialog
* chore: remove blueprint core and blueprint select dependencies
* fix: add missing data test id for header title
* fix: spacing on token disassociate page
* fix: missing key props on vesting chart
* feat: update radio button design
* style: radio button UI tweaks
Co-authored-by: PeteWilliams <me@petewilliams.info>
* add icon prop to callout component
* add story example for custom icon node
* destructure props in fn args
* add accessibility props to callout icon
* remove redundant props
* add loading state to callout
* render loader first
* fix lint
Co-authored-by: Botond Fekete <fekbot@gmail.com>
* add feature/scenarios for deposits
* add file for auction orders tests
* update feature file for deposits
* update feature tests for deposit
* add feature/scenarios for deposits
* add file for auction orders tests
* update feature file for deposits
* update feature tests for deposit
* add test for wallet not connected
* fix lint warning
* add mock ethereum provider to allow connecting ethereum wallet
* add basic test for required validation errors
* add aria for input errors for a11y and test targeting, expand submit form helper
* use mnemonic for private key generation, update tests to not submit and just assert validation message updates
* add chain id to cypress config
* update scenario
* remove feature file
* lint fix
* Update apps/trading-e2e/cypress.json
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* use mnemonic from github secret, update cypress.json env vars to match
* fix typo in test name and mnemonic env var
* update env variables
* update eth wallet mnemonic env
* Update libs/cypress/src/lib/eip1193-bridge.ts
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* remove unused reference to chainId
* update casing
* chainId reference from cypress.json
* Update apps/trading-e2e/cypress.json
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Update apps/trading-e2e/src/support/step_definitions/deposits.step.ts
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* ignore a known failing step in the test due to wallet connected having approved status
* update testid
* update tests for deposits
* tidy up comments in custom cypress commands
* add comment about eager connect when running in cypress
* update deposits tests
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* move colors in ui-toolkit/config
* fixing tests and add stories
* fixing some tests and edit story
* update sparkline story
* rename story templates for sparkline
* use tailwind colors and rename to *.spec.tsx
* use tailwind only
* remove test.tsx
* Update libs/tailwindcss-config/src/theme.js
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* remove gray from tailwind and use black/40 and white/40 for strokeCurrent
Co-authored-by: madalinaraicu <“madalina@raygroup.uk”>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* network parameters table with key value rows and syntax blobs only for json values
* inline row not for syntax
* add unit test for network param table
* add cypress test to verify if values are non-empty
* remove some comments
* rename formatNumber method to addDecimalsFormatNumber and simplify formatNumber
* remove duplicate expect line
* use AsyncRenderer and sort params asc
* refactor and add extra tests to check ordering and loading cases
* format big number params with addDecimals formatNumber
* Update apps/explorer/src/app/routes/network-parameters/network-parameters.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* capitalize and refactor tests
* missing ; caused formatting to fail
Co-authored-by: madalinaraicu <“madalina@raygroup.uk”>
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* move key-value-table to ui-toolkit and use tailwind
* add key-value-table to storybook
* override border width 1px from the styles of the app, remove td and th from children
* clone muted and numerical props to children elements
* proposal change table remove empty lines
* add Roboto mono to font-mono tailwind config
* remove labels and labelfor
* revert change on token-details-circulating
* export the whole components directory rather than explicitly individual components
* add classNames, add formatNumberPercentage, remove spans, add span in token details circulating
* data-testid=governance-proposal-enactmentDate and use span instead of div
* use custom spacing defined in tailwind & another README.md update for running cypress in watch mode
* update divs to span within the vesting table
* Update README.md
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* borders and text visible on both dark and light themes
* add headingLevel and use dl instead of tables
* update styling for dl inline
* remove added grey from tailwind
* ignore md files
Co-authored-by: madalinaraicu <“madalina@raygroup.uk”>
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>