Commit Graph

1121 Commits

Author SHA1 Message Date
Matthew Russell
a5f21ed1f8
fix: styles on staking and nodes page (#1252) 2022-09-06 10:10:31 +01:00
botond
a57d484496
Fix/1083: Update type generator (#1219)
* feat: add new generator with config

* feat: split off gql queries to separate files for the new generator

* fix: delete dummy schema

* feat: add generated queries with new codegen

* fix: regenerate from scratch and remove duplicates

* fix: libs and app gen folders

* fix: remove more duplicate queries

* fix: add generated files to be ignored by the formatter

* fix: format

* fix: generated imports

* fix: lint

* fix: accounts export

* fix: more imports

* fix: add type alias for new type system and regenerate

* fix: format

* fix: delete leftover file from merge
2022-09-06 10:03:10 +01:00
mattrussell36
b531094fda chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-06 06:27:47 +00:00
macqbat
7fe282a9fb
feat: [console-lite] - refactor market-list view afetr design update (#1244)
* feat: [console-lite] - refactor market-list view afetr design update

* feat: [console-lite] - refactor market-list fix failing test

* feat: [console-lite] - refactor market-list fix failing test

* feat: [console-lite] - refactor market-list fix failing test

Co-authored-by: maciek <maciek@vegaprotocol.io>
2022-09-06 08:13:17 +02:00
Matthew Russell
5eb06254de
feat (#896): large withdraws (#1180)
* feat: add deposits table to deposits tab on portfolio page

* feat: refactor use-withdraw hook to not invoke eth tx

* feat: rename hook for clarity

* feat: fix withdrawal creation test

* feat: update withdraw-manager and withrawals-table tests

* chore: fix lint

* feat: remove web3 input to avoid double dialog

* chore: use renderHook from testing-library/react

* chore: update to use non deprecated fields

* chore: remove usage of all bridge contract

* feat: correctly merge cache update in withdrawals table

* feat: changes to support token app withdrawals

* chore: add height to ag grid table wrapping element

* feat: add txhash col to withdraw table

* feat: provide better ui if withdrawal is not ready to be completed

* feat: use separate dialogs for txs

* feat: allow user to immediately complete withdrawal if delay not triggered

* feat: add withdraw store to tidy up state management

* chore: fix tests

* chore: convert callback to promises, fix tests, delete withdraw page

* chore: fix lint errors

* fix: withdrawals link in nav

* feat: style changes after design update

* fix: proposal form test

* chore: tidy error ui logic

* feat: review comments

* chore: lint

* feat: add better typing for tables

* chore: put withdrawals tab at the end

* chore: update i18n

* fix: dialog in positions manager due to rename

* chore: increase spacing in withdrawal form

* chore: update tests

* chore: lint

* chore: use new assetsConnection and update cy test

* fix: incorrect shape of withdrawal generate function

* feat: delete withdrawals page now that its shown on the portfolio page

* chore: update tests to check for withdrawals page

* chore: fix tests again

* fix: page title test
2022-09-05 18:30:13 -07:00
mattrussell36
578d6ecf6f chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-06 00:08:57 +00:00
m.ray
744c084ca2
feat: add network switcher to block explorer (#1242)
* feat: add network switcher to block explorer

* fix: add mock for @vegaprotocol/environment

* fix: #723 add test to see if network switcher gets rendered

* fix: formatting on header.spec.tsx
2022-09-05 20:28:21 +01:00
mattrussell36
adec04918e chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-05 18:04:46 +00:00
Matthew Russell
9cb84df35c
chore: refactor global store (#1241) 2022-09-05 15:25:33 +01:00
Art
e674efdb14
Feat/707 link to market proposal (#1222)
* feat: link to market proposal (707)

* feat: link to market proposal (707)

* removed a line

* removed label which made edd and barney sad
2022-09-05 14:06:58 +02:00
mattrussell36
47554973c5 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-05 12:04:34 +00:00
AndyWhiteVega
cb4cbdc2ca
Test/757 tfe add e2e tests for governance (#1236)
* test: initial commit

* test: lint

* chore: set different environement variable for rest url

* test: enable commented out steps

* chore: set base correctly

* chore: correct env var

* test: update to function

* test: lint

* test: governance flow

* test: lint

* test: extra tests

* fix: set fetchPolicy to not cache results so new proposals are updated

* test: update

* test: lint

* test: extra tests

* test: lint

* test: add wait and select proposal

* test: lint

* test: extra checks

* test: lint

* Revert "chore: use custom vega capsule file (#1055)"

This reverts commit 6b4b896bbc.

* test: final commit of initial tests

* test: removal of unused file

* test: before all change to reset before each test

* test: speed enhancement

* test: lint

* test: lint check fix

* test: extra tests and checks

* test: lint

* test: extra tests and checks

* test: lint

* test: extra checks & error handling

* test: lint

* test: lint

* test: wallet update

* test: lint

* test: lint

* test: begining of test refactor due to ui revamp

* test: lint

* test: extra test

* test: lint

* test: extra test enable prev skipped

* test: lint

* test: small changes

* test: update ahead of merge

* test: in house vegcapsule config changes

* test: lint

* chore: add vegacapsule config for newer repo

* chore: remove dead config files

* test: genesis and tweaks

* test: lint

* test: added wait to avoid flake

* test: enhancements

* test: lint

* chore: fix lint

Co-authored-by: Dexter <dexter.edwards93@gmail.com>
Co-authored-by: Dexter <dexter@vega.xyz>
Co-authored-by: Joe <joe@vega.xyz>
2022-09-05 09:57:02 +01:00
mattrussell36
0f87c68437 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-05 06:20:23 +00:00
mattrussell36
fc7c54571f chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-05 00:11:46 +00:00
mattrussell36
6546d660c6 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-04 18:04:11 +00:00
mattrussell36
e7cef22264 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-04 12:05:09 +00:00
mattrussell36
5230172d2c chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-04 06:04:05 +00:00
mattrussell36
2e6fa9627d chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-04 00:09:05 +00:00
mattrussell36
0d75955e80 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-03 18:03:59 +00:00
mattrussell36
7b52629ada chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-03 12:05:20 +00:00
mattrussell36
6ab4e46667 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-03 06:03:57 +00:00
mattrussell36
f89ce686ee chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-03 00:08:46 +00:00
Bartłomiej Głownia
6de90c6b1f
feat(#840): update positions tab (#1101)
* feat(#473): add positions metrics data provider

* feat(#473) add positions stats

* feat(#473) add positions stats

* feat(#473): add positions stats

* feat(#473): add positions stats

* feat(#473): position metrics, test and refactoring

* feat(#473): add unit tests to positions table

* feat(#473): fix spelling, order positions by updated at desc

* feat(#473): protect from division by 0

* feat(#473): fix trading positions e2e tests

* feat(#473): fix e2e data mocks

* feat(#473): post code review clean up

* feat(#993): dependencies handling in data provider

* feat(#993): fix e2e tests data mocks

* feat(#993): remove position metrics mocks, add market data market id

* feat(#993): add missing mocks, fix combine function

* feat(#993): set loading initially to true, add unit tests

* feat(#993): cleanup, add comments

* feat(#993): remove undefined from client type

* feat(#993): cosmetic changes

* feat(#840): update positions tab

* feat:(#993): pass informaton about update callback cause

* feat(#840): update positions tab

* feat(#840): update positions tab

* feat(#840): update positions tab

* chore: skip handles 5000 markets e2e test

* feat(#840): update positions tab

* feat(#840): rename assetDecimals to decimals

* feat(#840): close position

* feat(#993): notify about update

* feat(#840): add use close position hook

* feat(#840): do not show 0 volume positions, make liquidation price minimum 0

* feat(#840): post code review fixes and improvments

* feat: fix fill-table spec
2022-09-02 13:53:00 -07:00
mattrussell36
fe716f74a1 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-02 18:04:53 +00:00
botond
9bcb923cc0
Feat/375: Risk notice dialog (#1096)
* feat: add risk warning modal WIP

* feat: add risk notice modal and fix broken mobile dialog styles

* fix: format

* fix: lint

* fix: format

* fix: dialog scrollbar

* fix: style issues

* fix: styles

* fix: spacing

* fix: more style fixes

* fix: more spacing

* fix: format

* fix: move logic into risk dialog from global app

* fix: brance yourselves, more style updates

* feat: add test for risk dialog
2022-09-02 15:53:38 +01:00
Joe Tsang
75e3f327ff
Test/1221 revisit market tests (#1234)
* test: test for sorting market

* chore: add headers options to all cy.visit()

* chore: revert header changes
2022-09-02 15:31:30 +01:00
mattrussell36
1ed6759000 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-02 12:05:28 +00:00
Bartłomiej Głownia
bab1bac2dc
Chore/theme setup env config (#1181)
* chore: fix /assets/env-config.js 404 by moving it to public dir

* chore: set dark theme class before app load
2022-09-02 12:27:28 +02:00
macqbat
02897f1ee1
feat: [console-lite] - improve useOrderBook hook (#1208)
* feat: [console-lite] - improve useOrderBook hook

* feat: [console-lite] - improve useOrderBook hook - add unit test

* feat: [console-lite] - improve useOrderBook hook - add unit test

* feat: [console-lite] - improve useOrderBook hook - reduce mock size

* feat: [console-lite] - improve useOrderBook hook - small clean up

* feat: [console-lite] - improve useOrderBook hook - small clean up

Co-authored-by: maciek <maciek@vegaprotocol.io>
2022-09-02 11:29:52 +02:00
Joe Tsang
72ce253102
test: add test for partially filled order view (#1218) 2022-09-02 10:04:38 +01:00
Dexter Edwards
9e8d34cf9a
fix: network parmaeter casing (#1225) 2022-09-02 09:58:25 +01:00
Joe Tsang
cf63e8d85e
chore: try fix esocket timeout error in ci (#1227) 2022-09-02 09:57:52 +01:00
mattrussell36
ba811d641d chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-02 06:19:01 +00:00
mattrussell36
015b6192f6 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-02 00:08:40 +00:00
mattrussell36
63b25fc1a6 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-01 18:04:37 +00:00
Bartłomiej Głownia
75044fa520
Feat/81 market table filters (#1203)
* feat(#81): amend market table filters

* chore: fix home not default found test
2022-09-01 17:03:42 +01:00
Matthew Russell
429b57ec52
chore: remove valid chain check (#1164)
* chore: remove valid chain check

* chore: lint

* fix: remove e2e test checking network ids

Co-authored-by: Botond <botond@vegaprotocol.io>
2022-09-01 07:57:35 -07:00
Joe Tsang
2a0f79d1d1
Test/637 settlement expiry (#1209)
* test: add test for settlement expiry

* chore: change before each hook

* chore: correct d.p. in deal ticket query
2022-09-01 13:24:16 +01:00
mattrussell36
acbbd03716 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-01 12:05:25 +00:00
AndyWhiteVega
e66e5af6a3
Test/token association fixes (#1216)
* test: fixes

* test: lint
2022-09-01 12:25:11 +01:00
mattrussell36
c79f3b08b4 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-01 06:10:45 +00:00
mattrussell36
a7bf26d253 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-01 00:10:00 +00:00
m.ray
64817aa43e
fix: market ordering (#1171)
* 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>
2022-08-31 20:06:34 +01:00
mattrussell36
9592ef864f chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-31 18:04:20 +00:00
Elmar
1cdea0b2e8
Feat/915 deposit funds (#1129)
* feat(web3): make web3 container component reusable

* feat(console-lite): add deposits tab to portfolio page

* fix(console-lite): linting errors

* fix(console-lite): pr comments

* fix(console-lite): use enums for network vars
2022-08-31 16:33:08 +01:00
Elmar
4407a778a7
Feat/1147 input setter (#1148)
* feat(console-lite): stretch half page width for xl screens on connect wallet on portfolio page

* feat(console-lite): make InputSetter component reusable

* fix(console-lite): pr comments

* fix(console-lite): failing tests
2022-08-31 16:32:53 +01:00
AndyWhiteVega
3519f1b814
Test/1205 increase coverage of staking tests (#1206)
* test: initial commit

* test: lint

* test: flake fix

* test: lint

* test: improve flake

* test: lint
2022-08-31 15:31:00 +01:00
macqbat
d7fee66d89
feat: [console-lite] - calculate slippage (price impact) (#1173)
* feat: [console-lite] - calculate slippage (price impact)

* feat: [console-lite] - move slippage from estimates to deal-ticket-size

* feat: [console-lite] - slippage - add a bunch of unit tests

* feat: [console-lite] - slippage -

* feat: [console-lite] - slippage - fix some faillings, add enum instead text entry

* feat: [console-lite] - slippage - adjust tooltip info text

* feat: [console-lite] - slippage - fix failling cache

* feat: [console-lite] - slippage - resolve conflicts after rebase

* feat: [console-lite] - slippage - fixes after review

* feat: [console-lite] - slippage - fixes after review

* feat: [console-lite] - slippage - add memo back to the hook

* feat: [console-lite] - slippage - add back order book model outside hook

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

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

Co-authored-by: maciek <maciek@vegaprotocol.io>
2022-08-31 15:23:01 +02:00
mattrussell36
10357fb29d chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-31 12:05:23 +00:00
Joe Tsang
7edf4fc64c
test: margin positions and collateral tests added (#1204) 2022-08-31 11:47:08 +01:00
mattrussell36
2082d3de0a chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-31 06:30:45 +00:00
Joe Tsang
3a3b5cbc9a
test: trading fills tab on accounts (#1168) 2022-08-30 23:03:56 -07:00
PeteWilliams
9199c79186
chore: ui tweaks to select market panel (#1074)
* chore: ui tweaks to select market panel

* chore: add close button to popover/select market panel

* fix: fixing broken styling on cell data

* chore: tweaked styling for fees tooltip

* Revert "chore: tweaked styling for fees tooltip"

This reverts commit 3f1a34d835eb0cbea82847e37e66c5a4c8bf723d.

* chore: changing text case

* feat: adjust styles to align with petes changes

* feat: readd sticky table headers

* chore: linting fixes

Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2022-08-30 22:46:42 -07:00
Matthew Russell
c259622848
feat(#927) design update (#1201)
* 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>
2022-08-30 21:35:46 -07:00
mattrussell36
688d15ef75 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-31 00:10:07 +00:00
mattrussell36
87a3ca799d chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-30 18:04:46 +00:00
Art
76194bc642
feat: link to governance (908) (#1138) 2022-08-30 14:48:04 +01:00
mattrussell36
d728899003 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-30 12:05:09 +00:00
Joe Tsang
cf7a5e29e3
chore: update failing deal ticket tests (#1187) 2022-08-30 12:29:41 +01:00
Dexter Edwards
620d33fea5
chore: make test names consistent (#1183) 2022-08-30 12:15:45 +01:00
Radosław Szpiech
fcd9a0321b
test: dissassociation tests reworked to current implementation (#1182) 2022-08-30 11:09:47 +02:00
Art
2970aae670
fix: included origin of token, moved formatters (#1141)
* fix: included origin of token, moved formatters

* fix: removed title attr, not needed

* fix: added distinction between wallet and contract if they have the same key

* fix: included origin of token, moved formatters

* fix: removed title attr, not needed

* fix: added distinction between wallet and contract if they have the same key
2022-08-30 10:21:27 +02:00
mattrussell36
b33caa922f chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-30 06:27:56 +00:00
mattrussell36
2253a82c23 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-30 00:10:11 +00:00
mattrussell36
b376b30762 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-29 18:04:30 +00:00
mattrussell36
44dfa270d7 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-29 12:04:49 +00:00
mattrussell36
176ce29a8d chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-29 06:25:41 +00:00
mattrussell36
4e10399d27 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-29 00:09:43 +00:00
mattrussell36
4f5a34f019 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-28 18:04:47 +00:00
mattrussell36
b9930c83d3 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-28 12:05:38 +00:00
mattrussell36
5cf3361fcf chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-28 06:04:55 +00:00
mattrussell36
85893b5108 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-28 00:14:00 +00:00
mattrussell36
3995684e4b chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-27 18:05:19 +00:00
mattrussell36
e989687ef5 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-27 12:05:35 +00:00
mattrussell36
531f771466 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-27 06:05:08 +00:00
mattrussell36
24d783e6e3 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-27 00:10:22 +00:00
mattrussell36
25463902c8 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-26 18:04:37 +00:00
Bartłomiej Głownia
577ba28ae5
chore: fix trading app e2e tests and mocks (#1142)
* chore: fix trading app e2e tests and mocks

* chore: fix e2e build target setup and tsconfigs
2022-08-26 09:41:47 -07:00
Bartłomiej Głownia
93a5f911f5
feat(#993): derived data provider (#1047)
* feat(#473): add positions metrics data provider

* feat(#473) add positions stats

* feat(#473) add positions stats

* feat(#473): add positions stats

* feat(#473): add positions stats

* feat(#473): position metrics, test and refactoring

* feat(#473): add unit tests to positions table

* feat(#473): fix spelling, order positions by updated at desc

* feat(#473): protect from division by 0

* feat(#473): fix trading positions e2e tests

* feat(#473): fix e2e data mocks

* feat(#473): post code review clean up

* feat(#993): dependencies handling in data provider

* feat(#993): fix e2e tests data mocks

* feat(#993): remove position metrics mocks, add market data market id

* feat(#993): add missing mocks, fix combine function

* feat(#993): set loading initially to true, add unit tests

* feat(#993): cleanup, add comments

* feat(#993): remove undefined from client type

* feat(#993): cosmetic changes

* feat:(#993): pass informaton about update callback cause
2022-08-26 08:39:40 -07:00
Sam Keen
171babc2c9
Feat/1010: show rejected reason (and error details) on propose form results (#1086)
* feat/1010: Show proposal rejected reason in transaction dialog

* feat/1010: Show wallet rejection details in transaction dialog

* Feat/1010: Updated wallet types

* Feat/1010: Ensuring rejected proposals get the correct transaction dialog title

* Feat/1010: Fixing linting warning

* Feat/1010: Skipping node switcher tests for now
2022-08-26 16:05:16 +01:00
Joe Tsang
95c1526aa3
Test/994 additional market info (#1172)
* test: additional market info tests

* chore: fix intermittent failing tests

* chore: change wait logic for asserting node
2022-08-26 14:16:28 +01:00
mattrussell36
0539cb5ed0 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-26 12:05:14 +00:00
Sam Keen
1b3fc8da10
Feat/1160: Add VEGA_EXPLORER_URL env vars to Token env files (#1162) 2022-08-26 11:07:40 +01:00
macqbat
57c414f315
feat: [console-lite] - improve simple-market-list int tests (#1166)
* feat: [console-lite] - improve simple-market-list int tests

* feat: [console-lite] - improve simple-market-list int tests

Co-authored-by: maciek <maciek@vegaprotocol.io>
2022-08-26 10:08:13 +02:00
mattrussell36
4a046bb82b chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-26 06:17:13 +00:00
Matthew Russell
4af10977d0
chore: remove stagnet1, fix env vars for api endpoints (#1163) 2022-08-25 17:07:27 -07:00
botond
760a24b500
fix (#1117): Network stats env (#1122)
* fix: explorer environment

* fix: stats env

* fix: format

* fix: remove logging
2022-08-25 14:46:17 -07:00
mattrussell36
ad185651fb chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-25 18:04:24 +00:00
Joe Tsang
b79c2ae6fb
chore: change to stagnet url (#1159)
* chore: change to stagnet url

* fix: lint
2022-08-25 17:51:01 +02:00
Sam Keen
64fcca3447
Fix/1152: Rejected proposal details pages have wrong url (#1154) 2022-08-25 15:42:28 +01:00
Joe Tsang
07f4a3ccde
chore: reduce number of cy.gets in console-lite test (#1155) 2022-08-25 15:30:25 +01:00
botond
eaea6a38ec
Feat/722: Network switcher in console2 (#1073)
* feat: add network switcher dropdown to the trading app

* fix: refactor label text

* fix: format

* fix: paddings

* fix: use theme spacing instead of px
2022-08-25 15:23:57 +01:00
botond
eb2f4fd27c
Feat/637 Market settlement expiry (#1094)
* feat: add market expiry field to the trade grid header

* feat: add oracle spec linking to explorer page

* fix: oracle id to tooltip link

* fix: add dashed underlines to tooltip triggers

* fix: lint

* fix: format

* chore: merge master

* fix: readd type generation WIP

* fix: wording

Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>

* fix: refactor expiry to components

Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
2022-08-25 15:21:28 +01:00
mattrussell36
1d58844dcc chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-25 12:05:13 +00:00
Joe Tsang
321bec75b8
chore: increase timeout (#1146) 2022-08-25 12:13:03 +01:00
macqbat
1bb63dcb15
feat: [console-lite] - refactor wallet connector (#1126)
* feat: [console-lite] - refactor wallet connector

* feat: [console-lite] - refactor wallet connector

* feat: [console-lite] - refactor market selector focusing - review feedback

Co-authored-by: maciek <maciek@vegaprotocol.io>
2022-08-25 11:48:37 +02:00
Joe Tsang
9825e8f436
chore: fix deposits test (#1143) 2022-08-25 09:55:25 +01:00
Joe Tsang
750c421ed5
Test/fix trading tests (#1139) 2022-08-25 09:01:20 +01:00
mattrussell36
465db69da8 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-25 06:13:27 +00:00
mattrussell36
84abd2b4d3 chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-25 00:09:42 +00:00