Commit Graph

279 Commits

Author SHA1 Message Date
Jaco Greeff
9b45ee59c6
Tidy accounts loading (#4643) 2021-02-10 12:22:30 +01:00
Jaco Greeff
1ec6dfd302
Support new contracts putCode (#4622)
* Support new contracts putCode

* New works

* Swap to default constructor as available

* Split into steps
2021-02-06 15:51:09 +01:00
Jaco Greeff
75a1021728
Fix Copy overlap on accounts (#4611) 2021-02-05 11:30:26 +01:00
Jaco Greeff
cab7d05f36
Ledger derive compat option (#4529)
* Ledger derive compat option

* Hook in Ledger path

* Derive operational

* Bump util

* Use hdLedger from util-crypto

* Optional approach via fill
2021-02-05 10:18:02 +01:00
Jaco Greeff
fd0ceaff0d
Use BN_{BILLION, MILLION} constants (#4577)
* Use BN_{BILLIN, MILLION} constants

* BN_ONE

* Update packages/page-treasury/src/Overview/ProposalCreate.tsx

* Update packages/page-staking/src/Payouts/useStakerPayouts.ts

* Additional

* Update packages/page-democracy/src/Overview/Summary.tsx

* Additional

* Additional

* Re-apply

* Cleanups

* Apply suggestions from code review
2021-02-03 10:59:37 +01:00
Jaco Greeff
2f7b7dc1c8
Remove accounts menu with no entries (#4587) 2021-02-03 10:26:23 +01:00
Jaco Greeff
1b43ffa046
Ensure useState doesn't re-init with function calls (#4552)
* Ensure useState doesn't re-init with function calls

* extra

* Additional
2021-02-01 14:17:14 +01:00
Jaco Greeff
3f93ac2af7
Adjust Menu.Divider (only when between items) (#4560)
* Adjust Menu.Divider (only when between items)

* typos
2021-02-01 13:52:15 +01:00
Jhon
916a925cda
added validator/nominator flags (#4546)
* lighter read to make it more readable on dark mode

* added missing themeprops ref

* ran linter

* undo opacity 1 on non red 'other stake' to keep the focus on the whle number'

* ran linter

* isolate opacity change to format balance error text

* updated settings > metadata layout to be more consistent with the rest

* ran linter

* Update packages/page-settings/src/Metadata/Extensions.tsx

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

* updated ternary condition to get rid of empty string at the end as well as fixed weird indentation on styled components

* added validator flag

* Update packages/react-hooks/src/useAccountInfo.ts

* Update packages/react-hooks/src/useAccountInfo.ts

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-02-01 13:26:08 +01:00
Jaco Greeff
d4073a4e42
Ensure Available from transfer props (#4551)
* Ensure Available from transfer props

* full transfer available

* to balances
2021-01-31 12:14:08 +01:00
Jaco Greeff
6dbf216d6b
isHardware: false on create 2021-01-30 21:07:49 +01:00
Jaco Greeff
16b00a7686
Cater for limited chains without utility.* (#4535) 2021-01-29 14:00:11 +01:00
Jaco Greeff
4ec8b45678
Change link wording 2021-01-28 22:24:17 +01:00
Jaco Greeff
61155fcf1a
Expand description 2021-01-28 20:24:28 +01:00
Jaco Greeff
1ac85dc2a6
isEditable state 2021-01-28 20:08:02 +01:00
Jaco Greeff
39f1f577c8
Adjust badge for dev accounts (#4520)
* Adjust badge for dev accounts

* lint
2021-01-28 18:54:17 +01:00
Jaco Greeff
99ae6ecd8e
Bump API (Kusama upgrade) (#4519) 2021-01-28 12:37:36 +01:00
Jaco Greeff
712b2ba850
Ensure {recipeint, sender}Id is used from transfer props (#4515) 2021-01-27 16:08:35 +01:00
Jaco Greeff
86d13866ee
Add a buffer value for maxium transfers (#4512) 2021-01-27 14:53:52 +01:00
Jaco Greeff
9388f37ba8
Add Ledger account name when adding (#4496) 2021-01-26 14:38:11 +01:00
Jaco Greeff
6155dbd224
Check isEditable for network swap (#4495) 2021-01-25 15:29:32 +01:00
Jaco Greeff
31deae7a24
Bump deps (#4485)
* Bump deps

* Align icons, text
2021-01-24 20:51:37 +01:00
Jaco Greeff
5180352860
Bump common (#4482) 2021-01-24 13:19:01 +01:00
Jaco Greeff
2b6bd4319f
Ensure hardware accounts are always tied to genesis (#4474)
* Ensure hardware accounts are always tied to genesis

* Lessen checks on phishing accounts
2021-01-22 14:34:58 +01:00
Jaco Greeff
cef487da02
Check sender/recipients against phishing address list (#4471) 2021-01-22 12:42:32 +01:00
Jaco Greeff
6d114a3d6e
Add warning for unability to cover fees (#4459) 2021-01-20 16:53:31 +01:00
Jaco Greeff
1c6271e732
Updated wasm & util-crypto (incl. chain types bumps) (#4458) 2021-01-20 15:04:11 +01:00
Jaco Greeff
53a4ba41c4
Bump deps (w/ ui, hw-ledger) (#4418)
* Bump deps (w/ ui, hw-ledger)

* trigger
2021-01-15 08:58:16 +01:00
Jaco Greeff
19d49f09be
Move to Ledger usage with hook (#4195)
* Move ledgerChains to apps-config

* Swap Ledger capabilities to hook

* Fix type usage

* getLedger returns promise

* Revert promise result

* cleanup

* use has ledger support (#4413)

* use hasLedgerSupport

* Bump common

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
2021-01-14 20:58:02 +01:00
Jaco Greeff
ecebd92fa6
Add parachains propose modal (#4375)
* Add parachains propose modal

* Multiple validators

* Bump API

* modal with validator warning

* accounts check
2021-01-12 16:02:08 +01:00
Jaco Greeff
bafa8edd04
Update refcount check (new consumers/providers) (#4364) 2021-01-11 12:46:08 +01:00
Jaco Greeff
b577b97809
Fix JS width (dropdown breaking out) (#4357)
* Fix JS width (dropdown breaking out)

* Adjust HelpOverlay
2021-01-10 09:40:58 +01:00
Jaco Greeff
d8b2bab912
Warning & Error with exclamation triangle (#4331)
* Warning & Error with exclamation triangle

* Fix lint

* Apply suggestions from code review
2021-01-10 08:37:51 +01:00
Jaco Greeff
10ce7a40e8
font-weight: 400 -> theme.fontWeightNormal (#4339)
* font-weight: 400 -> theme.fontWeightNormal

* Less lazy, font-weight: 400 converted
2021-01-09 09:41:13 +01:00
Jaco Greeff
862663c2b9
Refcount warning (#4330) 2021-01-06 14:46:57 +01:00
Jaco Greeff
36832470b5
Display derive errors (#4326) 2021-01-06 10:43:21 +01:00
Jaco Greeff
8dd7de5eff
0.74 (#4315) 2021-01-04 12:18:53 +01:00
Eddie Machado
c3f82657d6
not truncating the address (#4311)
I found it frustrating that I couldn't see the addres so I made sure it doesn't truncate and also increased the margins a bit
2021-01-04 11:19:04 +01:00
Jaco Greeff
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +01:00
Jaco Greeff
d548b838a2
Bump deps (w/ cleanups) (#4301) 2020-12-30 12:49:01 +01:00
Krzysztof Jelski
21f0eb5a06
UI tests for bounties (#4284)
* v test

* Cleanup test. Add pull policy.

* Find new bounty on the list. Extract test support.

* Working no-substrate test

* Change imports to local

* Add a test for validation

* Extract local var

* Update package versions

* Read the right const (dataDepositPerByte)

* Update yarn.lock

* Revert fast test changes.

* Update yarn.lock

* Update yarn.lock
2020-12-30 11:46:14 +01:00
Jaco Greeff
77ddd24cb1
Filter self-proxies in helper dialog (#4288) 2020-12-29 14:12:13 +01:00
Jaco Greeff
5830e5eab6
Pass explicit function through to TxButton tx prop (#4251)
* Pass explicit function through to TxButton tx prop

* Updates

* Claim adjust

* Allow null on tx

* Adjust

* Apply suggestions from code review

* Adjustments after merge
2020-12-24 10:01:42 +01:00
Jaco Greeff
93b38ece21
Cleanup WebPack (#4258)
* Remove unused WP5 override

* Adjust

* Additional imports

* Adjust
2020-12-21 13:15:40 +01:00
Jaco Greeff
b22f61347e
Remove unused TxModal components (#4250)
* Remove unused TxModal components

* Cleanups
2020-12-20 17:50:06 +01:00
Jaco Greeff
582d0a18cc
Warn on non-atomic batches (#4242) 2020-12-19 16:46:29 +01:00
Jaco Greeff
7d071d147d
Remove global registry imports (only use on api) (#4218)
* Remove global registry imports (only use on api)

* Additional

* QR only displayed when valid

* ApiSigner
2020-12-17 11:18:34 +01:00
Jaco Greeff
fe31bc522d
Sharing of user types (#4210)
* Sharing of user types

* url encoding/decoding

* assert non-array

* Developer page URL encoding

* Cleanup saving/loading encoding

* Move fflate

* CopyButton
2020-12-15 10:54:40 +01:00
Jaco Greeff
175cfe2657
Multisg/proxied add only with hasAccounts (#4192) 2020-12-14 10:54:57 +01:00
Jaco Greeff
c1c87d2aeb
Internal deps bumps (#4194)
* Internal deps bumps

* acala
2020-12-11 12:47:59 +01:00