Skip to content

Commit

Permalink
docs: added javadoc to UserPageView
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheaGjerde committed Apr 23, 2026
1 parent 0b3bd8e commit c8f7beb
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/main/java/edu/group5/app/view/userpage/UserPageView.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,18 @@
import java.text.SimpleDateFormat;
import java.util.*;


/**
* A view for the user profile page.
*
* <p>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.</p>
*
* <p>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.</p>
*/
public class UserPageView extends BorderPane {
private final NavigationController nav;
private final AuthController authController;
Expand Down

0 comments on commit c8f7beb

Please sign in to comment.