Skip to content

Commit

Permalink
Merge branch 'master' into fix/invalid_semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
svandenhoek committed Jan 21, 2025
2 parents 1a2f725 + 1adb76e commit 2c6d27f
Show file tree
Hide file tree
Showing 94 changed files with 3,410 additions and 2,852 deletions.
11 changes: 10 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,14 +246,23 @@ jobs:
- post_steps
e2e-test:
docker:
- image: mcr.microsoft.com/playwright:v1.49.0-jammy
- image: mcr.microsoft.com/playwright:v1.49.1-jammy
steps:
- checkout
- run: npm i -D @playwright/test
- run:
name: Install dependencies
command: yarn install
working_directory: apps
- run:
name: Test tailwind components
command: |
yarn playwright install chrome
echo "PR number: ${CIRCLE_PULL_REQUEST##*/}"
export E2E_BASE_URL=https://preview-emx2-pr-${CIRCLE_PULL_REQUEST##*/}.dev.molgenis.org/
echo $E2E_BASE_URL
yarn e2e
working_directory: apps/tailwind-components
- run:
name: Wait for catalogue e2e test data to be loaded, poll every 10 seconds
command: |
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,5 @@ venv
requirements.txt
e2e/.auth
e2e/e2e/.auth
e2e/test-results/
apps/tailwind-components/test-results/.last-run.json
2 changes: 1 addition & 1 deletion apps/aggregates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"molgenis-viz": "*",
"vue": "3.5.6",
"vue":"3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/central/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"v-scroll-lock": "1.3.1",
"vue": "3.5.6",
"vue":"3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions apps/central/src/components/SchemaCreateModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export default {
"FAIR_DATA_POINT",
"BEACON_V2",
"ERN_DASHBOARD",
"UI_DASHBOARD",
"BIOBANK_DIRECTORY",
"BIOBANK_DIRECTORY_STAGING",
"SHARED_STAGING",
Expand Down
6 changes: 5 additions & 1 deletion apps/central/src/components/admin/ManageUsers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
<TableSimple class="bg-white" :rows="users" :columns="['email', 'enabled']">
<template v-slot:rowheader="row">
<template
v-if="row.row.email !== 'admin' && row.row.email !== 'anonymous'"
v-if="
row.row.email !== 'admin' &&
row.row.email !== 'anonymous' &&
row.row.email !== 'user'
"
>
<IconDanger
icon="trash"
Expand Down
2 changes: 1 addition & 1 deletion apps/cranio-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"molgenis-viz": "*",
"vue": "3.5.6",
"vue":"3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/cranio-public/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"molgenis-viz": "*",
"vue": "3.5.6",
"vue":"3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions apps/directory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
"molgenis-components": "*",
"monaco-editor": "0.50.0",
"pinia": "2.1.7",
"vue": "3.5.6",
"vue":"3.5.13",
"vue-gtag": "2.0.1",
"vue-router": "4.4.3",
"vuedraggable": "4.1.0"
},
"devDependencies": {
"@playwright/test": "1.49.0",
"@playwright/test": "1.49.1",
"@vitejs/plugin-vue": "4.6.2",
"@vue/test-utils": "2.4.6",
"@vue/vue3-jest": "29.2.6",
Expand Down
2 changes: 1 addition & 1 deletion apps/emx2-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"checkFormat": "prettier src --check --config ../.prettierrc.js"
},
"dependencies": {
"vue": "^3.4.29"
"vue":"3.5.13"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.5",
Expand Down
2 changes: 1 addition & 1 deletion apps/ern-genturis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"molgenis-viz": "*",
"vue": "3.5.6",
"vue":"3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/ern-ithaca/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"molgenis-viz": "*",
"vue": "3.5.6",
"vue":"3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/ern-reconnet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"molgenis-viz": "*",
"vue": "3.5.6",
"vue":"3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/ern-skin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"molgenis-viz": "*",
"vue": "3.5.6",
"vue":"3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/gportal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"molgenis-viz": "*",
"vue": "3.5.6",
"vue":"3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/helloworld/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"graphql-request": "5.2.0",
"metadata-utils": "*",
"molgenis-components": "*",
"vue": "3.5.6",
"vue":"3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/imdhub-public/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"graphql-request": "5.2.0",
"molgenis-components": "*",
"molgenis-viz": "*",
"vue": "3.5.6",
"vue":"3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/molgenis-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"cross-env": "7.0.3",
"metadata-utils": "*",
"universal-cookie": "4.0.4",
"vue": "3.5.6",
"vue":"3.5.13",
"vue-gtag": "2.0.1",
"vue-flatpickr-component": "11.0.5",
"vue3-cookies": "^1.0.6",
Expand Down
2 changes: 1 addition & 1 deletion apps/molgenis-viz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"d3": "7.8.5",
"graphql-request": "^6.1.0",
"heroicons": "^2.0.18",
"vue": "3.5.6"
"vue":"3.5.13"
},
"devDependencies": {
"@vitejs/plugin-vue": "4.6.2",
Expand Down
9 changes: 5 additions & 4 deletions apps/nuxt3-ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
},
"devDependencies": {
"@nuxt/image": "1.7.0",
"@nuxt/test-utils": "3.14.2",
"@playwright/test": "1.49.0",
"@nuxt/test-utils": "3.14.4",
"@playwright/test": "1.49.1",
"@tailwindcss/forms": "0.5.7",
"@tailwindcss/typography": "0.5.13",
"@vitejs/plugin-vue": "4.6.2",
Expand All @@ -40,14 +40,15 @@
"tailwindcss": "3.4.4",
"typescript": "5.6.2",
"vitest": "2.1.1",
"vue-tsc": "2.1.6"
"vue-tsc": "2.1.6",
"nuxt": "3.14.1592"
},
"dependencies": {
"@vueuse/core": "10.7.0",
"floating-vue": "5.2.2",
"metadata-utils": "*",
"nuxt-gtag": "3.0.1",
"vite": "5.4.6",
"vue": "3.5.6"
"vue": "3.5.13"
}
}
39 changes: 0 additions & 39 deletions apps/nuxt3-ssr/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,46 +45,7 @@ export default defineConfig<ConfigOptions>({
},
testMatch: '*/admin!*.spec.ts'
},

