Skip to content

Commit 6c9986d

Browse files
ciaranschutteCiaran Schutte
and
Ciaran Schutte
authored
980 register sample page (#79)
* add register sample menu item * add registration route add route and update link * styling * step1 instructions, file template download * file upload functionality * add boolean toggle flags for instruction flow * add handle for register * cleanup * clinical schema version gql query * move gql quries to root folder * fix gql imports * content header extensible * add no data comp * add FilePreview * add Error notification * update Prettier * get clinical data query working * add gql upload client link chain * Cleanup, apollo-upload-client, layout * progress bar rework * fix headers on table * handle clear eg * refetch on upload * cleanup table typing conflicts * add modal config * add modal * add toasts * fix imports, paths, vars etc in registermodal * add path constants * move file preview into own file * submission status gql + hook added * remove temp button * export to tsv and display util * upload error styling * download error report * update copyrights * strings, urls - updates * add global loader * add dashboard page success after register * styling * use gql generated types * add dict version query * clean up FileError * copyrights * css cleanup * add global loader * sidemenu * fix typings * ts fix * more type fixes * fix TS errors * fix eslint errors --------- Co-authored-by: Ciaran Schutte <[email protected]>
1 parent e0f6974 commit 6c9986d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+6141
-2332
lines changed

Diff for: .eslintrc.js

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
/* eslint-env node */
22
module.exports = {
33
extends: [
4-
'eslint:recommended',
5-
'plugin:@typescript-eslint/recommended',
6-
'next/core-web-vitals',
7-
'prettier',
4+
"eslint:recommended",
5+
"plugin:@typescript-eslint/recommended",
6+
"next/core-web-vitals",
7+
"prettier",
88
],
9-
parser: '@typescript-eslint/parser',
10-
plugins: ['@typescript-eslint'],
9+
ignorePatterns: ["src/__generated__/**/*"],
10+
parser: "@typescript-eslint/parser",
11+
plugins: ["@typescript-eslint"],
1112
root: true,
1213
};

Diff for: package-lock.json

+133-58
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+16-4
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,30 @@
99
"lint": "next lint",
1010
"prepare": "husky install",
1111
"test": "echo 'Add tests please :)'",
12-
"gql-compile": "graphql-codegen",
13-
"gql-watch": "graphql-codegen -w"
12+
"gql:compile": "graphql-codegen",
13+
"gql:watch": "graphql-codegen -w"
1414
},
1515
"dependencies": {
1616
"@apollo/client": "^3.8.1",
1717
"@hookform/resolvers": "^3.1.1",
1818
"@icgc-argo/ego-token-utils": "^8.2.0",
1919
"@icgc-argo/uikit": "^3.0.1",
2020
"@types/url-join": "^4.0.1",
21+
"apollo-upload-client": "^17.0.0",
22+
"date-fns": "^2.30.0",
2123
"dotenv": "^16.3.1",
2224
"graphql": "^16.8.0",
2325
"js-cookie": "^3.0.5",
2426
"lodash": "^4.17.21",
25-
"next": "^13.4.12",
27+
"next": "^13.4.19",
28+
"pluralize": "^8.0.0",
2629
"react": "18.2.0",
2730
"react-dom": "18.2.0",
2831
"react-google-recaptcha": "^3.1.0",
2932
"react-grid-system": "^8.1.9",
3033
"react-hook-form": "^7.45.1",
3134
"react-query": "^3.39.3",
35+
"react-transition-group": "^4.4.5",
3236
"url-join": "^5.0.0",
3337
"zod": "^3.21.4"
3438
},
@@ -40,24 +44,32 @@
4044
"@graphql-codegen/cli": "^5.0.0",
4145
"@graphql-codegen/client-preset": "^4.1.0",
4246
"@parcel/watcher": "^2.2.0",
47+
"@types/apollo-upload-client": "^17.0.2",
4348
"@types/js-cookie": "^3.0.3",
4449
"@types/lodash": "^4.14.195",
4550
"@types/node": "20.2.3",
51+
"@types/pluralize": "^0.0.30",
4652
"@types/react": "18.2.7",
4753
"@types/react-dom": "18.2.4",
4854
"@types/react-google-recaptcha": "^2.1.5",
55+
"@types/react-transition-group": "^4.4.6",
4956
"@typescript-eslint/eslint-plugin": "^5.59.7",
5057
"@typescript-eslint/parser": "^5.59.7",
5158
"eslint": "^8.41.0",
5259
"eslint-config-next": "13.4.3",
5360
"eslint-config-prettier": "^8.8.0",
5461
"husky": "^8.0.3",
5562
"lint-staged": "^13.2.2",
56-
"prettier": "2.8.8",
63+
"prettier": "^3.0.3",
5764
"prettier-plugin-organize-imports": "^3.2.2",
5865
"typescript": "^5.1.6"
5966
},
6067
"lint-staged": {
6168
"**/*": "prettier --write --ignore-unknown"
69+
},
70+
"prettier": {
71+
"plugins": [
72+
"prettier-plugin-organize-imports"
73+
]
6274
}
6375
}

Diff for: public/assets/beakers.svg

+25
Loading

Diff for: src/__generated__/fragment-masking.ts

+57-43
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)