Skip to content

Commit fa079c5

Browse files
authored
docs: adds Jared's user stories and bugs (#265)
* feat adds: /jarededge, README.md, bugs.md, and /images * feat: adds edited bugs.md
1 parent 488ff4b commit fa079c5

File tree

7 files changed

+177
-0
lines changed

7 files changed

+177
-0
lines changed

lesson_05/jarededge/README.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# User Stories (UTasks)
2+
3+
## User Story 1 — Quick task creation with details
4+
As a busy professional managing daily work,
5+
I want to quickly add a new task with a title, due date, and label,
6+
so that I can capture important items and stay organized.
7+
8+
### Acceptance Criteria
9+
- **Given** I’m on the Tasks page and logged in
10+
**When** I enter a non-empty title (≤200 chars), optionally set a due date (today or future), and/or choose a label
11+
**And** I click “Add Task”
12+
**Then** the new task appears at the top of my list with status “incomplete”
13+
- Task **persists** on refresh and re-login
14+
- Empty title is blocked with an inline error; past due date is rejected with a clear message
15+
- Keyboard: pressing **Enter** in the title field creates the task
16+
17+
---
18+
19+
## User Story 2 — Staying focused with filters
20+
As someone juggling many priorities,
21+
I want to mark tasks complete and filter by All, Active, or Completed,
22+
so that I can focus only on the work that matters at the moment.
23+
24+
### Acceptance Criteria
25+
- **Given** a task is visible
26+
**When** I toggle its checkbox
27+
**Then** its visual style updates (strike-through or dim) and status flips between complete/incomplete
28+
- **Given** the filter = “Completed”
29+
**When** I toggle a completed task back to active
30+
**Then** it disappears from the Completed view immediately
31+
- The task completion count and filter badge update accurately
32+
- State persists across refresh and sessions
33+
34+
---
35+
36+
## User Story 3 — Safe editing and deletion
37+
As a user who sometimes makes mistakes,
38+
I want the ability to edit or delete a task safely,
39+
so that I can keep my task list accurate without losing information unintentionally.
40+
41+
### Acceptance Criteria
42+
- **Edit**
43+
- **Given** a task
44+
**When** I click “Edit”
45+
**Then** the title becomes an inline input with the current text focused
46+
- Blank titles are invalid; cancel restores the original
47+
- Saving updates immediately and persists on refresh
48+
- **Delete**
49+
- **Given** a task
50+
**When** I click “Delete”
51+
**Then** I see a confirmation (modal or inline) and can Cancel
52+
- After confirming, the task is removed and a 5-second Undo appears; clicking Undo restores the task
53+
54+
---
55+
56+
### Definition of Done (for all three)
57+
- Stories are complete when the user can successfully perform the described action (create, filter, edit/delete).
58+
- Works on desktop and mobile without layout breakage
59+
- Accessible: all controls reachable via keyboard, inputs have labels
60+
- No console errors; operations persist after page reload

lesson_05/jarededge/bugs.md

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
# Lesson 05 — Bug Reports
2+
3+
## Bug 1 — No visual feedback when marking task complete
4+
**Environment:** macOS 14.5 / Chrome 126 / UTasks
5+
6+
**Steps to Reproduce:**
7+
1. Log in and add a new task “Test Task”.
8+
2. Click the empty circle next to the task.
9+
3. Click elsewhere on the screen.
10+
11+
**Expected Result:**
12+
- Clicking the circle should immediately show completion feedback:
13+
- Circle fills or checkmark appears.
14+
- Task text changes style (strike-through or dim).
15+
- Task disappears if “Active” filter is applied.
16+
17+
**Actual Result:**
18+
- Task remains unchanged visually after clicking the circle.
19+
- It only disappears after clicking elsewhere on the site and returning to the original screen.
20+
- No immediate indication that completion happened.
21+
22+
**Evidence:** ![Clicked Circle next to task](./images/task_complete.png)
23+
24+
**Severity:** Medium
25+
26+
27+
---
28+
29+
## Bug 2 — Lightbulb icon causes placeholder text and misaligned button
30+
**Environment:** macOS 14.5 / Chrome 126 / UTasks
31+
32+
**Steps to Reproduce:**
33+
1. Log in to UTasks.
34+
2. Click the lightbulb icon in the top right.
35+
36+
**Expected Result:**
37+
- Theme/icon change should not break layout.
38+
- Page should not display developer placeholder text.
39+
- The “Add Task” button should remain in a consistent location.
40+
41+
**Actual Result:**
42+
- “place holder” text appears at the top of the page.
43+
- The “Add Task” button shifts location.
44+
45+
**Evidence:**
46+
![Lightbulb Icon click](./images/penguin.png)
47+
48+
**Severity:** Low–Medium
49+
50+
51+
---
52+
53+
## Bug 3 — Pressing Enter in Add Task field does nothing
54+
**Environment:** macOS 14.5 / Chrome 126 / UTasks
55+
56+
**Steps to Reproduce:**
57+
1. Log in.
58+
2. Focus the Add Task input.
59+
3. Type a task title (e.g., “Test Enter”).
60+
4. Press **Enter**.
61+
62+
**Expected Result:**
63+
- Task should be created immediately (same as clicking “Add Task”).
64+
65+
**Actual Result:**
66+
- Nothing happens; task not created.
67+
68+
**Evidence:** ![Clicking enter when completing a task](./images/click_enter.png)
69+
70+
**Severity:** Low
71+
72+
73+
---
74+
75+
## Bug 4 — Pressing Enter on login clears fields instead of submitting
76+
**Environment:** macOS 14.5 / Chrome 126 / UTasks
77+
78+
**Steps to Reproduce:**
79+
1. Navigate to login page.
80+
2. Enter valid username + password.
81+
3. Press **Enter**.
82+
83+
**Expected Result:**
84+
- Form should submit and log the user in.
85+
86+
**Actual Result:**
87+
- Fields are cleared.
88+
- Login only works by clicking the “Login” button.
89+
90+
**Evidence:** [Clickiing enter in the login field](./images/enter_login.png)
91+
92+
**Severity:** Low
93+
94+
95+
---
96+
97+
## Bug 5 — Tasks appear in inconsistent order
98+
**Environment:** macOS 14.5 / Chrome 126 / UTasks
99+
100+
**Steps to Reproduce:**
101+
1. Log in.
102+
2. Create three tasks:
103+
- “Today” with due date today
104+
- “Tmr” with due date tomorrow
105+
- “Next Week” with due date in 7 days
106+
3. View the task list.
107+
108+
**Expected Result:**
109+
- Tasks should be sorted consistently (by due date or creation).
110+
111+
**Actual Result:**
112+
- Tasks appear in random/inconsistent order.
113+
114+
**Evidence:** [Tasks have no prioity when added into the list](./images/task_order.png)
115+
116+
**Severity:** Medium–High
117+
228 KB
Loading
216 KB
Loading
305 KB
Loading
293 KB
Loading
242 KB
Loading

0 commit comments

Comments
 (0)