Commit Graph

1147 Commits

Author SHA1 Message Date
Edd
94373c1886 Revert "Feat/537: remove old contract for collateral bridge (#998)"
This reverts commit 1be1a78a69.
2022-08-15 15:52:53 +00:00
Elmar
900205ed12
Feat/1003 update size (#1041)
* feat(console-lite): add notional position size to trade size selector

* feat(console-lite): add estimated fees to size selector

* feat(console-lite): add estimated fees to review-trade and create shared estimates component

* feat(console-lite): add estimated fees as percentage
2022-08-15 14:41:52 +01:00
m.ray
83982ee3d8
chore: package.json clean-up (#1030)
* fix: clean-up of package.json and exclude swc/core-linux-x64 libs

* chore: try remove node_modules/@swc/core-linux-x64-gnu/swc.linux-x64-gnu.node

* Update apps/trading/netlify.toml
2022-08-15 13:57:47 +01:00
mattrussell36
50a8bdf265 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-15 12:05:12 +00:00
Sam Keen
4b51ef57e9
Feat/519: Add copy button to transaction content in explorer (#1016)
* 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>
2022-08-15 10:32:06 +01:00
m.ray
445897eb2b
fix: use position decimal places for volume and decimal places … (#1026)
* fix: #1025 use position decimal places for volume and decimal places for price and interest

* fix: market-info.cy.ts test

* fix: market-info.cy.ts
2022-08-15 09:42:34 +01:00
mattrussell36
80ae079633 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-15 06:04:17 +00:00
mattrussell36
e30ec85567 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-15 00:09:26 +00:00
mattrussell36
6690cb8379 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-14 18:05:50 +00:00
mattrussell36
d985e485a9 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-14 12:04:25 +00:00
mattrussell36
6343286e98 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-14 06:04:35 +00:00
mattrussell36
57ba9ff307 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-14 00:10:34 +00:00
mattrussell36
788bf9374c chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-13 18:05:10 +00:00
mattrussell36
5c2aa7e102 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-13 12:04:17 +00:00
mattrussell36
6af8e2f413 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-13 06:04:44 +00:00
mattrussell36
2bcf02c2b5 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-13 00:10:01 +00:00
mattrussell36
ad730179ad chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-12 18:05:03 +00:00
PeteWilliams
c8bd9828a0
Chore: Split settlement asset into separate market info section (#1028)
* chore: split settlement asset into seperate market info section

* fix:  market-info.cy.ts test

* fix: market-info.cy.ts

Co-authored-by: Madalina Raicu <madalina@vegaprotocol.io>
2022-08-12 17:49:27 +01:00
mattrussell36
a59971df28 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-12 12:05:19 +00:00
macqbat
46c4b9417e
feat: [console-lite] - market list - refactor filters query, int tests of long market list (#992)
* feat: [console-lite] - market list - refactor filters query

* feat: [console-lite] - market list - refactor some unit tests

* feat: [console-lite] - market list - refactor some unit tests

* Update apps/simple-trading-app-e2e/src/integration/market-list.test.ts

Co-authored-by: Sam Keen <samuel@vegaprotocol.io>

* Update apps/simple-trading-app-e2e/src/integration/market-list.test.ts

Co-authored-by: Sam Keen <samuel@vegaprotocol.io>

* feat: [console-lite] - after feedbacks

* feat: [console-lite] - enlarge loading times

* feat: [console-lite] - adjust int test

* feat: [console-lite] - adjust int test

Co-authored-by: maciek <maciek@vegaprotocol.io>
Co-authored-by: Sam Keen <samuel@vegaprotocol.io>
2022-08-12 10:00:46 +02:00
Matthew Russell
44c628332d
fix: token app useSearchParams (#1014)
* fix: token app useSearchParams

* chore: typecast url params to enums for token app
2022-08-12 09:58:17 +02:00
Joe Tsang
9e89b98bd0
fix: failing test due to cypress bug (#1017)
* fix: failing test due to cypress bug

* fix: lint

* chore: remove assert
2022-08-12 09:57:55 +02:00
m.ray
c664fdd067
fix: small UI tweaks (#1020) 2022-08-12 09:57:14 +02:00
Edd
cecefe10d0
fix: unbreak nx dependency mapping (#1022) 2022-08-12 09:46:07 +02:00
mattrussell36
56fb323f41 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-12 06:04:37 +00:00
mattrussell36
eba5e9da5f chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-12 00:09:21 +00:00
mattrussell36
be603759a6 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-11 18:04:57 +00:00
botond
3e223c24a7
Fix/954: Token & Explorer decimals (#1006)
* fix: token governance percentage displays

* fix: add percentage displays to selected network params

* fix: format

* fix: majority rule and proposal required percentage defaults

* fix: format
2022-08-11 13:14:46 +01:00
mattrussell36
51d6dd00a9 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-11 12:05:15 +00:00
m.ray
0523b56e39
feat: market list mega dropdown (rich popover) (#889)
* feat: use MarketList query only

* fix: remove Market.ts from index

* feat: 30 refactor dialog, market list, change query

* feat: #30 add indicativeVolume, total fees, tooltip, large dialog, tooltip accepts html description

* fix: #30 total fees display in tooltip

* fix: #30 toggle title on dialog open

* fix: #30 fix order, price, high, low utils

* fix: #30 fix test for market utils

* feat: #30 add popover with markets to select

* feat: #30 storybook popover

* feat: #30 remove border on trigger and add some other classes

* fix:  #30 fix format check with format:write

* feat: #30 add tooltip on taker fee

* feat: #30 add tooltip on taker fee

* fix: #30 format on select market list

* fix: #30 remove unknown cast in test mock data

* fix: #30 show markets where you have open positions

* fix: #30 double check if open positions

* fix: #30 dialog has only small/large sizes

* feat: #30 add border on trigger and change padding and no wrap

* fix: #30 if fees or factors are not found

* fix: #30 remove markets.cy tests as markets page is now gone

* fix #30 remove view full market list test

* fix: #30 add rotating arrow on market title

* fix: #30 add ease-in-out on popover

* fix: #30 add ease-in-out on popover

* fix: #30 align select a market table

* fix: #30 select a market title

* fix: #30 select a market title

* fix: #30 fix any validateDOMnesting issues

* fix: #30 show loading market data

* fix: #30 add list of header columns

* fix: #30 add list of header columns

* fix: #30 small refactoring after review

* fix: #30 update bold undreline class names

* fix: #30 add large-mobile size

* feat: #30 refactor select markets tables to render array of columns

* fix: #30 remove size from select market dialog

* fix: #30 add extra file for columns

* fix: #30 update formtting

* fix: #30 make sure popup closes on same market navigation

* fix: rename market-utils, add calcCandle methods, store market id on select

* fix: useMemo ondata and marketPositionData + orderbook stories fix

* feat: #30 add open volume positions

* fix: add market summary back

* fix: update formatting

* fix: use currentcolor on arrow

* fix: create all markets page

* fix: add overflow-y auto

* fix: enlarge select market to get started dialog

* fix: revert markets container

* fix: use query to fix flickering on position markets

* fix: edit unordered list in tooltips

* fix: fix tooltip table

* fix: fix home.cy.ts

* chore: skip /markets tests
2022-08-11 12:56:35 +01:00
Sam Keen
1be1a78a69
Feat/537: remove old contract for collateral bridge (#998)
* Feat/537: Removed old contract and branching logic for collateral bridge

* Feat/537: Renamed all 'new' name instances in functions, files and types. Regenerated types.

* Feat/537: Added 'creation' field to withdraw-dialog.spec.tsx test
2022-08-11 11:33:45 +01:00
Joe Tsang
1c4231f6fc
test: remove eth wallet test (#989) 2022-08-11 11:27:45 +01:00
Joe Tsang
22fc0e7ac1
Test/625 market info (#999)
* test: assert edit button

* test: assert edit order btn

* test: update market info mock

* test: tests for market info
2022-08-11 11:26:26 +01:00
botond
8f0898385f
Chore/953: Rename amount to size (#983)
* chore: change amount label to size

* chore: colour-coding size cell

* feat: add colors to the order table size column

* fix: format

* fix: broken fills tests

* fix: lint

* fix: simple market test imports

Co-authored-by: PeteWilliams <me@petewilliams.info>
2022-08-11 09:10:20 +01:00
AndyWhiteVega
db3aa7c17b
Test/884 token e2e adjust staking flow tests to new implementation of validators table (#990)
* test: flake fixes since ui revamp

* test: lint

* test: fix broken locator since locator revamp

* test: unrelated flake preventing PR - fix
2022-08-11 09:34:29 +02:00
mattrussell36
416805c2a2 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-11 06:04:31 +00:00
mattrussell36
f28ef02c54 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-11 00:09:33 +00:00
mattrussell36
41f869c6c6 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-10 18:04:10 +00:00
Elmar
b75ed62072
Feat/348 select size of trade (#943)
* feat(ui-toolkit): add slider to ui-toolkit

* feat(console-lite): add deal ticket size to use new slider

* feat(console-lite): add use-maximum-position-size hook

* feat(console-lite): add e2e tests

* feat(console-lite): add position size value after selection

* fix(console-lite): remove lingering console log

* fix(console-lite): fix linting errors

* fix(console-lite): fix cypress config with wrong app specified

* fix(console-lite): fix react hooks bug after upgrade to react 18

* feat(console-lite): add proportional size selector and size amount input

* fix(console-lite): add missing env variables

* feat(console-lite): add missing tests and fix broken one after input button for size

* fix(console-lite): fix async error for max trade size
2022-08-10 16:28:03 +01:00
m.ray
1a1ab4db65
feat: reselct field so that GTC is default on limit (#995)
* feat: reselct field so that GTC is default on limit

* feat: set value when switching order type

* fix: deal ticket test

* fix: revert TIF selector file
2022-08-10 13:45:36 +01:00
Sam Keen
24a20f48e1
Feat/589: Reimplement theme switcher in storybook (#988)
* Feat/589: Reimplement theme switcher in storybook

* Feat/589: Setting a higher level 'dark' class when dark theme selected

* Feat/589: Removed class test
2022-08-10 13:24:51 +01:00
mattrussell36
c1019c0ffb chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-10 12:05:08 +00:00
Sam Keen
079a4b7fa7
Feat/980: New Asset proposals should require validationTimestamp (#981) 2022-08-10 12:28:40 +01:00
Bartłomiej Głownia
f732e66546
Feat/986: extract routes from routes, lazy load all child routes 2022-08-10 09:50:15 +01:00
mattrussell36
541396eb76 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-10 06:05:15 +00:00
mattrussell36
3f06f56724 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-10 00:09:08 +00:00
mattrussell36
8a175bf2d7 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-09 18:04:36 +00:00
Dexter Edwards
eed6a83572
chore: show total supply on governance page (#967)
* chore: show total supply on governance page

* Update apps/token/src/i18n/translations/dev.json

Co-authored-by: Edd <edd@vega.xyz>

* Update apps/token/src/i18n/translations/dev.json

Co-authored-by: Edd <edd@vega.xyz>
2022-08-09 16:54:41 +01:00
botond
25c3ac8b4a
Fix/945: Orderbook memory leak (#978)
* fix: cancel throttle on unmount

* fix: format

* fix: lint
2022-08-09 14:31:56 +01:00
m.ray
9a2ac6a8ac
chore: fix failing test on proposal-list.spec (#985)
* chore: add moduleNameMapper for d3 in token jest.config.js

* remove extra line of transform

* fix: use @testing-library/react not react-hooks
2022-08-09 14:25:47 +01:00