Commit Graph

78 Commits

Author SHA1 Message Date
Jaco Greeff
d77ec3a88a
Adjust lifetime dislay (Unsigned !== immortal tx) (#4631) 2021-02-08 16:44: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
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
3a40a10420
Display extrinsic signature & type (#4489) 2021-01-25 11:08:48 +01:00
Jaco Greeff
c4a96a2e9a
Ensure epoch is avilable (w/ no staking, permissioned) (#4402) 2021-01-14 00:24:03 +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
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
MiZiet
18be5c3451
Restore contracts banners size. Closes #4275 (#4276)
* Restore contracts banners size

* Remove hasOwnMaxWidth class from Banner

* Rename Contracts component into ContractsTable

* Extract Contracts component from ContractsApp

* Move Banner, Deploy, Summary components to Contracts directory

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-12-29 12:54:02 +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
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
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
Shankar D. Warang
30b3357e35
Typo: elpased -> elapsed (#4110)
* suggestion from community: typo (1/3)

* suggestion from community: typo (2/3)

* suggestion from community: typo (3/3)
2020-11-30 11:32:29 +01:00
Jaco Greeff
6ae747b9e3
Display activeEraStart with Babe (#4105) 2020-11-29 22:50:12 +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
aaedb61e0d
import type { UseTranslationResponse } (#4074) 2020-11-26 10:23:52 +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
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
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
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
a96c36d158
Registry usage from type (#3709) 2020-09-18 08:07:25 +02:00
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
5f4c4c052b
Small layout adjustments (explorer & staking) (#3673) 2020-09-13 11:51:11 +02:00
Jaco Greeff
e91ed4cf41
Display explorer retrieval errors (instead of spinning) (#3652) 2020-09-10 12:52:38 +02:00
Jaco Greeff
8815703d00
Bump dev, fix linting (#3603)
* Bump dev, fix linting

* Small zh adjustments

* Remove rpc.* zh
2020-09-03 16:36:24 +02:00
Jaco Greeff
2aaa591c80
CHANGELOG (#3578)
* CHANGELOG

* Don't make genesis parent clickable

* CHANGELOG formatting
2020-08-31 17:25:00 +02:00
Jaco Greeff
7247cec8e5
Media & highlight name adjustments (#3482)
* Media & highlight name adjustments

* 2000 sizing

* Restore progress inner
2020-08-23 12:11:12 +02:00
Jaco Greeff
ebad8635f7
Adjust useCall options (#3430)
* Adjust useCall options

* Extract useCall options

* typo

* Apply suggestions from code review

* Adjust param creation in calls
2020-08-17 12:24:51 +02:00
Jaco Greeff
8f47873942
useRef for table headers (no changes) (#3429)
* useRef for table headers (no changes)

* Cleanup Tabs hidden (constants)
2020-08-16 16:29:10 +02:00
Jaco Greeff
4a38c054d0
Hide non-retrieved node values (#3427) 2020-08-16 11:29:56 +02:00
Jaco Greeff
c085125dd7
Endpoint toggle adjustments (#3319) 2020-08-02 11:40:38 +02:00
Jaco Greeff
927c1d02f9
Flatten recurring events (same block) (#3201)
* Flattn recurring events (same block)

* Same-height event filter

* Display adjust

* Filter {balances, treasury}.Deposit
2020-07-15 16:11:21 +02:00
Jaco Greeff
94193941fc
Adjust multisig check (#3182)
* Cleanup multisig check

* Remove finalized without grandpa
2020-07-14 09:26:59 +02:00
Jaco Greeff
6a393256a4
Bump API, cater for new OpenTip structure (#3096)
* Bump API, cater for new OpenTip structure

* Simplify assignment

* Cleanups after latest typescript-eslint breakages

* More...

* Last-ish round
2020-06-30 13:43:06 +02:00
Jaco Greeff
176c7e9e8b
API bumps & small block display adjustment (#3025)
* API bumps & small block display adjustment

* Adjust for new multisig metadata

* Staking table badge class
2020-06-22 12:10:56 +02:00
Jaco Greeff
767eb7c873
Handle isForceAlways for era lengths (#2981) 2020-06-18 15:31:06 +02:00
Keith Ingram
2081464de8
Rewrite & update to page-contracts (#2873)
* first commit

* finish

* InputMegaGas, use BN consts'

* update util'

* tags issue

* manifest

* import bn_zero

* rm

* restore contract tags

* fix tags onClose

* sec to ms

* ms -> sec

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-06-09 14:56:10 +02:00
Jaco Greeff
c661e9017d
Don't display era on ForceNone (#2837) 2020-05-27 19:49:58 +02:00
Jaco Greeff
c60ba8708a
Bumps w/ eslint (#2802)
* Bumps w/ eslint

* Additional

* Additional

* Additional

* Additional

* Remove style props

* Additional

* Additional

* Additional

* Additional (< 100)

* eslint passes, tsc next

* tsc fixes

* Update deps

* Update i18n
2020-05-24 19:41:14 +02:00
Jaco Greeff
592dd4b2a3
Links from events to blocks (#2761) 2020-05-17 10:06:02 +02:00
Dan Forbes
05a8c8e523
Add block number to events on explorer page (#2759) 2020-05-17 08:19:43 +02:00
Jaco Greeff
029b5c6c80
Adjust deps for new hooks rules (#2757) 2020-05-16 10:45:54 +02:00
Jaco Greeff
8bf82af539
Filter extrinsics from system events (re-apply) (#2707) 2020-05-08 12:00:42 +02:00
Jaco Greeff
0ed8bd1611
useCallback for onChange in react-params (#2705)
* useCallback for onChange in react-params

* Use keyed events
2020-05-08 11:50:36 +02:00
Jaco Greeff
1f6ffea2b8
i18n linting script (missing, extra) (#2629)
* i18n linting script (missing, extra)

* Correct missing top-level check

* Cleanup dead keys, split apps-routing

* Working with all keys detected

* Update routes export

* Last hanging bits
2020-04-25 15:18:11 +02:00
dushaobindoudou
037f811af7
fix: small screen overflow x bug (#2620)
Co-authored-by: du <dushaobin@meishubao.com>
2020-04-24 11:43:48 +02:00
Keith Ingram
9703811f8b
AddressMenu popup when clicking on address name (#2563)
* AddressMenu

* use menu

* refactor

* draft

* cleanup

* Sidebar

* Sidebar

* improvements

* redesign

* bump

* Small adjustments

* Layout adjustments, useCallbacks (not perfect...)

* Remove _setName with extra effect, re-add badges (edit missing)

* Missing useCallback in Address

* no withSidebar on AddressToggle

* useAccountInfo CPU spikes (split effects, no useCallback deps)

* Alway have underline (even on address)

* secondary button color

* Add name callback

* Make identity appear with displayname

* Adjust judgement button position

* UI adjustments

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-04-22 19:43:20 +02:00
Jaco Greeff
284f7a667d
useMemo for table headers/footers/filters (#2601)
* useMemo for table headers/footers/filters

* contacts mishap
2020-04-22 14:44:54 +02:00
Brandon Kite
805ee9dc5c
Support for optional usage of pallet_balance (#2578)
* Allow polkadot UI to function without having pallet_balance enabled

* Update packages/page-123code/src/SummaryBar.tsx

Co-Authored-By: Jaco Greeff <jacogr@gmail.com>

* formatting

* fix spacing

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-04-17 07:22:26 +02:00