Commit Graph

27 Commits

Author SHA1 Message Date
Jaco Greeff
def0506e1d
formatting utils from @polkadot/util (#878) 2019-04-02 15:12:58 +02:00
Jaco Greeff
66ce731158 Fix new type checks 2019-03-29 22:54:41 +01:00
Jaco Greeff
338bd517a0
Remove /index imports (swap to bare) (#814)
* Remove /index imports (swap to bare)

* Bump deps
2019-03-14 10:45:58 +01:00
Jaco Greeff
946bb17311
Handle unknown types (via createType) (#771)
* Handle unknown types (via createType)

* Bump deps
2019-03-01 11:19:36 +01:00
Jaco Greeff
34687e1765
Initialise Vector correctly based on subtype (#765) 2019-02-27 17:36:59 +01:00
Jaco Greeff
bf8e2b15ba
Check instanceof to determine param (numbers only) (#764) 2019-02-27 15:04:03 +01:00
Jaco Greeff
06dd4651f2
Cleanup ComponentMap (easier to reason about) (#744)
* Cleanup CompoinentMap (easier to reason about)

* Remove voting countdown
2019-02-21 11:06:36 +01:00
Jaco Greeff
9adfd46cc3
Bump i18next version (with usage changes) (#736)
* Bump i18next version (with usage changes)

* Remove unneeded i18n wrapping (Unlock)

* Bump semantic-ui version
2019-02-20 10:26:27 +01:00
Jaco Greeff
4889fb7147
Pull in new API (Option<Type> for storage) (#730)
* Pull in new API (Option<Type> for storage)

* staking_nominating is Option

* WIP

* Seems working, however democracy, not happy

* Bump API, Option storage fix

* Pull latest API

* Api version display
2019-02-20 08:45:42 +01:00
Jaco Greeff
5c59c3f991
Warp ui--row inside Params (#727)
* Warp ui--row inside Params

* Media queries for node info
2019-02-18 17:34:19 +01:00
Jaco Greeff
cf23041b85
Pull in @polkadot/ui-util (#724)
* Pull in @polkadot/ui-util

* Pull in @polkadot/ui-util

* Skip tests
2019-02-18 14:45:29 +01:00
Jaco Greeff
ba5ecc2205
Display '<empty>' for U8a which is isEmpty (not the default) (#716) 2019-02-14 13:26:23 +01:00
Jaco Greeff
5feb22b07e
Cleanup @polkadot/types imports (#711) 2019-02-13 22:49:10 +01:00
Jaco Greeff
ffcb8ff37f
Cleanup Tuple state updates (#690)
* Cleanup Tuple state updates

* Cleanup setStrate in Vector as well
2019-02-11 21:47:21 +01:00
Jaco Greeff
a8ed300dc4
Small init changes (static state) (#663)
* Small init changes (static state)

* Hide vanity on empty accounts

* Require accounts for apps, cleanup needsApi/needsCalls

* Display InputAddress when disable (but no options)

* Filter toolbox based on accounts

* Accounts gated via app, don't display add

* Cleanup linting

* Validation display & clear on settings types

* Split save for developer & general

* Add Reset button to dev settings
2019-01-31 18:02:47 +01:00
Jaco Greeff
3ff2053370
Bring tabs into apps without (consistency) (#659)
* Bring tabs into apps without (consistency)

* Small signer updates

* Explorer info as label

* Adjust fonts for modals

* Cleanup imports

* .ui.modal base color

* Adjust Account summary opacity

* Bump API (metadata V1 events)

* Update Event.tsx

* Remove order overrides

* Expand isDisabled balance

* Update index.tsx

* Update index.tsx
2019-01-28 20:30:49 +01:00
Jaco Greeff
f547f8f0b1
Rework labelled layouts (#654)
* Rework labelled layouts

* Adjust storage output display

* Minor adjustments

* Linting cleanups

* Remove unused injected ia8n

* Minor adjustments

* Force Param re-render, fix Nonce params

* Text updates

* Expand Params key
2019-01-27 22:33:29 +01:00
Jaco Greeff
653c2a505f
Basic info display for 123-code (#641)
* Add withCalls

* withCalls operational

* Basic header display & cleanups

* Global account selector for app

* Remove errant debug log

* Simple transfer applet working

* Update Upgrade.tsx

* Update InputNumber.tsx

* Update Transfer.tsx

* Move TxButton back to 123code (for the time being)

* Good enough for a v1
2019-01-27 12:50:47 +01:00
Jaco Greeff
3cc49d15df
Fix AccountIndex, Tuple & Vector disabled displays (#647)
* Fix AccountIndex, Tuple & Vector disabled displays

* Fix Log rendering with U8a

* Fix AddressSummary child block display
2019-01-25 17:23:04 +01:00
Jaco Greeff
077dfc398d
Hover & signer name updates (#646)
* Hover should not hop all over the screen

* Rework signer with name/address display
2019-01-25 11:34:56 +01:00
Jaco Greeff
0663483a2e
Type rendering updates (#643)
* Type rendering updates

* Moment renders via Amount

* Remove errant console.log
2019-01-24 22:38:17 +01:00
Jaco Greeff
864171e00a
Simplify i18n templates (#623)
* Start...

* Complete simplify i18n
2019-01-20 13:14:27 +01:00
Jaco Greeff
c5c8a20ca4
Small fixes & tweaks (#614)
* Small fixes & tweaks

* lintin fix (extra import)

* ui-params inputs AccountIndex as number
2019-01-18 11:21:44 +01:00
Jaco Greeff
7e01f3cb37
Allow edit/add from address in recents (#601)
* Allow edit/add from address in recents

* Package upgrade restore after merge
2019-01-14 15:16:28 +01:00
Jaco Greeff
014ae780e4
Split ui-api, update API version (#589)
* Split ui-api, update API version

* Update (awaiting API changes to go through)

* Cleanup ui-api exports

* Bump API (SubscriptionPromise support)

* Linting fixes

* Update renames

* Do display balances.Transfer (shows for non-owned accounts)

* Bump API
2019-01-12 09:38:07 +01:00
Jaco Greeff
ecb61d02ae
Display balance with calculated SI units (#583)
* Display balance with calculated SI units

* Unused auto-import

* Update tests (format params)
2019-01-10 17:28:49 +01:00
Jaco Greeff
d93169e172
Rework Params & Params Vector (#581)
* Split Params into ui-params

* Fix Vector value detection/adding

* Update jest config
2019-01-10 15:48:07 +01:00