Commit Graph

146 Commits

Author SHA1 Message Date
Maciej Hirsz 75a5a8a598 chore: Optimize Dothereum, set color to currentColor 2019-09-27 15:20:06 +02:00
Talha Cross fce8e2d2b0 frontend: add dothereum icon (#180)
* frontend: add dothereum icon

* frontend: update dothereum icon
2019-09-27 15:16:28 +02:00
Michael Müller 98175772e4 Process GRANDPA authority id (#179)
* Remove pubkey
* Remove superfluous whitespace
* Assign GRANDPA authority id as address
2019-09-19 10:32:04 +02:00
Maciej Hirsz d297202b7e feat: Pin Kusama (#171) 2019-08-26 18:21:02 +02:00
Jn Hua bbe7aee044 Add turing-node icon (#159)
* add turing icon

* add turing-node icon

* update turing-node icon
2019-07-05 16:38:07 +02:00
Maciej Hirsz 63e979a13b feat: Add overlay background for AllChains selector (#163) 2019-07-02 16:56:04 +02:00
Maciej Hirsz 983919fd87 feat: Instead of delisting, push stale nodes to bottom (#161) 2019-07-02 14:52:06 +02:00
Maciej Hirsz 9730c730f3 Add chains overlay (#157)
* feat: Adding a show-all-chains button
* feat: Show all-chains overlay selector
2019-07-01 17:45:38 +02:00
Maciej Hirsz 3d93651911 fix: Show Darwinia icon for Darwina Testnet nodes 2019-06-28 15:35:24 +02:00
Maciej Hirsz 579cf76bb6 chore: Optimize Darwinia icon 2019-06-28 15:26:11 +02:00
Maciej Hirsz 51afc76177 fix: Map scale (#158) 2019-06-28 15:21:32 +02:00
WoeOm 5ed91c0be8 Add darwinia logo (#155) 2019-06-28 15:21:18 +02:00
Maciej Hirsz 5c1f3272c2 feat: pin Alexander as start of telemetry (#156) 2019-06-26 18:20:21 +02:00
Xiliang Chen d7304b575d Add CENNZnet logo (#153) 2019-06-18 10:33:10 +02:00
kaiyu 7a358303c2 feat: add ladder node icon (#143)
* feat: add ladder node icon
* Modify svg fill
2019-05-28 10:24:59 +02:00
Michael Müller ce9538485a Handle too many validators properly (#151)
* Revert debug flag
* Remove dead code
* Disallow subscribing if too many validators
2019-05-28 10:24:41 +02:00
Michael Müller 7add77137a Grandpa visualization optimizations + improvements (#150)
* Prefix CSS rules properly
* Fix Jdenticon placeholder
* Implement shouldComponentUpdate()
* Force casting of block numbers in backend
* Ensure array is properly sorted
* Fix backfilling and hold only limited blocks in memory
* Use proper ellipsis
* Display note if no grandpa data available yet
* Apply flexing only when two blocks are displayed
* Display consensus icons above all other elements
* Type authoritySetId properly
* Display loading screen only when necessary
* Only measure when necessary
* Reset state on tab change
* Remove tooltips and add keys
* fix: Remove some `any` types, fix list view CSS
* Fix updateState type
* Add keys to more elements
* Limit number of authorities for which vis works
2019-05-27 17:08:21 +02:00
Michael Müller 26000f3e8a Move address to end in nodeDetails (#149)
This makes the backend backwards compatible with
frontends which still have an old version of nodeDetails.
2019-05-22 21:06:49 +02:00
Michael Müller 5d82253257 Display state of Grandpa (#134)
* Make it clear that settings apply only to list view

Since the consensus view will be added users could
mistake the settings as being applied there as well.

* Add Jdenticon

* Add Grandpa consensus visualisation

* Remove fade-in animation

* Update packages and yarn.lock

* Broadcast only delta of what changed

* Minor code improvements

* Use NodeId instead of Address in first dimension

By using the NodeId instead of the Address in the first
dimension of the consensus matrice we save quite some
space in the payload which is sent to the browser.

The commit also contains some minor refactoring.

* Refactoring and improving naming

* Display boxes only after size has been detected

This look a bit nicer, otherwise the UI will still adapt
the box sizes once everything has already been loaded up.

* Fix cache

* Send consensus info on first subscribe

So that frontend can immediately display the current state
and doesn't have to aggregate first.

* Increase cache size

* Send deltas only if block in cache

Otherwise the UI will update old blocks which
are still visible to an empty shell.

* Adjust cache size

* Make cache sizes dependent

* Ensure authority caches are aligned

If only one authority has already submitted consensus info
for a new block then the cache of that one is offset by one
from all other authorities.

* Handle restarts on authority set changes properly

* Fix backfill mechanism

* Extract function

* Display only blocks since last authority set change

* Handle authority set sent on connect

When nodes lose their connection to telemetry
or connect on first time they sent their current
authority set for the UI to have something to
display.

These sets don't contain an explicit block number,
because the set didn't change -- it just got resent.
In this case the set is `undefined`.

* Introduce Authority type

This is necessary to cover the case where one
node connects, submits its authority set containing
another node which has not yet connected to Telemetry.

In this case we still want to create a shell object
and fill it with the address.

* Handle corner case

In the case of only one block having been produced, two authorities,
and only one authority connected, the UI did not show up.

* Display placeholder if name not yet available

* Replace with camelCase

* Replace with correct types

* Replace grandpa icon

* Change consensus icon to cube (finalized block icon)

* Upgrade dependencies

* Implement thin backend instead of thick

* Cleanup and minor improvements

* Minor refactoring

* Extract common code into function

* Switch module to class

* Remove unused code

* Clean markup

* Remove unused code

* Revert "Upgrade dependencies"

This reverts commit bf4d9ea48b3417860ccf40f0c5122027ffc59689.

* Update polkadot-identicon in frontend

Change version number to `^1.1.45` and run
`npm update polkadot-identicon`.

* Run yarn install

* Update react-measure to 2.3.0

Changed version number, ran

	cd packages/frontend/ && npm update react-reasure &&
	cd ../../ && yarn install

* Improve typing by introducing partial type

* Reduce indexing operations

* Shorten function

* Shorten function

* Introduce initialiseConsensusViewByRef

* Remove dead conditional branch

* Return consensusView ref from initialiseConsensusView

*  Handle consensusView ref returned from initialiseConsensusView
2019-05-20 13:20:40 +02:00
Maciej Hirsz 2ec4269699 feat: add Joystream icon (#142) 2019-05-06 12:09:29 +02:00
Maciej Hirsz 54cb64065a feat: Add edgeware node icon (#141) 2019-04-25 13:09:46 +02:00
Michael Müller fe03dddbd2 Minor fixes (#136)
* Fix typo
* Fix crooked merge result
2019-04-18 11:05:46 +02:00
Maciej Hirsz e1bad6e24b feat: add ChainX impl icon (#137) 2019-04-15 12:39:05 +02:00
Maciej Hirsz e078e7a9b9 Some visual tweaks (#133) 2019-03-26 11:09:05 +01:00
Gregory Terzian 8fa36118b5 Add network state to UI (#128) 2019-03-25 21:22:43 +01:00
Maciej Hirsz 1058cd965c Update Travis (#126) 2019-03-19 15:18:22 +01:00
Maciej Hirsz 91df8e7167 More style tweaks (#125) 2019-03-15 16:31:21 +01:00
Maciej Hirsz ce68e0e271 Update styles to new Polkadot identity (#124) 2019-03-15 15:50:03 +01:00
Maciej Hirsz 1023b72fe7 Remove debug logging (#119) 2019-03-06 16:08:55 +01:00
Jaco Greeff bfd339bbe5 Add icon for polkadot-js client (#118)
* Add icon for polkadot-js client

* Update icon
2019-03-04 12:03:57 +01:00
Maciej Hirsz ed65a00c95 Use stable sort for chain tabs (#113) 2019-02-21 14:40:56 +01:00
Maciej Hirsz 76a07654ab Show ?.?.? for invalid semver (#108) 2019-02-11 18:38:09 +01:00
Maciej Hirsz 25d443e96a Long time ago (#107) 2019-02-08 14:44:29 +01:00
Maciej Hirsz 24a28a0ffb Fix Identicons (#106) 2019-02-06 09:38:02 +01:00
Maciej Hirsz dc71df7911 Add finalized block info (#104) 2019-02-01 15:53:05 +01:00
Maciej Hirsz 8c70007eef Add minimum scales for memory and bandwidth (#103) 2019-02-01 12:26:02 +01:00
Maciej Hirsz b517e917c7 Tweak bandwidth numbers formatting (#101) 2019-01-31 14:37:08 +01:00
Maciej Hirsz 052f5c846c Add bandwidth monitors (#100) 2019-01-31 12:43:53 +01:00
Alexander Krupenkin dac6ca77f8 Added Robonomics implementation icon 2019-01-18 09:13:15 -08:00
Maciej Hirsz f91ddf657b Update dependencies (#97)
* Update dependencies
2019-01-18 09:12:39 -08:00
Maciej Hirsz c1155a9c22 Remove Filter from Chain component (#89) 2018-10-25 16:45:49 +02:00
Maciej Hirsz db87eae19f Only render visible rows in the List (#87) 2018-10-14 11:16:23 +02:00
maciejhirsz 1dc9ef82e5 Cleanup redundant CSS 2018-10-12 17:41:04 +02:00
Maciej Hirsz 97b3d1ec23 New List, Map, and Settings components (#86) 2018-10-12 17:34:49 +02:00
Maciej Hirsz 2ed9061d23 Don't jump when updating table (#84) 2018-10-11 15:48:29 +02:00
Maciej Hirsz aa5bbba1bf Sticky focus on off-screen filter (#83) 2018-10-10 16:13:10 +02:00
Maciej Hirsz 491b70fae9 Click to copy address or block hash (#82) 2018-10-10 15:01:28 +02:00
Maciej Hirsz 3655a0aac6 Fix to text filter responsiveness (#80) 2018-10-10 11:53:14 +02:00
Maciej Hirsz 56f0630558 Style improvements (#79) 2018-10-09 14:31:30 +02:00
Maciej Hirsz 85b3eaa3a8 Do less work when rendering (#78) 2018-10-08 16:54:39 +02:00