π Bug Report
Area: Dashboard β Recent Activity Section
Type: Bug β Hardcoded Static Data
Priority: Medium
π Description
The Recent Activity section on the Dashboard
page displays completely hardcoded fake events
that never change, regardless of what the user
actually does in the app.
π Proof β Hardcoded Data in Source Code
In frontend/app/dashboard/page.tsx:
<ul className="text-sm text-slate-600 space-y-2">
<li>β New sprint created</li>
<li>β Task updated in Project Alpha</li>
<li>β Team member joined workspace</li>
</ul>
These 3 items are hardcoded strings β they
never update based on real user activity.
β Current Behaviour
- Every user sees identical fake activity:
"New sprint created", "Task updated in
Project Alpha", "Team member joined workspace"
- Activity never changes regardless of
what the user actually does
- Completely disconnected from real data
β
Expected Behaviour
- Show real recent activity from the user's
workspace (project creation, updates etc.)
- If no activity exists yet, show a clean
empty state: "No recent activity yet"
- Activity list should reflect actual
user actions
π‘ Proposed Fix
In frontend/app/dashboard/page.tsx:
- Replace hardcoded
<ul> with dynamic state:
const [activity, setActivity] = useState
{ text: string; time: string }[]
>([]);
- Fetch recent activity from Supabase
projects table (recently created/updated):
useEffect(() => {
const fetchActivity = async () => {
if (!supabase) return;
const { data: { session } } =
await supabase.auth.getSession();
if (!session) return;
const { data } = await supabase
.from("projects")
.select("name, created_at")
.order("created_at", { ascending: false })
.limit(5);
if (data) {
setActivity(data.map(p => ({
text: `Project "${p.name}" created`,
time: new Date(p.created_at)
.toLocaleDateString()
})));
}
};
fetchActivity();
}, []);
- Show empty state if no activity found
π File to Change
frontend/app/dashboard/page.tsx β only this file
π₯οΈ Steps to Reproduce
- Log in to the app
- Navigate to
/dashboard
- Scroll to "Recent Activity" section
- Observe the same 3 fake hardcoded items
- Create a new project β activity
section still shows same fake items
@Shriii19
I'd like to work on this issue.
Could you please assign it to me?
nsoc26
π Bug Report
Area: Dashboard β Recent Activity Section
Type: Bug β Hardcoded Static Data
Priority: Medium
π Description
The Recent Activity section on the Dashboard
page displays completely hardcoded fake events
that never change, regardless of what the user
actually does in the app.
π Proof β Hardcoded Data in Source Code
In
frontend/app/dashboard/page.tsx:These 3 items are hardcoded strings β they
never update based on real user activity.
β Current Behaviour
"New sprint created", "Task updated in
Project Alpha", "Team member joined workspace"
what the user actually does
β Expected Behaviour
workspace (project creation, updates etc.)
empty state: "No recent activity yet"
user actions
π‘ Proposed Fix
In
frontend/app/dashboard/page.tsx:<ul>with dynamic state:projectstable (recently created/updated):π File to Change
frontend/app/dashboard/page.tsxβ only this fileπ₯οΈ Steps to Reproduce
/dashboardsection still shows same fake items
@Shriii19
I'd like to work on this issue.
Could you please assign it to me?
nsoc26