From c102afb93a88935e7fa11c1bf8a024046d5ea536 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 3 Dec 2025 23:32:36 +0000 Subject: [PATCH 1/2] Bump antd from 5.29.1 to 6.0.0 Bumps [antd](https://github.com/ant-design/ant-design) from 5.29.1 to 6.0.0. - [Release notes](https://github.com/ant-design/ant-design/releases) - [Changelog](https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md) - [Commits](https://github.com/ant-design/ant-design/compare/5.29.1...6.0.0) --- updated-dependencies: - dependency-name: antd dependency-version: 6.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d0ad304..81e6131 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "@ant-design/v5-patch-for-react-19": "^1.0.3", "@typescript-eslint/parser": "^8.45.0", "@uiw/react-md-editor": "^4.0.8", - "antd": "^5.27.6", + "antd": "^6.0.1", "firebase": "^12.4.0", "firebase-admin": "^13.5.0", "prettier": "^3.6.2", From 48659e9ec1380ac61a9707748dbea840fb53f258 Mon Sep 17 00:00:00 2001 From: A-Guldborg Date: Fri, 5 Dec 2025 12:25:34 +0100 Subject: [PATCH 2/2] Fix notifications after breaking change --- src/components/CalendarComponent.tsx | 4 ++-- src/components/RoleTag.tsx | 2 +- src/components/UserAvatar.tsx | 2 +- src/components/UserPage/ExistingUsersTab.tsx | 2 +- src/pages/members/Profile.tsx | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/CalendarComponent.tsx b/src/components/CalendarComponent.tsx index 06fc522..c74b838 100644 --- a/src/components/CalendarComponent.tsx +++ b/src/components/CalendarComponent.tsx @@ -61,8 +61,8 @@ export const CalendarSection = () => { e.preventDefault(); navigator.clipboard .writeText(calendarUrl) - .then(() => { notification.success({ message: "Calendar link copied to clipboard", placement: "bottom" }); }) - .catch(() => { notification.error({ message: "Failed to copy calendar link", placement: "bottom" }); }); + .then(() => { notification.success({ title: "Calendar link copied to clipboard", placement: "bottom" }); }) + .catch(() => { notification.error({ title: "Failed to copy calendar link", placement: "bottom" }); }); }} > diff --git a/src/components/RoleTag.tsx b/src/components/RoleTag.tsx index 4fd2b29..2934220 100644 --- a/src/components/RoleTag.tsx +++ b/src/components/RoleTag.tsx @@ -11,7 +11,7 @@ export default function RoleTag({ role }: RoleTagProps) { if (!(key in Role)) { notification.error({ - message: "Unknown role", + title: "Unknown role", description: `The role "${role}" is not recognized.`, }); return null; diff --git a/src/components/UserAvatar.tsx b/src/components/UserAvatar.tsx index e18c2d2..521520a 100644 --- a/src/components/UserAvatar.tsx +++ b/src/components/UserAvatar.tsx @@ -169,7 +169,7 @@ export const UserAvatarWithUpload = ({ }) .catch((error) => { api.error({ - message: "Error", + title: "Error", description: "Failed to upload profile picture: " + error.message, placement: "top", diff --git a/src/components/UserPage/ExistingUsersTab.tsx b/src/components/UserPage/ExistingUsersTab.tsx index 5a35d59..9e333dc 100644 --- a/src/components/UserPage/ExistingUsersTab.tsx +++ b/src/components/UserPage/ExistingUsersTab.tsx @@ -50,7 +50,7 @@ export const ExistingUsersTab = () => { }) .catch((error) => { api.error({ - message: "Error", + title: "Error", description: "Failed to fetch study lines: " + error.message, placement: "top", }); diff --git a/src/pages/members/Profile.tsx b/src/pages/members/Profile.tsx index 56b95c4..1422c88 100644 --- a/src/pages/members/Profile.tsx +++ b/src/pages/members/Profile.tsx @@ -70,7 +70,7 @@ export default function Profile() { if (!currentUser) return; updateUser({ id: currentUser.uid, field: "teamIds", value: teamIds }); notification.success({ - message: "Teams updated", + title: "Teams updated", description: "Your team memberships have been updated.", placement: "top", });