Add chains overlay (#157)

* feat: Adding a show-all-chains button
* feat: Show all-chains overlay selector
This commit is contained in:
Maciej Hirsz
2019-07-01 17:45:38 +02:00
committed by GitHub
parent 3d93651911
commit 9730c730f3
9 changed files with 169 additions and 52 deletions
+6 -1
View File
@@ -195,7 +195,7 @@ export interface State {
finalized: Types.BlockNumber;
consensusInfo: Types.ConsensusInfo;
displayConsensusLoadingScreen: boolean;
tabChanged: boolean;
tab: string;
authorities: Types.Address[];
authoritySetId: Maybe<Types.AuthoritySetId>;
sendFinality: boolean;
@@ -211,3 +211,8 @@ export interface State {
export type Update = <K extends keyof State>(changes: Pick<State, K> | null) => Readonly<State>;
export type UpdateBound = <K extends keyof State>(changes: Pick<State, K> | null) => void;
export interface ChainData {
label: Types.ChainLabel;
nodeCount: Types.NodeCount;
}