Commit Graph

57 Commits

Author SHA1 Message Date
Jaco Greeff
c64f3c905a
Small adjustments on staking & mini labels (#1222)
* Small adjustments on staking & mini labels

* Formatting
2019-05-27 22:00:01 +02:00
Jaco Greeff
0c5f76f2ad
Add available balances to transfer modal (#1210)
* Add available balances to transfer modal

* Hide transfer modal

* Fix editing bug

* ... don't hide... yet

* liniting

* Fix broken address search

* Adjust labels (there is space)

* Adjust padding for fees

* Convert fee calculations in transfer app

* Hide all secondary buttons (non-hover)

* Re-apply row padding fix

* ui-reactive labels

* balance -> total

* label, string -> React.ReactNode

* Redeem shows

* Incorporate help messages

* Move transfer

* default AddressSummary size, 64

* Swap to AddressRow... everywhere

* AccountInfo (and use in staking/accounts)

* Modal tweaks

* De-emphasise extrinsic inherent

* Align class name with filename

* Hide AddressInfo (?)'s (for now)

* onEnter saves, closes (name)
2019-05-27 10:20:44 +02:00
Thibaut Sardan
797c12be3c
Account overview (#1163)
* starting point

* show all accounts

* edit and save a name but remains ugly

* actually don't use deriveStateFromProps

* fix AdressRow

* indentation

* upperCase

* bring back the index

* trim input

* change edition l&f

* lint

* cater for small screens

* address comments

* lint and alphabetical order

* allow viewing and editing tags

* better UX when tag editing and styling for no tags

* nonce refactoring and show balances

* crypto type

* styling balances

* use css grid

* fix address row and creator

* with buttons

* button styling

* locked tooltip

* edit button always visible

* nits cleanup

* lint

* address comments

* try to prevent jump on editing

* no jump when no tags

* tweak for tag jump

* forgot the useless spacer

* align AddressSummary childre top right

* fix key warning and nits

* CSS stuff to align things

* Fix merge gone wrong
2019-05-22 15:38:44 +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
7887f56336
Add isMulti param for withCall (#1090) 2019-05-15 16:11:26 +02:00
Jaco Greeff
904b07005a
Rework account & address modals (#1143)
* Modal styling

* Update account forgetting

* Swap name prop to AddressRow/Summary to defaultName

* typo

* Backup modal

* Don't allow edit on isTesting accounts

* ChangePassword modal update

* Label help on password labels

* typo

* Create & backup dialog

* Addressbook forget

* Update packages/app-accounts/src/modals/Forgetting.tsx

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

* Update packages/app-accounts/src/Creator.tsx

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

* Update packages/app-accounts/src/modals/Backup.tsx

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

* Update packages/app-accounts/src/modals/Backup.tsx

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

* Update packages/app-address-book/src/Forgetting.tsx

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

* Update packages/app-address-book/src/Forgetting.tsx

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

* Update packages/app-accounts/src/modals/ChangePass.tsx

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

* Update packages/app-accounts/src/modals/Backup.tsx

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

* Update packages/app-accounts/src/modals/Forgetting.tsx

Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
2019-05-13 15:59:04 +02:00
Jaco Greeff
1447a00702
Bump common & API (#1116)
* Bump common & API

* Cater for removed stakingBalance

* typo

* util bump

* derive fix from API
2019-05-09 20:35:31 +02:00
Daniel Yamuza
604b1ae8ba Fixed my nominations filter (#1080) (#1085) 2019-05-06 14:26:50 +02:00
Jaco Greeff
462c501dc2
Tweak block staking icon display (#1065) 2019-05-02 13:54:34 +02:00
Jaco Greeff
dec64403c6
Consistent staking filter placement (#1064) 2019-05-02 13:37:51 +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
Daniel Yamuza
020c0b1322 Added a simple filter to the staking overview (#971) . (#1039)
* Added a simple filter to the staking overview (#971) .

* Linting, code cleaning

* Corrected the help text
2019-04-26 07:38:09 +02: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
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
kwingram25
fa8e13c562 add last block to staking overview, reposition warning (#959) 2019-04-11 08:30:03 +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
74af106d6a
Re-add blocknumber for validators (#933)
* Re-add blocknumber for validators

* Adjust position

* Small spacing adjustments
2019-04-10 10:40:37 +02:00
Jaco Greeff
12f559dc7b
Filter nominators on the stash (#930) 2019-04-09 14:07:50 +02: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
c3073a7d65
Combine controller/session when the same (#917) 2019-04-08 08:20:01 +02:00
Jaco Greeff
f9f5b39a0e
Display bonded amount on overview (#915) 2019-04-08 00:15:33 +02:00
Jaco Greeff
ed1e58d9a4
Display session key with stashes (#911)
* Display session key with stashes

* Only display node info when connected
2019-04-07 18:20:02 +02:00
Jaco Greeff
0854c78bfa
Display controller on overview (#907)
* Display controller (with stash in overview)

* Styles
2019-04-07 14:05:56 +02:00
Jaco Greeff
a878d0ca99 Highlight validator stashes 2019-04-07 12:14:03 +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
a668d76758
recentlyOffline returns multiple entries per account (#895)
* recentlyOffline returns multiple entries per account

* ed25519 warning (help expansion)

* Use staking_ledger to map to stash
2019-04-06 09:24:16 +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
kwingram25
2f6e8c8afe Add recently offline badge to validators (#883)
* Add recently offline badge to validators

* Change formatNumber import (available from util now)

* Typo.

* minor fixes
2019-04-03 14:52:01 +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
dfdc0fbf3e
Next up list (and API update for improved list support) (#864)
* Next up list (and API update for improved list support)

* Adjust layout slight, remove unused var

* Hide actions with no accounts
2019-03-28 17:41:22 +01:00
Jaco Greeff
91f202cfde
Re-introduce nominators per validator (#856)
* Show validator nominators

* Cleanup errant console.log
2019-03-27 22:37:11 +01:00
Jaco Greeff
9bd7392d73
More informative staking page (buttons based on actions) (#855)
* WIP

* Render nominees

* Staking statics & buttons
2019-03-27 18:26:35 +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
852f3c7918
Hide staking actions (when on bond API) (#792)
* Hide staking actions (when on bond API)

* Remove unused import

* Pull in new API with updated Metadata

* Hide low/high when there are no intentions

* Cleanup linting issues
2019-03-07 13:25:06 +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
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
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
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
1d0dc50fd4
Display last-authored block per validator (#640) 2019-01-22 21:05:08 +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
864171e00a
Simplify i18n templates (#623)
* Start...

* Complete simplify i18n
2019-01-20 13:14:27 +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