Commit Graph
100 Commits
Author SHA1 Message Date
Maciej HirszandJames Wilson a4069e4b3d Subscribe to chains by genesis hash (#395)
* Handle subscription by hash in the frontend

* Forward-ported backend changes

* Fix unit tests

* Remove unused `chains_by_label`

* fmt

* Updated but failing E2E tests

* subscribe by genesis hash in tests

* fmt

* Copy `BlockHash` instead of returning a ref

* Pin chains by genesisHash

Co-authored-by: James Wilson <james@jsdw.me>
2021-09-02 17:54:19 +02:00
Maciej Hirsz f8b7128dca Preparing backend to receive data from shards (#337)
* Move backend to backend/core

* Ported shard receiver WIP

* Remove dead code
2021-05-21 11:20:39 +02:00
Maciej HirszandNiklas Adolfsson 05b0afefd3 Bucket nodes by genesis hash (#335)
* Send unwrapped Payload to Chain + cargo fmt

* Read genesis_hash when connecting

* Group chains by genesis hashes

* Fix typo

Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>

* Fix grumbles

* Link up `Hash` for docs

* `hashes` -> `genesis_hashes`

* Typo :)

Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>

* Added a doc comment link

* Add comment about why H256 is not used

Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
2021-04-27 13:05:58 +02:00
Maciej Hirsz 0806595764 Add ROADMAP.md (#307) 2021-01-21 21:29:40 +01:00
Maciej Hirsz 81cd70cf7d Parachain multiplexing (#295)
* Handle continuation frames

* Parachain multiplexing MVP

* Better multiplexing

* Rename NodeMultiplex -> ConnMultiplex

* Cleaner `handle_message`
2020-12-16 21:24:02 +01:00
Maciej Hirsz 1f5b1607cc Fix allchains (#301) 2020-11-30 13:13:49 +01:00
Maciej Hirsz 262dbd6f14 Use startup_time from system.connected (#300)
* Handle startup time

* Remove dead code

* Bump protocol version + FE changes
2020-11-30 12:05:49 +01:00
Maciej Hirsz ebb01c1a7d Turbo Render (#298)
* More responsive React updates on scroll

* `Icon`s now use shadow dom

* Faster Sparkline

* Recycle table rows

* Separate Header from Chain to avoid vdom diffing

* Separate THead from Row.HEADER to avoid vdom diffing

* Throttle rendering updates on chain tabs, also styles

* Minor tweaks and fixes

* Created components for all columns

* Wrapping up Column refactor

* Rename Row--td to Column

* Lazy `Ago`

* Update styles for faster layouting

* Minor cleanup

* Fix Connection

* Use shadow DOM in `PolkadotIcon`

* Comments and tweaks for the List component

* Faster Tooltip and Truncate

* Minor tweaks

* Tooltiped columns can now be copied

* Future-proof Connection

* Remove the <div> wrapper from Icon

* Fix dash on missing graph data

* Clean up some SVGs

* Cleanup and comments

* Localize the use of `previousKeys` to `recalculateKeys`

* Custom appState disjoint from React component state

* Make appState and appUpdate refs readonly

* Cleanup
2020-11-11 13:41:01 +01:00
Maciej HirszandDavid 54039faa3b Prevent nodes out of viewport triggering render (#296)
* Prevent nodes out of viewport triggering render

* Update frontend/src/common/SortedCollection.ts

Co-authored-by: David <dvdplm@gmail.com>

* Tweak the comment on `setFocus`, move it closer to `ref` and `hasChangedSince`

* Switch `SortedCollection.ref()` to a getter

Co-authored-by: David <dvdplm@gmail.com>
2020-11-02 19:33:51 +01:00
Maciej Hirsz 98cd3cfa12 Fix a panic in actix-web normalize middleware (#294)
* Fix a panic in actix-web normalize middleware

* Cleanup dependencies
2020-10-29 19:46:11 +01:00
Maciej Hirsz 0ff63abf35 Bump dependencies (#293) 2020-10-26 19:57:51 +01:00
Maciej Hirsz 530132a3bb Fix iplocate cerificates (#283) 2020-08-26 14:17:53 +02:00
Maciej Hirsz 0f13c76fe1 Log locate errors (#282) 2020-08-26 09:34:35 +02:00
Maciej Hirsz 390a5a36f4 Log remote IP (#281) 2020-08-25 18:10:32 +02:00
Maciej Hirsz a721cc4e42 Cut metrics (#280) 2020-08-21 17:01:39 +02:00
Maciej Hirsz e9f2e119e7 Bump nginx limits (#278) 2020-08-20 13:54:17 +02:00
Maciej Hirsz 525f95b92a Hide unknown messages in production (#275) 2020-08-04 13:04:46 +02:00
Maciej Hirsz 4b29a2afa2 Pin merged Polkadot chain (#272) 2020-07-21 17:39:38 +02:00
Maciej Hirsz 246ab4e251 Pin Polkadot CC1 ahead of Kusama (#265) 2020-05-26 19:23:32 +02:00
Maciej Hirsz be12d5f0f6 Pin Kusama (#264) 2020-05-14 11:15:44 +02:00
Maciej Hirsz 2ed13c16de Update fill color to currentColor on darwinia icons (#261) 2020-05-01 18:42:37 +02:00
Maciej Hirsz 6a255f359a Use currentColor on nodle icon (#253) 2020-04-15 11:38:43 +02:00
Maciej Hirsz bd7b5305fe Link Totem icon to node name (#239)
* Link Totem icon to node name

* Use currentColor on Totem icon
2020-03-30 11:40:16 +02:00
Maciej Hirsz 85b7809533 Force Kusama CC3 nodes into Kusama chain (#235) 2020-03-19 17:10:43 +01:00
Maciej Hirsz d492b85091 Aggregate chains by network_id (#234)
* Aggregate chains by network_id

* Fix network_id handling
2020-03-19 16:29:24 +01:00
Maciej Hirsz d824851a96 chore: Pin Kusama without CC3 (#233) 2020-03-17 18:09:26 +01:00
Maciej Hirsz 38ccc02eaa Quick subscribe (#232)
* feat: Send chain head ahead of node list

* feat: Partition node list into batches of 32
2020-02-20 14:38:58 +01:00
Maciej Hirsz ff29540d56 feat: Added a /health endpoint (#230) 2020-02-18 13:59:12 +01:00
Maciej Hirsz 483cf81c2d chore: Update Edgeware to new node name (#229) 2020-02-18 13:04:38 +01:00
Maciej Hirsz 0a6cd08747 feat: Live-update IO stats (#225) 2020-01-30 15:39:46 +01:00
Maciej Hirsz 19f57d71be I/O metrics (#224)
* feat: Proxy Node IO stats to the FE

* chore: Sync up FE

* feat: Charts for cache sizes

* feat: All graphs are in

* chore: Remove browserlist
2020-01-30 15:03:19 +01:00
Maciej Hirsz 668065c1a8 chore: Remove package-lock (#222) 2020-01-21 17:45:50 +01:00
Maciej Hirsz 63795e48a0 Remove JS backend (#219)
* chore: Remove JS backend

* chore: Update travis to run Rust backend tests

* chore(travis): Install dependencies before building
2020-01-14 14:04:13 +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
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
Maciej Hirsz 2d419637de feat: Add support for system.network_state (#183) 2019-10-28 13:48:33 +01:00
Maciej Hirsz a2ce9a574e feat: Mark nodes as stale after a minute (#181) 2019-09-27 16:16:30 +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
Maciej Hirsz 72806ff282 fix: Failsafe broadcast (#167) 2019-07-31 15:20:47 +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 51afc76177 fix: Map scale (#158) 2019-06-28 15:21:32 +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
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
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
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
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
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
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
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 0f4049f665 Remove unused code (#81)
Closes #47.
2018-10-10 12:31:43 +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
Maciej Hirsz abe2ff5057 Fix sorting (#77) 2018-10-08 14:14:21 +02:00
Maciej Hirsz d299e2103a Render individual node changes on demand (#76) 2018-10-05 18:21:43 +02:00
Maciej Hirsz 784c112af3 Travis CI integration (#75) 2018-10-05 17:08:27 +02:00
Maciej Hirsz b8ad6249ca Tests and fixes to MeanList (#74) 2018-10-04 17:51:59 +02:00
Maciej Hirsz 717c5a3ac9 Only update hardware stats when necessary (#73) 2018-10-01 14:10:54 +02:00
Maciej Hirsz 76e9155823 Better Sparklines (#72)
* Cleaner renders
* Add timestamps to Sparklines
* Keep track of chart history up to 1h in the past
2018-10-01 11:41:40 +02:00
Maciej Hirsz 58e19a7c58 Set CPU scale to 100% at minimum (#71) 2018-09-30 20:41:17 +02:00
Maciej Hirsz 51fb2cf326 No repeated Node ids (#70) 2018-09-30 10:33:29 +02:00
Maciej Hirsz dd379676fd Clear nodes on re-subbing (#69) 2018-09-30 09:43:03 +02:00
Maciej Hirsz 8b7c620e2e Clean nodes on reconnect (#68) 2018-09-30 08:52:37 +02:00