Skip to content

Commit

Permalink
refactor: wes and tes (#255)
Browse files Browse the repository at this point in the history
Co-authored-by: Salihu <91833785+SalihuDickson@users.noreply.github.com>
Co-authored-by: salihuDickson <salihudickson@gmail.com>
  • Loading branch information
3 people authored Mar 22, 2024
1 parent a6102e5 commit cf11b71
Show file tree
Hide file tree
Showing 23 changed files with 9,034 additions and 346 deletions.
15 changes: 8 additions & 7 deletions packages/ecc-client-lit-ga4gh-tes/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"extends": ["@open-wc", "elixir", "prettier"],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error",
"class-methods-use-this": "warn",
"lit/no-classfield-shadowing": "warn"
}
"extends": ["@open-wc", "elixir", "prettier"],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error",
"class-methods-use-this": "warn",
"lit/no-classfield-shadowing": "warn",
"no-console": ["error", { "allow": ["warn", "error"] }]
}
}
43 changes: 22 additions & 21 deletions packages/ecc-client-lit-ga4gh-tes/demo/create-run/index.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
<!DOCTYPE html>
<html lang="en-GB">
<head>
<meta charset="utf-8" />
<style>
body {
background: #fafafa;
}
</style>
</head>
<body>
<div id="demo"></div>
<head>
<meta charset="utf-8" />
<style>
body {
background: #fafafa;
}
</style>
</head>
<title>ecc-client-ga4gh-wes-runs</title>
<body>
<div id="demo"></div>

<script type="module">
import { html, render } from "lit";
import "../../dist/components/tes-create-run/index.js";
<script type="module">
import { html, render } from "lit";
import "../../dist/components/create-run/index.js";

render(
html`<ecc-client-lit-ga4gh-tes-create-run
baseURL="http://localhost:8080/ga4gh/tes/v1"
/>`,
document.querySelector("#demo")
);
</script>
</body>
render(
html`<ecc-client-lit-ga4gh-tes-create-run
baseURL="http://localhost:8080/ga4gh/tes/v1"
/>`,
document.querySelector("#demo")
);
</script>
</body>
</html>
4 changes: 2 additions & 2 deletions packages/ecc-client-lit-ga4gh-tes/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
background: #f5f5f5;
}
</style>
<title>ecc-client-ga4gh-wes</title>
<title>ecc-client-ga4gh-tes</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
Expand All @@ -17,4 +17,4 @@
<a href="./create-run" class="text-blue-500">Create runs component</a>
</div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions packages/ecc-client-lit-ga4gh-tes/demo/runs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}
</style>
</head>
<title>ecc-client-ga4gh-wes-runs</title>
<title>ecc-client-ga4gh-tes-runs</title>
<body>
<div id="demo"></div>

Expand All @@ -17,8 +17,8 @@
import "../../dist/components/runs/index.js";

// const baseURL = "http://localhost:8080/ga4gh/tes/v1";
const pageSize = 10;
// .baseURL="${baseURL}"
const pageSize = 10;

render(
html`<ecc-client-lit-ga4gh-tes-runs .pageSize="${pageSize}" />`,
Expand Down
Loading

0 comments on commit cf11b71

Please sign in to comment.