Skip to content

Commit 93b1066

Browse files
authored
Merge pull request #12 from cmu-delphi/release/v2.0.1
Release v2.0.1
2 parents 107b9d0 + 688029d commit 93b1066

File tree

7 files changed

+28
-13
lines changed

7 files changed

+28
-13
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ The current stable `main` version is deployed at https://cmu-delphi-epivis.netli
1010

1111
The next `dev` version is deployed at https://dev--cmu-delphi-epivis.netlify.app/.
1212

13-
For development, see the
14-
[EpiVis development guide](docs/epivis_development.md).
15-
16-
Little piece of trivia: the first version of EpiVis was written on 2014-12-22.
13+
_Little piece of trivia_: the first version of EpiVis was written on 2014-12-22.
1714
See the git history of this file for a legacy changelog which describes changes
1815
made prior to the migration to git around 2017.
1916

@@ -35,6 +32,12 @@ To lint or check for styling, run
3532
npm run lint
3633
```
3734

35+
To fix all possible linting errors, run
36+
37+
```sh
38+
npm run fix
39+
```
40+
3841
To run unit test, run
3942

4043
```sh

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "www-epivis",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"private": true,
55
"license": "MIT",
66
"description": "",

src/components/LeftMenu.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
border-right: 1px solid grey;
3434
display: flex;
3535
flex-direction: column;
36+
max-width: 20em;
3637
}
3738
.tree {
3839
margin-top: 1em;

src/components/TopMenu.svelte

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
}
4444
4545
function keyPress(e: KeyboardEvent) {
46+
if (e.target instanceof HTMLInputElement || e.target instanceof HTMLTextAreaElement) {
47+
return;
48+
}
4649
switch (e.key) {
4750
case 'f':
4851
if (chart) {

src/components/tree/TreeInnerNode.svelte

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020

2121
<div class="tv_node">
2222
<span on:click={toggleExpanded}>
23-
<Fa icon={expanded ? faChevronDown : faChevronRight} style="width: 0.9em" />
24-
{node.title}
23+
<Fa icon={expanded ? faChevronDown : faChevronRight} style="width: 0.9em; margin-right: 0.5em" />
24+
<span>
25+
{node.title}
26+
</span>
2527
</span>
2628
{#if expanded}
2729
{#each node.datasets as child (child.title)}
@@ -40,5 +42,7 @@
4042
}
4143
div.tv_node > span {
4244
cursor: pointer;
45+
display: flex;
46+
align-items: center;
4347
}
4448
</style>

src/components/tree/TreeLeafNode.svelte

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@
2424
title="click to toggle the visibility of this dataset"
2525
uk-tooltip="pos: right"
2626
>
27-
<Fa icon={selected ? faEye : faEyeSlash} {color} style="width: 1em" />
28-
{node.title}
27+
<Fa icon={selected ? faEye : faEyeSlash} {color} style="width: 1em; margin-right: 0.5em" />
28+
<span>
29+
{node.title}
30+
</span>
2931
</div>
3032

3133
<style>
@@ -34,6 +36,8 @@
3436
cursor: pointer;
3537
opacity: 0.8;
3638
transition: opacity 0.125s ease-in-out;
39+
display: flex;
40+
align-items: center;
3741
}
3842
div.tv_node.selected {
3943
opacity: 1;

0 commit comments

Comments
 (0)