Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add news post for 1.2 release #5

Merged
merged 2 commits into from
Feb 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added dist/assets/news/export_cohorts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/news/new_session.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions dist/pages/NewsPage.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/pages/NewsPage.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "coral_public",
"description": "Coral is a web-based cohort analysis tool to interactively create, refine, and analyze patient cohorts.",
"homepage": "https://caleydo.org",
"version": "1.1.0",
"version": "1.2.0",
"author": {
"name": "PatrickAdelberger",
"email": "coral@caleydo.org",
Expand Down Expand Up @@ -54,7 +54,7 @@
"node": ">= 6"
},
"dependencies": {
"coral": "github:Caleydo/coral#develop",
"coral": "github:Caleydo/coral#semver:^1.2.0",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-router-dom": "^5.2.0"
Expand Down
Binary file added src/assets/news/export_cohorts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/news/new_session.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions src/pages/NewsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,50 @@ import {Link} from 'react-router-dom';
import confetti from 'canvas-confetti';

import coralHero from '../assets/coral-hero.png';
import newSession from '../assets/news/new_session.png';
import exportCohorts from '../assets/news/export_cohorts.png';
import {hasCookie} from 'coral';

const sections = [
{
id: 'v1-2',
name: 'Version 1.2',
date: '2022-24-02',
markup: () => (
<>
<p className="lead text-muted">
This update contains new <b>features</b>, <b>style changes</b>, and structural changes of the application. The most important changes are:
</p>
<h5 className="mt-4">Export Cohorts</h5>
<ul>
<li>
It is now possible to export cohorts as a CSV-file from Coral and continue the analysis elsewhere.
</li>
<li>
<b>How to</b>: Open the <i>Inspect Items</i> operation and add any attributes you would like to include in the export.
As soon as the data is loaded the export button will be displayed in the top right of the operation area.
The exported data will match the displayed table.
</li>
</ul>
<img className="img-fluid border border-gray-300" src={exportCohorts} alt="Export cohorts" />

<h5 className="mt-4">Start a New Session</h5>
<ul>
<li>
You can now start a new session by clicking the <b>Start New Session</b> button next to the available datasets.
</li>
</ul>
<img className="img-fluid border border-gray-300" src={newSession} alt="Start new session" />

<h5 className="mt-4">Briefly noted</h5>
<ul>
<li>
New default font: <b>Roboto</b>.
</li>
</ul>
</>
)
},
{
id: 'v1-0',
name: 'Version 1.0',
Expand Down