// {
// name: 'firefox',
// use: { ...devices['Desktop Firefox'] },
// },

// {
// name: 'webkit',
// use: { ...devices['Desktop Safari'] },
// },

/* Test against mobile viewports. */
// {
// name: 'Mobile Chrome',
// use: { ...devices['Pixel 5'] },
// },
// {
// name: 'Mobile Safari',
// use: { ...devices['iPhone 12'] },
// },

/* Test against branded browsers. */
// {
// name: 'Microsoft Edge',
// use: { ...devices['Desktop Edge'], channel: 'msedge' },
// },
// {
// name: 'Google Chrome',
// use: { ..devices['Desktop Chrome'], channel: 'chrome' },
// },
],

/* When CI, start our local dev server before starting the tests */
// webServer: {
// command: '../gradlew run -p ../',
// url: 'http://localhost:8080',
// reuseExistingServer: !process.env.CI,
// },
});

function fileURLToPath(arg0: URL): string | undefined {
throw new Error('Function not implemented.');
}
3 changes: 0 additions & 3 deletions apps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@
"emx2-analytics",
"ui"
],
"devDependencies": {
"nuxt": "3.13.2"
},
"scripts": {
"build:libs": "yarn workspace molgenis-components run build && yarn workspace molgenis-viz run build"
}
Expand Down
2 changes: 1 addition & 1 deletion apps/pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"core-js": "3.34.0",
"graphql-request": "5.2.0",
"molgenis-components": "*",
"vue": "3.5.6",
"vue":"3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/projectmanager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"graphql-request": "5.2.0",
"metadata-utils": "*",
"molgenis-components": "*",
"vue": "3.5.6",
"vue":"3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/reports/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"core-js": "3.34.0",
"graphql-request": "5.2.0",
"molgenis-components": "*",
"vue": "3.5.6",
"vue":"3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"graphql-tag": "2.12.6",
"metadata-utils": "*",
"molgenis-components": "*",
"vue": "3.5.6",
"vue":"3.5.13",
"vue-router": "4.4.3",
"vue-scrollto": "2.20.0",
"vuedraggable": "4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/settings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"molgenis-components": "*",
"core-js": "3.34.0",
"graphql-request": "5.2.0",
"vue": "3.5.6",
"vue":"3.5.13",
"vue-router": "4.4.3",
"vue3-colorpicker": "2.2.3",
"vuedraggable": "4.1.0"
Expand Down
16 changes: 4 additions & 12 deletions apps/settings/src/components/Members.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
<MessageError v-if="graphqlError">{{ graphqlError }}</MessageError>
<MessageSuccess v-if="success">{{ success }}</MessageSuccess>
</div>
<div
v-if="
session &&
(session.email == 'admin' ||
(session.roles && session.roles.length > 0))
"
>
<div v-if="session?.email === 'admin' || session?.roles?.length">
<h5 class="card-title">Manage members</h5>
<p>Use table below to add, edit or remove members</p>
<form v-if="canEdit" class="form-inline">
Expand Down Expand Up @@ -106,13 +100,11 @@ export default {
loading: false,
};
},
computed: {
canEdit() {
return (
this.session != null &&
(this.session.email == "admin" ||
this.session.roles.includes("Manager"))
this.session?.email === "admin" ||
this.session?.roles.includes("Manager")
);
},
},
Expand All @@ -127,7 +119,7 @@ export default {
`mutation drop($member:[String]){drop(members:$member){message}}`,
{ member: name }
)
.then((data) => {
.then(() => {
this.loadMembers();
})
.catch((error) => {
Expand Down
2 changes: 1 addition & 1 deletion apps/tables/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"core-js": "3.34.0",
"graphql-request": "5.2.0",
"molgenis-components": "*",
"vue": "3.5.6",
"vue":"3.5.13",
"vue-router": "4.4.3"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions apps/tailwind-components/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
--color-blue-700: #015CB6;
--color-blue-800: #014F9E;
--color-blue-900: #013F7E;
--color-grey-50: #F9F9F9;
--color-gray-50: #F9F9F9;
--color-gray-100: #F4F4F4;
--color-gray-200: #E2E2E2;
--color-gray-400: #C0C0C0;
Expand Down Expand Up @@ -91,7 +91,7 @@
--text-color-button-outline-hover: var(--color-blue-700);
--text-color-button-disabled: var(--color-gray-600);
--text-color-button-disabled-hover: var(--color-gray-600);
--text-color-menu: var(--color-blue-800);
--text-color-menu: var(--text-color-title);
--text-color-sub-menu: var(--color-blue-500);
--text-color-sub-menu-hover: var(--color-blue-700);
--text-color-breadcrumb-arrow: var(--color-gray-400);
Expand Down
Loading

0 comments on commit 2c6d27f

Please sign in to comment.