Skip to content

Commit

Permalink
Merge pull request #56 from dms-viz/55-markdown-descriptions-in-the-j…
Browse files Browse the repository at this point in the history
…son-specification

Accomodate markdown descriptions in the `.json` specification
  • Loading branch information
WillHannon-MCB authored Oct 20, 2023
2 parents 191114b + c4d360d commit d4bb687
Show file tree
Hide file tree
Showing 7 changed files with 28,470 additions and 203 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,3 +277,21 @@
### Removed

- N/A

## [0.3.0] - 2023-10-19

### Added

- Markdown can now be rendered from both a URL and a local JSON file.

### Changed

- Refactored Main.js entrypoint to the application to be a bit simpler.

### Deprecated

- N/A

### Removed

- N/A
13 changes: 13 additions & 0 deletions v0/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -521,5 +521,18 @@ kbd {
font-weight: bold;
}

.spinner {
border: 5px solid rgba(255,255,255,0.3);
border-radius: 50%;
border-top: 5px solid #000;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}


28,200 changes: 28,199 additions & 1 deletion v0/data/example.json

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions v0/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,25 @@ <h1 class="logo">
><i class="bx bx-x"></i
></span>
</div>
<!-- Add this somewhere in your body -->
<div
id="loadingScreen"
style="
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.8);
display: none;
justify-content: center;
align-items: center;
z-index: 1000;
"
>
<div class="spinner"></div>
<!-- You can use any loading spinner or gif here -->
</div>
<!-- Chart contains the main D3 chart -->
<div class="chart" id="chart"></div>
<!-- Protein contains the protein(s) -->
Expand Down
Loading

0 comments on commit d4bb687

Please sign in to comment.