Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge deploy to master #84

Open
wants to merge 80 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
5caa2f4
specific views from kusama viz integration
saumyakaran Dec 13, 2019
15a0a80
UI/UX fixes
saumyakaran Dec 14, 2019
200be2b
debounce added
saumyakaran Dec 14, 2019
6a9fb9c
reduce dashboard load time
bhaskarSingh Dec 18, 2019
20a12d6
load dashboard from 15sec to within 3secs approx
bhaskarSingh Dec 22, 2019
72f24ea
load elected Info data from server too
bhaskarSingh Dec 22, 2019
5e6c070
fetch validators data from sever endpoint url
bhaskarSingh Dec 23, 2019
3fa7a3b
update server endpoint url to heroku
bhaskarSingh Dec 24, 2019
b47f702
create validators info card ui layout
bhaskarSingh Dec 26, 2019
2b1a3a2
show key stats for validator specific views
bhaskarSingh Dec 26, 2019
b8c94c8
create layout for nominators key stats
bhaskarSingh Dec 26, 2019
82ee96d
fix: calculate validator daily earning on the basis of 6 era per day
bhaskarSingh Dec 27, 2019
c18ecbc
calculate previous era earning for nominator
bhaskarSingh Dec 27, 2019
556d57b
calculate expected daily ROI for nominator
bhaskarSingh Dec 27, 2019
69c9ce0
add nominator & validator symbol for differentation
bhaskarSingh Dec 28, 2019
e977d9f
fix: update calculation of earningInPreviousEra for nominator
bhaskarSingh Dec 28, 2019
02ea8f8
fix: calcluation of expected ROI for nominator
bhaskarSingh Dec 28, 2019
8e3429c
fix: update era per day to 4
bhaskarSingh Dec 28, 2019
13e9a8e
specific views resize, minor style changes
saumyakaran Dec 28, 2019
a8679a8
Merge branch 'ui' of https://github.com/thevantageproject/PolkaAnalyt…
saumyakaran Dec 28, 2019
43e578e
specific view lines fix
saumyakaran Dec 28, 2019
1b3989a
UI/UX fixes
saumyakaran Dec 28, 2019
7bf4b6f
validator name added to nominator specific view
saumyakaran Dec 28, 2019
6cecaf4
handle edge cases for validators specific view
bhaskarSingh Dec 28, 2019
3e4b625
Merge branch 'ui' of https://github.com/thevantageproject/PolkaAnalyt…
saumyakaran Dec 29, 2019
a7d7a74
fix: update polkadot api
bhaskarSingh Jan 2, 2020
317e049
Merge branch 'ui' of https://github.com/thevantageproject/PolkaAnalyt…
bhaskarSingh Jan 2, 2020
bb18a05
comment out previous era earnings calculation
bhaskarSingh Jan 8, 2020
3616bb0
fix: bring all content of specific views within the screen viewport
bhaskarSingh Jan 8, 2020
dc50592
add contact information incase validators id is invalid
bhaskarSingh Jan 8, 2020
0fd9dca
add react helmet for better seo
bhaskarSingh Jan 8, 2020
7772794
restructure whole code base
bhaskarSingh Jan 8, 2020
2ef2a2c
reroute config for netlify
bhaskarSingh Jan 8, 2020
f33edd6
minor fix
bhaskarSingh Jan 9, 2020
4528f07
make validataros table responsive
bhaskarSingh Jan 9, 2020
0c2aaa0
log page views
bhaskarSingh Jan 9, 2020
53d6627
log validator on copy id event & expected earning input change
bhaskarSingh Jan 9, 2020
a0d207f
fix: resolves polkadot api breaking changes
bhaskarSingh Jan 10, 2020
dd27a7e
fetch validator specific view data from server
bhaskarSingh Jan 11, 2020
4f9ec8b
update amplitude api key
bhaskarSingh Jan 12, 2020
ba9ad0e
fetch nominators specfic view data from server
bhaskarSingh Jan 13, 2020
df2dc62
remove copy address column from validator table
bhaskarSingh Jan 13, 2020
68133af
show no of nominators for every validator in validator's table
bhaskarSingh Jan 13, 2020
aac9889
update expected daily earning text
bhaskarSingh Jan 14, 2020
c1d2444
fixed height issue for nominator specific view
saumyakaran Jan 15, 2020
089d32b
HTML title fix and ui improvements
saumyakaran Jan 15, 2020
d02aa9d
handle error for nominator specfic view
bhaskarSingh Jan 15, 2020
4c9c87a
add error boundary and sentry for client side error logging
bhaskarSingh Jan 15, 2020
a93d649
handle error for validator specific view
bhaskarSingh Jan 15, 2020
d435062
accept float values as inputs
saumyakaran Jan 15, 2020
ca370ee
float treated as invalid fix
saumyakaran Jan 15, 2020
a434f3f
handle error for home dashboard view
bhaskarSingh Jan 15, 2020
209b7bc
Merge branch 'deploy' of https://github.com/thevantageproject/PolkaAn…
bhaskarSingh Jan 15, 2020
da5a37b
make validator specifc view, view able in mobile
bhaskarSingh Jan 15, 2020
6b8520e
minor fix
bhaskarSingh Jan 15, 2020
4bb3509
fixes issue #39
bhaskarSingh Jan 15, 2020
a277933
identity issue fix for specific view
saumyakaran Jan 16, 2020
8cb0503
fixed CTA text copy
saumyakaran Jan 16, 2020
c5b2665
align input helper text to center
saumyakaran Jan 16, 2020
f315e9a
footer added
saumyakaran Jan 16, 2020
326dcdb
footer added
saumyakaran Jan 16, 2020
c8ef741
mobile nav menu added
saumyakaran Jan 17, 2020
944aa49
remove unnessary folder
bhaskarSingh Jan 17, 2020
f6efa44
update api endpoint
bhaskarSingh Jan 17, 2020
407909c
update error message content
bhaskarSingh Jan 18, 2020
dcaaf3b
html title change for specific views
saumyakaran Jan 19, 2020
e8b9dc2
Merge branch 'deploy' of https://github.com/thevantageproject/PolkaAn…
saumyakaran Jan 19, 2020
415966b
Revert "update error message content"
saumyakaran Jan 19, 2020
f13d23d
quick fix for key stats width
saumyakaran Jan 19, 2020
a24c045
api endpoint fix
saumyakaran Jan 19, 2020
a294c52
updated html title for validator specific view
saumyakaran Jan 19, 2020
c572c75
Update README.md
saumyakaran Jan 19, 2020
84b9a8a
Update README.md
saumyakaran Jan 19, 2020
24fc752
Update README.md
saumyakaran Jan 19, 2020
06cd558
Update README.md
saumyakaran Jan 19, 2020
cabb209
specific view unavailable for mobile info added
saumyakaran Jan 20, 2020
d35c745
sort by commission
saumyakaran Jan 22, 2020
8c7735c
polkadot api updated
saumyakaran Feb 4, 2020
e042d86
identicon module added
saumyakaran Feb 4, 2020
1bba5ac
stashId column removed + identicon added to table
saumyakaran Feb 4, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 20 additions & 55 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,61 +1,26 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# node-waf configuration
.lock-wscript
# dependencies
/node_modules
/.pnp
.pnp.js

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# testing
/coverage
test.js

