Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove display name #1578

Merged
merged 2 commits into from
Nov 25, 2024
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
1 change: 0 additions & 1 deletion cypress/support/editUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export const editItem = (
id: string;
type: DiscriminatedItem['type'] | string;
name: string;
displayName: string;
description: string;
},
container: string = '',
Expand Down
1 change: 0 additions & 1 deletion cypress/support/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ declare global {
fillDocumentModal(
payload: {
name: string;
displayName: string;
extra?: DocumentItemExtra;
},
options?: { confirm?: boolean },
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"@emotion/styled": "11.13.0",
"@graasp/chatbox": "3.3.0",
"@graasp/map": "1.19.0",
"@graasp/query-client": "5.4.1",
"@graasp/sdk": "5.0.0",
"@graasp/query-client": "5.5.0",
"@graasp/sdk": "5.3.1",
"@graasp/stylis-plugin-rtl": "2.2.0",
"@graasp/translations": "1.41.0",
"@graasp/ui": "5.4.0",
"@graasp/ui": "5.4.2",
"@mui/icons-material": "6.1.7",
"@mui/lab": "6.0.0-beta.15",
"@mui/material": "6.1.7",
Expand Down
1 change: 0 additions & 1 deletion src/components/item/edit/EditModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ const EditModal = ({ item, onClose, open }: Props): JSX.Element => {
editItem({
id: updatedItem.id,
name: updatedItem.name,
displayName: updatedItem.displayName,
description: updatedItem.description,
// only post extra if it has been changed
// todo: fix type
Expand Down
2 changes: 1 addition & 1 deletion src/components/main/DownloadButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const DownloadButton = ({ item }: Props): JSX.Element => {
isLoading={isDownloading}
title={translateBuilder(BUILDER.DOWNLOAD_ITEM_BUTTON)}
ariaLabel={translateBuilder(BUILDER.DOWNLOAD_ITEM_BUTTON)}
loaderColor="primary"
color="primary"
loaderSize={10}
/>
</span>
Expand Down
79 changes: 35 additions & 44 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1625,33 +1625,33 @@ __metadata:
languageName: node
linkType: hard

"@graasp/query-client@npm:5.4.1":
version: 5.4.1
resolution: "@graasp/query-client@npm:5.4.1"
"@graasp/query-client@npm:5.5.0":
version: 5.5.0
resolution: "@graasp/query-client@npm:5.5.0"
dependencies:
"@tanstack/react-query": "npm:5.59.20"
"@tanstack/react-query-devtools": "npm:5.59.20"
"@tanstack/react-query": "npm:5.61.0"
"@tanstack/react-query-devtools": "npm:5.61.0"
axios: "npm:1.7.7"
http-status-codes: "npm:2.3.0"
peerDependencies:
"@graasp/sdk": ^4.0.0
"@graasp/sdk": ^4.0.0 || ^5.0.0
"@graasp/translations": "*"
react: ^18.0.0
checksum: 10/97ff3caf0ca67a52f5735c2f74e6a08e75c1f2b721f73c500b5cfaf44fcbd96e398ea8cef845d195056cf851126da811396ef540dab34922ef53cc31dbcd7023
checksum: 10/05562b2f81c6da283ff7857fd5ec3203f0b2e3a59513a7c6e2daa12cfdac7a7ea9f25d3664ea992c5bd8340f1e440d0b82ae714e0de60d04626f87fdda8c58a5
languageName: node
linkType: hard

"@graasp/sdk@npm:5.0.0":
version: 5.0.0
resolution: "@graasp/sdk@npm:5.0.0"
"@graasp/sdk@npm:5.3.1":
version: 5.3.1
resolution: "@graasp/sdk@npm:5.3.1"
dependencies:
"@faker-js/faker": "npm:9.2.0"
filesize: "npm:10.1.6"
js-cookie: "npm:3.0.5"
peerDependencies:
date-fns: ^3 || ^4.0.0
uuid: ^9 || ^10 || ^11.0.0
checksum: 10/33f0d46a2f00e70b69212f1a7104e967ab6c0732dc4c58f561076bfcd04580702bec2ab2c3dc7ce757baed5d62a9e1ee756e8a05d359e7dac2da035704ef5f62
checksum: 10/9c414a3763c049e0360d78ce2c9f584621fdd829826e08c1c6416cdc02e1bbeefc7e55fedba6a09a86f5515a13c726d7c1b8558842e137fe04abc4ca8f172564
languageName: node
linkType: hard

Expand All @@ -1675,9 +1675,9 @@ __metadata:
languageName: node
linkType: hard

"@graasp/ui@npm:5.4.0":
version: 5.4.0
resolution: "@graasp/ui@npm:5.4.0"
"@graasp/ui@npm:5.4.2":
version: 5.4.2
resolution: "@graasp/ui@npm:5.4.2"
dependencies:
http-status-codes: "npm:2.3.0"
interweave: "npm:13.1.0"
Expand All @@ -1687,26 +1687,26 @@ __metadata:
react-dnd-html5-backend: "npm:16.0.1"
react-quill: "npm:2.0.0"
react-rnd: "npm:10.4.13"
uuid: "npm:10.0.0"
uuid: "npm:11.0.3"
peerDependencies:
"@emotion/cache": ~11.10.7 || ~11.11.0 || ~11.13.0
"@emotion/react": ~11.10.6 || ~11.11.0 || ~11.13.0
"@emotion/styled": ~11.10.6 || ~11.11.0 || ~11.13.0
"@graasp/sdk": ^4.29.0
"@graasp/sdk": ^4.29.0 || ^5.0.0
"@graasp/stylis-plugin-rtl": ^2
"@graasp/translations": ^1.23.0
"@mui/icons-material": ^6
"@mui/lab": ^6
"@mui/material": ^6
i18next: ^22.4.15 || ^23.0.0
katex: 0.16.11
lucide-react: ^0.417.0 || ^0.429.0 || ^0.436.0 || ^0.439.0 || ^0.441.0 || ^0.446.0 || ^0.447.0 || ^0.451.0
lucide-react: ^0
react: ^18.0.0
react-dom: ^18.0.0
react-i18next: ^15.0.0
react-router-dom: ^6.11.0
stylis: ^4.1.3
checksum: 10/cc36962378a4a7921910865584770816666b96c7db9f33fe0db5a927dc067fbbd2bcc3b87b7cd666c8a1592246c704d7ceb04c134339e02d22ffd0cd451bdc0f
checksum: 10/17a166897c951de64b4961ea8a8ee8c2541a7d714ba1d9339a4a9f145ca76eabe53524a53693772e68ac8bf8979622509424685fbce022f697f741499dcd6161
languageName: node
linkType: hard

Expand Down Expand Up @@ -2525,10 +2525,10 @@ __metadata:
languageName: node
linkType: hard

"@tanstack/query-core@npm:5.59.20":
version: 5.59.20
resolution: "@tanstack/query-core@npm:5.59.20"
checksum: 10/efe34f0a05f4cdef833c3885f466bab8ecee22677a9056d161087658539c1dd14063cc19c08b8f2e56cafc4692fcde7fb4fc4962df59159b1da12c49e69892df
"@tanstack/query-core@npm:5.60.6":
version: 5.60.6
resolution: "@tanstack/query-core@npm:5.60.6"
checksum: 10/a87613d85b3a280f2fef69037dd0ad512052d49b8dc979ed289ee538452d331926a720678bbd3b4485a8b38d5baf65c42869179f2fdeefa3f7b6dda04e878e56
languageName: node
linkType: hard

Expand All @@ -2539,26 +2539,26 @@ __metadata:
languageName: node
linkType: hard

"@tanstack/react-query-devtools@npm:5.59.20":
version: 5.59.20
resolution: "@tanstack/react-query-devtools@npm:5.59.20"
"@tanstack/react-query-devtools@npm:5.61.0":
version: 5.61.0
resolution: "@tanstack/react-query-devtools@npm:5.61.0"
dependencies:
"@tanstack/query-devtools": "npm:5.59.20"
peerDependencies:
"@tanstack/react-query": ^5.59.20
"@tanstack/react-query": ^5.61.0
react: ^18 || ^19
checksum: 10/71cf2fa81ce1d7a7e35acd9f45a4c398272f69e8ab962c5fcf686b8bf5144ca8e8702049bad452186963b4b820703c19ba9372149fd56ec95fef5390c5d7346c
checksum: 10/ac4019ad58a04e21ef8fd2f5ab1e33791e3961979c25538b51a8597e9b2e448326f2d15e407bb89cb53a7f566f9bd15036dcd4573777c4bec428b79e8acdeb96
languageName: node
linkType: hard

"@tanstack/react-query@npm:5.59.20":
version: 5.59.20
resolution: "@tanstack/react-query@npm:5.59.20"
"@tanstack/react-query@npm:5.61.0":
version: 5.61.0
resolution: "@tanstack/react-query@npm:5.61.0"
dependencies:
"@tanstack/query-core": "npm:5.59.20"
"@tanstack/query-core": "npm:5.60.6"
peerDependencies:
react: ^18 || ^19
checksum: 10/4bfface953fedb124c5b30d46d22e46b18dc9c53a30ad20493c2ce70dc03058d78815c2a8a8a4f0bd279dae29469b923ccb346c69485f00c1808fa7ac908d6b4
checksum: 10/e98d1396cd157626f29fb0d0d10c75dbdde6e2efa55463540c9d8e33b58ec4b72eeb58b7d2eea6e625a8316235777f128222adeb10533ddfade77b23ec209872
languageName: node
linkType: hard

Expand Down Expand Up @@ -6401,11 +6401,11 @@ __metadata:
"@emotion/styled": "npm:11.13.0"
"@graasp/chatbox": "npm:3.3.0"
"@graasp/map": "npm:1.19.0"
"@graasp/query-client": "npm:5.4.1"
"@graasp/sdk": "npm:5.0.0"
"@graasp/query-client": "npm:5.5.0"
"@graasp/sdk": "npm:5.3.1"
"@graasp/stylis-plugin-rtl": "npm:2.2.0"
"@graasp/translations": "npm:1.41.0"
"@graasp/ui": "npm:5.4.0"
"@graasp/ui": "npm:5.4.2"
"@mui/icons-material": "npm:6.1.7"
"@mui/lab": "npm:6.0.0-beta.15"
"@mui/material": "npm:6.1.7"
Expand Down Expand Up @@ -11680,15 +11680,6 @@ __metadata:
languageName: node
linkType: hard

"uuid@npm:10.0.0":
version: 10.0.0
resolution: "uuid@npm:10.0.0"
bin:
uuid: dist/bin/uuid
checksum: 10/35aa60614811a201ff90f8ca5e9ecb7076a75c3821e17f0f5ff72d44e36c2d35fcbc2ceee9c4ac7317f4cc41895da30e74f3885e30313bee48fda6338f250538
languageName: node
linkType: hard

"uuid@npm:11.0.3":
version: 11.0.3
resolution: "uuid@npm:11.0.3"
Expand Down