Commit Graph

28 Commits

Author SHA1 Message Date
James Wilson b70ab9ed3d Add license to the top of each source file 2021-07-29 17:34:40 +01:00
Squirrel 7ee8fe851f Remove network state from frontend (#345) 2021-06-04 09:38:15 +02:00
Maciej Hirsz 4ef655c5f3 Missing semicolon 2020-12-11 10:25:36 +01:00
MyronFanQiu e22bd924ca Add Crust Network telemetry icon (#303)
* change crust telemetry icon

* Update ImplementationColumn.tsx

* Update ImplementationColumn.tsx
2020-12-11 10:21:17 +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 Hirsz 186b57e13d Comments and grumbles 2020-11-04 13:14:04 +01:00
Maciej Hirsz 403b1c0fa1 More performance tweaks 2020-11-03 17:48:42 +01:00
Maciej Hirsz 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 31ded28975 Fix styling 2020-09-30 17:22:09 +02:00
marco bahn b7ff82d97e feat(zero): add icon for zero / gamedao (#290)
* feat(zero): add icon for zero / gamedao

* Update frontend/src/icons/zero.svg

Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>

Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
2020-09-30 17:17:48 +02:00
Xavier Lau 437ce23402 Add Darwinia Crab (#284)
* add: "Darwinia Crab"

* update: as suggest

* remove: "Crab"

* revert: auto format
2020-09-02 13:59:28 +02:00
Maciej Hirsz a721cc4e42 Cut metrics (#280) 2020-08-21 17:01:39 +02:00
lurpis 478e82cdda update bifrost-node icon (#270) 2020-07-29 09:40:00 +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
Xavier Lau 999404d3e2 remove: unused testnet (#256) 2020-04-21 16:37:11 +02:00
Chevdor 3cbad1c0b3 Fix unit tests (#248)
* Fix tests

- Remove jest tests and add coverage

- Rebase master and fix tests

* Ignore local .vscode

Add clean script

* Fix deps

- Upgrade deps
- Switch to esnext

* Move tests to the right folder

* Deps cleanup and bump up

* Remove root level package.json

* Fix grumbles

* Remove the labeler action due to https://github.com/actions/labeler/issues/12

* Fix grumbles
2020-04-21 16:36:33 +02:00
Xavier Lau 35a9b1af2e update darwinia-network icons (#255) 2020-04-17 21:35:06 +02:00
Maciej Hirsz 6a255f359a Use currentColor on nodle icon (#253) 2020-04-15 11:38:43 +02:00
Eliott Teissonniere eeb0be3c7c add nodle icon (#252) 2020-04-15 11:16:23 +02:00
André Silva 5a6f89c8ad add new implementation names (#251) 2020-04-15 11:15:43 +02:00
Daniel Maricic bb8e804567 Restructure the js app (#243)
* prettier

* linter

* add prettier, and format the code

* remove common, merge it with frontend

* refactor the app

* better lint and code fix

* travis for the frontend app

* travis build script

Signed-off-by: Daniel Maricic <daniel@woss.io>

* lint and build

* update the README.md

Signed-off-by: Daniel Maricic <daniel@woss.io>

* change the commands to reflect refactor

Signed-off-by: Daniel Maricic <daniel@woss.io>

* prettier and tslint are friends

Signed-off-by: Daniel Maricic <daniel@woss.io>

* code that wasn't linted properly before

Signed-off-by: Daniel Maricic <daniel@woss.io>

* prettier rc got deleted

* workgin on making the travis pass

Signed-off-by: Daniel Maricic <daniel@woss.io>

* travis build please?

Signed-off-by: Daniel Maricic <daniel@woss.io>

* update readme.md

Signed-off-by: Daniel Maricic <daniel@woss.io>

* dockerfile deleted from fronted - out of scope

Signed-off-by: Daniel Maricic <daniel@woss.io>

* remove

Signed-off-by: Daniel Maricic <daniel@woss.io>

* tsconfig

Signed-off-by: Daniel Maricic <daniel@woss.io>

* found the reason why EOL wasn't happening

Signed-off-by: Daniel Maricic <daniel@woss.io>

* type for the event in the ConnectionInput

as suggested

* strictnullCheck to true

* noImplicitAny

* noUnusedParams

* AfgHandling

* update

* fix Location.tsx

* Few minor fixes

* remove connection input and revert to original

* esnext fixes the imports for icons and non default `* as `

* update to the tsconfig.test.json don't use commonjs please

* fixed wrong comment for TIMEOUT_BASE

* return totem.svg and type decraration of maybe

Signed-off-by: Daniel Maricic <daniel@woss.io>

Co-authored-by: Will <w.kopp@kigroup.de>
2020-04-06 15:38:45 +02:00
maciejhirsz 0580e25380 Reorganized repo using yarn and workspaces 2018-06-27 14:04:34 +02:00
maciejhirsz 73f5309343 Added frontend 2018-06-27 11:06:47 +02:00