Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
bca524d
feat: ✨ add study metadata pages (#12)
megasanjay Sep 7, 2023
24d048f
wip: 🚧 add a login page
megasanjay Sep 7, 2023
8a81913
wip: 🚧 add a login page
megasanjay Sep 8, 2023
d838033
wip: 🚧 update login page
megasanjay Sep 8, 2023
951ce12
wip: 🚧 update login page
megasanjay Sep 8, 2023
094d710
fix: 🐛 fix integrations between backend and frontend (#13)
megasanjay Sep 14, 2023
1d15b40
merge: 🔀 staging into auth
megasanjay Sep 14, 2023
8e9ba0d
feat: ✨ update login and sign up page
megasanjay Sep 15, 2023
47ec939
chore: 🔨 add mermaid graphs
megasanjay Sep 15, 2023
42a9630
chore: 🔨 update er for token blacklist
megasanjay Sep 15, 2023
3ee3666
feat: ✨ add lazy image component
megasanjay Sep 15, 2023
dda3615
fix: 🐛 update home page redirect
megasanjay Sep 15, 2023
859e747
fix: 🐛 message notification on not logged in
megasanjay Sep 15, 2023
d7da2c7
feat: ✨ add mock server for auth testing
megasanjay Sep 16, 2023
1fb0533
chore: 🔨 add email verification table
megasanjay Sep 16, 2023
9fd3e4e
feat: ✨ add logout routes
megasanjay Sep 18, 2023
c0ee85e
feat: ✨ add refresh routes
megasanjay Sep 18, 2023
d1ac7bc
feat: ✨ add access token to requests
megasanjay Sep 19, 2023
c439c75
fix: 🐛 fix types on lazy image
megasanjay Sep 19, 2023
1029a22
fix: 🐛 check for access token existence
megasanjay Sep 19, 2023
84f7d8a
wip: 🚧 add a fetch interceptor
megasanjay Sep 28, 2023
99b759b
fix: 🐛 update er diagram
megasanjay Sep 29, 2023
536edb9
fix: 🐛 remove access token
megasanjay Oct 2, 2023
f5e1e11
fix: 🐛 update transitions
megasanjay Oct 2, 2023
d66b847
feat: ✨ update contributors
megasanjay Oct 2, 2023
b69ea38
chore: 🔨 add token to invited_contributor
megasanjay Oct 3, 2023
c585eeb
feat: ✨ update permissions view
megasanjay Oct 3, 2023
a5b1c1b
feat: ✨ add study owner change button
megasanjay Oct 3, 2023
d3364ae
chore: 🔨 update db er
megasanjay Oct 3, 2023
dc74ce1
fix: 🐛 update contributor delete UI
megasanjay Oct 3, 2023
61f2578
fix: 🐛 hide notifications when datasets are loaded
megasanjay Oct 3, 2023
9eba57e
feat: ✨ add authentication for users (#16)
megasanjay Oct 7, 2023
d5cbb1b
feat: User details requests (#17)
slugb0t Oct 10, 2023
761ce6e
feat: ✨ update dataset metadata pages (#18)
megasanjay Oct 24, 2023
ca07a9b
feat: ✨ update UI for invited users (#19)
megasanjay Oct 26, 2023
5f7b305
feat: ✨ add a file viewer (#20)
megasanjay Nov 1, 2023
bb48cea
feat: ✨ add contributor email to login code
megasanjay Nov 2, 2023
a9e4583
feat: ✨ add sign up button
megasanjay Nov 2, 2023
d6ffaca
feat: ✨ redcap api link management done
greenstick Nov 2, 2023
3566c02
Merge branch 'staging' of https://github.com/AI-READI/fairhub.io into…
greenstick Nov 2, 2023
caaf8b9
fix: 🐛 update fallback text for api endpoints
megasanjay Nov 7, 2023
cd0eb0e
feat: ✨ added UI for publishing versions to datasets (#22)
Aydawka Nov 13, 2023
63d36e9
feat: ✨ first dashboard module complete
greenstick Nov 14, 2023
db73d87
Merge branch 'staging' of https://github.com/AI-READI/fairhub.io into…
greenstick Nov 14, 2023
6debdc0
merge: 🔀 dashboard cleanup
greenstick Nov 14, 2023
201ae22
chore: 🔨 yarn cleanup
greenstick Nov 14, 2023
e792a4f
fix: 🐛 update sidebar styling (#23)
Aydawka Nov 14, 2023
abc9971
fix: 🐛 update route when user leaves study
megasanjay Nov 14, 2023
7005aad
ci: add Azure Static Web Apps workflow file
megasanjay Nov 15, 2023
330bc00
Merge branch 'staging' of https://github.com/AI-READI/fairhub.io into…
megasanjay Nov 15, 2023
f0128ee
ci: 👷 add a staging deployment
megasanjay Nov 15, 2023
1083315
ci: 👷 add env to staging builds
megasanjay Nov 15, 2023
45e5cd4
feat: ✨ more dashboard modules
greenstick Nov 15, 2023
0c2fc00
chore: 🔨 update db
megasanjay Nov 23, 2023
8d7f3d0
fix: 🐛 homepage text
Nov 28, 2023
8329c0e
fix: 🐛 homepage text (#25)
Nov 28, 2023
bb2a76a
fix: 🐛 studies page
Nov 30, 2023
8a1435d
Merge pull request #26 from AI-READI/bhavesh-edits
Nov 30, 2023
533beee
fix: 🐛 EditDashboard loading prior state. WIP recruitment line chart
greenstick Dec 1, 2023
37d1df9
fix: 🐛 typescript cleanup
greenstick Dec 6, 2023
4f25c00
fix: typo in README.md
Dec 6, 2023
145884d
fix: 🐛 typescript fix
greenstick Dec 6, 2023
643ac8c
feat: ✨ dashboard module and report manifests
greenstick Dec 7, 2023
ff13c44
refactor: ♻️ notification update (#27)
slugb0t Dec 7, 2023
ddd06a6
refactor: ♻️ update collapsible card (#28)
slugb0t Dec 11, 2023
2d0ed24
feat: ✨ new chart types: groupedbar and groupedstackedbar
greenstick Dec 12, 2023
ec53272
feat: ✨ new recruitment visualization modules
greenstick Dec 12, 2023
bdeb1e4
style: 🎨 improvements to visualizations
greenstick Dec 13, 2023
ae497b4
fix: 🐛 update conditional check for when study type is observational
slugb0t Dec 14, 2023
982400e
chore: 🔨 update db er
megasanjay Dec 21, 2023
0405a3f
chore: 🔨 update db er
megasanjay Dec 21, 2023
3002543
refactor: ♻️ make dataset resource type mandatory field (#32)
slugb0t Dec 21, 2023
86fb2e3
feat: ✨ added study metadata keywords (#34)
Aydawka Dec 28, 2023
926522e
feat: ✨ password change UI (#30)
slugb0t Dec 29, 2023
9ef556e
chore: 🔨 update db er
megasanjay Dec 29, 2023
5355209
chore: 🔨 update db er
megasanjay Dec 29, 2023
2122462
chore: 🔨 update db er
megasanjay Dec 29, 2023
2b0cf7f
refactor: ♻️ dataset rights update (#33)
slugb0t Jan 2, 2024
ffd22cb
fix: 🐛 update staging data links
megasanjay Jan 9, 2024
dcbde0a
chore: 🔨 fix build error
megasanjay Jan 9, 2024
8d39ea7
ci: add Azure Static Web Apps workflow file
megasanjay Jan 18, 2024
5b6d2cb
ci: 👷 update static web app entries
megasanjay Jan 18, 2024
4e293c2
ci: 👷 update prod config
megasanjay Jan 18, 2024
c385ca1
fix: 🐛 minor fixes
greenstick Jan 23, 2024
454e9a2
Merge branch 'staging' of https://github.com/AI-READI/fairhub.io into…
greenstick Jan 23, 2024
67b9cfa
Merge branch 'staging' into dashboard
greenstick Jan 23, 2024
14bb99e
ci: 👷 update build config
megasanjay Jan 25, 2024
5ceb3aa
feat: ✨ add loaders to all pages that have an api response (#35)
megasanjay Jan 25, 2024
1413d93
fix: 🐛 add default object for type error
megasanjay Jan 25, 2024
32e77cd
fix: 🐛 minor fixes
greenstick Jan 26, 2024
50d88da
Merge branch 'staging' of https://github.com/AI-READI/fairhub-app int…
greenstick Jan 26, 2024
77ef9a6
feat: ✨ line chart done
greenstick Feb 4, 2024
42b1e74
chore: 🔨 lint, format, type-check
greenstick Feb 13, 2024
c09afab
chore: 🔨 update database schema
megasanjay Feb 14, 2024
1e3420d
chore: 🔨 update database schema
megasanjay Feb 14, 2024
64b076b
feat: ✨ improved REDcap API structure (not yet merge ready)
greenstick Feb 20, 2024
1aebcd4
feat: ✨ improved REDcap & Dashboard API structure
greenstick Feb 20, 2024
39e35cb
Merge branch 'staging' into dashboard
greenstick Feb 20, 2024
755388a
Merge pull request #36 from AI-READI/dashboard
greenstick Feb 20, 2024
12ad27d
Merge branch 'staging' of github.com:AI-READI/fairhub-app into staging
greenstick Feb 20, 2024
80ef3bb
chore: 🔨 update db structure
megasanjay Feb 20, 2024
1ed6ea2
chore: 🔨 update db structure
megasanjay Feb 20, 2024
6f5f6f4
chore: 🔨 update database for healthsheet
megasanjay Feb 21, 2024
8a784b1
fix: 🐛 update staging api url
megasanjay Feb 21, 2024
b679bc9
Merge branch 'staging' of github.com:AI-READI/fairhub-app into staging
greenstick Feb 21, 2024
ff24a62
fix: 🐛 update dataset creator/contributor names (#37)
megasanjay Feb 21, 2024
c34e97c
feat: ✨ add healthsheet UI (#38)
megasanjay Feb 22, 2024
3a57bcd
Merge branch 'staging' of github.com:AI-READI/fairhub-app into staging
greenstick Feb 22, 2024
cf435e4
chore: 🔨 update db for datacite v4.5
megasanjay Feb 27, 2024
72ec99a
refactor: ♻️ add loaders
megasanjay Feb 27, 2024
4425e2a
chore: 🔨 update db structure
megasanjay Feb 27, 2024
805bc1a
feat: ✨ improved timeseries + expanded vizlib
greenstick Feb 29, 2024
a01b1a0
Merge branch 'staging' of github.com:AI-READI/fairhub-app into staging
greenstick Feb 29, 2024
bd6328c
feat: ✨ dashboard textures, refactor modules, optimized compilation
greenstick Mar 6, 2024
06f8fbb
fix: 🐛 remove asset include, updated styling
greenstick Mar 6, 2024
98df01f
fix: 🐛 typecheck, three keys added to assets/data/form.json
greenstick Mar 6, 2024
4d18c62
fix: 🐛 small build fixes
greenstick Mar 6, 2024
d695c31
fix: 🐛 data element hover update + aesthetic updates
greenstick Mar 6, 2024
c438cbb
fix: 🐛 legend data binding
greenstick Mar 8, 2024
ca517b3
fix: 🐛 timeseries + line chart legend hovers
greenstick Mar 8, 2024
444e09f
fix: 🐛 grids and tooltip on line + timeseries
greenstick Mar 8, 2024
7107787
feat: ✨ add support for datacite v4.5 (#39)
megasanjay Mar 12, 2024
91add6b
fix: 🐞 version metadata steps (#43)
Aydawka Mar 14, 2024
73aa2a1
feat: ✨ add support for updated managing organization (#44)
megasanjay Mar 18, 2024
0f8dd60
feat: ✨ new dashboard modules, improved validation, clean up
greenstick Apr 2, 2024
3d297e2
feat: ✨ cleaned up dashboard module axes
greenstick Apr 8, 2024
ed6ae71
feat: ✨ minor dashboard module config updates
greenstick Apr 9, 2024
bc9333f
fix: landing page style (#46)
Aydawka May 23, 2024
e213ea9
feat: ✨ year 2 dashboard upate
greenstick Nov 7, 2024
23c6ce8
fix: update UI based on the docs reviews (#47)
Aydawka Jan 17, 2025
2d4e9da
fix: UI style and sidebar changes (#48)
Aydawka Feb 20, 2025
f86f24b
feat: ✨ add support for email verification on sign up (#29)
megasanjay Feb 21, 2025
be000b8
fix: style study metadata (#49)
Aydawka Mar 6, 2025
b6c8156
fix: prevent data being saved based on the user roles (#50)
Aydawka Mar 7, 2025
38a3578
feat: ✨ add lastname for the team permissions
Aydawka Mar 13, 2025
ff3c2c1
style: 🎨 format type check
Aydawka Mar 13, 2025
e3133ae
fix: 🐛 display fullname letters in permission tab (#51)
Aydawka Mar 14, 2025
2b8ad89
fix: 🐛 homepage route permission
Aydawka Mar 17, 2025
47db4b3
fix: 🐛 restore REDCap in menu option
Aydawka Mar 17, 2025
6c8c56d
fix: restyle dataset metadata (#52)
Aydawka Mar 24, 2025
2b6ef3c
fix: 🐛 get endpoint data format for team and description (#53)
Aydawka Mar 25, 2025
059179a
style: add side menu navigation to metadata (#54)
Aydawka Mar 29, 2025
0b1dea1
fix: 🔨 version metadata routes (#56)
Aydawka Apr 2, 2025
03444f9
fix: 🐛 tab header
Aydawka Apr 23, 2025
4504ad4
fix: 🐛 remove data processing
Aydawka May 30, 2025
6575841
feat: update upload data and files (#60)
Aydawka Jun 18, 2025
eaa4053
fix: 🐛 remove unused type
Aydawka Jun 18, 2025
ef5cc54
feat: clinical trials automation (#61)
Aydawka Jul 9, 2025
af3327b
fix: 🐛 error handling for study status
Aydawka Jul 15, 2025
ab9b4f0
fix: dataset new workflow (#62)
Aydawka Sep 30, 2025
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
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Auto generate typescript files
auto-imports.d.ts
components.d.ts
unimport.d.ts
51 changes: 35 additions & 16 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,64 @@
require("@rushstack/eslint-patch/modern-module-resolution");

module.exports = {
root: true,
extends: [
"plugin:vue/vue3-essential",
"eslint:recommended",
"@vue/eslint-config-typescript",
"@vue/eslint-config-prettier",
"plugin:storybook/recommended",
],
plugins: ["unused-imports", "simple-import-sort", "prettier"],
overrides: [
{
extends: ["plugin:cypress/recommended"],
files: ["cypress/e2e/**.{cy,spec}.{js,ts,jsx,tsx}"],
},
],
parserOptions: {
ecmaVersion: "latest",
},
plugins: ["unused-imports", "simple-import-sort", "prettier", "sort-keys-custom-order"],
root: true,
rules: {
"@typescript-eslint/no-unused-vars": [
"warn", // or "error"
{
argsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_",
varsIgnorePattern: "^_",
},
],
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-unused-vars": "off",
"prettier/prettier": [
"error",
{
endOfLine: "auto",
},
],
"no-unused-vars": "off",
"simple-import-sort/exports": "error",
"simple-import-sort/imports": "error",
// For JS objects sorting
"sort-keys-custom-order/object-keys": [
"error",
{ orderedKeys: ["id", "username", "name", "title", "50", "path"] },
],
// For TS types sorting
"sort-keys-custom-order/type-keys": [
"error",
{ orderedKeys: ["id", "username", "name", "title", "50", "path"] },
],
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
{
vars: "all",
varsIgnorePattern: "^_",
args: "after-used",
argsIgnorePattern: "^_",
vars: "all",
varsIgnorePattern: "^_",
},
],
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
},
overrides: [
{
files: ["cypress/e2e/**.{cy,spec}.{js,ts,jsx,tsx}"],
extends: ["plugin:cypress/recommended"],
},
],
parserOptions: {
ecmaVersion: "latest",
"vue/padding-line-between-tags": ["error", [{ blankLine: "always", next: "*", prev: "*" }]],
},
};
51 changes: 51 additions & 0 deletions .github/workflows/deploy-frontend-staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Build frontend and deploy to staging environment (witty-mushroom-03791f510)

on:
push:
branches:
- staging
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- staging

jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- uses: actions/checkout@v3
with:
submodules: true
lfs: false

- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WITTY_MUSHROOM_03791F510 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/" # App source code path
api_location: "" # Api source code path - optional
output_location: "dist" # Built app content directory - optional
###### End of Repository/Build Configurations ######
env:
VITE_FAIRHUB_API_URL: "https://staging.api.fairhub.io"

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WITTY_MUSHROOM_03791F510 }}
action: "close"
app_location: "/" # App source code path

Original file line number Diff line number Diff line change
@@ -1,48 +1,50 @@
name: Build frontend and deploy to Azure Static Web Apps (brave-ground-07b6bfb10)

on:
push:
branches:
- "**"
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- "**"

jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Build And Deploy
env:
NODE_OPTIONS: "--max_old_space_size=12096"
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BRAVE_GROUND_07B6BFB10 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
production_branch: "production"
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/" # App source code path
api_location: "" # Api source code path - optional
output_location: "dist" # Built app content directory - optional
###### End of Repository/Build Configurations ######

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BRAVE_GROUND_07B6BFB10 }}
action: "close"
name: Build frontend and deploy to Azure Static Web Apps (orange-sky-0323eca10)

on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- main

jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- uses: actions/checkout@v2
with:
submodules: true
lfs: false
- name: Build And Deploy
env:
NODE_OPTIONS: "--max_old_space_size=12096"
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ORANGE_SKY_0323ECA10 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/" # App source code path
api_location: "" # Api source code path - optional
output_location: "dist" # Built app content directory - optional
###### End of Repository/Build Configurations ######

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ORANGE_SKY_0323ECA10 }}
action: "close"
app_location: "/" # App source code path

Original file line number Diff line number Diff line change
@@ -1,49 +1,51 @@
name: Build Storybook and deploy to Azure Static Web Apps (white-ocean-00e852610)

on:
push:
branches:
- "**"
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- "**"

jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
env:
NODE_OPTIONS: "--max_old_space_size=12096"
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_OCEAN_00E852610 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
production_branch: "production"
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/" # App source code path
api_location: "" # Api source code path - optional
output_location: "storybook-static" # Built app content directory - optional
app_build_command: "yarn build-storybook" # Build script (optional)
###### End of Repository/Build Configurations ######

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_OCEAN_00E852610 }}
action: "close"
name: Build Storybook and deploy to Azure Static Web Apps (white-ocean-00e852610)

on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- main

jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
env:
NODE_OPTIONS: "--max_old_space_size=12096"
steps:
- uses: actions/checkout@v2
with:
submodules: true
lfs: false

- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_OCEAN_00E852610 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/" # App source code path
api_location: "" # Api source code path - optional
output_location: "storybook-static" # Built app content directory - optional
app_build_command: "yarn build-storybook" # Build script (optional)
###### End of Repository/Build Configurations ######

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_OCEAN_00E852610 }}
action: "close"
app_location: "/" # App source code path
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
.DS_Store
.yarn/*
dist
dist-ssr
coverage
Expand All @@ -20,6 +20,7 @@ coverage
# Editor directories and files
.vscode/*
!.vscode/extensions.json
!.vscode/settings.json
.idea
*.suo
*.ntvs*
Expand All @@ -29,3 +30,12 @@ coverage

# API Platform specific files
*.pyc

# Auto generated package manager files
package-lock.json

# Auto generated typescript files
# auto-imports.d.ts is needed for vue-tsc to work. Other solution is to flip build and tsc in package.json `"build": "run-s build-only type-check",`
!auto-imports.d.ts
components.d.ts
.env
Empty file modified .husky/commit-msg
100644 → 100755
Empty file.
Empty file modified .husky/post-merge
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions .husky/pre-commit
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn generate:mermaid && git add mermaid/svg*.svg
yarn lint-staged
Empty file modified .husky/prepare-commit-msg
100644 → 100755
Empty file.
4 changes: 4 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"MD033": false,
"MD013": false
}
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Auto generate typescript files
auto-imports.d.ts
components.d.ts
unimport.d.ts
1 change: 0 additions & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const path = require("path");
const tailwindConfigPath = path.join(__dirname, "../tailwind.config.js");

module.exports = {
stories: [
Expand Down
2 changes: 1 addition & 1 deletion .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import "../src/assets/main.css";
import "../src/assets/css/main.css";
import { themes } from "@storybook/theming";

export const parameters = {
Expand Down
Loading
Loading