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>
This commit is contained in:
Daniel Maricic
2020-04-06 15:38:45 +02:00
committed by GitHub
parent 20a0283380
commit bb8e804567
322 changed files with 10896 additions and 10602 deletions
+75
View File
@@ -0,0 +1,75 @@
.Chains {
background: #b5aeae;
color: #000;
padding: 0 76px 0 16px;
height: 40px;
min-width: 1318px;
position: relative;
}
.Chains-chain {
padding: 0 12px;
background: #b5aeae;
color: #444;
display: inline-block;
border-right: 1px solid rgba(255, 255, 255, 0.5);
height: 40px;
line-height: 40px;
cursor: pointer;
font-size: 0.8em;
font-weight: bold;
position: relative;
}
.Chains-chain:first-child {
border-left: 1px solid rgba(255, 255, 255, 0.5);
}
.Chains-all-chains {
display: block;
padding: 0;
margin: 0;
position: absolute;
right: 48px;
top: 6px;
}
.Chains-fork-me {
display: block;
padding: 0;
margin: 0;
position: absolute;
right: 12px;
top: 6px;
}
.Chains-all-chains .Icon,
.Chains-fork-me .Icon {
font-size: 28px;
margin: 0;
height: 28px;
width: 28px;
color: #3c3c3b;
}
.Chains-node-count {
display: inline-block;
padding: 0 0.5em 0.1em;
border-radius: 1em;
background: #8c8787;
color: #fff;
font-weight: normal;
text-shadow: rgba(0, 0, 0, 0.5) 0 1px 0;
font-size: 0.9em;
line-height: 1.4em;
margin: 0 -0.3em 0 0.3em;
}
.Chains-chain-selected {
background: #fff;
color: #000;
}
.Chains-chain-selected .Chains-node-count {
background: #e6007a;
}