* feat: update validation for size and price so they are reported simultaneously
* feat: adjust styles so error messages for price/size are rendered on one line
* fix: missing key in map error
* feat: split validation out on a field by field basis
* refactor: remove unnecessary price setting and just use props to calc market price
* refactor: rename setOrder func and add a comment
* chore: add type for form fields to allow for summary field
* fix: layout of market order size and price
* fix: casing of size/price in validation message
* refactor: fix type errors for summary react nodes and for tif and type validation
* feat: break out functions for testing market.state and market.tradingmode on submit
* fix: deal ticket test for last price value
* chore: remove unused files and move hooks and utils to correct dirs
* chore: tidy up constants
* fix: const before enum invalid syntax
* feat: dont block submission if not enough margin but do if zero balance
* chore: remove duplicated margin warning message
* feat: dont allow margin warning and error message to render at the same time
* feat: make trading mode check just a warning rather than error message
* test: make markets active so they are tradable, renaming describe blocks for clarity
* test: adjust test ids and disabled state and fix tests
* test: include AC codes in tests
* chore: remove click of in test as form is already dirty
* fix: lint errors, only show margin warning if you have balance
* chore: add ts ignore
* chore: re add use-order-validation hook for console-lite specifically
* chore: update use-order-validation test after consumed margin check hook changed
* fix: circular deps issue in console-lite
* chore: update use order validation hook to use Schema rather than direct import
* 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(#580): add link to update market proposal
* feat(#580): fix cypress test for propose a change to market link
* feat(#580): fix market info proposal update cypress test
* feat(#1552): order edit dialog supports size editing
* feat(#1552): calculate size delta correctly
* feat(#1552): be able to edit order size
* feat(#1552): make sizeediting optional
* fix: create custom ID for liquidity provision entries
* fix: #1931 rename is LP fragment
* fix(#2063): normalize numbers in lp table and rename isLpFragment
* fix: parse equitylikeshare as a float not an int value
We were incorrectly parsing equityLikeShare as an integer, which was
causing any value from the API not '1' to be incorrectly rounded to '0'.
This commit parses it as a float trimmed to 2 decimal places and then
converts that to a percentage value. We can increase precision in future
if necessary.
* feat: open details view in current tab
Clicking on the details view of the table currently opens each market in
a new tab. This is pretty noisy - you very quickly end up with a load
of open markets. There's a back navigation button and browser navigation
/history works fine as well - so we don't need to be using tabs here.
* Fix/1837: Remove 2 seconds from proposal vote deadline on submission to ensure the deadline is always slightly below the maximum the API accepts
* fix(1837): Adjust for vote deadline and enactment deadline being decoupled in the API
* fix(1837): Removed unnecessary dependencies
* fix(1837): A couple of extra tests for get-enactment-timestamp
* fix(1837): propose-update-asset.tsx tweaked to ensure max enactment button works properly
* 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