Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
180 commits
Select commit Hold shift + click to select a range
5896437
remove override name in quay build (#17)
craigrbarnes Mar 13, 2024
5b592c4
Update package.json (#19)
craigrbarnes Mar 18, 2024
831872b
Add Gen3FF updates to sample app (#23)
craigrbarnes Apr 25, 2024
9ee2dc1
fix broken links/missing images (#24)
craigrbarnes Apr 25, 2024
d0305e9
Chore/update to Gen3.2 version 0.10.30 (#29)
craigrbarnes Jun 7, 2024
e83cb6f
Chore/patch 0 10 31 (#36)
craigrbarnes Jun 24, 2024
7fda838
Update to 0.10.44 (#41)
craigrbarnes Sep 9, 2024
ead264e
update changed to support v0.10.48 (#46)
craigrbarnes Nov 6, 2024
60e349a
Chore/0.10.51 (#49)
craigrbarnes Nov 13, 2024
f55e188
Update to Gen3.2 Release 0.10.55 (#53)
craigrbarnes Dec 8, 2024
496e95e
Update CustomCellRenderers.tsx to DicomLink (#52)
AlbertSnows Dec 8, 2024
6dd0e8c
update git workflows node version, remove automated npm update (#55)
ocshawn Dec 17, 2024
b63788d
Update/release 0 10 67 (#57)
craigrbarnes Dec 19, 2024
e6c7543
update build to use start.sh for automation (#59)
ocshawn Dec 20, 2024
740ce37
update to 0.10.73 (#63)
craigrbarnes Jan 15, 2025
337e53a
Chore/update docker (#64)
craigrbarnes Jan 15, 2025
08029b0
Chore/update 0.10.74 (#66)
craigrbarnes Jan 24, 2025
de73530
Added Loading.tsx component and integrated Suspense (#65)
AdvaithMahendrakar12 Jan 24, 2025
2a1c773
update to 0.10.77 (#67)
craigrbarnes Jan 27, 2025
fa75647
update to 0.10.78 (#68)
craigrbarnes Jan 28, 2025
d16da33
update to 0.10.79 (#71)
craigrbarnes Feb 3, 2025
f006b2d
update to 0.10.80 (#73)
craigrbarnes Feb 11, 2025
a1ad1ce
add mantine theme that uses config colors (#76)
ocshawn Mar 5, 2025
4e48b80
update to 0.10.81 (#77)
craigrbarnes Mar 5, 2025
980c6bb
update to eslint 9 (#78)
craigrbarnes Mar 11, 2025
6264092
cleanup navigation to point ot pages, update gen3 to 0.10.82, rename …
ocshawn Mar 13, 2025
a152a9d
fixs for precommit security check
Mar 19, 2025
feeeec1
Merge pull request #81 from uc-cdis/fix/security
ocshawn Mar 19, 2025
0f89f4d
fix: package.json & package-lock.json to reduce vulnerabilities (#82)
cmlsn Mar 24, 2025
757898c
update next dependencies to 15.2.4
Mar 26, 2025
404b193
Merge pull request #83 from uc-cdis/chore/updateNext
ocshawn Mar 26, 2025
baf2375
Update README.md (#84)
craigrbarnes Mar 26, 2025
37ce315
update to @gen3/ff 0.10.85 (#85)
craigrbarnes Mar 26, 2025
6a78c01
Update README.md (#86)
craigrbarnes Mar 27, 2025
27d6970
Fix docker start (#88)
craigrbarnes Mar 31, 2025
787eb5f
update env files (#89)
craigrbarnes Apr 2, 2025
b9581a4
Release 0.10.89 (#91)
craigrbarnes Apr 8, 2025
05ce9ea
update ContentDatabase paths (#93)
craigrbarnes Apr 9, 2025
0c7a81f
update apps config path (#94)
craigrbarnes Apr 11, 2025
83ebacb
add theme colors into safelist (#95)
craigrbarnes Apr 11, 2025
b321594
update to 0.10.91 (#96)
craigrbarnes Apr 14, 2025
ee9e703
fix version to 0.10.91 (#97)
craigrbarnes Apr 16, 2025
489ef21
update to 0.10.92 (#104)
craigrbarnes Apr 29, 2025
764a4ab
update to node 22.11, gen3FF 0.10.94 (#107)
craigrbarnes Jun 12, 2025
e657625
update git node version
Jul 8, 2025
b440144
update git node version
ocshawn Jul 8, 2025
3e73a84
update gen3 to 0.11.11
Jul 8, 2025
1ec8788
update gen3 to 0.11.11
ocshawn Jul 8, 2025
343e0df
add favicon (#109)
ocshawn Jul 11, 2025
6a7428d
Add Datadog/remove faro (#105)
craigrbarnes Jul 11, 2025
a41ac46
update gen3 to 0.11.18
Jul 21, 2025
d6e349d
update gen3 to 0.11.18
ocshawn Jul 21, 2025
64a1108
update gen3 to 0.11.19 and add footer links
Jul 22, 2025
f10eb91
Merge pull request #122 from uc-cdis/chore/gen3ff19
ocshawn Jul 22, 2025
8ce0a96
update to Gen3 FEF 0.11.43 (#127)
craigrbarnes Oct 9, 2025
c37fcda
add GradioApp support (#128)
craigrbarnes Oct 9, 2025
8b15c3f
update dependencies
Oct 14, 2025
5504408
update more dependencies
Oct 14, 2025
611a601
update more dependencies
Oct 14, 2025
af3ecaa
Merge pull request #135 from uc-cdis/chore/updateDependencies
ocshawn Oct 14, 2025
edf4ad8
add the hugging face apps (#129)
craigrbarnes Oct 16, 2025
a8c7735
update tailwind paths for Gen3/frontend (#136)
craigrbarnes Oct 17, 2025
9e6e6ce
update gen3 version and package lock
Oct 17, 2025
d7d33c2
Merge pull request #137 from uc-cdis/chore/updateGen3
ocshawn Oct 17, 2025
3277b63
update gen3 to 0.11.47
Oct 21, 2025
0ce6d07
update gen3 to 0.11.48 remove unneeded cookies-next
Oct 21, 2025
baac1ce
Merge pull request #138 from uc-cdis/chore/updateGen3_47
ocshawn Oct 21, 2025
9736e5c
Feat/footer (#139)
craigrbarnes Oct 28, 2025
ac909c9
partially revert footer changed (#140)
craigrbarnes Oct 28, 2025
e97eac1
update docker image for faster builds (#141)
craigrbarnes Nov 14, 2025
6b836d6
Changes to landingPage (#142)
krishnaa05 Nov 14, 2025
a9fbabc
Revert landingPage change (#143)
krishnaa05 Nov 14, 2025
82e58f8
Update from old Gen3 Docs to new Gen3 Docs link (#146)
smvgarcia Nov 20, 2025
af1c5bd
Update to v0.11.58 (#147)
craigrbarnes Nov 20, 2025
af3dae2
update to 0.11.59 (#148)
craigrbarnes Nov 20, 2025
a144664
update node version in ci
Nov 21, 2025
d57d9b8
Merge pull request #149 from uc-cdis/chore/updateCi
ocshawn Nov 21, 2025
45d8934
update to nextjs 15.5.7 (#153)
craigrbarnes Dec 4, 2025
eb223a9
Add Authz Middleware (#156)
craigrbarnes Dec 5, 2025
2e9dd67
Setup for data dog
Dec 8, 2025
67e230e
Merge pull request #157 from uc-cdis/feat/ddsetup
ocshawn Dec 8, 2025
c595fe3
Add missing icons and update tailwind config (#158)
craigrbarnes Dec 9, 2025
4cb1418
refactor data dog
Dec 10, 2025
b92b563
Merge pull request #159 from uc-cdis/refactor/dd
ocshawn Dec 10, 2025
4c7edc9
update to NextJS 15.5.9 (#162)
craigrbarnes Dec 12, 2025
6992d7c
Add linkWithIconAndTooltip custom cell renderer (#166)
paulineribeyre Dec 23, 2025
08a4b8e
fix a bug when app page is not found react expecting null
Jan 6, 2026
bdfca05
Merge pull request #168 from uc-cdis/fix/noApp
ocshawn Jan 6, 2026
8aaf541
Update middleware to use code generation (#167)
craigrbarnes Jan 6, 2026
14e398a
update dependencies (#169)
craigrbarnes Jan 8, 2026
6f8fecd
update dependencies (#171)
craigrbarnes Jan 13, 2026
33570d0
update gen3 to 12.10
Jan 14, 2026
a304dce
Merge pull request #172 from uc-cdis/chore/release_0.12.10
ocshawn Jan 14, 2026
093ec4a
update to node24 (#173)
craigrbarnes Jan 15, 2026
f9b6458
Remove authz_default.json (#176)
craigrbarnes Jan 19, 2026
ba21d6d
dont load datadog if values are not set, add comment for adding values
Jan 20, 2026
a416b04
Merge pull request #177 from uc-cdis/feat/dataDogCleanup
ocshawn Jan 20, 2026
1c3e61c
Update copyright year and owner in LICENSE file (#181)
craigrbarnes Jan 23, 2026
f9100da
Change license to Apache Software License 2.0 (#182)
craigrbarnes Jan 23, 2026
4b494eb
Bump Node.js version to 24.13.0 and update Dockerfile and CI workflow…
craigrbarnes Jan 26, 2026
ac6c860
GFF-281: pull config and mount on volume (#98)
craigrbarnes Feb 9, 2026
68c3126
Associate Tailwind theme names to mantine CSS variables and load them…
craigrbarnes Feb 11, 2026
2259dc9
update gen3 to 0.12.22
Feb 19, 2026
1e15565
update version number
Feb 19, 2026
35a2168
Merge pull request #188 from uc-cdis/chore/updateGen322
ocshawn Feb 19, 2026
80e46f5
Update discovery.json (#189)
smvgarcia Feb 19, 2026
aeee08d
Add Test Config for CI (#186)
krishnaa05 Feb 19, 2026
7111d9e
Skip CI image build and integration tests for forked repository (#191)
krishnaa05 Feb 27, 2026
194a821
Add API rewrites for development environment and bump Gen3 dependenci…
craigrbarnes Feb 27, 2026
062907c
Fix workflow fork check
Mar 3, 2026
e42965a
Merge pull request #194 from uc-cdis/fix/workflowForkCheck
ocshawn Mar 3, 2026
cc29947
Update package lock remove victory and validator (#196)
ocshawn Mar 3, 2026
796fa89
Update to version 0.12.25 (#197)
craigrbarnes Mar 4, 2026
e89fc9c
Update node to 24.14.0 and npm to 11.9.0
Mar 12, 2026
584ced0
Add dependabot for frontend packages
krishnaa05 Mar 12, 2026
5da889c
Update update_dependencies.yaml
krishnaa05 Mar 12, 2026
d0e26f6
Merge pull request #200 from uc-cdis/chore/updateNode
ocshawn Mar 12, 2026
ab85ed9
update to Gen3 0.12.27 (#202)
craigrbarnes Mar 12, 2026
41d02ea
Update integration_tests.yaml
krishnaa05 Mar 12, 2026
3c9f3f6
Merge pull request #201 from uc-cdis/chore/add_depandabot
ocshawn Mar 12, 2026
4a0ac1c
Merge pull request #203 from uc-cdis/chore/dont_run_ci_on_forked_repo
ocshawn Mar 12, 2026
14090e3
test fix for non gen3 directory builds
Mar 12, 2026
3c6ec0d
Fix dependabot failures (#205)
krishnaa05 Mar 13, 2026
7afb6cf
test fix for non gen3 directory builds 2
Mar 13, 2026
5dc3989
move dependbot files to correct location
Mar 13, 2026
af39b88
move dependbot files to correct location 2
Mar 13, 2026
af8ed2d
fix yaml errors
Mar 13, 2026
1d24435
fix yaml errors
Mar 13, 2026
db52485
fix yaml errors
Mar 13, 2026
4fbfc94
Merge branch 'main' into fix/bildNonStandard
ocshawn Mar 13, 2026
e95b972
fix yaml errors
Mar 13, 2026
ba01a94
Merge pull request #204 from uc-cdis/fix/bildNonStandard
ocshawn Mar 13, 2026
25d68b5
Log publicConfig for debugging (#209)
craigrbarnes Mar 20, 2026
7c3941d
Add IGV app registration and update Gen3 dependencies to v0.12.30 (#210)
craigrbarnes Mar 23, 2026
21d6bde
Enhance GitHub Actions workflow with dynamic tag computation and Dock…
craigrbarnes Mar 24, 2026
3fdc45d
Update to 0.12.31 (#213)
craigrbarnes Mar 26, 2026
3fbe332
MC2DP-725: handle auth wildcards for sub directories
Mar 26, 2026
1e40196
Merge pull request #214 from uc-cdis/feat/authZhandleWildecards
ocshawn Mar 26, 2026
a78ebcb
update color vars
Mar 26, 2026
059f0a6
Merge pull request #215 from uc-cdis/feat/updateColors
ocshawn Mar 27, 2026
476cc34
Update to 0.12.31 (#216)
craigrbarnes Mar 27, 2026
406e47d
fix login cionfig values
Mar 27, 2026
a534933
Merge pull request #217 from uc-cdis/fix/configValues
ocshawn Mar 27, 2026
2654d4f
Bump @gen3 dependencies to version 0.12.32 in package.json and packag…
craigrbarnes Mar 28, 2026
79bbb5f
set global DD verable names
Mar 30, 2026
aed5372
Merge pull request #219 from uc-cdis/feat/envDDvareabls
ocshawn Mar 30, 2026
7a394a6
cleanup env files
Mar 31, 2026
34bb0a9
add cron to automaticly open prs to sync forked repos
Mar 31, 2026
b2346d0
Merge pull request #220 from uc-cdis/feat/cleanupEnv
ocshawn Mar 31, 2026
432c291
Merge pull request #221 from uc-cdis/feat/automateSync
ocshawn Mar 31, 2026
080cae0
Bump Gen3 dependencies to version 0.12.33 and replace `pluralize` wit…
craigrbarnes Mar 31, 2026
1bc38cc
run npm audit fix, update package lock
Mar 31, 2026
be6b329
Merge pull request #222 from uc-cdis/chore/release_0.12.33
ocshawn Mar 31, 2026
f33f7e4
Merge pull request #223 from uc-cdis/chore/auditFix
ocshawn Mar 31, 2026
a318345
Update to React 19.2 (#224)
craigrbarnes Apr 8, 2026
c401624
add login page to next config for local dev
Apr 21, 2026
0b25278
Merge pull request #225 from uc-cdis/feat/addLoginToNext
ocshawn Apr 21, 2026
3ee11b5
(MC2DP-649): enable config of 404 and 403 pages
Apr 23, 2026
87069ba
(MC2DP-649): update FF to 0.12.35
Apr 24, 2026
af368e2
(MC2DP-649): fix missing comma
Apr 24, 2026
23f7856
MC2DP-739: change config to new default config
Apr 27, 2026
27fb9a5
MC2DP-739: update to latest ff
Apr 28, 2026
f292bb3
Merge pull request #226 from uc-cdis/feat/errorPageConfig
ocshawn Apr 28, 2026
173878d
update package lock
Apr 28, 2026
732537f
Merge pull request #227 from uc-cdis/chore/updatePackageLock
ocshawn Apr 28, 2026
15be06c
fix authentication logic error, remove unused feature
Apr 29, 2026
57c02b0
remove comment
Apr 29, 2026
0bde6e1
move things around
Apr 29, 2026
0d102f5
Merge pull request #228 from uc-cdis/fix/auth
ocshawn Apr 29, 2026
bfb0a10
update next version
May 7, 2026
d9f2b69
Merge pull request #230 from uc-cdis/chore/updateNext
ocshawn May 7, 2026
1ead316
update FF to 0.12.41
May 8, 2026
fb25f01
Merge branch 'main' into chore/ff41
ocshawn May 8, 2026
ac4e8f9
Merge pull request #231 from uc-cdis/chore/ff41
ocshawn May 8, 2026
4f7ba59
Update Gen3 dependencies to v0.12.42 and Mantine to v9.3.0 (#235)
craigrbarnes Jun 3, 2026
525d810
Updates commons app to nextjs 16 (#236)
craigrbarnes Jun 8, 2026
14738ec
Gen3 dependencies to v0.12.44; update `package.json` and `package-lo…
craigrbarnes Jun 15, 2026
fcbbbd3
run npm audit fix
Jun 23, 2026
c47c33f
Merge pull request #245 from uc-cdis/chore/npmAuditFix
ocshawn Jun 23, 2026
35b9b39
Update dataLibrary.json (#249)
krishnaa05 Jul 2, 2026
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
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
11 changes: 5 additions & 6 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
GEN3_COMMONS_NAME=gen3
NEXT_PUBLIC_GEN3_API=https://localhost:3010
NEXT_PUBLIC_GEN3_DOMAIN=https://localhost:3010

# set these if you want to use different endpoints
#NEXT_PUBLIC_GEN3_GUPPY_API=
NEXT_PUBLIC_GEN3_COMMONS_NAME=gen3
NEXT_PUBLIC_GEN3_API=http://localhost:3000
# uncomment and set the follow to connect the development frontend to a Gen3 commons backend. Note that the
# configuration in config needs to match the backend.
NEXT_PUBLIC_GEN3_API_TARGET=https://gen3.datacommons.io
9 changes: 6 additions & 3 deletions .env.production
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
GEN3_COMMONS_NAME=gen3
NEXT_PUBLIC_GEN3_API=https://localhost/
NEXT_PUBLIC_GEN3_DOMAIN=https://localhost/
NEXT_PUBLIC_GEN3_COMMONS_NAME=gen3
# if you are using a config based deployment set these in your helm values.yaml file
# Set this for DATADOG tracking
# DATACOMMONS="commons_frontend_app"
# DATADOG_APPLICATION_ID=""
# DATADOG_CLIENT_TOKEN=""
2 changes: 2 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
NEXT_PUBLIC_GEN3_COMMONS_NAME=ci
DATACOMMONS="ci_commons_frontend_app"
10 changes: 10 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
allow:
- dependency-name: "@gen3/frontend"
21 changes: 11 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Setup npm
run: npm install -g npm@10.2.4
- name: Install modules
run: npm ci
- name: Run ESLint
run: npm run lint
- uses: actions/checkout@v2
- uses: actions/setup-node@v4.1.0
with:
node-version: 24.15.0
- name: Get Version
run: npm -v
- name: Install modules

run: npm ci
- name: Run ESLint
run: npm run lint
36 changes: 36 additions & 0 deletions .github/workflows/ci_image_build_push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build Image and Push to Quay for CI

on: push

jobs:
compute_tag:
if: ${{ !github.event.repository.fork }}
name: Compute tag name
runs-on: ubuntu-latest
outputs:
OVERRIDE_TAG_NAME: ${{ steps.set_tag.outputs.OVERRIDE_TAG_NAME }}

steps:
- name: Compute OVERRIDE_TAG_NAME
id: set_tag
run: |
CLEAN_BRANCH=$(echo "$GITHUB_REF_NAME" | tr '/' '_')
OVERRIDE_TAG_NAME="${CLEAN_BRANCH}_test"

# Set output so the job can pass it to another workflow
echo "OVERRIDE_TAG_NAME=$OVERRIDE_TAG_NAME" >> "$GITHUB_OUTPUT"
echo "Computed OVERRIDE_TAG_NAME: $OVERRIDE_TAG_NAME"
ci:
if: ${{ !github.event.repository.fork }}
name: Build Image and Push to Quay for CI
needs: compute_tag
uses: uc-cdis/.github/.github/workflows/image_build_push_native.yaml@master
with:
USE_QUAY_ONLY: true
DOCKERFILE_LOCATION: "Dockerfile.test"
OVERRIDE_TAG_NAME: ${{ needs.compute_tag.outputs.OVERRIDE_TAG_NAME }}
secrets:
ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }}
40 changes: 37 additions & 3 deletions .github/workflows/image_build_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,52 @@ name: Build Image and Push to Quay
on: push

jobs:
compute_tag:
name: Compute tag name
runs-on: ubuntu-latest
outputs:
OVERRIDE_TAG_NAME: ${{ steps.set_tag.outputs.OVERRIDE_TAG_NAME }}
steps:
- name: Compute OVERRIDE_TAG_NAME
id: set_tag
shell: bash
run: |
CLEAN_BRANCH=$(echo "$GITHUB_REF_NAME" | tr '/' '_')
echo "OVERRIDE_TAG_NAME=${CLEAN_BRANCH}" >> "$GITHUB_OUTPUT"

select_build:
name: Select build settings
runs-on: ubuntu-latest
outputs:
DOCKERFILE_LOCATION: ${{ steps.pick.outputs.DOCKERFILE_LOCATION }}
steps:
- name: Pick Dockerfile
id: pick
shell: bash
run: |
if [ "${{ github.event.repository.fork }}" = "true" ]; then
echo "DOCKERFILE_LOCATION=Dockerfile.production" >> "$GITHUB_OUTPUT"
else
echo "DOCKERFILE_LOCATION=Dockerfile.config" >> "$GITHUB_OUTPUT"
fi

Security:
name: Security Pipeline
uses: uc-cdis/.github/.github/workflows/securitypipeline.yaml@master
with:
python-poetry: 'false'
secrets: inherit
secrets: inherit # pragma: allowlist-secret

ci:
name: Build Image and Push to Quay
uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master
needs:
- compute_tag
- select_build
uses: uc-cdis/.github/.github/workflows/image_build_push_native.yaml@master
with:
OVERRIDE_REPO_NAME: "commons-frontend-app"
USE_QUAY_ONLY: true
DOCKERFILE_LOCATION: ${{ needs.select_build.outputs.DOCKERFILE_LOCATION }}
OVERRIDE_TAG_NAME: ${{ needs.compute_tag.outputs.OVERRIDE_TAG_NAME }}
secrets:
ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/integration_tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Integration Tests

on: pull_request

jobs:
integration_tests:
if: ${{ !github.event.repository.fork }}
name: Integration tests
uses: uc-cdis/.github/.github/workflows/integration_tests.yaml@master
with:
CI_ENV: gen3ff
secrets:
CI_TEST_ORCID_USERID: ${{ secrets.CI_TEST_ORCID_USERID }}
CI_TEST_ORCID_PASSWORD: ${{ secrets.CI_TEST_ORCID_PASSWORD }}
CI_TEST_RAS_EMAIL: ${{ secrets.CI_TEST_RAS_EMAIL }}
CI_TEST_RAS_PASSWORD: ${{ secrets.CI_TEST_RAS_PASSWORD }}
CI_TEST_RAS_2_EMAIL: ${{ secrets.CI_TEST_RAS_2_EMAIL }}
CI_TEST_RAS_2_PASSWORD: ${{ secrets.CI_TEST_RAS_2_PASSWORD }}
CI_SLACK_BOT_TOKEN: ${{ secrets.CI_SLACK_BOT_TOKEN }}
CI_SLACK_CHANNEL_ID: ${{ secrets.CI_SLACK_CHANNEL_ID }}
EKS_CLUSTER_NAME: ${{ secrets.EKS_CLUSTER_NAME }}
16 changes: 16 additions & 0 deletions .github/workflows/sync_fef.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Sync from FEF Template Repo

on:
# 1. Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# 2. Runs on a schedule (the 1st of the month and the 23rd to pick up any changes)
schedule:
- cron: '0 3 1,23 * *'

jobs:
sync:
if: ${{ github.event.repository.fork }}
uses: uc-cdis/.github/.github/workflows/gen3_Sync_FeF.yaml@master
secrets:
GH_TOKEN: ${{ secrets.PLANXCYBORG_PAT }}
28 changes: 28 additions & 0 deletions .github/workflows/update_dependencies.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Update package dependencies

on:
pull_request:
types: [opened, synchronize]
paths:
- 'package.json'
- 'package-lock.json'

jobs:
update-package-dependencies:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.title, 'bump @gen3/frontend')
steps:
- uses: actions/checkout@v6
- name: Set up Node
uses: actions/setup-node@v6
with:
node-version: '24.15.0'
- name: Install Dependencies
run: npm install
- name: Update @gen3/core and @gen3/toolsff
run: |
npm install @gen3/core@latest @gen3/toolsff@latest
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git commit -am "Update @gen3/core and @gen3/toolsff"
git push
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
# misc
.DS_Store
*.pem
.idea

# debug
npm-debug.log*
Expand Down
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.DS_Store
node_modules
.next/cache/*
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v24.15.0
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
.next
public
dist
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"tabWidth": 2,
"useTabs": false,
"trailingComma": "all",
"singleQuote": true
}
60 changes: 0 additions & 60 deletions Dockerfile

This file was deleted.

64 changes: 64 additions & 0 deletions Dockerfile.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# docker build -t ff .
# docker run -p 3000:3000 -it ff
# Build stage
FROM --platform=$BUILDPLATFORM node:24.15.0-trixie-slim AS builder

ARG TARGETPLATFORM
ARG BUILDPLATFORM
WORKDIR /gen3

# Copy dependency files first for better caching
COPY package.json package-lock.json ./

# Install ALL dependencies once (including dev deps for build)
RUN npm config set fetch-retries 5 && \
npm config set fetch-retry-mintimeout 20000 && \
npm config set fetch-retry-maxtimeout 120000 && \
npm ci && \
npm cache clean --force

# Copy necessary config files
COPY next.config.js tsconfig.json tailwind.config.js postcss.config.js ./
COPY .env.production ./

# Copy source files
COPY ./src ./src
COPY ./public ./public
COPY ./config ./config
COPY ./start_with_config.sh ./start.sh

# Build and prune
RUN npm run build:volume && \
npm prune --omit=dev;

FROM node:24.15.0-trixie-slim AS runner

WORKDIR /gen3

RUN addgroup --system --gid 1001 nextjs && \
adduser --system --uid 1001 nextjs

COPY --from=builder --chown=nextjs:nextjs /gen3/.next/standalone ./.next/standalone
COPY --from=builder --chown=nextjs:nextjs /gen3/.next/static ./.next/standalone/.next/static
COPY --from=builder --chown=nextjs:nextjs /gen3/start.sh ./start.sh
COPY --from=builder --chown=nextjs:nextjs /gen3/config ./config
COPY --from=builder --chown=nextjs:nextjs /gen3/public ./public

#VOLUME /gen3/config
#VOLUME /gen3/public

RUN mkdir -p /gen3/.next/cache/images && \
chmod -R 777 /gen3/.next/cache && \
chown -R nextjs:nextjs /gen3/.next/cache

RUN chmod +x start.sh && \
chown -R nextjs:nextjs start.sh

RUN rm -rf .next/standalone/config

RUN cd .next/standalone && \
ln -s ../../config ./config && \
ln -s ../../public ./public

USER nextjs:nextjs
CMD ["sh", "./start.sh"]
Loading