# Dependency directories
node_modules/
jspm_packages/
# production
/build

# TypeScript v1 declaration files
typings/
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# next.js build output
.next
build
49 changes: 47 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,47 @@
# PolkaAnalytics
An analytics platform for the Polkadot Network
# Polka Analytics
A data analytics and visualization platform to enable informed decision making around the Polkadot Network

## Table of contents
- [Currently supported networks](#supported_networks)
- [Description](#description)
- [Dashboard](#dashboard)
- [Validator Specific View](#validator_specific_view)
- [Nominator Specific View](#nominator_specific_view)
- [⛏️ Built Using](#built_using)
- [✍️ Authors](#author)

## Currently supported networks <a name = "supported_networks"></a>
- [Kusama Network](https://kusama.network/)

## Description <a name = "description"></a>
This project aims to create a platform for people to make informed decisions by creating transparency around every decision that is being taken inside the Polkadot Ecosystem. It inherits the specific views from [Polkaviz Project](https://github.com/thevantageproject/polkaviz) for the Kusama Network and adds more information about every participant in the network.

A project funded and supported by [PolkaDAO](https://medium.com/polkadot-network/announcing-polkadao-fund-your-project-1891e6d895a)

### Dashboard <a name = "dashboard"></a>
[Polka Analytics Dashboard](https://polkanalytics.com/#/dashboard) allows users to enter a stake amount and see their potential daily earnings if that amount was staked across each validator along with other important information about the validators.

![Polka Analytics Dashboard](https://user-images.githubusercontent.com/40575379/72682952-e9fa0b00-3af8-11ea-87b0-b797a006c33b.png)

### Validator Specific View <a name = "validator_specific_view"></a>
On clicking any particular validator data row on the table, the user is taken to the validator's specific view, where they can gain more information about nominators backing that validator and the amount that is at stake.
![Validator Specific View](https://user-images.githubusercontent.com/40575379/72682953-e9fa0b00-3af8-11ea-893f-294fe2a035cc.png)

### Nominator Specific View <a name = "nominator_specific_view"></a>
On clicking the nominator circles on the validator specific view, the user is take to the nominator's specific view, which contains information about the validators on whom the nominator has staked along with information about the nominators expected daily earning.
![Nominator Specific View](https://user-images.githubusercontent.com/40575379/72682954-e9fa0b00-3af8-11ea-959a-4f7694a14f27.png)

## ⛏️ Built Using <a name = "built_using"></a>

- [React.js](https://reactjs.org/)
- [Konva.js](https://konvajs.org/)
- [polkadot-js/api](https://polkadot.js.org/api/)
- [Surge](https://surge.sh/)
- [chakra-ui](https://chakra-ui.com/)

## ✍️ Authors <a name = "author"></a>

- [@prastut](https://github.com/prastut/)
- [@sahil1995](https://github.com/sahilnanda1995)
- [@bhaskarSingh](https://github.com/bhaskarSingh/)
- [@saumyakaran](https://github.com/saumyakaran/)
1 change: 1 addition & 0 deletions _redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* /index.html 200
Loading