Commit Graph

216 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 5b2c0ee37d fix: Avoid removeAllListeners on sockets (#174) 2019-09-03 16:07:01 +02:00
Maciej Hirsz d297202b7e feat: Pin Kusama (#171) 2019-08-26 18:21:02 +02:00
gabriel klawitter 0250fde939 Dockerfile: add dependency on nodejs 10 (#168) 2019-08-07 14:29:31 +02:00
Maciej Hirsz 72806ff282 fix: Failsafe broadcast (#167) 2019-07-31 15:20:47 +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 c369be29d1 fix: Send stale nodes when feed connects (#162) 2019-07-02 15:49:41 +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 c817a16d31 feat: Don't count stale nodes (#160)
* feat: Don't count stale nodes

* fix: Don't decrement twice when removing a stale node

* chore: Remove unnecessary empty line
2019-07-01 19:16:42 +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
Maciej Hirsz 31bc535c5c feat: Hide nodes that fail to sync a block in 15 minutes (#154)
* feat: Hide nodes that fail to sync a block in 15 minutes

* fix: Don't resend stale event if node is already stale
2019-06-20 16:15:32 +02:00
Xiliang Chen d7304b575d Add CENNZnet logo (#153) 2019-06-18 10:33:10 +02:00
Maciej Hirsz a4ededc2f0 chore: Initial commit for Rust backend 2019-06-03 15:05:34 +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 35a853a64b Increment version number (#148) 2019-05-20 14:43:26 +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 4a48a6eecf fix: Stringify network state on demand (#146) 2019-05-14 15:19:00 +02:00
Maciej Hirsz 74c784c62d fix: Crash when accessing network state for nodes that don't have it. (#144)
* fix: Crash when accessing network state for nodes that don't have it.
2019-05-13 13:18:24 +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
Alex Siman 0803e1d1f7 Add missing space in a title (#121) 2019-03-19 10:37:10 +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
Gregory Terzian 0134677c2d Add network state to backend (#123) 2019-03-15 11:57: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
Marko dfaabac0df Created a Dockerfile & docker-compose so theres no need to run in separate terminals (#111)
* docker file & docker-compose

* Readme & spelling corretions

* undoing formatOnSave changes

* more changes to readme
2019-02-21 16:41:24 +01:00
Maciej Hirsz 71778e9450 Downgrade finalized block on disconnect (#115) 2019-02-21 16:39:22 +01:00
Maciej Hirsz f9f34c6067 Downgrade block on disconnect (#114) 2019-02-21 16:20:52 +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