Commit Graph

93 Commits

Author SHA1 Message Date
kwingram25
dc943d7cd6
Button/TxButton submit on enter (#1170)
* Button/TxButton submit on enter

* promise linting

* testing ref approach

* Add TxComponent to handle submit on enter

* remove accountNonce

* remove input ref

* remove TxButton constructor

* remove comment

* empty constructor

* linting

* bug with null ref

* linting
2019-05-22 18:08:58 +02:00
Jaco Greeff
a86f8231d5
Convert to new api.derive (multi-query) functions (#1173)
* Convert to new api.derive functions

* Ensure stashId passed-through

* Bump api

* Update validation details

* Lint fixes

* Bump API

* Drop linked nominator query
2019-05-17 18:08:26 +02:00
Jaco Greeff
2596c3c940
Style cleanups (styled & unused) (#1151) 2019-05-14 11:04:49 +02:00
Jaco Greeff
573a500cdd
Fix event display indexing & availability (#1144)
* Fix event display indexing & availability

* Key events by when-added key

* BlockInfo passes KeyedEvent
2019-05-13 16:45:56 +02:00
Jaco Greeff
0681375865
Explorer query updates (#1127) 2019-05-10 19:52:07 +02:00
Jaco Greeff
b8ac690360
Show explorer in light (but hide node info) (#1133) 2019-05-10 19:23:23 +02:00
Emilio Silva Schlenker
2c9e64ab99 [#943] Make hash/number query available globally to explorer (#1111)
Updated with comments from @jacogr
2019-05-10 12:46:57 +02:00
kwingram25
dd245ce5db Add total issuance summary card (#1086)
* Add total issuance summary card

* Remove unit from TotalInsurance formatting
2019-05-08 11:59:09 +02:00
kwingram25
95a3690c35 Replace withCall -> withCalls (#1021)
* Wiki link

* replace withCall => withCalls

* rv wiki

* fix typing errors -> withMulti

* Fix typing errors

* callOnResult
2019-04-30 16:28:44 +02:00
Jaco Greeff
e6d46f9922
Fix staking buttons to immediately show (#998)
* Fix staking buttons to immediately show

* Move back to params as a name, cleanup danglings
2019-04-12 18:05:14 +02:00
Jaco Greeff
db21bb51e9
Align labels to the top (#989)
* Align labels to the top

* Oops.

* Another oops. (last 2 related, unsaved edits...)

* Small CSS adjustments (misc.)
2019-04-12 00:01:58 +02:00
kwingram25
8e95b06e7b Auto-show latest block on BlockQuery (#960)
* Auto-show latest block on BlockQuery

* use bestNumber

* s/Block query/Block details/
2019-04-11 09:58:03 +02:00
Ross Bulat
9a3489e54f Tabs Simplify and Summary Tidy-up (#885)
* tabs simple

* remove min width

* 3 stats iphone size

* node info media-small

* spacing

* center stat

* iphone SE size summary support

* line-height, safari UI bug

* mob spacing (uhoh, @media queries building up)

*      trailing whitespace

* normalise media breakpoints

* nits

* padding, rem-ing

* trailing whitespace
2019-04-03 16:32:16 +02:00
Jaco Greeff
def0506e1d
formatting utils from @polkadot/util (#878) 2019-04-02 15:12:58 +02:00
Jaco Greeff
5b3619ae1b
Re-add media queries (pertinent info) (#877) 2019-04-02 09:56:01 +02:00
Ross Bulat
4c65729b5e Scrollable summary bar (#850)
* scrollable summary bar

* subtle outline

* subtle plus / article flex / centered labelling

* height -0.1rem

* inset shadow spread

* styled Card / tidy up

* tslint

* webkit scrollbar

* >

* nitpicking
2019-04-02 08:40:59 +02:00
Jaco Greeff
27689e8816
ss58 & US language updates (substrate 1.0-rc) (#871)
* ss58 & US language updates

* All Finalised -> Finalized

* Remove unused status

* 0.28

* 0.28
2019-03-29 18:26:18 +01:00
Jaco Greeff
1c81dd2781
Bump version (#865)
* Bump version

* Bump deps

* Fix PeerInfo without peer.index
2019-03-28 21:01:12 +01:00
Ross Bulat
96127b40cf Full width storage--actionrow (#848)
* fix

* optimised width for ~ hash length
2019-03-26 16:02:16 +01:00
Ross Bulat
b097ae8f9a <SummaryBox /> styled component (#830)
* <SummaryBox /> styled component

* remove comment

* apps -> ui-app comment

* rolling back to .css

* rm styled

* styled SummaryBox

* indent
2019-03-24 20:59:29 +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
e6bced1d9a
Block explorer expanded (#801)
* Add extrinsic hash to detail display

* Move BlockByHash -> ByHash

* Query block by number

* isEmpty check fro block and header
2019-03-12 13:02:39 +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
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
5feb22b07e
Cleanup @polkadot/types imports (#711) 2019-02-13 22:49:10 +01:00
Jaco Greeff
f4be787cad
Merge Explorer & Nodeinfo apps (#706)
* Merge Explorer & Nodeinfo apps

* Fix block hash component rendering
2019-02-13 13:42:22 +01:00
Jaco Greeff
3a70c0b587
Explorer flex for events, extrinsics (medium+) (#689) 2019-02-11 11:48:07 +01:00
Jaco Greeff
70f24e73a0
CC breaks on events, fix for UI (need proper solution in api) (#688) 2019-02-11 10:52:39 +01:00
Jaco Greeff
d873512ccc
Forward-port low-hanging breaks (#673)
* Pull in media from jg-ui-break

* Test apps, pull in flex-media settings
2019-02-05 08:01:40 +02: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
6ce31fc1da
Rework Tabs component (using react-router) (#660)
* Rework Tabs component (using react-reouter)

* Remove unneeded props (already specified)

* Bump API

* Bump API for finalised v1 support
2019-01-30 20:40:29 +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
a6c44dd4fb Labelling cleanups & API bump (balances via Address) (#658)
* Labelling cleanups & API bump (balances via Address)

* Documentation join

* Align padding for article with padding

* Extra console.log removed

* Text update
2019-01-28 12:08:01 +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
612b5d0f45
API update (metadata v1), fragment support (#652)
* Use fragments instead of [] returns

* Frament part 2

* Update API

* Update Creator.tsx

* Review cleanups
2019-01-26 17:27:13 +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
ff70e91af0
Minor formatting updates (count events & extrinsics) (#638)
* Minor formatting updates (count evnts & extrinsics)

* flex alignment, font-familt (headers)

* Height adjustment (slight)
2019-01-22 14:51:45 +01:00
Jaco Greeff
bbb9bb0fee
Move app-rpc into app-toolbox (#637)
* Staking condensed

* Move app-rpc into app-toolbox

* Adjust children rendering (summary)

* Polkadot highlights

* Display most-recent as expanded (explorer)
2019-01-22 13:38:56 +01:00
Jaco Greeff
bae3c98e20
Hide description until hover (explorer) (#636)
* Hide description until hover (explorer)

* Flexable top margin
2019-01-22 11:14:07 +01:00
Jaco Greeff
2e8b73fe90
Node info & explorer info density adj. (#635)
* Poll for system_health (keep-alive)

* Node info & exp,orer info density adj.
2019-01-22 10:24:00 +01:00
Jaco Greeff
ef6ae9d1ed
Remove extrinsic list duplication (#625) 2019-01-21 00:39:42 +01:00
Jaco Greeff
864171e00a
Simplify i18n templates (#623)
* Start...

* Complete simplify i18n
2019-01-20 13:14:27 +01:00
Jaco Greeff
45e42047f3
Node status app (#618)
* Structure for app-status (bonus: starting app-template to document)

* Add steps to add a new app from the template

* Follow instructions, ensure we have something working

* README update

* Disable Wiki (for the time being)

* Split last sidebar render helper

* speellung (edit: spelling), AppProps & empty new apps (current)

* app-template -> app-123code

* Status header in-place

* Very basic distus display in place

* Overflow for hash

* app-status -> app-nodeinfo
2019-01-19 22:18:35 +01:00
Jaco Greeff
eb0abb8307
Cleanup api call usage (#617)
* Rename apiPromise -> api

* First attemp at React render component (unused)

* Cleanup api call usage

* Cleanup linting

* Remove render component

* Adjustments on HOC types (& usage)
2019-01-18 23:04:13 +01:00
Jaco Greeff
42409e6b72
Display all events on expanded block view (#591) 2019-01-12 17:54:15 +01:00
Jaco Greeff
b68c1a4f5e
Update summary info displays (#590)
* Display activated block for referendums

* Display authorities for block generation

* Fix author calculation
2019-01-12 16:35:04 +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