Commit Graph

291 Commits

Author SHA1 Message Date
Jaco Greeff
27cc785dbb
Modal cleanups (#4855)
* Modal cleanups

* Revert header
2021-03-19 12:56:29 +01:00
Jaco Greeff
d34bd33568
useBestNumber hook (#4846)
* useBestNumber hook

* Cleanups
2021-03-14 15:12:53 +01:00
Jaco Greeff
a86bc3284a
Flatten modal columns (#4841)
* Flatten modal columns

* Additional

* Additional

* Additional

* Additional

* Additional

* Adjust tests

* No bids outside ending

* s/winners/bids/

* Adjust

* lease offsets
2021-03-14 14:36:49 +01:00
Jaco Greeff
b6f366b82e
Assign keys to account menu dividers (#4829) 2021-03-12 14:14:16 +01:00
Jaco Greeff
2bf88c5860
Use theme via css vars (#4789)
* Extract global CSS vars (non-theme specific)

* Use theme via css vars

* All text colors

* Additional

* All vars (excluding name...)

* Additional

* linting

* css linting

* Update Card css
2021-03-10 11:04:14 +01:00
Dan Shields
7ae6618e57
Update ED and reaping info in app (#4771)
* Update ED and reaping info in app

https://wiki.polkadot.network/docs/en/learn-accounts#existential-deposit-and-reaping

* spell check
2021-03-05 11:53:23 +01:00
Jaco Greeff
4722017e90
Expand funding warnings (#4774) 2021-03-05 09:52:37 +01:00
Antoine Estienne
866dcf3e86
Fix eth privkey account addition UI (#4757)
* fix warnings and disable derivation path

* apply review feedbacl
2021-03-04 16:33:13 +01:00
Jaco Greeff
7d2d1842d1
Update deps (& berry) (#4765)
* Update deps (& berry)

* linting

* Additional

* Bumps

* jest babel helpers esm
2021-03-03 11:52:39 +01:00
Jaco Greeff
2beb8328f1
Phishing protected message for extensions (#4741)
* Phishing protected message for extensions

* Update packages/page-accounts/src/Accounts/BannerExtension.tsx

* Adjust naming
2021-02-28 13:53:27 +01:00
Antoine Estienne
199c9a3dfb
Derive path for eth derivation (#4732)
* derivae path for eth derivation

* remove consoles

* lint

* Apply suggestions from code review

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

* applied suggestions

* lint and modifs

* Apply suggestions from code review

thanks for the suggestions!

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

* Apply suggestions from code review

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

* more suggestions and cleaning"

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-02-26 11:46:35 +01:00
mark hayward
3f3bc05271
Accounts typo (#4673) 2021-02-16 16:25:10 +01:00
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