* 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
21 lines
579 B
TypeScript
21 lines
579 B
TypeScript
// Copyright 2017-2019 @polkadot/ui-app authors & contributors
|
|
// This software may be modified and distributed under the terms
|
|
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
|
|
export enum BitLengthOption {
|
|
CHAIN_SPEC = 128,
|
|
NORMAL_NUMBERS = 32
|
|
}
|
|
|
|
export enum ScreenSizes {
|
|
DESKTOP = 992,
|
|
TABLET = 768,
|
|
PHONE = 576
|
|
}
|
|
|
|
export const rewardDestinationOptions = [
|
|
{ text: 'Stash account (increase the amount at stake)', value: 0 },
|
|
{ text: 'Stash account (do not increase the amount at stake)', value: 1 },
|
|
{ text: 'Controller account', value: 2 }
|
|
];
|