diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cf5fb43..0c5afe3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,6 +2,10 @@ name: build on: [push, workflow_dispatch] +permissions: + contents: write + id-token: write + jobs: build: uses: datavisyn/github-workflows/.github/workflows/build-node.yml@main diff --git a/src/assets/news/export_cohorts.png b/src/assets/news/v120_export_cohorts.png similarity index 100% rename from src/assets/news/export_cohorts.png rename to src/assets/news/v120_export_cohorts.png diff --git a/src/assets/news/new_session.png b/src/assets/news/v120_new_session.png similarity index 100% rename from src/assets/news/new_session.png rename to src/assets/news/v120_new_session.png diff --git a/src/assets/news/v200_plots-without-grid-lines.png b/src/assets/news/v200_plots-without-grid-lines.png new file mode 100644 index 0000000..b817de0 Binary files /dev/null and b/src/assets/news/v200_plots-without-grid-lines.png differ diff --git a/src/pages/NewsPage.tsx b/src/pages/NewsPage.tsx index 33fb3d9..15eb3ae 100644 --- a/src/pages/NewsPage.tsx +++ b/src/pages/NewsPage.tsx @@ -4,11 +4,43 @@ import { Link } from 'react-router-dom'; import confetti from 'canvas-confetti'; import { hasCookie } from 'coral'; + import coralHero from '../assets/coral-hero.png'; -import newSession from '../assets/news/new_session.png'; -import exportCohorts from '../assets/news/export_cohorts.png'; + +import v120_newSession from '../assets/news/v120_new_session.png'; +import v120_exportCohorts from '../assets/news/v120_export_cohorts.png'; + +import v200_plotsWithoutGridLines from '../assets/news/v200_plots-without-grid-lines.png'; + +/** ***************************************************************************************** + * REMINDER: UPDATE THE TEASER ON THE HOME PAGE WHEN ADDING A NEW NEWS ITEM! + ******************************************************************************************** */ const sections = [ + { + id: 'v2-0', + name: 'Version 2.0', + date: '2023-08-11', + markup: () => ( + <> +

+ This update contains several style changes, bugfixes, and structural changes of the application. The most important changes are: +

+
Remove grid lines from visualizations
+

The grid lines in the visualizations have been removed to improve the readability of the visualizations.

+ Plots without grid lines. + +
Fix colors assignment in plots
+

+ Previously, the color assignment for cohorts with the same name (e.g., after filtering two cohorts by Gender: Female) in plots was wrong. We + have fixed this issue and the correct color of the cohort should be assigned now. +

+ +
Select root cohort automatically after onboarding
+

The onboarding is only displayed when users launch the application for the first time. Afterwards, the root cohort is selected automatically.

+ + ), + }, { id: 'v1-2', name: 'Version 1.2', @@ -26,7 +58,7 @@ const sections = [ the export button will be displayed in the top right of the operation area. The exported data will match the displayed table. - Export cohorts + Export cohorts
Start a New Session
- Start new session + Start new session
Briefly noted