0.70 CHANGELOG (#4165)
This commit is contained in:
parent
34c2e8c00c
commit
c72a86f349
25
CHANGELOG.md
25
CHANGELOG.md
@ -1,5 +1,30 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 0.70.1 Dec 7, 2020
|
||||
|
||||
Contributed:
|
||||
|
||||
- Add Polkadot/Kusama endpoints via PatractLabs (Thanks to https://github.com/toxotguo)
|
||||
- Add types for Bitfrost testnet (Thaks to https://github.com/janpo)
|
||||
- Adjust Crust network types & logo (Thanks to https://github.com/zikunfan)
|
||||
- Adjust types for Phala poc-3 (Thanks to https://github.com/LusWar)
|
||||
- Move to typesBundle for Moonbeam (Thanks to https://github.com/joelamouche)
|
||||
- Adjust import ordering with plugin (Thanks to https://github.com/ekowalsk)
|
||||
|
||||
Changes:
|
||||
|
||||
- Bump to latest Ledger libraries for Windows USB fixes
|
||||
- Store network endpoint affinity (last-used per network)
|
||||
- Only show links in sidebar for verified-good identities
|
||||
- Adjust staking pages to show loading indicators, optimize number of queries
|
||||
- Adjust staking target filters, including explicit identity grouping
|
||||
- Rework target/waiting loading with shared nominator loading
|
||||
- Cleanup calendar interface (ease of maintaining)
|
||||
- Remove sparsely-used classes utility (inconsistent use)
|
||||
- Swap to using TypeScript 4.1.2
|
||||
- Adjust dark theme to work with help overlays
|
||||
|
||||
|
||||
## 0.69.1 Nov 30, 2020
|
||||
|
||||
Contributed:
|
||||
|
||||
@ -64,20 +64,24 @@ function Slashes ({ buttons, councilId, councilThreshold, slash }: Props): React
|
||||
<Summary slash={slash} />
|
||||
<Button.Group>
|
||||
{buttons}
|
||||
<TxButton
|
||||
accountId={councilId}
|
||||
extrinsic={txSome}
|
||||
isDisabled={!txSome}
|
||||
isToplevel
|
||||
label={t('Cancel selected')}
|
||||
/>
|
||||
<TxButton
|
||||
accountId={councilId}
|
||||
extrinsic={txAll}
|
||||
isDisabled={!txAll}
|
||||
isToplevel
|
||||
label={t('Cancel all')}
|
||||
/>
|
||||
{api.tx.council?.propose && (
|
||||
<>
|
||||
<TxButton
|
||||
accountId={councilId}
|
||||
extrinsic={txSome}
|
||||
isDisabled={!txSome}
|
||||
isToplevel
|
||||
label={t('Cancel selected')}
|
||||
/>
|
||||
<TxButton
|
||||
accountId={councilId}
|
||||
extrinsic={txAll}
|
||||
isDisabled={!txAll}
|
||||
isToplevel
|
||||
label={t('Cancel all')}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
</Button.Group>
|
||||
<Table header={headerRef.current}>
|
||||
{slash.slashes.map((slash, index): React.ReactNode => (
|
||||
|
||||
@ -10,7 +10,7 @@ import type { DefaultProps } from './types';
|
||||
import { ApiConsumer } from '../ApiContext';
|
||||
|
||||
export default function withApi <P extends ApiProps> (Inner: React.ComponentType<P>, defaultProps: DefaultProps = {}): React.ComponentType<any> {
|
||||
return class WithApi extends React.PureComponent<SubtractProps<P, ApiProps>> {
|
||||
class WithApi extends React.PureComponent<SubtractProps<P, ApiProps>> {
|
||||
private component: any = React.createRef();
|
||||
|
||||
public render (): React.ReactNode {
|
||||
@ -32,5 +32,7 @@ export default function withApi <P extends ApiProps> (Inner: React.ComponentType
|
||||
</ApiConsumer>
|
||||
);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
return WithApi;
|
||||
}
|
||||
|
||||
@ -18,7 +18,7 @@ interface State extends CallState {
|
||||
|
||||
export default function withObservable<T, P> (observable: Observable<P>, { callOnResult, propName = 'value', transform = echoTransform }: Options = {}): HOC {
|
||||
return (Inner: React.ComponentType<any>, defaultProps: DefaultProps = {}, render?: RenderFn): React.ComponentType<any> => {
|
||||
return class WithObservable extends React.Component<any, State> {
|
||||
class WithObservable extends React.Component<any, State> {
|
||||
private isActive = true;
|
||||
|
||||
public state: State = {
|
||||
@ -85,6 +85,8 @@ export default function withObservable<T, P> (observable: Observable<P>, { callO
|
||||
</Inner>
|
||||
);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
return WithObservable;
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user