Skip to content

Commit

Permalink
Apply fixes & formatting from yarn lint
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Dec 5, 2023
1 parent fa998e9 commit e5a01f3
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 56 deletions.
56 changes: 27 additions & 29 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,35 @@

## [1.1.0](https://github.com/paritytech/polkadot-staking-dashboard/compare/v1.0.9...v1.1.0) (2023-10-30)


### Features

* Add newly supported proxy calls ([#1554](https://github.com/paritytech/polkadot-staking-dashboard/issues/1554)) ([4ff9717](https://github.com/paritytech/polkadot-staking-dashboard/commit/4ff9717c3dce4068f31ec0dcc34c128df7eb4f06))
* add sync state for eraRewardPoints fetch ([aae111c](https://github.com/paritytech/polkadot-staking-dashboard/commit/aae111c538f2091a1694a13e21b14d1bcef47e8f))
* add validator performance ranks & quartiles, quartiles in generation methods ([#1546](https://github.com/paritytech/polkadot-staking-dashboard/issues/1546)) ([2955e70](https://github.com/paritytech/polkadot-staking-dashboard/commit/2955e706927eaf4da8952790ac7a3d2ed63d79f4))
* Add validator pulse graph to list items ([#1530](https://github.com/paritytech/polkadot-staking-dashboard/issues/1530)) ([e41168b](https://github.com/paritytech/polkadot-staking-dashboard/commit/e41168b93378f03a13c760af19a51af4d5a583e3))
* allow selection of RPC providers ([#1557](https://github.com/paritytech/polkadot-staking-dashboard/issues/1557)) ([c0553c2](https://github.com/paritytech/polkadot-staking-dashboard/commit/c0553c2c9b466a37b9d55811dbce1b8fbb6dafd3))
* **ci:** Add Release Please CI, update `CONTRIBUTING` ([#1470](https://github.com/paritytech/polkadot-staking-dashboard/issues/1470)) ([6b7dc60](https://github.com/paritytech/polkadot-staking-dashboard/commit/6b7dc60cece70cfeb4190ac4dacc205112578288))
* **cleanup:** remove deprecated `Nominate` and `NominatePools` modals ([#1540](https://github.com/paritytech/polkadot-staking-dashboard/issues/1540)) ([56ed4c0](https://github.com/paritytech/polkadot-staking-dashboard/commit/56ed4c0056278f706010a0eabee7978c2bebd03c))
* **context:** `ExtensionAccounts` provider ([#1494](https://github.com/paritytech/polkadot-staking-dashboard/issues/1494)) ([e8f11e9](https://github.com/paritytech/polkadot-staking-dashboard/commit/e8f11e92730dbb4b624b2ad6fa9fb5cf37732a1f))
* **help:** remove controller help items ([#1527](https://github.com/paritytech/polkadot-staking-dashboard/issues/1527)) ([743510f](https://github.com/paritytech/polkadot-staking-dashboard/commit/743510f30d87dc7d60d01bc5f530e856d416c6e2))
* Order nominations by nomination status. ([#1543](https://github.com/paritytech/polkadot-staking-dashboard/issues/1543)) ([0ab87f4](https://github.com/paritytech/polkadot-staking-dashboard/commit/0ab87f46db16576cd9ee9a795dfb28f82b6391c9))
* Refactor for reusable `ExtensionAccountsProvider` context ([#1466](https://github.com/paritytech/polkadot-staking-dashboard/issues/1466)) ([13380bb](https://github.com/paritytech/polkadot-staking-dashboard/commit/13380bb5049fe8b55695d58e24a3928432b730d3))
* **refactor:** remove `NominateFromFavorites` modal ([#1528](https://github.com/paritytech/polkadot-staking-dashboard/issues/1528)) ([4bc62a3](https://github.com/paritytech/polkadot-staking-dashboard/commit/4bc62a373e3c4129adb5b717b56333356efc6b26))
* **refactor:** Separate titles from lists, reformat filters, fixes ([#1539](https://github.com/paritytech/polkadot-staking-dashboard/issues/1539)) ([ae5f95e](https://github.com/paritytech/polkadot-staking-dashboard/commit/ae5f95ed1036e7383ae59e2e6ff89833e5d6a179))
* **refactor:** use simple cloud react imports ([#1493](https://github.com/paritytech/polkadot-staking-dashboard/issues/1493)) ([839cc06](https://github.com/paritytech/polkadot-staking-dashboard/commit/839cc06c0dc4655f5ce383ed4c72d95cb0a32f39))
* Replace icons to cloud, remove dead wallet connect option ([#1506](https://github.com/paritytech/polkadot-staking-dashboard/issues/1506)) ([7e3efd2](https://github.com/paritytech/polkadot-staking-dashboard/commit/7e3efd2c8ec9864ca40ccc165c7ab5f76b581f94))
* store `eraRewardPoints` from recent eras ([#1529](https://github.com/paritytech/polkadot-staking-dashboard/issues/1529)) ([690ba51](https://github.com/paritytech/polkadot-staking-dashboard/commit/690ba51e7b8cfc7285fbdb90748362d85e848460))
* **ux:** min non-zero bar segment width ([#1555](https://github.com/paritytech/polkadot-staking-dashboard/issues/1555)) ([9377776](https://github.com/paritytech/polkadot-staking-dashboard/commit/9377776369fb6c63629c8622fd3ab9087ab70502))
* **ux:** Polkadot JS to developer tools category ([#1576](https://github.com/paritytech/polkadot-staking-dashboard/issues/1576)) ([5684c0a](https://github.com/paritytech/polkadot-staking-dashboard/commit/5684c0aaf45426ca9839abbb9b845bb5fee175ec))
* **ux:** Pool rewards worker & pool performance graphs ([#1547](https://github.com/paritytech/polkadot-staking-dashboard/issues/1547)) ([be4a556](https://github.com/paritytech/polkadot-staking-dashboard/commit/be4a5568fa7e46b33295f48ded3b7a2c81eec14c))

- Add newly supported proxy calls ([#1554](https://github.com/paritytech/polkadot-staking-dashboard/issues/1554)) ([4ff9717](https://github.com/paritytech/polkadot-staking-dashboard/commit/4ff9717c3dce4068f31ec0dcc34c128df7eb4f06))
- add sync state for eraRewardPoints fetch ([aae111c](https://github.com/paritytech/polkadot-staking-dashboard/commit/aae111c538f2091a1694a13e21b14d1bcef47e8f))
- add validator performance ranks & quartiles, quartiles in generation methods ([#1546](https://github.com/paritytech/polkadot-staking-dashboard/issues/1546)) ([2955e70](https://github.com/paritytech/polkadot-staking-dashboard/commit/2955e706927eaf4da8952790ac7a3d2ed63d79f4))
- Add validator pulse graph to list items ([#1530](https://github.com/paritytech/polkadot-staking-dashboard/issues/1530)) ([e41168b](https://github.com/paritytech/polkadot-staking-dashboard/commit/e41168b93378f03a13c760af19a51af4d5a583e3))
- allow selection of RPC providers ([#1557](https://github.com/paritytech/polkadot-staking-dashboard/issues/1557)) ([c0553c2](https://github.com/paritytech/polkadot-staking-dashboard/commit/c0553c2c9b466a37b9d55811dbce1b8fbb6dafd3))
- **ci:** Add Release Please CI, update `CONTRIBUTING` ([#1470](https://github.com/paritytech/polkadot-staking-dashboard/issues/1470)) ([6b7dc60](https://github.com/paritytech/polkadot-staking-dashboard/commit/6b7dc60cece70cfeb4190ac4dacc205112578288))
- **cleanup:** remove deprecated `Nominate` and `NominatePools` modals ([#1540](https://github.com/paritytech/polkadot-staking-dashboard/issues/1540)) ([56ed4c0](https://github.com/paritytech/polkadot-staking-dashboard/commit/56ed4c0056278f706010a0eabee7978c2bebd03c))
- **context:** `ExtensionAccounts` provider ([#1494](https://github.com/paritytech/polkadot-staking-dashboard/issues/1494)) ([e8f11e9](https://github.com/paritytech/polkadot-staking-dashboard/commit/e8f11e92730dbb4b624b2ad6fa9fb5cf37732a1f))
- **help:** remove controller help items ([#1527](https://github.com/paritytech/polkadot-staking-dashboard/issues/1527)) ([743510f](https://github.com/paritytech/polkadot-staking-dashboard/commit/743510f30d87dc7d60d01bc5f530e856d416c6e2))
- Order nominations by nomination status. ([#1543](https://github.com/paritytech/polkadot-staking-dashboard/issues/1543)) ([0ab87f4](https://github.com/paritytech/polkadot-staking-dashboard/commit/0ab87f46db16576cd9ee9a795dfb28f82b6391c9))
- Refactor for reusable `ExtensionAccountsProvider` context ([#1466](https://github.com/paritytech/polkadot-staking-dashboard/issues/1466)) ([13380bb](https://github.com/paritytech/polkadot-staking-dashboard/commit/13380bb5049fe8b55695d58e24a3928432b730d3))
- **refactor:** remove `NominateFromFavorites` modal ([#1528](https://github.com/paritytech/polkadot-staking-dashboard/issues/1528)) ([4bc62a3](https://github.com/paritytech/polkadot-staking-dashboard/commit/4bc62a373e3c4129adb5b717b56333356efc6b26))
- **refactor:** Separate titles from lists, reformat filters, fixes ([#1539](https://github.com/paritytech/polkadot-staking-dashboard/issues/1539)) ([ae5f95e](https://github.com/paritytech/polkadot-staking-dashboard/commit/ae5f95ed1036e7383ae59e2e6ff89833e5d6a179))
- **refactor:** use simple cloud react imports ([#1493](https://github.com/paritytech/polkadot-staking-dashboard/issues/1493)) ([839cc06](https://github.com/paritytech/polkadot-staking-dashboard/commit/839cc06c0dc4655f5ce383ed4c72d95cb0a32f39))
- Replace icons to cloud, remove dead wallet connect option ([#1506](https://github.com/paritytech/polkadot-staking-dashboard/issues/1506)) ([7e3efd2](https://github.com/paritytech/polkadot-staking-dashboard/commit/7e3efd2c8ec9864ca40ccc165c7ab5f76b581f94))
- store `eraRewardPoints` from recent eras ([#1529](https://github.com/paritytech/polkadot-staking-dashboard/issues/1529)) ([690ba51](https://github.com/paritytech/polkadot-staking-dashboard/commit/690ba51e7b8cfc7285fbdb90748362d85e848460))
- **ux:** min non-zero bar segment width ([#1555](https://github.com/paritytech/polkadot-staking-dashboard/issues/1555)) ([9377776](https://github.com/paritytech/polkadot-staking-dashboard/commit/9377776369fb6c63629c8622fd3ab9087ab70502))
- **ux:** Polkadot JS to developer tools category ([#1576](https://github.com/paritytech/polkadot-staking-dashboard/issues/1576)) ([5684c0a](https://github.com/paritytech/polkadot-staking-dashboard/commit/5684c0aaf45426ca9839abbb9b845bb5fee175ec))
- **ux:** Pool rewards worker & pool performance graphs ([#1547](https://github.com/paritytech/polkadot-staking-dashboard/issues/1547)) ([be4a556](https://github.com/paritytech/polkadot-staking-dashboard/commit/be4a5568fa7e46b33295f48ded3b7a2c81eec14c))

### Bug Fixes

* avoid negative free balance ([8fd61dd](https://github.com/paritytech/polkadot-staking-dashboard/commit/8fd61dd4bc68c8a4fa5982839761066accba20aa))
* **ci:** fix earliest release commit ([d873517](https://github.com/paritytech/polkadot-staking-dashboard/commit/d8735175cdb2a3ff2baf45df388634973eb6ee33))
* **ci:** last-release-sha ([7c9cea5](https://github.com/paritytech/polkadot-staking-dashboard/commit/7c9cea5dc4d04f05b59e46a6b2e5544e8a6b3ab3))
* fix bug on favorite pools visit ([#1526](https://github.com/paritytech/polkadot-staking-dashboard/issues/1526)) ([2f8ea85](https://github.com/paritytech/polkadot-staking-dashboard/commit/2f8ea85f6c639cf18d8154e6b908ef483122781a))
* fix new era reward points processing ([214da8d](https://github.com/paritytech/polkadot-staking-dashboard/commit/214da8d5c05f723c42c739f700d2180318bcf60f))
* fixed lag in timeleft refreh in last hour ([7b703cf](https://github.com/paritytech/polkadot-staking-dashboard/commit/7b703cfff83acd89a20b5075d0de6827cdfc22d8))
* miscellaneous fixes. ([#1538](https://github.com/paritytech/polkadot-staking-dashboard/issues/1538)) ([24d0ca6](https://github.com/paritytech/polkadot-staking-dashboard/commit/24d0ca6ed4b5c0d081db941c3cae898468fecdcc))
* payee toggle fix on setup ([3fe3031](https://github.com/paritytech/polkadot-staking-dashboard/commit/3fe30315d18691be6e7be846b945eb84cf89b8cf))
- avoid negative free balance ([8fd61dd](https://github.com/paritytech/polkadot-staking-dashboard/commit/8fd61dd4bc68c8a4fa5982839761066accba20aa))
- **ci:** fix earliest release commit ([d873517](https://github.com/paritytech/polkadot-staking-dashboard/commit/d8735175cdb2a3ff2baf45df388634973eb6ee33))
- **ci:** last-release-sha ([7c9cea5](https://github.com/paritytech/polkadot-staking-dashboard/commit/7c9cea5dc4d04f05b59e46a6b2e5544e8a6b3ab3))
- fix bug on favorite pools visit ([#1526](https://github.com/paritytech/polkadot-staking-dashboard/issues/1526)) ([2f8ea85](https://github.com/paritytech/polkadot-staking-dashboard/commit/2f8ea85f6c639cf18d8154e6b908ef483122781a))
- fix new era reward points processing ([214da8d](https://github.com/paritytech/polkadot-staking-dashboard/commit/214da8d5c05f723c42c739f700d2180318bcf60f))
- fixed lag in timeleft refreh in last hour ([7b703cf](https://github.com/paritytech/polkadot-staking-dashboard/commit/7b703cfff83acd89a20b5075d0de6827cdfc22d8))
- miscellaneous fixes. ([#1538](https://github.com/paritytech/polkadot-staking-dashboard/issues/1538)) ([24d0ca6](https://github.com/paritytech/polkadot-staking-dashboard/commit/24d0ca6ed4b5c0d081db941c3cae898468fecdcc))
- payee toggle fix on setup ([3fe3031](https://github.com/paritytech/polkadot-staking-dashboard/commit/3fe30315d18691be6e7be846b945eb84cf89b8cf))
18 changes: 9 additions & 9 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ As above, please DO NOT include attachments or provide detail regarding the secu
## Incident Response Process

1. Establish a new draft security advisory
1. In response to an email to [[email protected]](mailto:[email protected]), a member of the Creditcoin team will create a new draft security advisory for the incident at [https://github.com/gluwa/creditcoin-staking-dashboard/security/advisories](https://github.com/gluwa/creditcoin-staking-dashboard/security/advisories).
2. Add the reporter's GitHub account and relevant individuals to the draft security advisory.
3. Respond to the reporter by email, sharing a link to the draft security advisory.
1. In response to an email to [[email protected]](mailto:[email protected]), a member of the Creditcoin team will create a new draft security advisory for the incident at [https://github.com/gluwa/creditcoin-staking-dashboard/security/advisories](https://github.com/gluwa/creditcoin-staking-dashboard/security/advisories).
2. Add the reporter's GitHub account and relevant individuals to the draft security advisory.
3. Respond to the reporter by email, sharing a link to the draft security advisory.
2. Reporter should add appropriate content to the draft security advisory to help the team resolve the issue. This includes:
1. A clear description of the issue and the impacted areas.
2. The code and the methodology to reproduce the underlying issue.
3. Discussion of potential remediations.
1. A clear description of the issue and the impacted areas.
2. The code and the methodology to reproduce the underlying issue.
3. Discussion of potential remediations.
3. Triage
1. Validate the issue.
2. Determine the criticality of the issue.
3. If this is a bug and not a security issue, recommend to the submitter to create an issue.
1. Validate the issue.
2. Determine the criticality of the issue.
3. If this is a bug and not a security issue, recommend to the submitter to create an issue.
4. Release a new version resolving the issue
6 changes: 3 additions & 3 deletions src/locale/en/help.json
Original file line number Diff line number Diff line change
Expand Up @@ -395,16 +395,16 @@
"claimRewards": "Claiming Nomination Pool Rewards",
"connectAccounts": "How to Connect Your Accounts",
"createPools": "Creating Nomination Pools",
"creditcoinDocs": "Link to Creditcoin documentation",
"howToUse": "How to Use the Staking Dashboard: Overview",
"rebonding": "Rebonding",
"stakeDot": "Staking your CTC",
"unbondingTokens": "Unbonding Your Tokens",
"creditcoinDocs": "Link to Creditcoin documentation"
"unbondingTokens": "Unbonding Your Tokens"
},
"modal": {
"docs": "Documentation",
"close": "Close",
"definitions": "Definitions",
"docs": "Documentation",
"helpResources": "Help Resources",
"related": "Related"
}
Expand Down
21 changes: 14 additions & 7 deletions src/styles/common/font.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
@font-face {
font-family: 'SF-Pro-R';
src: url('../../src/asset/font/SF-Pro-Text-Regular.eot');
src: url('../../src/asset/font/SF-Pro-Text-Regular.eot?#iefix')
src:
url('../../src/asset/font/SF-Pro-Text-Regular.eot?#iefix')
format('embedded-opentype'),
url('../../src/asset/font/SF-Pro-Text-Regular.woff2') format('woff2'),
url('../../src/asset/font/SF-Pro-Text-Regular.woff') format('woff'),
Expand All @@ -18,7 +19,8 @@
@font-face {
font-family: 'SF-Pro-M';
src: url('../../src/asset/font/SF-Pro-Text-Medium.eot');
src: url('../../src/asset/font/SF-Pro-Text-Medium.eot?#iefix')
src:
url('../../src/asset/font/SF-Pro-Text-Medium.eot?#iefix')
format('embedded-opentype'),
url('../../src/asset/font/SF-Pro-Text-Medium.woff2') format('woff2'),
url('../../src/asset/font/SF-Pro-Text-Medium.woff') format('woff'),
Expand All @@ -32,7 +34,8 @@
@font-face {
font-family: 'SF-Pro-SB';
src: url('../../src/asset/font/SF-Pro-Text-SemiBold.eot');
src: url('../../src/asset/font/SF-Pro-Text-SemiBold.eot?#iefix')
src:
url('../../src/asset/font/SF-Pro-Text-SemiBold.eot?#iefix')
format('embedded-opentype'),
url('../../src/asset/font/SF-Pro-Text-SemiBold.woff2') format('woff2'),
url('../../src/asset/font/SF-Pro-Text-SemiBold.woff') format('woff'),
Expand All @@ -46,7 +49,8 @@
@font-face {
font-family: 'Mondwest-R';
src: url('../../src/asset/font/Mondwest-Regular.eot');
src: url('../../src/asset/font/Mondwest-Regular.eot?#iefix')
src:
url('../../src/asset/font/Mondwest-Regular.eot?#iefix')
format('embedded-opentype'),
url('../../src/asset/font/Mondwest-Regular.woff2') format('woff2'),
url('../../src/asset/font/Mondwest-Regular.woff') format('woff'),
Expand All @@ -60,7 +64,8 @@
@font-face {
font-family: 'Mondwest-B';
src: url('../../src/asset/font/Mondwest-Bold.eot');
src: url('../../src/asset/font/Mondwest-Bold.eot?#iefix')
src:
url('../../src/asset/font/Mondwest-Bold.eot?#iefix')
format('embedded-opentype'),
url('../../src/asset/font/Mondwest-Bold.woff2') format('woff2'),
url('../../src/asset/font/Mondwest-Bold.woff') format('woff'),
Expand All @@ -74,7 +79,8 @@
@font-face {
font-family: 'NeueBit-R';
src: url('../../src/asset/font/NeueBit-Regular.eot');
src: url('../../src/asset/font/NeueBit-Regular.eot?#iefix')
src:
url('../../src/asset/font/NeueBit-Regular.eot?#iefix')
format('embedded-opentype'),
url('../../src/asset/font/NeueBit-Regular.woff2') format('woff2'),
url('../../src/asset/font/NeueBit-Regular.woff') format('woff'),
Expand All @@ -88,7 +94,8 @@
@font-face {
font-family: 'NeueBit-B';
src: url('../../src/asset/font/NeueBit-Bold.eot');
src: url('../../src/asset/font/NeueBit-Bold.eot?#iefix')
src:
url('../../src/asset/font/NeueBit-Bold.eot?#iefix')
format('embedded-opentype'),
url('../../src/asset/font/NeueBit-Bold.woff2') format('woff2'),
url('../../src/asset/font/NeueBit-Bold.woff') format('woff'),
Expand Down
16 changes: 8 additions & 8 deletions vs.code-workspace
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"folders": [
{
"path": "./"
}
],
"settings": {
"java.configuration.updateBuildConfiguration": "disabled"
}
"folders": [
{
"path": "./"
}
],
"settings": {
"java.configuration.updateBuildConfiguration": "disabled"
}
}

0 comments on commit e5a01f3

Please sign in to comment.