Commit Graph

80 Commits

Author SHA1 Message Date
Jaco Greeff
68a523a778
Beauty is in the eye of the beerholder (#1328)
* Beuty is in the eye of the beerholder

* Signer dialog

* .multiple with address

* Transfer wrapper

* Multiple input height

* 2rem -> 1.75rem

* Adjustments for invalid

* Break IdentityIcon out of box

* Small layout adjustments

* Row adjustment

* Remove commented styles

* Remove commented code

* Remove unneeded padding

* Remove unused i81n

* Display messages with input-like styling

* InputFile & Messages overrides

* Adjust input margins (non-flex)

* Center icon

* Adjust labelExtra placement, staking dropdown

* Combine linked lists into one

* Fix developer settings
2019-07-08 22:33:57 +02:00
Jaco Greeff
b497f5599a
Seconding modal (#1313)
* Seconding modal

* Add voting modal, adjust button placement
2019-06-19 15:56:53 +02:00
Thibaut Sardan
d868adae88 Redo staking process and overview (#1268)
* remove filtering on actions tab

* remove unused balances on actions

* remove unused balances on actions

* only show stash

* show stashed including validators and nominators

* some buttons

* new stake button

* bond edit init

* BondEdit button

* combined session and validating button

* remove comments

* remove css hack

* phrasing

* validator prefs

* can edit validator prefs

* fix validatorPrefs undifined and nits

* validate unstakeThreshold (<11)

* with setting button noautoclose

* fix nominee styling

* change session and process feeling

* lint

* change nominees without defaultValue

* display and change reward destination

* change controller

* add balances on bond and unbond

* available balance, setting button right, nameOrAddress

* back to the old flow with set session key, cleanup logs

* balance off on chrome

* fix comments + a design hickup on chrome

* fix conflicts

* nits

* Various small UI fixes

* Types for getAddress defaults

* use name

* type props for Row

* lint
2019-06-13 06:04:01 +02:00
Jaco Greeff
783ca2c5c0
Some small -> styled-components conversions (#1262)
* Combine AddressSummary & Row

* Cleanup address rendering

* Tiny tags cleanups

* Remove unused ui--AddressSummary overrides

* Column component

* Columar

* Cleanups

* Remove hot client

* Backport data padding

* Some small -> styled-components conversions

* Move RecebtlyOffline styles

* Cleanups
2019-06-02 16:29:29 +02:00
Jaco Greeff
f887f68cfb
Combine AddressSummary & Row (#1260)
* Combine AddressSummary & Row

* Cleanup address rendering

* Tiny tags cleanups

* Remove unused ui--AddressSummary overrides

* Column component

* Columar

* Cleanups

* Remove hot client

* Backport data padding
2019-06-02 10:13:38 +02:00
Jaco Greeff
6ef01c0024
Render AddressRow balances from AddressInfo (#1259)
* Render AddressRow balances from AddressInfo

* Extract BalanceActiveType

* Filtering around AddressSummary children
2019-06-01 08:36:28 +02:00
Jaco Greeff
90925fe648
External links from blocks/addresses/extrinsics to polkascan (#1230)
* External links from blocks/addresses to polkascan

* Ok, I give up... abs again :(

* Add extrinsic links
2019-05-30 17:58:24 +02:00
Thibaut Sardan
e88e435dde Use derive staking info (#1239)
* use derive.staking.info

* tooltip on button & remove unlock comp

* merge master fix

* duplicate Bonded

* translation and lint

* comments
2019-05-30 11:27:43 +02:00
Jaco Greeff
7564c51248
Bumps, minor style adjustments (labels) (#1226)
* Bumps, minor style adjustments (labels)

* Remove unneeded flags to AddressRow

* Labels to React.ReactNode

* Rewrite yarn.lock

* Unneeded override
2019-05-29 09:32:33 +02:00
Jaco Greeff
734b12e6b6 Move button hide to Card styling 2019-05-28 11:45:31 +02:00
Jaco Greeff
4e4e9514e5
Swap accounts/addresses/staking to CardGrid & Card layout (#1225)
* Swap accounts/addresses to CardGrid & Card layout

* Staking to CardGrid layout

* Staking styling adjustments

* Edit inputs left align
2019-05-28 10:59:15 +02:00
Jaco Greeff
5b5ab129d3
Turn SideBar transfer into modal link (#1217)
* Turn SideBar transfer into modal link

* ui--RecentlyOffline badge location
2019-05-27 22:24:59 +02:00
Jaco Greeff
c41321e30a
Swap AddressSummary for AddressRow (#1212)
* Swap AddressSummary for AddressRow

* Update name/address on change

* Move AddressRow to right
2019-05-27 12:40:22 +02:00
Thibaut Sardan
e905208f0d
cater for empty unlockings and margin on icon (#1215) 2019-05-27 11:18:21 +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
Jaco Greeff
c786d7f199
Tiny copy button (same as edit, full-row action) (#1211) 2019-05-27 07:35:02 +02:00
Jaco Greeff
9d5188cea2
Pull in @polkadot/extension-dapp (#1207)
* Pull in @polkadot/extension-dapp

* State updates via callback

* Remove extra : tags

* Small formatting cleanups
2019-05-24 15:11:51 +02:00
Thibaut Sardan
fc59f53869
Send button on account (#1193)
* 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

* init

* fix conflicts

* transfer functionnality

* styling the modal

* clean up

* clean up bis

* Transfer dialog enhancements (#1196)

* 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

* [CI Skip]  0.33.0-beta.74

* Redirect correctly when user has no account (#1191)

* right link and hide tabs plus buttons primary

* fix comments

* create highlight

* [CI Skip]  0.33.0-beta.75

* Mark ExtrinsicFailed as error (#1190)

* Hide edit on injected accounts, Button w/ tooltip (#1192)

* Hide edit on injected accounts, Button w/ tooltip

* Don't display "add tags" when not isEditable

* Indentation

* [CI Skip]  0.33.0-beta.76

* Make enable() call to extensions (#1194)

* Make enable() call to extensions

* It works

* Add overlay for injected (prompt)

* Use signer from injectedPromise

* [CI Skip]  0.33.0-beta.77

* withInjected -> PureComponent (fix new refs) (#1195)

* withInjected -> PureComponent (fix new refs)

* Consume data from context

* Expand injected

* Close modal on tx start

* align fees

* remove blank lines
2019-05-24 13:03:54 +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
846cf56528
Re-add CopyButton on AddressSummary (#1180) 2019-05-21 12:08:27 +02:00
Jaco Greeff
2596c3c940
Style cleanups (styled & unused) (#1151) 2019-05-14 11:04:49 +02:00
kwingram25
ec7d5a1c5f
Add maximum balance button to app-transfer and app-staking (#1076)
* Add maximum balance button to app-transfer and app-staking

* Promise handling

* cleanup

* Use balances.all for max transfer amount

* update max amts with balances.all

* travis ci

* fixes

* merge
2019-05-13 16:49:55 +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
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
f20defddfd Adjust offline icon placement (#1088) 2019-05-06 12:10:36 +02:00
Jaco Greeff
16972eeafa
Adjust AddressMini layout (#1054) 2019-04-30 17:59:59 +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
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
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
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
f9f5b39a0e
Display bonded amount on overview (#915) 2019-04-08 00:15:33 +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
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
96615d5957
Bump UI, HDKD keyring (new substrate crypto) (#813)
* Bump UI, HDKD keyring (new substrate crypto)

* Bump ui/* versions

* Pull in latest util-crypto, bp39 fix

* Bump common

* Small enhancements, cleanups (testing WIP)

* Bump

* Update after merge

* Bumps, fix transfer calculation (value may be non-existent)

* Bumpo dependencies

* Label extrinsic hash

* Signature updates

* Update deps

* Adjust status display

* Close status items on click

* Update withRouter duplication

* API bump, (some) creation fixes

* Move bip39 out of the worker (fast enough now via WASM)

* Update after master merge

* Cleanup deps (re-write yarn.lock)
2019-03-20 17:06:29 +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
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
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
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
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
e86fb8de43
Add setting of ValidatorPrefs (#624)
* Add setting of ValidatorPrefs

* Bump API

* Pull through initial values in InputNumber
2019-01-21 14:10:52 +01:00