This repository has been archived by the owner on Jul 19, 2024. It is now read-only.
forked from polkadot-cloud/polkadot-staking-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #70 from paritytech/w3f-deploy-1.3.0
v1.3.0 - 1.4.0
- Loading branch information
Showing
177 changed files
with
4,485 additions
and
1,820 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Changelog | ||
|
||
## [1.3.0](https://github.com/paritytech/polkadot-staking-dashboard/compare/v1.2.1...v1.3.0) (2024-04-08) | ||
|
||
|
||
### Features | ||
|
||
* Create pool canvas ([#2061](https://github.com/paritytech/polkadot-staking-dashboard/issues/2061)) ([de3ad50](https://github.com/paritytech/polkadot-staking-dashboard/commit/de3ad50ed2eda49a0378a26c22fb8a48fdc9e305)) | ||
* Join pool progress bar on performance fetch. ([#2064](https://github.com/paritytech/polkadot-staking-dashboard/issues/2064)) ([e5027ff](https://github.com/paritytech/polkadot-staking-dashboard/commit/e5027fffc3151dbdf0c4b7cce09f37aaeb184971)) | ||
* Open `JoinPool` canvas immediately, preloader, prioritise low member pools. ([#2059](https://github.com/paritytech/polkadot-staking-dashboard/issues/2059)) ([5360eaa](https://github.com/paritytech/polkadot-staking-dashboard/commit/5360eaa17ef08b6b602d21967d9174f2eed9cf83)) | ||
* Pool performance data to batches. Per-page fetching, pool join subset. ([#2057](https://github.com/paritytech/polkadot-staking-dashboard/issues/2057)) ([965d3e1](https://github.com/paritytech/polkadot-staking-dashboard/commit/965d3e182c77e0b6d46c2d1c603e74a30cd7be92)) | ||
* **refactor:** Persist all imported accounts active pools. ([#2066](https://github.com/paritytech/polkadot-staking-dashboard/issues/2066)) ([1a1847d](https://github.com/paritytech/polkadot-staking-dashboard/commit/1a1847deb0d4763b893335293c85dbe8d3f330b1)) | ||
* Simple pool join & call to action UI ([#2050](https://github.com/paritytech/polkadot-staking-dashboard/issues/2050)) ([6d04429](https://github.com/paritytech/polkadot-staking-dashboard/commit/6d0442947b4322ec949bbb88e82b24720dce4143)) | ||
* Start nominating canvas ([#2062](https://github.com/paritytech/polkadot-staking-dashboard/issues/2062)) ([0208d5f](https://github.com/paritytech/polkadot-staking-dashboard/commit/0208d5fc5658bc375eeef3aa853954c05290796f)) | ||
* use `bondedPool.memberCounter`, deprecate `nomination_pool/pool` Subscan call ([#2054](https://github.com/paritytech/polkadot-staking-dashboard/issues/2054)) ([b536faf](https://github.com/paritytech/polkadot-staking-dashboard/commit/b536faf8fc410c8291dea84fa2b96189ab2c8e76)) | ||
* **ux:** `JoinPool`: Inline sync for provided pool ([#2067](https://github.com/paritytech/polkadot-staking-dashboard/issues/2067)) ([e146bfc](https://github.com/paritytech/polkadot-staking-dashboard/commit/e146bfcb15df96cd0a10fe1d268e3eab343ef1d1)) | ||
* **ux:** Disconnect from extension ([#2069](https://github.com/paritytech/polkadot-staking-dashboard/issues/2069)) ([c5c2ecb](https://github.com/paritytech/polkadot-staking-dashboard/commit/c5c2ecb54d31b59cc4db3bdb20b55e48cc01160a)) | ||
* **ux:** Improve Join Pool preloader ([#2063](https://github.com/paritytech/polkadot-staking-dashboard/issues/2063)) ([69d716e](https://github.com/paritytech/polkadot-staking-dashboard/commit/69d716e2e99a6f32e45407362d951352fd6a884f)) | ||
* **ux:** Pool display polishes, pre-release fixes ([#2065](https://github.com/paritytech/polkadot-staking-dashboard/issues/2065)) ([89e5f98](https://github.com/paritytech/polkadot-staking-dashboard/commit/89e5f98dd146d4838b9580a857eddfa73090762f)) | ||
* **ux:** use secondary accent color for status UI ([#2055](https://github.com/paritytech/polkadot-staking-dashboard/issues/2055)) ([bf16d80](https://github.com/paritytech/polkadot-staking-dashboard/commit/bf16d80a661ca1d1cd0cf038bcff4525fbff19c8)) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Search bar initial value on Pools/Validators page ([#2032](https://github.com/paritytech/polkadot-staking-dashboard/issues/2032)) ([c4749c6](https://github.com/paritytech/polkadot-staking-dashboard/commit/c4749c6e7ca338a9f3fd3299ebb53bbf45c3de07)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
// Copyright 2024 @paritytech/polkadot-staking-dashboard authors & contributors | ||
// SPDX-License-Identifier: GPL-3.0-only | ||
|
||
import { faTimes } from '@fortawesome/free-solid-svg-icons'; | ||
import { useTranslation } from 'react-i18next'; | ||
import { Element } from 'react-scroll'; | ||
import { CardWrapper } from 'library/Card/Wrappers'; | ||
import { Nominate } from 'library/SetupSteps/Nominate'; | ||
import { Summary } from 'canvas/CreatePool/Summary'; | ||
import { Bond } from 'canvas/CreatePool/Bond'; | ||
import { PoolName } from 'canvas/CreatePool/PoolName'; | ||
import { PoolRoles } from 'canvas/CreatePool/PoolRoles'; | ||
import { CanvasFullScreenWrapper, CanvasTitleWrapper } from 'canvas/Wrappers'; | ||
import { ButtonPrimary } from 'kits/Buttons/ButtonPrimary'; | ||
import { useOverlay } from 'kits/Overlay/Provider'; | ||
|
||
export const CreatePool = () => { | ||
const { t } = useTranslation(); | ||
const { closeCanvas } = useOverlay().canvas; | ||
|
||
return ( | ||
<CanvasFullScreenWrapper> | ||
<div className="head"> | ||
<ButtonPrimary | ||
text={t('pools.back', { ns: 'pages' })} | ||
lg | ||
onClick={() => closeCanvas()} | ||
iconLeft={faTimes} | ||
style={{ marginLeft: '1.1rem' }} | ||
/> | ||
</div> | ||
|
||
<CanvasTitleWrapper> | ||
<div className="inner standalone"> | ||
<div className="empty"></div> | ||
<div className="standalone"> | ||
<div className="title"> | ||
<h1>{t('pools.createAPool', { ns: 'pages' })}</h1> | ||
</div> | ||
</div> | ||
</div> | ||
</CanvasTitleWrapper> | ||
|
||
<CardWrapper className="canvas"> | ||
<Element name="metadata" style={{ position: 'absolute' }} /> | ||
<PoolName section={1} /> | ||
</CardWrapper> | ||
|
||
<CardWrapper className="canvas"> | ||
<Element name="nominate" style={{ position: 'absolute' }} /> | ||
<Nominate bondFor="pool" section={2} /> | ||
</CardWrapper> | ||
|
||
<CardWrapper className="canvas"> | ||
<Element name="roles" style={{ position: 'absolute' }} /> | ||
<PoolRoles section={3} /> | ||
</CardWrapper> | ||
|
||
<CardWrapper className="canvas"> | ||
<Element name="bond" style={{ position: 'absolute' }} /> | ||
<Bond section={4} /> | ||
</CardWrapper> | ||
|
||
<CardWrapper className="canvas"> | ||
<Element name="summary" style={{ position: 'absolute' }} /> | ||
<Summary section={5} /> | ||
</CardWrapper> | ||
</CanvasFullScreenWrapper> | ||
); | ||
}; |
Oops, something went wrong.