From c8f7beb8ca9c37bf1ea13f32cc7f69a5fb0e4311 Mon Sep 17 00:00:00 2001 From: MatheaGjerde Date: Thu, 23 Apr 2026 17:10:09 +0200 Subject: [PATCH] docs: added javadoc to UserPageView --- .../edu/group5/app/view/userpage/UserPageView.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/main/java/edu/group5/app/view/userpage/UserPageView.java b/src/main/java/edu/group5/app/view/userpage/UserPageView.java index cf6f801..aff5b32 100644 --- a/src/main/java/edu/group5/app/view/userpage/UserPageView.java +++ b/src/main/java/edu/group5/app/view/userpage/UserPageView.java @@ -23,7 +23,18 @@ import java.text.SimpleDateFormat; import java.util.*; - +/** + * A view for the user profile page. + * + *

Displays the current user's profile information, + * including avatar, full name, email and location, along with a logout button. + * The page is divided into three sections: + * Profile information, Supported causes, and previous donations.

+ * + *

Supported causes shows all the organizations that the user has donated to. + * Previous donations shows a list of all the user's donations, + * and includes a search bar to filter through them.

+ */ public class UserPageView extends BorderPane { private final NavigationController nav; private final AuthController authController;