Commit Graph

213 Commits

Author SHA1 Message Date
Thibaut Sardan
f4c9303994 Refactor Available to use the new derive.balances.all (#1125)
* remove max and refactor Available

* api uery on one line
2019-05-10 13:49:14 +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
Jaco Greeff
0a05e1d367
Keyring case for recents (#1107) 2019-05-08 17:45:04 +02:00
Thibaut Sardan
4d39523daf Allow to withdrawUnbonded + additional info (#1070)
* skeleton for Available and Unlocking

* available (with bug) and unlocking balance

* implement available according to the rust code

* lint

* unlock modal components

* use tx button directly instead of useless modal withdrawUnbonded

* use BN and move max to util

* Sum unlockables

* show unlockableSum and refactor

* add unlockable button

* lint

* smaller padding around unlock button

* cleanup and address comment

* use labels directly instead of passing in props

* function ordering and make private

* fixme for vesting, function ordering

* css in components

* lint
2019-05-08 11:06:54 +02:00
Jaco Greeff
8f065cddd0
Cleanup status display with address (#1097) 2019-05-08 10:20:15 +02:00
Jaco Greeff
92a0967ed9
Move Chart to styled-components (#1098) 2019-05-07 15:40:05 +02:00
Jaco Greeff
f461c84642
Small contracts fixes & adjustments (#1092)
* Adjust code deploy redirection (w & wo contracts)

* Allow contract call with 0 value

* TxButton to calculate all on click

* Stray logging
2019-05-07 10:00:53 +02:00
Jaco Greeff
48e01bda50
Simple slide in help overlay (#1075)
* Simple slide in help overlay

* Indent
2019-05-07 09:58:12 +02:00
Jaco Greeff
f20defddfd Adjust offline icon placement (#1088) 2019-05-06 12:10:36 +02:00
Luke Schoen
edce456d15 refactor: Relates to #1060. Consistent top padding across apps (#1077)
* refactor: Relates to #1060. Remove min-height and padding-top from CardSummary for consistent top padding

* fix: Increase top padding across apps

* feat: Add shorter height on mobile devices

* review-fix: Reduce margin between tab items and contents
2019-05-03 18:08:39 +02:00
Luke Schoen
029224530f fix: Fixes #1071. Consistent vertical alignment of tab menu items across apps (#1072) 2019-05-03 11:37:33 +02:00
Jaco Greeff
62e8e18421 TxButton should not calc. on disabled (#1067) 2019-05-03 02:07:56 -07:00
Jaco Greeff
dec64403c6
Consistent staking filter placement (#1064) 2019-05-02 13:37:51 +02:00
kwingram25
1179b66190 Keep number input value on unit change (#1062) 2019-05-02 11:11:34 +02:00
kwingram25
6435293ff4 Refactor TxButton and expand use (#1023)
* Refactor TxButton and expand use

* Set button to loading while broadcasting

* Travis CI

* add extrinsic prop, req changes

* restore loading indicator
2019-05-02 10:25:51 +02:00
Jaco Greeff
16972eeafa
Adjust AddressMini layout (#1054) 2019-04-30 17:59:59 +02:00
Jaco Greeff
3be42a74be
Adjust summary labels min height (#1056) 2019-04-30 16:43:57 +02:00
kwingram25
0c7f1b8924 Sudo app added (#1036)
* sudo app start

* finish sudo app

* console

* split into two tabs, sidebar filtering

* unused SubjectInfo

* Attempt to get sanity into yarn.lock

* Add actual needsSudo to sudo route
2019-04-30 15:52:37 +02:00
Luke Schoen
1ff70781e0 Refactor nitpicks in app-js (#1052)
* chore: nitpicks

* remove console.logs
2019-04-30 15:22:50 +02:00
Daniel Yamuza
ceba73832e Tooltip component, a react-tooltip wrapper (#938) (#1050)
* Added Tooltip component to Apps-UI a react-tooltip Wrapper (#938)

* Made the trigger prop mandatory to enforce the usage of different ids over controlled triggers, removed some unneeded blank lines
2019-04-30 11:39:58 +02:00
Thibaut Sardan
345cd06539 Add help on critical apps (#1030)
* add help on account app

* add help on addresses app

* add help on transfer app

* typos

* add help for voting app

* add help slidein for accounts

* correction session needs to be ed25519

* add transfer and address book

* add democracy and fix typo

* Update packages/app-democracy/src/md/basic.md

Co-Authored-By: Tbaut <33178835+Tbaut@users.noreply.github.com>

* Apply suggestions from code review

Co-Authored-By: Tbaut <33178835+Tbaut@users.noreply.github.com>

* Update packages/app-transfer/src/md/basic.md

* use both DOTs and Units, move crypto to help, fix typo
2019-04-29 17:13:17 +02:00
Thibaut Sardan
1b9b07bdac
Make sure labels aren't over help-hover (#1027) 2019-04-17 14:41:40 +01:00
Jaco Greeff
b63583168b
Use staking.stakers to pull nominators (#999)
* Use staking.stakers to pull nominators

* Render own + other values
2019-04-12 19:11:58 +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
a2f46dd551
Responsive labels (#995)
* Responsive labels

* Closing

* Update media.ts

* Remove errant log
2019-04-12 14:51:29 +02:00
Jaco Greeff
7b04762b87
Adjust (?) margin (#994) 2019-04-12 14:26:11 +02:00
Jaco Greeff
d9d6364a1e
Adjust extrinsic hash formatting (#992) 2019-04-12 12:52:48 +02:00
Jaco Greeff
707ae0b696
Validate codehash (with wasm), address (with code) & wasm header (#991)
* Validate codehash (with wasm), address (with code) & wasm header

* Typo
2019-04-12 12:50:58 +02:00
Jaco Greeff
a81fafef0d
Label icon -> middle (#990) 2019-04-12 09:54:26 +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
Jaco Greeff
70e2f3f537
Hide Nominators(0) (#970) 2019-04-11 16:22:26 +02:00
Jaco Greeff
d73452b865
Basic filters for staking accounts (#965)
* Basic filters for staking accounts

* Extract address getter, display names consistently

* Center last block
2019-04-11 14:35:34 +02:00
Jaco Greeff
e20933e68e
Additional set controller checks (#963)
* Cleanup naming (contreoller, stashes)

* Warning for controllers & stashes

* Linting

* Adjust popup to align with react-tooltip colors
2019-04-11 12:39:31 +02:00
Ross Bulat
c5bb43fde3 Substrate tab theme adjustment (#939)
* 934

* ts
2019-04-11 10:01:34 +02:00
kwingram25
fa8e13c562 add last block to staking overview, reposition warning (#959) 2019-04-11 08:30:03 +02:00
Jaco Greeff
1a103e9812
Substrate contracts, basics (#928)
* Substrate contracts, basics

* Expand Create & Deploy with placeholder inputs

* Add ABI parsing & validation (re-usable)

* Expand ABI parsing

* WIP, putCode works, deploy in-progress

* Updates for Params & Instantiate (untested)

* Up to call...

* Linting

* Updated

* InputFile & ABI adjustments

* Add ability to attch existing (code & deployed)

* Small cleanups

* Very basic intro

* Hide contracts sidebar entry

* Update README.md
2019-04-10 11:52:34 +02:00
kwingram25
51e71dc3ac RecentlyOffline added to Account Actions (#929)
* RecentlyOffline added to Account Actions

* travis-ci

* relocate recentlyOffline state

* comma

* comma
2019-04-10 10:55:14 +02:00
Jaco Greeff
e3b44abaec
Add help overlay for staking (basic intro) (#922)
* Add help overlay for staking (basic intro)

* Allow webpack *.md imports (without TS complaining)

* Update packages/app-staking/src/md/basic.md

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

* Update packages/app-staking/src/md/basic.md

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

* Update packages/app-staking/src/md/basic.md

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

* Update packages/app-staking/src/md/basic.md

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

* Update packages/app-staking/src/md/basic.md

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

* Update packages/app-staking/src/md/basic.md

Co-Authored-By: jacogr <jacogr@gmail.com>
2019-04-08 18:52:44 +02:00
Ross Bulat
7b731211ac
sidebar <=> SrcreenSizes (#919) 2019-04-08 20:48:39 +08:00
kwingram25
56aef9398b Add BondedRx component & display bonded value, refactor RecentlyOffline (#923)
* recently offline on own accounts

* wip bonded display

* RxBonded component

* travis-ci

* import mistake

* redo

* RRemove balance (overview) & index (accounts)

* Remove session.validators

* Re-add displaying only the last offline block

* Small setState cleanup (+ State in generic)
2019-04-08 14:01:20 +02:00
Jaco Greeff
37ba6f0338
Fix errant bonded call (with invalid address) (#925) 2019-04-08 12:46:11 +02:00
kwingram25
ba0d276ae3 Fix Safari Intl issue (#924) 2019-04-08 12:45:41 +02:00
Ross Bulat
5d24410af2
Styled Theming + media template introduction (#902)
* styled theming + screen sizes

* media templates

* mobile-first with min-width media templates

* media templates as export

* sidebar toggle as styled

* combime theming into styled

* tslinting

* rm meda from ThemeProvider

* spacing

* unnecessary; semi; colons;

* typed media function

* abstract theme primary color

* bye bye styled
2019-04-08 14:02:11 +08:00
Jaco Greeff
f9f5b39a0e
Display bonded amount on overview (#915) 2019-04-08 00:15:33 +02:00
Jaco Greeff
a878d0ca99 Highlight validator stashes 2019-04-07 12:14:03 +02:00
kwingram25
7e27d28a8d Refined InputNumber (#894)
* Refined InputNumber

* rm console

* rm console

* travis-ci

* fix unitless input, add isDecimal prop

* CI fix (linting)
2019-04-07 10:46:24 +02:00
Jaco Greeff
dc4a9318c7
Nominate multiples (#899)
* Nominate multiples

* Swap columns to stashes, pass through targets to nominate

* Nominate Validator -> Nominate Validators
2019-04-06 22:34:17 +02:00
Jaco Greeff
eee4432a0a
Add hover help info for status dialogs (#893)
* Add hover help info for status dialogs

* Cleanup intentions -> waiting (actual nextup count)

* Format offline blockNumber
2019-04-05 11:46:28 +02:00
Jaco Greeff
fe8a11cffd
Remove background from <article> (#890) 2019-04-04 21:47:55 +02:00
Ross Bulat
10c344c4cb Remove display: none (#889)
Revert display: none;
2019-04-04 17:00:22 +02:00