* 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>
* chore: assets to assetsconnection
Changed queries in explorer app
* chore: assets to assetsConnection (961)
* chore: assets to assetsConnection (961)
* chore: assets to assetsConnection (961)
* fix: after merge issues fixed
* Feat/519: Add copy button to transaction content in explorer
* Feat/519: Adjusted copy of the button title
* Update apps/explorer/src/app/routes/txs/id/tx-details.tsx
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
* frontend-monorepo-633: Oracles in block explorer - initial oracles page and router setup
* frontend-monorepo-633: Oracles in block explorer - added generated types file
* Feat/633: Cleanup for MVP1
* Feat/633: Cleanup of route name
* Feat/710: Block time display improved in block explorer
* Feat/710: Removed unused useMemo
* Feat/710: Updated tests to reflect always passing a string to TimeAgo
* 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
* 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>
* 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>
* frontend-monorepo-567: Gave menu a high z-index to ensure it's shown above any positioned elements or ui-toolkit components
* frontend-monorepo-567: Clean up explorer nav component classes using classnames
* 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
* add docker image for building explorer
* add arg
* env file changes
* add docker file to build env file
* add requirement for env file in explorer
* fix env file syntax
* containers functional
* default to testnet
* make env flag logic consistent in all places
* pre populate env file
* ensure working for all projects
* address PR comment
* generalising env for token
* invert config dependency from ui toolkit
* fix: merge issues
* docs: running containers documentation
* style: lint
* fix: env varibales not being added properly
* chore: fix merge issues
* chore: fix docker file to support new exectutors
* chore: set address on all contracts as a property
* feat: pull token from contract rather than relying on env var
* chore: fix typing
* chore: remove duplicated prop
* chore: don't use chainId
* style: lint
* style: lint
* Merge branch 'master' into feat/dockerize-frontends
* Merge remote-tracking branch 'origin/master' into feat/dockerize-frontends
* test: revert changes to explorer e2e file
* fix: creating client without base causing token to error
* test: fix tests erroring in before hook due to file not being found
* chore: remove node env from configurable flags
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* 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>
* begin capsule workflow
* remove workflow file we don't want to run while debugging
* vheckout all require repos
* checkout repos to a directory each
* correct branch names
* rename workflow
* fix incorrecr branch name
* begin building binaries
* typo
* remove tests we don't want running while debugging
* remove tests we don't want running while debugging
* typo
* incorrect path
* comment out frontend checkout
* don't install as not done in example script
* add required environement variables
* change paths
* comment out FEM checkout
* check binary built properly
* path stuff
* silly mistake
* use relaive path
* correct working directory
* fix all paths
* debugging
* bump go verion
* fix path
* fix all paths
* fix cannot find config error
* add back in fe stuff
* move cehckout to where it is used
* revert accidentally committed change
* try install over build
* use v3 of action
* export as per action
* debugging
* don't pass path to install
* chnage go install
* change order
* pwd
* pwd
* see what happens without dn
* don't use relative path
* build correct paths
* remove checks as working
* make epxlorer run against locla capsule
* fix incorrect env file
* fix tests
* fixing tests
* trying for green run
* trying for green run
* bump timeout
* check tm endpoints
* configure to use the second tender mint node
* ci: add logs out
* ci: change paht
* ci: set env var correctly
* ci: remove wait for blockChain request
* ci: make test value assertions more robust
* ci: make test value assertions more robust
* chore: minor typo
* ci: add back test and lint scripts
* ci: comment out unused pipeline for now
* ci: break up job into steps
* ci: run all tests and pray it works
* ci: just use local vega wallet
* ci: not building it any more, use go installed bin
* ci: derive hashes properly
* ci: move existing folow into nightly
* ci: run nightly for all tests
* ci: use install bins
* ci: add missing flag
* ci: gobin
* ci: debugging
* ci: echo gopath
* ci: wrong syntax?
* ci: one last time?
* ci: try something else
* ci: try other things
* ci: again
* ci: move var to github env
* ci: set gobin
* ci: syntax
* ci: test out nightly
* ci: switch back nightly to posix
* ci: force network bootstrap
* ci: fix stupid mistake, pass falg to command not name
* ci: put test back
* ci: run on push as well as on pr
* ci: always upload logs if possible
* ci: import config from capsule rather than testnet
* Update apps/explorer-e2e/cypress.json
* test: fix failing test now we are using binaries
* ci: correct URL
* feat: add env specific serve commands where appropriate for apps
* fix: typo in command call
* feat: add custom executor for serving apps
* chore: clean up project files and use the custom executor
* chore: patch readmes
* chore: split out logs into their own function
* fix: prevent overriding env when no flag passed in
* fix: add tsc to postinstall to take care of compiling the custom executors
* fix: remove the custom serve executor from trading
* Making a start with react-window-infinite-loader for the blocks infinite scrolling
* WIP block explorer infinte scroll
* WIP pairing
* pairing tidying
* Applied refetch url params more cleanly, moved useFetch to react-helpers lib
* Add notice of new blocks created since page load, some cleanup of blocks-infinite-list.tsx component
* Attempting a refresh of the 'new blocks' value in blocks-refetch.tsx
* Correctly updating state based on previous value
* Update libs/react-helpers/src/hooks/use-fetch.ts
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* Update libs/react-helpers/src/hooks/use-fetch.ts
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* Update apps/explorer/src/app/components/blocks/blocks-refetch.tsx
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* Cleanup from convos and PR
* Prettier formatting
* struggling with websocket tests
* struggling with websocket tests
* Progress on websocket tests for blocks-refetch.tsx
* Tests for blocks-refetch
* Tests for blocks-infinite-list
* Scroll test for blocks-infinite-list
* Defined NOOP in blocks-infinite-list.tsx
* Separate web sockets for each test
* Separate web sockets for each test
* Tweaked e2e tests to account for blocks taking longer to load
* fix tests
* Removed nx knowledge of empty simple-trading-app-e2e for now
* mock at use fetch level instead of at fetch level
* fix edge cases and add further tests
* fix failing e2e tests
* rename test
* Update apps/explorer-e2e/src/support/pages/blocks-page.ts
* Update apps/explorer-e2e/src/support/pages/blocks-page.ts
* rename
* test: use explicit wait for rather than times
* style: remove console
* test: correct env file
* Revert "test: correct env file"
This reverts commit d01d3cfa5e.
* think env var is incorrect
* correct env file
* fix flakiness
* add minor wait for test flakiness
* longer timeout
Co-authored-by: Dexter <dexter.edwards93@gmail.com>
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>
* Moved syntax highlighter from explorer to ui-toolkit
* Update libs/ui-toolkit/src/components/syntax-highlighter/syntax-highlighter.stories.tsx
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* Added a light theme for syntax highlighter, added the styling for syntax highlighter to our custom classes
* Suboptimal but successful way of ensuring styling is applied to syntax highlighter
* Styling syntax highlighter with scss
* Fix failing test
* Back to applying styling via custom plugin, but with a wrapper on the syntax highlighter ensuring Tailwind doesn't cull the classes
* Preferred class name
* prettier formatting
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
Co-authored-by: Joe <joe@vega.xyz>