Commit Graph

655 Commits

Author SHA1 Message Date
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
964995ea1a
Adjust sui imports (non-cjs) (#4245) 2020-12-19 19:12:09 +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
1cf7b5e629
Allow InputAddress with no options (#4227)
* Allow InputAddress with no options

* Update packages/react-params/src/Param/index.tsx
2020-12-17 11:07:08 +01:00
iiiiiiii
a55579dd97
fix tooltip z-index (#4222) 2020-12-16 09:22:46 +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
48a3127ba8
Display error.message || error (when string is thrown) (#4197)
* Display error.message || error (when string is thrown)

* Update packages/react-signer/src/TxSigned.tsx
2020-12-12 10:19:41 +01:00
Jaco Greeff
c1c87d2aeb
Internal deps bumps (#4194)
* Internal deps bumps

* acala
2020-12-11 12:47:59 +01:00
MiZiet
7ed65ebf7b
Add max-width to content (#4170)
* Add max-width to content

* Add padding to content and change Query position

* Add max-width constants

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-12-09 15:42:58 +01:00
Jaco Greeff
cfea8723a5
Bump deps (#4181)
* Bump deps

* Additional
2020-12-09 14:15:59 +01:00
Jaco Greeff
2e6cbe8f7c
Ensure bad judgement has the highest priority (#4178) 2020-12-08 21:36:54 +01:00
Jaco Greeff
e4fc6b7aea
Move moonbeam/sora RPCs to bundle-only (#4174)
* Move moonbeam/sora RPCs to bundle-only

* Update packages/react-components/src/InputRpc/useRpcs.ts
2020-12-08 16:38:01 +01:00
Jaco Greeff
58c27ed919
Bumpi API (bounty derives, typesBundle rpcs) (#4173)
* Bumpi API (bounty derives, typesBundle rpcs)

* linting
2020-12-08 16:09:56 +01:00
Jaco Greeff
fef4479fd6
Bump dev (import plugin in base) (#4169) 2020-12-07 17:14:33 +01:00
Ewa Kowalska
541213f233
Ek extract type only imports into separate group (#4168)
* Plug new beta of eslint plugin simple import sort

* Apply new configuration to existing imports
2020-12-07 16:04:05 +01:00
Jaco Greeff
864687d0a3
Adjust Tooltip formatting for consistency (#4167) 2020-12-07 13:33:20 +01:00
Jaco Greeff
f86cc1a689
Small target opts (incl. non-selected sorting) (#4159)
* Small target opts (incl. non-selected sorting)

* Remove last dangling validatorPayment
2020-12-04 16:21:50 +01:00
Jaco Greeff
81bce1e4f7
Fix HelpOverlay background for dark (#4156) 2020-12-04 09:03:22 +01:00
Jaco Greeff
a74ff3ccad
Output className, remove extra } (#4132) 2020-12-01 16:49:01 +01:00
Ewa Kowalska
87505b1c59
Eslint imports (#4037)
* Add eslint configuration

* Patch eslint plugin for sorting imports

* Apply eslint rules for imports
2020-12-01 14:40:42 +01:00
Jaco Greeff
78b3680f3c
Rework with useNominations (incl. loading indicators) (#4128) 2020-12-01 13:13:47 +01:00
Jaco Greeff
ee25db733d
Remove classes utility (#4106)
* Remove classes utility

* Update packages/react-components/src/InputNumber.tsx
2020-11-30 16:01:37 +01:00
Jaco Greeff
e6d3c61176
Use type imports from @polkadot/types/interfaces (#4103)
* Move chain params to apps-config

* Use type imports from @polkadot/types/interfaces
2020-11-29 19:03:06 +01:00
Jaco Greeff
366c8804d0
Cleanup targets pre-filtering on sort (#4098) 2020-11-29 12:56:13 +01:00
Jaco Greeff
c9d9b5022d
Bump API (#4088) 2020-11-28 14:29:12 +01:00
Jaco Greeff
b9113f7375
Fix RPC params change (#4083) 2020-11-26 14:11:21 +01:00
Jaco Greeff
c70f82807e
Trate user-RPCs consistently alongside known (#4081) 2020-11-26 13:07:21 +01:00
Jaco Greeff
aaedb61e0d
import type { UseTranslationResponse } (#4074) 2020-11-26 10:23:52 +01:00
Jaco Greeff
488230d5db
Also explicitly list h1 height (as h2) (#4073) 2020-11-25 22:24:17 +01:00
Jaco Greeff
f99dcb2b0a
Fonts from new.css (#4071)
* Fonts from new.css

* line-height 1

* h2 adjust

* rm Nunito
2020-11-25 21:42:31 +01:00
MiZiet
cedc6b28c1
Align account name with nunito sans (#4038)
* Fix font alignment

* Plug in Nunito Sans

* Remove line-height

* Align AccountName

* Update packages/react-components/src/AccountName.tsx

Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-11-25 21:24:01 +01:00
Jaco Greeff
bcb36ec4f0
Allow CopyButton on all Hash* fields (#4065) 2020-11-24 15:56:53 +01:00
Jaco Greeff
a0b82d88a4
Use import type { ... } (#4052)
* Use import type { ... }

* value imports

* TypeDefInfo

* Apply suggestions from code review

* fixes... am going blind.
2020-11-19 16:20:14 +01:00
Jaco Greeff
fce4f76297
Adjust config imports/exports (#4051)
* Adjust config imports/exports

* Move type import

* yarn

* drive-by type imports
2020-11-19 14:17:29 +01:00
Jaco Greeff
dfdf75ba2b
On-demand Expander rendering (#4039)
* On-demand Expander rendering

* Use indexes, not progress
2020-11-17 15:33:13 +01:00
Jaco Greeff
685971fa09
Max length for InputNumber (equal to allowed digits) (#4034)
* Max length for InputNumber (equal to allowed digits)

* Description on length check
2020-11-16 16:35:03 +01:00
Antoine Estienne
c004f07c53
Feature/better eth address addition (#4032)
* update labels for eth private key

* updated copy button

* lint

* Apply suggestions from code review

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

* typo

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-11-16 15:19:08 +01:00
Jaco Greeff
2c951cf263
Bump API (#4029) 2020-11-16 07:19:04 +01:00
Jaco Greeff
e10d56d0ec
Bump API (#4017)
* Bump API

* Rebuild i18n

* Fix InputAddress

* Pass through registry where applicable
2020-11-12 15:43:19 +01:00
Jaco Greeff
64299ebd29
Dev bump (#4012)
* Bump API/Common (esnext exports)

* Bump deps

* Adjust

* Bumps

* Bumps

* repository

* Update dev

* Remove Rococo (for the time being)

* script extension
2020-11-11 15:28:52 +01:00
Antoine Estienne
31904bf106
Support ethereum addresses for Moonbeam (#3961)
* support ethereum addresses

* corrections

* add standalone url and ethereum identicons

* add moonbeam config

* added changes from the old pr

* add new config

* added dummy rpc method declarations for eth methods

* wip fix address add modal

* support ethereum addresses

* corrections

* add standalone url and ethereum identicons

* add moonbeam config

* added changes from the old pr

* add new config

* added dummy rpc method declarations for eth methods

* wip fix address add modal

* wip repair app with new keyring

* use isDevelopement false for ethereum

* lint

* more formatng

* eth addresses by default for account creation

* added many more types to support moonbeam

* added color

* add h160 to types and components

* add rpc methods to app-config

* lint

* polish

* Update packages/react-params/src/initValue.ts

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

* Apply suggestions from code review

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

* moved ethereum networks to config

* added real rpc method typings

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-11-10 18:12:11 +01:00
Jaco Greeff
ce796b499a
Cleanup maxVote calculations (no re-triggers) (#3992)
* Cleanup maxVote calculations (no re-triggers)

* Remove duplicate equality check

* Remove (now unneeded) isBn check
2020-11-08 13:36:58 +01:00
Jaco Greeff
524cbc8a80
Add fontWeight* to theme (#3985)
* Add fontWeight* to theme

* Cleanup comments

* fontWeightLarge -> fontWeightLight
2020-11-06 14:31:23 +01:00
Thibaut Sardan
08196d3093
Cleanup style expansion (#3943)
* cleanup style expansion

* ThemeDef

* Don't create unneeded objects

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-11-06 13:58:04 +01:00
Jaco Greeff
50fd662f8a
Revert font changes (#3976) 2020-11-05 12:50:40 +01:00
Jaco Greeff
5070ecdd10
s/fontFamily/fontSans/ (#3968) 2020-11-04 15:11:02 +01:00
Albert
2215541cd9
Apply Nunito fonts globally (#3882)
* Add nunito fonts

* Apply Nunito fonts globally

* Remove Nunito fonts (600,800)

* Add fontFamily to themes

* Unify font-weight and font-family across app

* Fix linting

* Use Monospace font from theme where required

* Add font-family from theme to buttons

* Revert font-family change in Claim

* Provide enough vertical space for rendering of an account name with verified identity

* Use theme font in transfer and search inputs

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
2020-11-04 14:35:49 +01:00
Jaco Greeff
2a1fb452af
Add support for ethereum icon theme (#3964)
* Add support for ethereum icon theme

* Bump deps
2020-11-03 16:06:40 +01:00