* 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
* 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
* 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
* 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