Skip to content

Fix: Workspace page shows hardcoded static content instead of real user workspace dataΒ #254

Description

@Ananya-CM

πŸ› Bug Report

Area: Workspace Page
Type: Bug β€” Hardcoded Static Data
Priority: Medium


πŸ“Œ Description

The Workspace page (/workspace) displays
completely hardcoded static content that is
disconnected from any real user or project
data. Every user sees identical fake workspace
information regardless of what they have
actually created in the app.


πŸ” Root Cause

frontend/app/workspace/page.tsx contains
hardcoded data arrays and static content
that do not fetch from Supabase or any
real data source.


❌ Current Behaviour

  • Workspace page shows same fake data
    for all users
  • No connection to real projects, tasks,
    or team members
  • Content never changes regardless of
    user activity

βœ… Expected Behaviour

  • Workspace page should fetch and display
    real data for the logged-in user's workspace
  • Show actual projects, team members, and
    tasks from Supabase
  • Show clean empty state when no data exists:
    "No workspace data yet. Create a project
    to get started."

πŸ’‘ Proposed Fix

In frontend/app/workspace/page.tsx:

  1. Add state for workspace data:
const [workspaceData, setWorkspaceData] = 
  useState<WorkspaceData | null>(null);
const [loading, setLoading] = useState(true);
  1. Fetch real data from Supabase on mount
    using authenticated session

  2. Show loading skeleton while fetching

  3. Show clean empty state if no data found


πŸ“‚ File to Change

frontend/app/workspace/page.tsx


@Shriii19
I'd like to work on this issue.
Could you please assign it to me?

nsoc26

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions