* get tests working and update copyright headers
* lint fix
* eslint ts update
* update CI to use NPM
* fix CI
* prettier
* npm, not yarn for docker
* remove unused package
* bump dockerfile to latest node LTS and no need for cache clean
* make frontend Dockerfile work and remove unused SUBSTRATE_TELEMETRY_SAMPLE
* remove final yarn references
* add another comment
* remove unused import
* remove more unused deps
* comment typo
* update npm packages
* update tsconfig
* remove babelrc, babel presets as well as stable package
* fix svg namespace tag syntax errors
* fix reference error due to namespace and class component having same name
* replace tslint with eslint
* make eslint happier
* update .nvmrc to 14
* update node version to 14 in gh workflow
* fix eslint warnings due to warnings treated as errors on CI (process.env.CI = true)
* pretty fix
* bump node version in Dockerfile
* use createRoot instead of react-dom render
* update browsers list in package.json
* 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
* 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>