marcusgeorgievski / prj-team-1

Student management system to track assessments and organize notes
https://prj-frontend.vercel.app
3 stars 0 forks source link

As a user, I want to get an overview of my recent activity and easily access my courses, assessments and notes #46

Closed lctoye closed 1 month ago

lctoye commented 3 months ago

Description

The Dashboard module is where users are redirected immediately after logging into their account and acts as the main hub for users to interact with the app. Its front-end interface will be implemented in React and Next.js and it provides an overview of the user's recently accessed Classes, Notes, and Assessments, retrieving this data from the Express.js back-end. Adjacent to the display blocks for each of the aforementioned types of activity are "View All" links which will retrieve and display a complete index of the user's Classes/Notes/Assessments. If there is no recent activity to display, an explanatory message will be displayed in its place. A navigation panel on the left-hand side provides links to the Dashboard itself and to the Classes, Assessments, Search, and Profile modules.

Acceptance Criteria

  1. A logged in user is seamlessly redirected to the Dashboard page.

  2. The Dashboard can be accessed at any time thereafter using the navigation link on the left.

  3. The Dashboard must provide a clear and aesthetically pleasing overview of recently accessed assessments, notes, and classes.

  4. For each section of recent activity (Classes, Assessments, Notes), there should be a "View All" link which directs the user to an index of all their content within that category.

  5. The absence of any recent activity in any category must be handled gracefully with an explanatory message.

  6. The Dashboard cannot be accessed without an active user session, and attempts to do so should redirect to the Login page.

Testing Criteria

lctoye commented 1 month ago

I've been working on the UI for the Dashboard:

image

NoneNeko commented 1 month ago

Move this from sprint 2 to sprint 1.

lctoye commented 1 month ago

Implemented Recent Classes functionality. The four most recently updated classes are displayed, and the user can see how many others exist and click the button to view them. If no classes exist the user is given an explanatory message and prompted to visit the Classes page to create one.

The same behaviour will apply to Recent Notes and Recent Assessments when their respective modules are implemented.

image