Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@ export default defineConfig({
{
label:'Frontend Tutor-Times Requirements',
link: '/frontend/tutor-times/tutor-times-requirements',
},
{
label: 'Tutor Time Dashboard',
link: '/frontend/tutor-time-dashboard',
}


],
},

Expand Down
Binary file added public/tutor-time-dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 42 additions & 0 deletions src/content/docs/frontend/tutor-times/tutor-time-dashboard.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
title: Tutor Time Dashboard
---

## Team Member
Wael Alahmadi | 223837765

## Component Name & Files
- tutor-time-dashboard.component.ts
- tutor-time-dashboard.component.html
- tutor-time-dashboard.component.css

## Purpose
The Tutor Time Dashboard provides tutors with a clear and accessible interface to view and manage their teaching sessions.
It helps instructors by offering:
- Session start and end times
- Calculated session durations
- Associated unit or project information
- Pagination and sorting for large data sets
- A responsive design that adapts to desktop, tablet, and mobile devices

## Outcomes and Interactions
✅ Sessions displayed in a structured tabular view
✅ Sorting by clicking on column headers
✅ Pagination for navigating through session records
✅ Responsive layout for multi-device usability

## Visual References
![Tutor Time Dashboard Screenshot](/tutor-time-dashboard.png)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can update the path to the image stored in public. then it will show the screenshot directly:
(/public/tutor-time-dashboard.png)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.


## Review Checklist
- [x] Dashboard layout renders correctly
- [x] Session start and end times are displayed
- [x] Durations calculated and shown
- [x] Associated unit is shown
- [x] Pagination works as expected
- [x] Sorting works as expected
- [] Responsive design verified on multiple devices

## Notes
This documentation describes the Tutor Time Dashboard implemented in the frontend (`doubtfire-web`).
It introduces a new view accessible at `/tutor-times` and was developed as a frontend-only feature using mock data for demonstration.