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;