Commit Graph

335 Commits

Author SHA1 Message Date
lurpis 1f3a07fa3e add Bifrost icon (#211) 2019-12-15 12:24:07 +01:00
Maciej Hirsz 0a89382127 AFG messaging (#210)
* First draft of afg messaging

* AfgReceivedPrevote, AfgReceivedPrecommit and AfgFinalized added to rust backend

* Tidy up
2019-12-06 18:21:25 +01:00
Maciej Hirsz 92fb9d28de Set block timestamp when reseting stale nodes (#209)
* fix: Prevent stale nodes from updating chain head

* Set block timestamp when reseting stale nodes
2019-12-06 13:50:30 +01:00
Maciej Hirsz f2fc89e374 fix: Prevent stale nodes from updating chain head (#208) 2019-12-06 13:30:30 +01:00
Maciej Hirsz 516fb0376d feat: Pin Kusama CC3 (#205) 2019-11-28 16:04:49 +01:00
Maciej Hirsz c48ea807e7 feat: Attempt ipinfo.io if ipapi.co returns no results (#204)
* feat: Attempt ipinfo.io if ipapi.co returns no results

* fix: Use the GET method

* feat: Added tests

* chore: DRY
2019-11-28 13:31:58 +01:00
Maciej Hirsz a021622cf7 Fix average time (#202)
* fix: Average Time

* fix: Average time if stats are reset
2019-11-26 11:43:05 +01:00
Maciej Hirsz 550e96432f fix: Average Time (#201) 2019-11-25 15:06:37 +01:00
Alexander Krupenkin 41fd866e2b ICONS: robonomics-node -> airalab-robonomics (#199) 2019-11-19 13:34:20 +01:00
Maciej Hirsz b62f89efb7 Sort by column (#198)
* chore: Split HeaderCell out of Row.tsx

* feat: toggle and highlight selected column header

* feat: Fixed sorting, added stylized headers

* fix: Performance and hardware column sorting

* fix: Rebuild the sorted list when changing the comparator
2019-11-12 14:19:40 +01:00
Maciej Hirsz 735b2b431f feat: Use array for node map (#197)
* feat: Use array for node map
* fix: Map growing
2019-11-09 15:19:16 +01:00
Maciej Hirsz 3e34720f66 Node Uptime (#196)
* fix: node stats updating live
* fix: Propagation time for first node to hit a block
* chore: Leaner feed serialization
* fix: Handle old nodes with stringified network_state
* feat: Add Node Uptime to the list
* chore: Remove old backend from test pipeline
2019-11-09 12:16:39 +01:00
Maciej Hirsz b69adbb096 fix: node stats updating live (#195) 2019-11-08 14:12:27 +01:00
Maciej Hirsz adbd7cb592 Fix network ID and validator icons (#189)
* fix: Validator icons

* fix: Propagation time for blocks < highest

* fix: Reintroduce network_id to Rust backend
2019-11-08 13:36:19 +01:00
Maciej Hirsz a3b6f6a5a1 Rust backend (#185) 2019-11-07 10:52:38 +01:00
Reto Trinkler 31784131d6 Add Katal Chain Icon (#186) 2019-11-01 11:51:55 +01:00
Maciej Hirsz 2d419637de feat: Add support for system.network_state (#183) 2019-10-28 13:48:33 +01:00
Jaco Greeff 26f91a28fb Pin Kusama CC2 (#182) 2019-10-01 17:16:00 +02:00
Maciej Hirsz a2ce9a574e feat: Mark nodes as stale after a minute (#181) 2019-09-27 16:16:30 +02:00
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