Skip to content

No loading.tsx anywhere — route transitions show a blank main until client effects resolve #188

@Jose-Gael-Cruz-Lopez

Description

@Jose-Gael-Cruz-Lopez

Severity: Low
Labels: tech-debt, frontend, P3
Location: frontend/src/app/ (no loading.tsx files)

Description

There are zero loading.tsx files. The (shell) layout is a client component and every page fetches client-side, so data-heavy routes (dashboard, gradebook, knowledge graph) show a blank <main> until client effects resolve, instead of an instant skeleton via the App Router's Suspense integration.

Suggested fix

Add loading.tsx to (shell)/ (reusing the existing Skeleton/ProfileSkeleton) and any server-rendered segment.

Acceptance criteria

  • Navigating to shell routes paints a skeleton immediately rather than a blank panel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low priority / polishfrontendFrontend / UItech-debtCleanup / maintainability

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions