Skip to content

[P2] Load project context globally on app entry #7

@kgarg2468

Description

@kgarg2468

Problem

Project list loading is concentrated in Data page, so non-Data entry points can have incomplete project context.

Scope

  • Load project context centrally (app shell/top bar) so project picker and active context are available everywhere.

Acceptance Criteria

  • Dashboard/Simulate/Report have populated project context without first visiting Data page.
  • No duplicate/excessive fetch loops introduced.

Suggested Files

  • components/layout/LayoutShell.tsx
  • components/layout/TopBar.tsx
  • lib/store/project-store.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions