vega-frontend-monorepo/apps/liquidity-provision-dashboard
Ciaran McGhie b583af005b
fix: parse equitylikeshare as a float not an int value (#2048)
* 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.
2022-11-14 14:44:53 +00:00
..
src fix: parse equitylikeshare as a float not an int value (#2048) 2022-11-14 14:44:53 +00:00
.babelrc feat: lp dashboard setup (#1327) 2022-09-15 08:37:02 -07:00
.browserslistrc feat: lp dashboard setup (#1327) 2022-09-15 08:37:02 -07:00
.env Chore/liquidity provisiond stagnet1 (#1743) 2022-10-17 11:12:13 +01:00
.env.capsule fix: cleanup more env things (#1383) 2022-09-18 11:15:05 +00:00
.env.devnet Chore/liquidity provisiond stagnet1 (#1743) 2022-10-17 11:12:13 +01:00
.env.mainnet Chore/liquidity provisiond stagnet1 (#1743) 2022-10-17 11:12:13 +01:00
.env.stagnet1 Chore/liquidity provisiond stagnet1 (#1743) 2022-10-17 11:12:13 +01:00
.env.stagnet3 Chore/liquidity provisiond stagnet1 (#1743) 2022-10-17 11:12:13 +01:00
.env.testnet Chore/liquidity provisiond stagnet1 (#1743) 2022-10-17 11:12:13 +01:00
.eslintrc.json feat: lp dashboard setup (#1327) 2022-09-15 08:37:02 -07:00
jest.config.ts feat: lp dashboard setup (#1327) 2022-09-15 08:37:02 -07:00
netlify.toml feat: lp dashboard setup (#1327) 2022-09-15 08:37:02 -07:00
postcss.config.js feat: lp dashboard setup (#1327) 2022-09-15 08:37:02 -07:00
project.json chore: add build-spec targets and execute on affected apps and libs on CI (#1745) 2022-10-25 09:41:16 +02:00
tailwind.config.js feat(#1355): liquidity provision dashboard details (#1802) 2022-11-08 17:43:35 +00:00
tsconfig.app.json feat: lp dashboard setup (#1327) 2022-09-15 08:37:02 -07:00
tsconfig.json feat: 1537 LP view data provider subscriptions after 0.58 release (#1630) 2022-10-24 20:42:53 +01:00
tsconfig.spec.json feat: lp dashboard setup (#1327) 2022-09-15 08:37:02 -07:00