Skip to content

[tui] Build organization context provider for nested org screens #193

@roninjin10

Description

@roninjin10

Build organization context provider for nested org screens

Type: engineering
Domain: Codeplane TUI

Create an OrgContextProvider that wraps organization sub-screens (Overview, Members, Teams, Team Detail, Settings) and provides shared state: org name, org data, viewer role (owner/member), and org-level error handling. The provider fetches org data via useOrg() on mount and makes it available via useOrgContext() hook. It handles 404 (org not found), 403→404 concealment for non-members of non-public orgs, and caches org data for child screens. Implementation in apps/tui/src/providers/OrgContextProvider.tsx.

Dependencies: tui-org-data-hooks


Auto-generated by smithers workflow

Metadata

Metadata

Assignees

No one assigned

    Labels

    tuiTerminal UI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions