From 2b2ba215e90315bcd6977bc327d77abbaf26d719 Mon Sep 17 00:00:00 2001
From: John Konecny <24961694+jfkonecn@users.noreply.github.com>
Date: Fri, 13 Sep 2024 10:15:49 -0400
Subject: [PATCH] Update news 4.21
---
.github/workflows/screenshot-test.yml | 4 +-
src/main/webapp/app/config/constants.tsx | 1 +
.../webapp/app/pages/newsPage/NewsPage.tsx | 1 +
.../app/pages/newsPage/NewsPageContent.tsx | 45 +++++++++++++++++++
src/main/webapp/index.html | 4 +-
5 files changed, 51 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/screenshot-test.yml b/.github/workflows/screenshot-test.yml
index 5748c1037..5c0b19669 100644
--- a/.github/workflows/screenshot-test.yml
+++ b/.github/workflows/screenshot-test.yml
@@ -18,13 +18,13 @@ jobs:
- name: Run the test
run: yarn run screenshot-test-in-docker
- name: Archive screenshots
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v4
if: failure()
with:
name: visual-regression-screenshots
path: /home/runner/work/oncokb-public/oncokb-public/screenshot-test/__latest_snapshots__/
- name: Archive visual regression failures
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v4
if: failure()
with:
name: visual-regression-diff-report
diff --git a/src/main/webapp/app/config/constants.tsx b/src/main/webapp/app/config/constants.tsx
index 0017ff88d..a7f1ca567 100644
--- a/src/main/webapp/app/config/constants.tsx
+++ b/src/main/webapp/app/config/constants.tsx
@@ -800,6 +800,7 @@ export type DataRelease = {
};
export const DATA_RELEASES: DataRelease[] = [
+ { date: '09192024', version: 'v4.21' },
{ date: '08152024', version: 'v4.20' },
{ date: '07042024', version: 'v4.19' },
{ date: '07022024', version: 'v4.18' },
diff --git a/src/main/webapp/app/pages/newsPage/NewsPage.tsx b/src/main/webapp/app/pages/newsPage/NewsPage.tsx
index 1a34720d7..ff93d2764 100644
--- a/src/main/webapp/app/pages/newsPage/NewsPage.tsx
+++ b/src/main/webapp/app/pages/newsPage/NewsPage.tsx
@@ -84,6 +84,7 @@ export default class NewsPage extends React.Component<{