Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,11 @@ test.describe('Document list members', () => {
`You are the sole owner of this group, make another member the group owner before you can change your own role or be removed from your document.`,
);
await expect(soloOwner).toBeVisible();
await list.click();

await list.click({
// eslint-disable-next-line playwright/no-force-option
force: true, // Force click to close the dropdown
});
const newUserEmail = await addNewMember(page, 0, 'Owner');
const newUser = list.getByTestId(`doc-share-member-row-${newUserEmail}`);
const newUserRoles = newUser.getByLabel('doc-role-dropdown');
Expand All @@ -158,10 +162,16 @@ test.describe('Document list members', () => {

await currentUserRole.click();
await expect(soloOwner).toBeHidden();
await list.click();
await list.click({
// eslint-disable-next-line playwright/no-force-option
force: true, // Force click to close the dropdown
});

await newUserRoles.click();
await list.click();
await list.click({
// eslint-disable-next-line playwright/no-force-option
force: true, // Force click to close the dropdown
});

await currentUserRole.click();
await page.getByLabel('Administrator').click();
Expand Down
32 changes: 16 additions & 16 deletions src/frontend/apps/impress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@
},
"dependencies": {
"@ag-media/react-pdf-table": "2.0.3",
"@blocknote/code-block": "0.33.0",
"@blocknote/core": "0.33.0",
"@blocknote/mantine": "0.33.0",
"@blocknote/react": "0.33.0",
"@blocknote/xl-docx-exporter": "0.33.0",
"@blocknote/xl-pdf-exporter": "0.33.0",
"@blocknote/code-block": "0.34.0",
"@blocknote/core": "0.34.0",
"@blocknote/mantine": "0.34.0",
"@blocknote/react": "0.34.0",
"@blocknote/xl-docx-exporter": "0.34.0",
"@blocknote/xl-pdf-exporter": "0.34.0",
"@dnd-kit/core": "6.3.1",
"@dnd-kit/modifiers": "9.0.0",
"@emoji-mart/data": "1.2.1",
"@emoji-mart/react": "1.1.1",
"@fontsource/material-icons": "5.2.5",
"@gouvfr-lasuite/integration": "1.0.3",
"@gouvfr-lasuite/ui-kit": "0.8.2",
"@gouvfr-lasuite/ui-kit": "0.10.0",
"@hocuspocus/provider": "2.15.2",
"@openfun/cunningham-react": "3.1.0",
"@react-pdf/renderer": "4.3.0",
"@sentry/nextjs": "9.38.0",
"@sentry/nextjs": "9.40.0",
"@tanstack/react-query": "5.83.0",
"canvg": "4.0.3",
"clsx": "2.1.1",
Expand All @@ -45,12 +45,12 @@
"idb": "8.0.3",
"lodash": "4.17.21",
"luxon": "3.7.1",
"next": "15.4.1",
"posthog-js": "1.257.0",
"next": "15.4.3",
"posthog-js": "1.257.2",
"react": "*",
"react-aria-components": "1.10.1",
"react-aria-components": "1.11.0",
"react-dom": "*",
"react-i18next": "15.6.0",
"react-i18next": "15.6.1",
"react-intersection-observer": "9.16.0",
"react-select": "5.10.2",
"styled-components": "6.1.19",
Expand All @@ -76,15 +76,15 @@
"dotenv": "17.2.0",
"eslint-config-impress": "*",
"fetch-mock": "9.11.0",
"jest": "30.0.4",
"jest-environment-jsdom": "30.0.4",
"jest": "30.0.5",
"jest-environment-jsdom": "30.0.5",
"node-fetch": "2.7.0",
"prettier": "3.6.2",
"stylelint": "16.21.1",
"stylelint": "16.22.0",
"stylelint-config-standard": "38.0.0",
"stylelint-prettier": "5.0.3",
"typescript": "*",
"webpack": "5.100.1",
"webpack": "5.100.2",
"workbox-webpack-plugin": "7.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
getFormattingToolbarItems,
useDictionary,
} from '@blocknote/react';
import React, { JSX, useCallback, useMemo, useState } from 'react';
import React, { useCallback, useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';

import { useConfig } from '@/core/config/api';
Expand Down Expand Up @@ -50,7 +50,7 @@ export const BlockNoteToolbar = () => {
);
}

return toolbarItems as JSX.Element[];
return toolbarItems;
}, [dict, t]);

const formattingToolbar = useCallback(() => {
Expand Down
6 changes: 3 additions & 3 deletions src/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
"server:test": "yarn COLLABORATION_SERVER run test"
},
"resolutions": {
"@types/node": "22.16.3",
"@types/node": "22.16.5",
"@types/react": "19.1.8",
"@types/react-dom": "19.1.6",
"@typescript-eslint/eslint-plugin": "8.37.0",
"@typescript-eslint/parser": "8.37.0",
"@typescript-eslint/eslint-plugin": "8.38.0",
"@typescript-eslint/parser": "8.38.0",
"eslint": "8.57.0",
"react": "19.1.0",
"react-dom": "19.1.0",
Expand Down
10 changes: 5 additions & 5 deletions src/frontend/packages/eslint-config-impress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
"lint": "eslint --ext .js ."
},
"dependencies": {
"@next/eslint-plugin-next": "15.4.1",
"@next/eslint-plugin-next": "15.4.3",
"@tanstack/eslint-plugin-query": "5.81.2",
"@typescript-eslint/eslint-plugin": "*",
"@typescript-eslint/parser": "*",
"eslint": "*",
"eslint-config-next": "15.4.1",
"eslint-config-prettier": "10.1.5",
"eslint-config-next": "15.4.3",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jest": "29.0.1",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-playwright": "2.2.0",
"eslint-plugin-prettier": "5.5.1",
"eslint-plugin-testing-library": "7.6.0",
"eslint-plugin-prettier": "5.5.3",
"eslint-plugin-testing-library": "7.6.1",
"prettier": "3.6.2"
}
}
2 changes: 1 addition & 1 deletion src/frontend/packages/i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"eslint-config-impress": "*",
"eslint-plugin-import": "2.32.0",
"i18next-parser": "9.3.0",
"jest": "30.0.4",
"jest": "30.0.5",
"ts-jest": "29.4.0",
"typescript": "*",
"yargs": "18.0.0"
Expand Down
10 changes: 5 additions & 5 deletions src/frontend/servers/y-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"node": ">=22"
},
"dependencies": {
"@blocknote/server-util": "0.33.0",
"@blocknote/server-util": "0.34.0",
"@hocuspocus/server": "2.15.2",
"@sentry/node": "9.38.0",
"@sentry/profiling-node": "9.38.0",
"axios": "1.10.0",
"@sentry/node": "9.40.0",
"@sentry/profiling-node": "9.40.0",
"axios": "1.11.0",
"cors": "2.8.5",
"express": "5.1.0",
"express-ws": "5.0.2",
Expand All @@ -39,7 +39,7 @@
"cross-env": "7.0.3",
"eslint-config-impress": "*",
"nodemon": "3.1.10",
"supertest": "7.1.3",
"supertest": "7.1.4",
"ts-node": "10.9.2",
"tsc-alias": "1.8.16",
"typescript": "*",
Expand Down
Loading
Loading