Repository navigation
Use Cases
sree edited this page May 11, 2025
·
5 revisions
This document lists the core use cases for the TaskHub application, modeled using Object-Oriented Analysis and Design (OOAD) principles. Each use case is identified by a unique code following the format TH-UC-00x.
| Use Case ID | Use Case Name | Actor | Description | Status |
|---|---|---|---|---|
| TH-UC-001 | Register User | User | A new user signs up with email and password. | Not Started |
| TH-UC-002 | Login User | User | A user logs in and receives a JWT token for authentication. | Not Started |
| TH-UC-003 | Create Note | User | A logged-in user creates a note with title, content, and optional color. | Not Started |
| TH-UC-004 | Edit Note | User | A user updates the content, color, or title of an existing note. | Not Started |
| TH-UC-005 | Delete Note | User | A user deletes an existing note they own. | Not Started |
| TH-UC-006 | Archive/Unarchive Note | User | A user toggles a note's archived status. | Not Started |
| TH-UC-007 | Pin/Unpin Note | User | A user pins or unpins a note to highlight or de-prioritize it. | Not Started |
| TH-UC-008 | Create Label | User | A user creates a new label to organize notes. | Not Started |
| TH-UC-009 | Assign Label to Note | User | A user assigns one or more existing labels to a note. | Not Started |
| TH-UC-010 | View Notes by Label | User | A user filters and views notes associated with a specific label. | Not Started |

- The system currently supports individual user ownership of notes. Collaboration features are out of scope for the MVP.
- Use cases TH-UC-006 and TH-UC-007 are modeled as boolean flags (
isArchived,isPinned) in the domain model. - Each use case will be expanded into a full specification with main flow, alternate flows, preconditions, and postconditions as the analysis proceeds.