James Wilson
82f0b234c4
Timeout based on last msg received and not ping timeout ( #418 )
...
* Timeout based on last msg received and not ping timeout
* Use object method shorthand
Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com >
* Types.Milliseconds instead of number
Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com >
2021-10-01 17:27:19 +01:00
Maciej Hirsz
224b1faeba
Fix autosubscribe to subscribe to Polkadot instead of Kusama ( #413 )
2021-09-28 17:43:41 +02:00
cybai
3ea2f88b19
Make Tooltip as a function component with react hooks ( #391 )
...
* Refactor `Tooltip` into function component with hooks
With using hooks, we don't need to maintain the checking in sCU and also
don't need to assign the value of `ref` manually.
* Show block number beside the tooltip instead of its children
2021-09-09 13:02:10 +02:00
Maciej Hirsz
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
cybai
d477cb8045
frontend: Upgrade TypeScript from 2.9.2 to 4.4.2 ( #387 )
...
* Upgrade TS from 2.9.2 to 4.4.2
* Avoid mutating a readonly array
`list` is a readonly array but `sort` will mutate the array in-place.
In newer version of TS, it can catch this unexpected behavior.
To avoid mutating a readonly array, we can sort with a new array with
either `[...list]` or `list.slice()`.
* Fix arguments of `window.location.reload`
The `reload` function type definition in `lib.dom.d.ts` takes 0
arguments now. So, we cannot pass a boolean to it.
Also, based on the documentation on MDN, Firefox is the only browser who
supports passing a `forceForget` boolean to `reload` function.
So, I wonder it should be fine to remove the boolean argument and align
the behavior to other browsers.
Ref: https://developer.mozilla.org/en-US/docs/Web/API/Location/reload
2021-08-27 16:33:42 +01:00
arshamparity
fc73a2f27a
removing the default nginx configuration ( #385 )
...
* adding values-parity.yaml to the project again
* removing the custom values file
* replacing the namespace with variable
* removing the default configuration for frontend nginx
2021-08-27 16:10:16 +03:00
Chevdor
238d529eae
Hardening of the Frontend docker image ( #377 )
...
* move the env-config script to a sub folder
* fix doc
* fix ports and ref to the official image
* add hardening to the docker-compose examples
2021-08-26 12:20:01 +02:00
Niklas Adolfsson
64816c14e5
Merge pull request #362 from paritytech/dependabot/npm_and_yarn/frontend/path-parse-1.0.7
...
chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /frontend
2021-08-16 17:17:00 +02:00
Niklas Adolfsson
edbba7e3b7
Merge pull request #363 from paritytech/dependabot/npm_and_yarn/frontend/url-parse-1.5.3
...
Bump url-parse from 1.4.7 to 1.5.3 in /frontend
2021-08-16 17:16:35 +02:00
Niklas Adolfsson
5d361a1868
Merge pull request #364 from paritytech/dependabot/npm_and_yarn/frontend/ws-5.2.3
...
Bump ws from 5.2.2 to 5.2.3 in /frontend
2021-08-16 17:16:07 +02:00
James Wilson
701a431ac1
Remove parity specific bit in nginx file (not needed anyway), name default network, tweak a dockerfile comment
2021-08-16 14:08:28 +01:00
James Wilson
53f7769146
Make frontend nginx conf suitable for k8s or local deployment (no need for 'old' deployment bits)
2021-08-14 11:57:52 +01:00
James Wilson
8793d0fd5b
pass the feed URL via env var rather than config map so that standalone Docker usage is simplified
2021-08-14 11:32:48 +01:00
dependabot[bot]
534118f08d
Bump ws from 5.2.2 to 5.2.3 in /frontend
...
Bumps [ws](https://github.com/websockets/ws ) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/5.2.2...5.2.3 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-08-12 09:43:34 +00:00
dependabot[bot]
8abd0dbf68
Bump url-parse from 1.4.7 to 1.5.3 in /frontend
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.4.7 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.3 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-08-12 09:43:33 +00:00
dependabot[bot]
fecc11199a
chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /frontend
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-08-12 06:12:19 +00:00
Arsham Teymourı
8f6452fba5
remove command section from frontend-deployment
2021-08-11 00:11:14 +03:00
Arsham Teymourı
72311d9b61
adding front to the CI
...
adding frontend configmaps and envVars
optimizing docker-compose and DockerfIle
2021-08-10 20:07:07 +03:00
Arsham Teymourı
ac20d3d845
adding frontend to the helm chart
2021-08-10 13:36:28 +03:00
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
David
dbabc88127
Merge pull request #311 from paritytech/dependabot/npm_and_yarn/frontend/urijs-1.19.6
...
chore(deps): bump urijs from 1.19.5 to 1.19.6 in /frontend
2021-03-25 14:39:00 +01:00
dependabot[bot]
87a153c00a
chore(deps): bump elliptic from 6.5.3 to 6.5.4 in /frontend
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-10 13:48:30 +00:00
dependabot[bot]
2d570dc282
chore(deps): bump urijs from 1.19.5 to 1.19.6 in /frontend
...
Bumps [urijs](https://github.com/medialize/URI.js ) from 1.19.5 to 1.19.6.
- [Release notes](https://github.com/medialize/URI.js/releases )
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md )
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.5...v1.19.6 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-02 01:12:11 +00:00
dependabot[bot]
7d7884e935
chore(deps): bump urijs from 1.19.2 to 1.19.5 in /frontend
...
Bumps [urijs](https://github.com/medialize/URI.js ) from 1.19.2 to 1.19.5.
- [Release notes](https://github.com/medialize/URI.js/releases )
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md )
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.2...v1.19.5 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-12-31 06:55:24 +00:00
dependabot[bot]
f04ce4eabd
chore(deps): bump ini from 1.3.5 to 1.3.8 in /frontend
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-12-12 13:09:57 +00: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
Zeke Mostov
cb73e6c248
Increase resolution of selected nested deps
2020-10-14 13:53:24 -07: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
dependabot[bot]
bd7d0f0e96
chore(deps): bump http-proxy from 1.18.0 to 1.18.1 in /frontend ( #288 )
...
Bumps [http-proxy](https://github.com/http-party/node-http-proxy ) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/http-party/node-http-proxy/releases )
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.18.0...1.18.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 15:53:06 +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
Maciej Hirsz
e9f2e119e7
Bump nginx limits ( #278 )
2020-08-20 13:54:17 +02:00
dependabot[bot]
9e08387dd1
chore(deps): bump elliptic from 6.5.2 to 6.5.3 in /frontend ( #274 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-04 12:40:17 +02:00
lurpis
478e82cdda
update bifrost-node icon ( #270 )
2020-07-29 09:40:00 +02:00
Erin Grasmick
ba2a8d1ef1
trigger ci
2020-07-28 14:32:07 +02:00
Erin Grasmick
2da071ae47
fix confusion action behavior
2020-07-28 13:24:15 +02:00
Erin Grasmick
2c786a52f2
trigger ci
2020-07-28 13:18:15 +02:00
Maciej Hirsz
4b29a2afa2
Pin merged Polkadot chain ( #272 )
2020-07-21 17:39:38 +02:00
Maciej Hirsz
48e7aa4306
WIP: reworking docker
2020-07-02 15:03:14 +02:00
dependabot[bot]
26c1c6d618
chore(deps): bump websocket-extensions from 0.1.3 to 0.1.4 in /frontend ( #267 )
...
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases )
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md )
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-09 12:12:36 +02:00
Maciej Hirsz
246ab4e251
Pin Polkadot CC1 ahead of Kusama ( #265 )
2020-05-26 19:23:32 +02:00